1 // created by cgo -cdefs and then converted to Go
2 // cgo -cdefs defs_darwin.go
25 _MADV_FREE_REUSABLE = 0x7
26 _MADV_FREE_REUSE = 0x8
95 _PTHREAD_CREATE_DETACHED = 0x2
105 _VM_REGION_BASIC_INFO_COUNT_64 = 0x9
106 _VM_REGION_BASIC_INFO_64 = 0x9
116 type sigactiont struct {
117 __sigaction_u [8]byte
118 sa_tramp unsafe.Pointer
123 type usigactiont struct {
124 __sigaction_u [8]byte
129 type siginfo struct {
142 type timeval struct {
148 func (tv *timeval) set_usec(x int32) {
152 type itimerval struct {
157 type timespec struct {
163 func (ts *timespec) setNsec(ns int64) {
165 ts.tv_nsec = ns % 1e9
168 type fpcontrol struct {
172 type fpstatus struct {
176 type regmmst struct {
209 type floatstate64 struct {
210 fpu_reserved [2]int32
252 type exceptionstate64 struct {
259 type mcontext64 struct {
285 type floatstate32 struct {
286 fpu_reserved [2]int32
320 type exceptionstate32 struct {
327 type mcontext32 struct {
333 type ucontext struct {
339 uc_mcontext *mcontext64
342 type keventt struct {
352 type pthreadattr struct {
356 type pthreadmutex struct {
360 type pthreadmutexattr struct {
364 type pthreadcond struct {
368 type pthreadcondattr struct {
373 type machTimebaseInfo struct {
379 type machVMMapRead uint32
380 type machVMAddress uint64
381 type machVMSize uint64
382 type machVMRegionFlavour int32
383 type machVMRegionInfo *int32
384 type machMsgTypeNumber uint32