package user
import
import _
import
var _ syscall.Errno
func _Cgo_ptr(ptr unsafe.Pointer) unsafe.Pointer { return ptr }
var _Cgo_always_false bool
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 _cgo_runtime_cgocall(unsafe.Pointer, uintptr) int32
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))
}
var __cgofn__cgo_a722341dd114_Cfunc_free byte
var _cgo_a722341dd114_Cfunc_free = unsafe.Pointer(&__cgofn__cgo_a722341dd114_Cfunc_free)
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
}
var __cgofn__cgo_a722341dd114_Cfunc_mygetgrgid_r byte
var _cgo_a722341dd114_Cfunc_mygetgrgid_r = unsafe.Pointer(&__cgofn__cgo_a722341dd114_Cfunc_mygetgrgid_r)
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
}
var __cgofn__cgo_a722341dd114_Cfunc_mygetgrnam_r byte
var _cgo_a722341dd114_Cfunc_mygetgrnam_r = unsafe.Pointer(&__cgofn__cgo_a722341dd114_Cfunc_mygetgrnam_r)
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
}
var __cgofn__cgo_a722341dd114_Cfunc_mygetgrouplist byte
var _cgo_a722341dd114_Cfunc_mygetgrouplist = unsafe.Pointer(&__cgofn__cgo_a722341dd114_Cfunc_mygetgrouplist)
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
}
var __cgofn__cgo_a722341dd114_Cfunc_mygetpwnam_r byte
var _cgo_a722341dd114_Cfunc_mygetpwnam_r = unsafe.Pointer(&__cgofn__cgo_a722341dd114_Cfunc_mygetpwnam_r)
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
}
var __cgofn__cgo_a722341dd114_Cfunc_mygetpwuid_r byte
var _cgo_a722341dd114_Cfunc_mygetpwuid_r = unsafe.Pointer(&__cgofn__cgo_a722341dd114_Cfunc_mygetpwuid_r)
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
}
var __cgofn__cgo_a722341dd114_Cfunc_realloc byte
var _cgo_a722341dd114_Cfunc_realloc = unsafe.Pointer(&__cgofn__cgo_a722341dd114_Cfunc_realloc)
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
}
var __cgofn__cgo_a722341dd114_Cfunc_sysconf byte
var _cgo_a722341dd114_Cfunc_sysconf = unsafe.Pointer(&__cgofn__cgo_a722341dd114_Cfunc_sysconf)
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
}
var __cgofn__cgo_a722341dd114_Cfunc__Cmalloc byte
var _cgo_a722341dd114_Cfunc__Cmalloc = unsafe.Pointer(&__cgofn__cgo_a722341dd114_Cfunc__Cmalloc)
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
}