diff options
Diffstat (limited to 'go/golang/gocache/37/373761c6030c4f11788455cc9ac0bcae18797fe785520d91f65962a85ab0c8d7-d')
-rw-r--r-- | go/golang/gocache/37/373761c6030c4f11788455cc9ac0bcae18797fe785520d91f65962a85ab0c8d7-d | 158 |
1 files changed, 158 insertions, 0 deletions
diff --git a/go/golang/gocache/37/373761c6030c4f11788455cc9ac0bcae18797fe785520d91f65962a85ab0c8d7-d b/go/golang/gocache/37/373761c6030c4f11788455cc9ac0bcae18797fe785520d91f65962a85ab0c8d7-d new file mode 100644 index 00000000..c5529289 --- /dev/null +++ b/go/golang/gocache/37/373761c6030c4f11788455cc9ac0bcae18797fe785520d91f65962a85ab0c8d7-d @@ -0,0 +1,158 @@ +//go:cgo_ldflag "-g" +//go:cgo_ldflag "-O2" +// Code generated by cmd/cgo; DO NOT EDIT. + +package pty + +import "unsafe" + +import _ "runtime/cgo" + +import "syscall" + +var _ syscall.Errno +func _Cgo_ptr(ptr unsafe.Pointer) unsafe.Pointer { return ptr } + +//go:linkname _Cgo_always_false runtime.cgoAlwaysFalse +var _Cgo_always_false bool +//go:linkname _Cgo_use runtime.cgoUse +func _Cgo_use(interface{}) +type _Ctype_char int8 + +type _Ctype_int int32 + +type _Ctype_intgo = _Ctype_ptrdiff_t + +type _Ctype_long int64 + +type _Ctype_ptrdiff_t = _Ctype_long + +type _Ctype_void [0]byte + +//go:linkname _cgo_runtime_cgocall runtime.cgocall +func _cgo_runtime_cgocall(unsafe.Pointer, uintptr) int32 + +//go:linkname _cgo_runtime_cgocallback runtime.cgocallback +func _cgo_runtime_cgocallback(unsafe.Pointer, unsafe.Pointer, uintptr, uintptr) + +//go:linkname _cgoCheckPointer runtime.cgoCheckPointer +func _cgoCheckPointer(interface{}, ...interface{}) + +//go:linkname _cgoCheckResult runtime.cgoCheckResult +func _cgoCheckResult(interface{}) +const _Ciconst_O_RDWR = 0x2 + +//go:cgo_import_static _cgo_ae8a93a39794_C2func_grantpt +//go:linkname __cgofn__cgo_ae8a93a39794_C2func_grantpt _cgo_ae8a93a39794_C2func_grantpt +var __cgofn__cgo_ae8a93a39794_C2func_grantpt byte +var _cgo_ae8a93a39794_C2func_grantpt = unsafe.Pointer(&__cgofn__cgo_ae8a93a39794_C2func_grantpt) + +//go:cgo_unsafe_args +func _C2func_grantpt(p0 _Ctype_int) (r1 _Ctype_int, r2 error) { + errno := _cgo_runtime_cgocall(_cgo_ae8a93a39794_C2func_grantpt, uintptr(unsafe.Pointer(&p0))) + if errno != 0 { r2 = syscall.Errno(errno) } + if _Cgo_always_false { + _Cgo_use(p0) + } + return +} +//go:cgo_import_static _cgo_ae8a93a39794_C2func_posix_openpt +//go:linkname __cgofn__cgo_ae8a93a39794_C2func_posix_openpt _cgo_ae8a93a39794_C2func_posix_openpt +var __cgofn__cgo_ae8a93a39794_C2func_posix_openpt byte +var _cgo_ae8a93a39794_C2func_posix_openpt = unsafe.Pointer(&__cgofn__cgo_ae8a93a39794_C2func_posix_openpt) + +//go:cgo_unsafe_args +func _C2func_posix_openpt(p0 _Ctype_int) (r1 _Ctype_int, r2 error) { + errno := _cgo_runtime_cgocall(_cgo_ae8a93a39794_C2func_posix_openpt, uintptr(unsafe.Pointer(&p0))) + if errno != 0 { r2 = syscall.Errno(errno) } + if _Cgo_always_false { + _Cgo_use(p0) + } + return +} +//go:cgo_import_static _cgo_ae8a93a39794_C2func_unlockpt +//go:linkname __cgofn__cgo_ae8a93a39794_C2func_unlockpt _cgo_ae8a93a39794_C2func_unlockpt +var __cgofn__cgo_ae8a93a39794_C2func_unlockpt byte +var _cgo_ae8a93a39794_C2func_unlockpt = unsafe.Pointer(&__cgofn__cgo_ae8a93a39794_C2func_unlockpt) + +//go:cgo_unsafe_args +func _C2func_unlockpt(p0 _Ctype_int) (r1 _Ctype_int, r2 error) { + errno := _cgo_runtime_cgocall(_cgo_ae8a93a39794_C2func_unlockpt, uintptr(unsafe.Pointer(&p0))) + if errno != 0 { r2 = syscall.Errno(errno) } + if _Cgo_always_false { + _Cgo_use(p0) + } + return +} + +//go:linkname _cgo_runtime_gostring runtime.gostring +func _cgo_runtime_gostring(*_Ctype_char) string + +func _Cfunc_GoString(p *_Ctype_char) string { + return _cgo_runtime_gostring(p) +} +//go:cgo_import_static _cgo_ae8a93a39794_Cfunc_close +//go:linkname __cgofn__cgo_ae8a93a39794_Cfunc_close _cgo_ae8a93a39794_Cfunc_close +var __cgofn__cgo_ae8a93a39794_Cfunc_close byte +var _cgo_ae8a93a39794_Cfunc_close = unsafe.Pointer(&__cgofn__cgo_ae8a93a39794_Cfunc_close) + +//go:cgo_unsafe_args +func _Cfunc_close(p0 _Ctype_int) (r1 _Ctype_int) { + _cgo_runtime_cgocall(_cgo_ae8a93a39794_Cfunc_close, uintptr(unsafe.Pointer(&p0))) + if _Cgo_always_false { + _Cgo_use(p0) + } + return +} +//go:cgo_import_static _cgo_ae8a93a39794_Cfunc_grantpt +//go:linkname __cgofn__cgo_ae8a93a39794_Cfunc_grantpt _cgo_ae8a93a39794_Cfunc_grantpt +var __cgofn__cgo_ae8a93a39794_Cfunc_grantpt byte +var _cgo_ae8a93a39794_Cfunc_grantpt = unsafe.Pointer(&__cgofn__cgo_ae8a93a39794_Cfunc_grantpt) + +//go:cgo_unsafe_args +func _Cfunc_grantpt(p0 _Ctype_int) (r1 _Ctype_int) { + _cgo_runtime_cgocall(_cgo_ae8a93a39794_Cfunc_grantpt, uintptr(unsafe.Pointer(&p0))) + if _Cgo_always_false { + _Cgo_use(p0) + } + return +} +//go:cgo_import_static _cgo_ae8a93a39794_Cfunc_posix_openpt +//go:linkname __cgofn__cgo_ae8a93a39794_Cfunc_posix_openpt _cgo_ae8a93a39794_Cfunc_posix_openpt +var __cgofn__cgo_ae8a93a39794_Cfunc_posix_openpt byte +var _cgo_ae8a93a39794_Cfunc_posix_openpt = unsafe.Pointer(&__cgofn__cgo_ae8a93a39794_Cfunc_posix_openpt) + +//go:cgo_unsafe_args +func _Cfunc_posix_openpt(p0 _Ctype_int) (r1 _Ctype_int) { + _cgo_runtime_cgocall(_cgo_ae8a93a39794_Cfunc_posix_openpt, uintptr(unsafe.Pointer(&p0))) + if _Cgo_always_false { + _Cgo_use(p0) + } + return +} +//go:cgo_import_static _cgo_ae8a93a39794_Cfunc_ptsname +//go:linkname __cgofn__cgo_ae8a93a39794_Cfunc_ptsname _cgo_ae8a93a39794_Cfunc_ptsname +var __cgofn__cgo_ae8a93a39794_Cfunc_ptsname byte +var _cgo_ae8a93a39794_Cfunc_ptsname = unsafe.Pointer(&__cgofn__cgo_ae8a93a39794_Cfunc_ptsname) + +//go:cgo_unsafe_args +func _Cfunc_ptsname(p0 _Ctype_int) (r1 *_Ctype_char) { + _cgo_runtime_cgocall(_cgo_ae8a93a39794_Cfunc_ptsname, uintptr(unsafe.Pointer(&p0))) + if _Cgo_always_false { + _Cgo_use(p0) + } + return +} +//go:cgo_import_static _cgo_ae8a93a39794_Cfunc_unlockpt +//go:linkname __cgofn__cgo_ae8a93a39794_Cfunc_unlockpt _cgo_ae8a93a39794_Cfunc_unlockpt +var __cgofn__cgo_ae8a93a39794_Cfunc_unlockpt byte +var _cgo_ae8a93a39794_Cfunc_unlockpt = unsafe.Pointer(&__cgofn__cgo_ae8a93a39794_Cfunc_unlockpt) + +//go:cgo_unsafe_args +func _Cfunc_unlockpt(p0 _Ctype_int) (r1 _Ctype_int) { + _cgo_runtime_cgocall(_cgo_ae8a93a39794_Cfunc_unlockpt, uintptr(unsafe.Pointer(&p0))) + if _Cgo_always_false { + _Cgo_use(p0) + } + return +} |