github.com/go-darwin/sys@v0.0.0-20220510002607-68fd01f054ca/ztypes_darwin_amd64.go (about) 1 // Code generated by cmd/cgo -godefs; DO NOT EDIT. 2 // cgo -srcdir . -godefs -import_runtime_cgo=false -import_syscall=false /Users/zchee/go/src/github.com/go-darwin/sys/defs_darwin_amd64.go 3 4 package sys 5 6 type ( 7 c_short int16 8 c_int int32 9 c_int8 int8 10 c_int16 int16 11 c_int32 int32 12 c_int64 int64 13 c_long int64 14 c_longLong int64 15 c_uint uint32 16 c_uint8 uint8 17 c_uint16 uint16 18 c_uint32 uint32 19 c_uint64 uint64 20 c_char int8 21 c_float float32 22 c_double float64 23 c_size_t uint64 24 ) 25 26 type kernReturn int32 27 28 const ( 29 kernSuccess kernReturn = 0x0 30 kernInvalidAddress kernReturn = 0x1 31 kernProtectionFailure kernReturn = 0x2 32 kernNoSpace kernReturn = 0x3 33 kernInvalidArgument kernReturn = 0x4 34 kernFailure kernReturn = 0x5 35 kernResourceShortage kernReturn = 0x6 36 kernNotReceiver kernReturn = 0x7 37 kernNoAccess kernReturn = 0x8 38 kernMemoryFailure kernReturn = 0x9 39 KernMemoryError kernReturn = 0xa 40 kernAlreadyInSet kernReturn = 0xb 41 kernNotInSet kernReturn = 0xc 42 kernNameExists kernReturn = 0xd 43 kernAborted kernReturn = 0xe 44 kernInvalidName kernReturn = 0xf 45 kernInvalidTask kernReturn = 0x10 46 kernInvalidRight kernReturn = 0x11 47 kernInvalidValue kernReturn = 0x12 48 kernUrefsOverflow kernReturn = 0x13 49 kernInvalidCapability kernReturn = 0x14 50 kernRightExists kernReturn = 0x15 51 kernInvalidHost kernReturn = 0x16 52 kernMemoryPresent kernReturn = 0x17 53 kernMemoryDataMoved kernReturn = 0x18 54 kernMemoryRestartCopy kernReturn = 0x19 55 kernInvalidProcessorSet kernReturn = 0x1a 56 kernPolicyLimit kernReturn = 0x1b 57 kernInvalidPolicy kernReturn = 0x1c 58 kernInvalidObject kernReturn = 0x1d 59 kernAlreadyWaiting kernReturn = 0x1e 60 kernDefaultSet kernReturn = 0x1f 61 kernExceptionProtected kernReturn = 0x20 62 kernInvalidLedger kernReturn = 0x21 63 kernInvalidMemoryControl kernReturn = 0x22 64 kernInvalidSecurity kernReturn = 0x23 65 kernNotDepressed kernReturn = 0x24 66 kernTerminated kernReturn = 0x25 67 kernLockSetDestroyed kernReturn = 0x26 68 kernLockUnstable kernReturn = 0x27 69 kernLockOwned kernReturn = 0x28 70 kernLockOwnedSelf kernReturn = 0x29 71 kernSemaphoreDestroyed kernReturn = 0x2a 72 kernRPCServerTerminated kernReturn = 0x2b 73 kernRPCTerminateOrphan kernReturn = 0x2c 74 kernRPCContinueOrphan kernReturn = 0x2d 75 kernNotSupported kernReturn = 0x2e 76 kernNodeDown kernReturn = 0x2f 77 kernNotWaiting kernReturn = 0x30 78 kernOperationTimedOut kernReturn = 0x31 79 kernCodesignError kernReturn = 0x32 80 kernPolicyStatic kernReturn = 0x33 81 kernInsufficientBufferSize kernReturn = 0x34 82 kernDenied kernReturn = 0x35 83 kernMissingKC kernReturn = 0x36 84 kernInvalidKC kernReturn = 0x37 85 kernReturnMax kernReturn = 0x100 86 )