summaryrefslogtreecommitdiff
path: root/go/golang/gocache/37/373761c6030c4f11788455cc9ac0bcae18797fe785520d91f65962a85ab0c8d7-d
blob: c5529289ae55c3fe103ac2d3e05fe0d01635812f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
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
}