summaryrefslogtreecommitdiff
path: root/go/golang/gocache/a0/a0a599388ed655ba555a77217e23b55f44c323f5d1c4f45c0b2cf6ecf94412aa-d
blob: 1600898daf6e1925fcaa7c78c53f2afd27be5218 (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
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
//go:cgo_ldflag "-g"
//go:cgo_ldflag "-O2"
// Code generated by cmd/cgo; DO NOT EDIT.

package user

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___gid_t = _Ctype_uint

type _Ctype___uid_t = _Ctype_uint

type _Ctype_char int8

type _Ctype_gid_t = _Ctype___gid_t

type _Ctype_int int32

type _Ctype_intgo = _Ctype_ptrdiff_t

type _Ctype_long int64

type _Ctype_ptrdiff_t = _Ctype_long

type _Ctype_size_t = _Ctype_ulong

type _Ctype_struct_group struct {
	gr_name		*_Ctype_char
	gr_passwd	*_Ctype_char
	gr_gid		_Ctype___gid_t
	gr_mem		**_Ctype_char
}

type _Ctype_struct_passwd struct {
	pw_name		*_Ctype_char
	pw_passwd	*_Ctype_char
	pw_uid		_Ctype___uid_t
	pw_gid		_Ctype___gid_t
	pw_gecos	*_Ctype_char
	pw_dir		*_Ctype_char
	pw_shell	*_Ctype_char
}

type _Ctype_uint uint32

type _Ctype_ulong uint64

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__SC_GETGR_R_SIZE_MAX = 0x45
const _Ciconst__SC_GETPW_R_SIZE_MAX = 0x46


//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)
}

func _Cfunc__CMalloc(n _Ctype_size_t) unsafe.Pointer {
	return _cgo_cmalloc(uint64(n))
}
//go:cgo_import_static _cgo_a84f89c9c806_Cfunc_free
//go:linkname __cgofn__cgo_a84f89c9c806_Cfunc_free _cgo_a84f89c9c806_Cfunc_free
var __cgofn__cgo_a84f89c9c806_Cfunc_free byte
var _cgo_a84f89c9c806_Cfunc_free = unsafe.Pointer(&__cgofn__cgo_a84f89c9c806_Cfunc_free)

//go:cgo_unsafe_args
func _Cfunc_free(p0 unsafe.Pointer) (r1 _Ctype_void) {
	_cgo_runtime_cgocall(_cgo_a84f89c9c806_Cfunc_free, uintptr(unsafe.Pointer(&p0)))
	if _Cgo_always_false {
		_Cgo_use(p0)
	}
	return
}
//go:cgo_import_static _cgo_a84f89c9c806_Cfunc_mygetgrgid_r
//go:linkname __cgofn__cgo_a84f89c9c806_Cfunc_mygetgrgid_r _cgo_a84f89c9c806_Cfunc_mygetgrgid_r
var __cgofn__cgo_a84f89c9c806_Cfunc_mygetgrgid_r byte
var _cgo_a84f89c9c806_Cfunc_mygetgrgid_r = unsafe.Pointer(&__cgofn__cgo_a84f89c9c806_Cfunc_mygetgrgid_r)

//go:cgo_unsafe_args
func _Cfunc_mygetgrgid_r(p0 _Ctype_int, p1 *_Ctype_struct_group, p2 *_Ctype_char, p3 _Ctype_size_t, p4 **_Ctype_struct_group) (r1 _Ctype_int) {
	_cgo_runtime_cgocall(_cgo_a84f89c9c806_Cfunc_mygetgrgid_r, uintptr(unsafe.Pointer(&p0)))
	if _Cgo_always_false {
		_Cgo_use(p0)
		_Cgo_use(p1)
		_Cgo_use(p2)
		_Cgo_use(p3)
		_Cgo_use(p4)
	}
	return
}
//go:cgo_import_static _cgo_a84f89c9c806_Cfunc_mygetgrnam_r
//go:linkname __cgofn__cgo_a84f89c9c806_Cfunc_mygetgrnam_r _cgo_a84f89c9c806_Cfunc_mygetgrnam_r
var __cgofn__cgo_a84f89c9c806_Cfunc_mygetgrnam_r byte
var _cgo_a84f89c9c806_Cfunc_mygetgrnam_r = unsafe.Pointer(&__cgofn__cgo_a84f89c9c806_Cfunc_mygetgrnam_r)

//go:cgo_unsafe_args
func _Cfunc_mygetgrnam_r(p0 *_Ctype_char, p1 *_Ctype_struct_group, p2 *_Ctype_char, p3 _Ctype_size_t, p4 **_Ctype_struct_group) (r1 _Ctype_int) {
	_cgo_runtime_cgocall(_cgo_a84f89c9c806_Cfunc_mygetgrnam_r, uintptr(unsafe.Pointer(&p0)))
	if _Cgo_always_false {
		_Cgo_use(p0)
		_Cgo_use(p1)
		_Cgo_use(p2)
		_Cgo_use(p3)
		_Cgo_use(p4)
	}
	return
}
//go:cgo_import_static _cgo_a84f89c9c806_Cfunc_mygetgrouplist
//go:linkname __cgofn__cgo_a84f89c9c806_Cfunc_mygetgrouplist _cgo_a84f89c9c806_Cfunc_mygetgrouplist
var __cgofn__cgo_a84f89c9c806_Cfunc_mygetgrouplist byte
var _cgo_a84f89c9c806_Cfunc_mygetgrouplist = unsafe.Pointer(&__cgofn__cgo_a84f89c9c806_Cfunc_mygetgrouplist)

//go:cgo_unsafe_args
func _Cfunc_mygetgrouplist(p0 *_Ctype_char, p1 _Ctype_gid_t, p2 *_Ctype_gid_t, p3 *_Ctype_int) (r1 _Ctype_int) {
	_cgo_runtime_cgocall(_cgo_a84f89c9c806_Cfunc_mygetgrouplist, uintptr(unsafe.Pointer(&p0)))
	if _Cgo_always_false {
		_Cgo_use(p0)
		_Cgo_use(p1)
		_Cgo_use(p2)
		_Cgo_use(p3)
	}
	return
}
//go:cgo_import_static _cgo_a84f89c9c806_Cfunc_mygetpwnam_r
//go:linkname __cgofn__cgo_a84f89c9c806_Cfunc_mygetpwnam_r _cgo_a84f89c9c806_Cfunc_mygetpwnam_r
var __cgofn__cgo_a84f89c9c806_Cfunc_mygetpwnam_r byte
var _cgo_a84f89c9c806_Cfunc_mygetpwnam_r = unsafe.Pointer(&__cgofn__cgo_a84f89c9c806_Cfunc_mygetpwnam_r)

//go:cgo_unsafe_args
func _Cfunc_mygetpwnam_r(p0 *_Ctype_char, p1 *_Ctype_struct_passwd, p2 *_Ctype_char, p3 _Ctype_size_t, p4 **_Ctype_struct_passwd) (r1 _Ctype_int) {
	_cgo_runtime_cgocall(_cgo_a84f89c9c806_Cfunc_mygetpwnam_r, uintptr(unsafe.Pointer(&p0)))
	if _Cgo_always_false {
		_Cgo_use(p0)
		_Cgo_use(p1)
		_Cgo_use(p2)
		_Cgo_use(p3)
		_Cgo_use(p4)
	}
	return
}
//go:cgo_import_static _cgo_a84f89c9c806_Cfunc_mygetpwuid_r
//go:linkname __cgofn__cgo_a84f89c9c806_Cfunc_mygetpwuid_r _cgo_a84f89c9c806_Cfunc_mygetpwuid_r
var __cgofn__cgo_a84f89c9c806_Cfunc_mygetpwuid_r byte
var _cgo_a84f89c9c806_Cfunc_mygetpwuid_r = unsafe.Pointer(&__cgofn__cgo_a84f89c9c806_Cfunc_mygetpwuid_r)

//go:cgo_unsafe_args
func _Cfunc_mygetpwuid_r(p0 _Ctype_int, p1 *_Ctype_struct_passwd, p2 *_Ctype_char, p3 _Ctype_size_t, p4 **_Ctype_struct_passwd) (r1 _Ctype_int) {
	_cgo_runtime_cgocall(_cgo_a84f89c9c806_Cfunc_mygetpwuid_r, uintptr(unsafe.Pointer(&p0)))
	if _Cgo_always_false {
		_Cgo_use(p0)
		_Cgo_use(p1)
		_Cgo_use(p2)
		_Cgo_use(p3)
		_Cgo_use(p4)
	}
	return
}
//go:cgo_import_static _cgo_a84f89c9c806_Cfunc_realloc
//go:linkname __cgofn__cgo_a84f89c9c806_Cfunc_realloc _cgo_a84f89c9c806_Cfunc_realloc
var __cgofn__cgo_a84f89c9c806_Cfunc_realloc byte
var _cgo_a84f89c9c806_Cfunc_realloc = unsafe.Pointer(&__cgofn__cgo_a84f89c9c806_Cfunc_realloc)

//go:cgo_unsafe_args
func _Cfunc_realloc(p0 unsafe.Pointer, p1 _Ctype_size_t) (r1 unsafe.Pointer) {
	_cgo_runtime_cgocall(_cgo_a84f89c9c806_Cfunc_realloc, uintptr(unsafe.Pointer(&p0)))
	if _Cgo_always_false {
		_Cgo_use(p0)
		_Cgo_use(p1)
	}
	return
}
//go:cgo_import_static _cgo_a84f89c9c806_Cfunc_sysconf
//go:linkname __cgofn__cgo_a84f89c9c806_Cfunc_sysconf _cgo_a84f89c9c806_Cfunc_sysconf
var __cgofn__cgo_a84f89c9c806_Cfunc_sysconf byte
var _cgo_a84f89c9c806_Cfunc_sysconf = unsafe.Pointer(&__cgofn__cgo_a84f89c9c806_Cfunc_sysconf)

//go:cgo_unsafe_args
func _Cfunc_sysconf(p0 _Ctype_int) (r1 _Ctype_long) {
	_cgo_runtime_cgocall(_cgo_a84f89c9c806_Cfunc_sysconf, uintptr(unsafe.Pointer(&p0)))
	if _Cgo_always_false {
		_Cgo_use(p0)
	}
	return
}

//go:cgo_import_static _cgo_a84f89c9c806_Cfunc__Cmalloc
//go:linkname __cgofn__cgo_a84f89c9c806_Cfunc__Cmalloc _cgo_a84f89c9c806_Cfunc__Cmalloc
var __cgofn__cgo_a84f89c9c806_Cfunc__Cmalloc byte
var _cgo_a84f89c9c806_Cfunc__Cmalloc = unsafe.Pointer(&__cgofn__cgo_a84f89c9c806_Cfunc__Cmalloc)

//go:linkname runtime_throw runtime.throw
func runtime_throw(string)

//go:cgo_unsafe_args
func _cgo_cmalloc(p0 uint64) (r1 unsafe.Pointer) {
	_cgo_runtime_cgocall(_cgo_a84f89c9c806_Cfunc__Cmalloc, uintptr(unsafe.Pointer(&p0)))
	if r1 == nil {
		runtime_throw("runtime: C malloc failed")
	}
	return
}