Source File
f944835971175ae02f5a15dd71fd940ec4b08d0430844caacc17edcfd010b48b-d
Belonging Package
os/user
func _Cgo_use(interface{})
type _Ctype__GoString_ string
type _Ctype___darwin_gid_t = _Ctype___uint32_t
type _Ctype___darwin_time_t = _Ctype_long
type _Ctype___darwin_uid_t = _Ctype___uint32_t
type _Ctype___uint32_t = _Ctype_uint
type _Ctype_char int8
type _Ctype_gid_t = _Ctype___darwin_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_change _Ctype___darwin_time_t
pw_class *_Ctype_char
pw_gecos *_Ctype_char
pw_dir *_Ctype_char
pw_shell *_Ctype_char
pw_expire _Ctype___darwin_time_t
}
type _Ctype_uid_t = _Ctype___darwin_uid_t
type _Ctype_uint uint32
type _Ctype_ulong uint64
type _Ctype_void [0]byte
func _cgoCheckPointer(interface{}, interface{})
func _cgoCheckResult(interface{})
const _Ciconst__SC_GETGR_R_SIZE_MAX = 0x46
const _Ciconst__SC_GETPW_R_SIZE_MAX = 0x47
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))
func _Cfunc_free(p0 unsafe.Pointer) (r1 _Ctype_void) {
_cgo_runtime_cgocall(_cgo_a722341dd114_Cfunc_free, uintptr(unsafe.Pointer(&p0)))
if _Cgo_always_false {
_Cgo_use(p0)
}
return
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_a722341dd114_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
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_a722341dd114_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
func _Cfunc_mygetgrouplist(p0 *_Ctype_char, p1 _Ctype_gid_t, p2 *_Ctype_gid_t, p3 *_Ctype_int) (r1 _Ctype_int) {
_cgo_runtime_cgocall(_cgo_a722341dd114_Cfunc_mygetgrouplist, uintptr(unsafe.Pointer(&p0)))
if _Cgo_always_false {
_Cgo_use(p0)
_Cgo_use(p1)
_Cgo_use(p2)
_Cgo_use(p3)
}
return
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_a722341dd114_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
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_a722341dd114_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
func _Cfunc_realloc(p0 unsafe.Pointer, p1 _Ctype_size_t) (r1 unsafe.Pointer) {
_cgo_runtime_cgocall(_cgo_a722341dd114_Cfunc_realloc, uintptr(unsafe.Pointer(&p0)))
if _Cgo_always_false {
_Cgo_use(p0)
_Cgo_use(p1)
}
return
func _Cfunc_sysconf(p0 _Ctype_int) (r1 _Ctype_long) {
_cgo_runtime_cgocall(_cgo_a722341dd114_Cfunc_sysconf, uintptr(unsafe.Pointer(&p0)))
if _Cgo_always_false {
_Cgo_use(p0)
}
return
}
func runtime_throw(string)
func _cgo_cmalloc(p0 uint64) (r1 unsafe.Pointer) {
_cgo_runtime_cgocall(_cgo_a722341dd114_Cfunc__Cmalloc, uintptr(unsafe.Pointer(&p0)))
if r1 == nil {
runtime_throw("runtime: C malloc failed")
}
return
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |