diff options
Diffstat (limited to 'vendor/modernc.org/libc')
100 files changed, 7970 insertions, 7519 deletions
diff --git a/vendor/modernc.org/libc/Makefile b/vendor/modernc.org/libc/Makefile index 6cb86060..1a362dfc 100644 --- a/vendor/modernc.org/libc/Makefile +++ b/vendor/modernc.org/libc/Makefile @@ -21,7 +21,7 @@ all: go generate gofmt -l -s -w *.go go install -v ./... - go test -i + go test go test 2>&1 -timeout 1h | tee -a $(log) GOOS=darwin GOARCH=amd64 go build GOOS=darwin GOARCH=arm64 go build @@ -37,12 +37,11 @@ all: GOOS=windows GOARCH=386 go build GOOS=windows GOARCH=amd64 go build GOOS=windows GOARCH=arm64 go build - go vet -unsafeptr=false 2>&1 | grep -v $(ngrep) || true - golint 2>&1 | grep -v $(ngrep) || true - make todo - misspell *.go - staticcheck || true - maligned || true + # go vet -unsafeptr=false 2>&1 | grep -v $(ngrep) || true + # golint 2>&1 | grep -v $(ngrep) || true + # make todo + # misspell *.go + # staticcheck || true grep -n 'FAIL\|PASS' $(log) go version date 2>&1 | tee -a $(log) diff --git a/vendor/modernc.org/libc/capi_darwin_arm64.go b/vendor/modernc.org/libc/capi_darwin_arm64.go index 1a46043c..43545c7d 100644 --- a/vendor/modernc.org/libc/capi_darwin_arm64.go +++ b/vendor/modernc.org/libc/capi_darwin_arm64.go @@ -117,11 +117,14 @@ var CAPI = map[string]struct{}{ "__sincosf_stret": {}, "__sincospi_stret": {}, "__sincospif_stret": {}, + "__srget": {}, "__stderrp": {}, "__stdinp": {}, "__stdoutp": {}, "__strchrnul": {}, "__strncasecmp_l": {}, + "__svfscanf": {}, + "__swbuf": {}, "__sync_add_and_fetch_uint32": {}, "__sync_sub_and_fetch_uint32": {}, "__tolower": {}, diff --git a/vendor/modernc.org/libc/capi_linux_amd64.go b/vendor/modernc.org/libc/capi_linux_amd64.go index b6f3b2a0..350a0f25 100644 --- a/vendor/modernc.org/libc/capi_linux_amd64.go +++ b/vendor/modernc.org/libc/capi_linux_amd64.go @@ -168,6 +168,7 @@ var CAPI = map[string]struct{}{ "dlopen": {}, "dlsym": {}, "dup2": {}, + "dup3": {}, "endpwent": {}, "environ": {}, "execvp": {}, @@ -176,8 +177,11 @@ var CAPI = map[string]struct{}{ "fabs": {}, "fabsf": {}, "fabsl": {}, + "faccessat": {}, "fchmod": {}, + "fchmodat": {}, "fchown": {}, + "fchownat": {}, "fclose": {}, "fcntl": {}, "fcntl64": {}, @@ -282,6 +286,7 @@ var CAPI = map[string]struct{}{ "kill": {}, "ldexp": {}, "link": {}, + "linkat": {}, "listen": {}, "localeconv": {}, "localtime": {}, @@ -306,8 +311,10 @@ var CAPI = map[string]struct{}{ "memmove": {}, "memset": {}, "mkdir": {}, + "mkdirat": {}, "mkfifo": {}, "mknod": {}, + "mknodat": {}, "mkostemp": {}, "mkstemp": {}, "mkstemp64": {}, @@ -326,6 +333,7 @@ var CAPI = map[string]struct{}{ "obstack_vprintf": {}, "open": {}, "open64": {}, + "openat": {}, "opendir": {}, "openpty": {}, "pathconf": {}, @@ -333,6 +341,7 @@ var CAPI = map[string]struct{}{ "pclose": {}, "perror": {}, "pipe": {}, + "pipe2": {}, "poll": {}, "popen": {}, "posix_fadvise": {}, @@ -383,6 +392,7 @@ var CAPI = map[string]struct{}{ "readdir": {}, "readdir64": {}, "readlink": {}, + "readlinkat": {}, "readv": {}, "realloc": {}, "reallocarray": {}, @@ -392,6 +402,7 @@ var CAPI = map[string]struct{}{ "recvmsg": {}, "remove": {}, "rename": {}, + "renameat2": {}, "rewind": {}, "rindex": {}, "rint": {}, @@ -467,6 +478,7 @@ var CAPI = map[string]struct{}{ "strtoull": {}, "strtoumax": {}, "symlink": {}, + "symlinkat": {}, "sysconf": {}, "system": {}, "tan": {}, @@ -484,9 +496,11 @@ var CAPI = map[string]struct{}{ "uname": {}, "ungetc": {}, "unlink": {}, + "unlinkat": {}, "unsetenv": {}, "usleep": {}, "utime": {}, + "utimensat": {}, "utimes": {}, "uuid_copy": {}, "uuid_generate_random": {}, diff --git a/vendor/modernc.org/libc/ccgo.go b/vendor/modernc.org/libc/ccgo.go index 1ef93fd1..ab1a78e6 100644 --- a/vendor/modernc.org/libc/ccgo.go +++ b/vendor/modernc.org/libc/ccgo.go @@ -46,17 +46,19 @@ func AtomicLoadNUint64(ptr uintptr, memorder int32) uint64 { func AtomicLoadNUintptr(ptr uintptr, memorder int32) uintptr { return atomic.LoadUintptr((*uintptr)(unsafe.Pointer(ptr))) } -func AssignInt8(p *int8, v int8) int8 { *p = v; return v } -func AssignInt16(p *int16, v int16) int16 { *p = v; return v } -func AssignInt32(p *int32, v int32) int32 { *p = v; return v } -func AssignInt64(p *int64, v int64) int64 { *p = v; return v } -func AssignUint8(p *uint8, v uint8) uint8 { *p = v; return v } -func AssignUint16(p *uint16, v uint16) uint16 { *p = v; return v } -func AssignUint32(p *uint32, v uint32) uint32 { *p = v; return v } -func AssignUint64(p *uint64, v uint64) uint64 { *p = v; return v } -func AssignFloat32(p *float32, v float32) float32 { *p = v; return v } -func AssignFloat64(p *float64, v float64) float64 { *p = v; return v } -func AssignUintptr(p *uintptr, v uintptr) uintptr { *p = v; return v } +func AssignInt8(p *int8, v int8) int8 { *p = v; return v } +func AssignInt16(p *int16, v int16) int16 { *p = v; return v } +func AssignInt32(p *int32, v int32) int32 { *p = v; return v } +func AssignInt64(p *int64, v int64) int64 { *p = v; return v } +func AssignUint8(p *uint8, v uint8) uint8 { *p = v; return v } +func AssignUint16(p *uint16, v uint16) uint16 { *p = v; return v } +func AssignUint32(p *uint32, v uint32) uint32 { *p = v; return v } +func AssignUint64(p *uint64, v uint64) uint64 { *p = v; return v } +func AssignFloat32(p *float32, v float32) float32 { *p = v; return v } +func AssignFloat64(p *float64, v float64) float64 { *p = v; return v } +func AssignComplex64(p *complex64, v complex64) complex64 { *p = v; return v } +func AssignComplex128(p *complex128, v complex128) complex128 { *p = v; return v } +func AssignUintptr(p *uintptr, v uintptr) uintptr { *p = v; return v } func AssignPtrInt8(p uintptr, v int8) int8 { *(*int8)(unsafe.Pointer(p)) = v; return v } func AssignPtrInt16(p uintptr, v int16) int16 { *(*int16)(unsafe.Pointer(p)) = v; return v } @@ -68,31 +70,43 @@ func AssignPtrUint32(p uintptr, v uint32) uint32 { *(*uint32)(unsafe.Pointer( func AssignPtrUint64(p uintptr, v uint64) uint64 { *(*uint64)(unsafe.Pointer(p)) = v; return v } func AssignPtrFloat32(p uintptr, v float32) float32 { *(*float32)(unsafe.Pointer(p)) = v; return v } func AssignPtrFloat64(p uintptr, v float64) float64 { *(*float64)(unsafe.Pointer(p)) = v; return v } +func AssignPtrComplex64(p uintptr, v complex64) complex64 { + *(*complex64)(unsafe.Pointer(p)) = v + return v +} +func AssignPtrComplex128(p uintptr, v complex128) complex128 { + *(*complex128)(unsafe.Pointer(p)) = v + return v +} func AssignPtrUintptr(p uintptr, v uintptr) uintptr { *(*uintptr)(unsafe.Pointer(p)) = v; return v } -func AssignMulInt8(p *int8, v int8) int8 { *p *= v; return *p } -func AssignMulInt16(p *int16, v int16) int16 { *p *= v; return *p } -func AssignMulInt32(p *int32, v int32) int32 { *p *= v; return *p } -func AssignMulInt64(p *int64, v int64) int64 { *p *= v; return *p } -func AssignMulUint8(p *uint8, v uint8) uint8 { *p *= v; return *p } -func AssignMulUint16(p *uint16, v uint16) uint16 { *p *= v; return *p } -func AssignMulUint32(p *uint32, v uint32) uint32 { *p *= v; return *p } -func AssignMulUint64(p *uint64, v uint64) uint64 { *p *= v; return *p } -func AssignMulFloat32(p *float32, v float32) float32 { *p *= v; return *p } -func AssignMulFloat64(p *float64, v float64) float64 { *p *= v; return *p } -func AssignMulUintptr(p *uintptr, v uintptr) uintptr { *p *= v; return *p } - -func AssignDivInt8(p *int8, v int8) int8 { *p /= v; return *p } -func AssignDivInt16(p *int16, v int16) int16 { *p /= v; return *p } -func AssignDivInt32(p *int32, v int32) int32 { *p /= v; return *p } -func AssignDivInt64(p *int64, v int64) int64 { *p /= v; return *p } -func AssignDivUint8(p *uint8, v uint8) uint8 { *p /= v; return *p } -func AssignDivUint16(p *uint16, v uint16) uint16 { *p /= v; return *p } -func AssignDivUint32(p *uint32, v uint32) uint32 { *p /= v; return *p } -func AssignDivUint64(p *uint64, v uint64) uint64 { *p /= v; return *p } -func AssignDivFloat32(p *float32, v float32) float32 { *p /= v; return *p } -func AssignDivFloat64(p *float64, v float64) float64 { *p /= v; return *p } -func AssignDivUintptr(p *uintptr, v uintptr) uintptr { *p /= v; return *p } +func AssignMulInt8(p *int8, v int8) int8 { *p *= v; return *p } +func AssignMulInt16(p *int16, v int16) int16 { *p *= v; return *p } +func AssignMulInt32(p *int32, v int32) int32 { *p *= v; return *p } +func AssignMulInt64(p *int64, v int64) int64 { *p *= v; return *p } +func AssignMulUint8(p *uint8, v uint8) uint8 { *p *= v; return *p } +func AssignMulUint16(p *uint16, v uint16) uint16 { *p *= v; return *p } +func AssignMulUint32(p *uint32, v uint32) uint32 { *p *= v; return *p } +func AssignMulUint64(p *uint64, v uint64) uint64 { *p *= v; return *p } +func AssignMulFloat32(p *float32, v float32) float32 { *p *= v; return *p } +func AssignMulFloat64(p *float64, v float64) float64 { *p *= v; return *p } +func AssignMulComplex64(p *complex64, v complex64) complex64 { *p *= v; return *p } +func AssignMulComplex128(p *complex128, v complex128) complex128 { *p *= v; return *p } +func AssignMulUintptr(p *uintptr, v uintptr) uintptr { *p *= v; return *p } + +func AssignDivInt8(p *int8, v int8) int8 { *p /= v; return *p } +func AssignDivInt16(p *int16, v int16) int16 { *p /= v; return *p } +func AssignDivInt32(p *int32, v int32) int32 { *p /= v; return *p } +func AssignDivInt64(p *int64, v int64) int64 { *p /= v; return *p } +func AssignDivUint8(p *uint8, v uint8) uint8 { *p /= v; return *p } +func AssignDivUint16(p *uint16, v uint16) uint16 { *p /= v; return *p } +func AssignDivUint32(p *uint32, v uint32) uint32 { *p /= v; return *p } +func AssignDivUint64(p *uint64, v uint64) uint64 { *p /= v; return *p } +func AssignDivFloat32(p *float32, v float32) float32 { *p /= v; return *p } +func AssignDivFloat64(p *float64, v float64) float64 { *p /= v; return *p } +func AssignDivComplex64(p *complex64, v complex64) complex64 { *p /= v; return *p } +func AssignDivComplex128(p *complex128, v complex128) complex128 { *p /= v; return *p } +func AssignDivUintptr(p *uintptr, v uintptr) uintptr { *p /= v; return *p } func AssignRemInt8(p *int8, v int8) int8 { *p %= v; return *p } func AssignRemInt16(p *int16, v int16) int16 { *p %= v; return *p } @@ -104,29 +118,33 @@ func AssignRemUint32(p *uint32, v uint32) uint32 { *p %= v; return *p } func AssignRemUint64(p *uint64, v uint64) uint64 { *p %= v; return *p } func AssignRemUintptr(p *uintptr, v uintptr) uintptr { *p %= v; return *p } -func AssignAddInt8(p *int8, v int8) int8 { *p += v; return *p } -func AssignAddInt16(p *int16, v int16) int16 { *p += v; return *p } -func AssignAddInt32(p *int32, v int32) int32 { *p += v; return *p } -func AssignAddInt64(p *int64, v int64) int64 { *p += v; return *p } -func AssignAddUint8(p *uint8, v uint8) uint8 { *p += v; return *p } -func AssignAddUint16(p *uint16, v uint16) uint16 { *p += v; return *p } -func AssignAddUint32(p *uint32, v uint32) uint32 { *p += v; return *p } -func AssignAddUint64(p *uint64, v uint64) uint64 { *p += v; return *p } -func AssignAddFloat32(p *float32, v float32) float32 { *p += v; return *p } -func AssignAddFloat64(p *float64, v float64) float64 { *p += v; return *p } -func AssignAddUintptr(p *uintptr, v uintptr) uintptr { *p += v; return *p } - -func AssignSubInt8(p *int8, v int8) int8 { *p -= v; return *p } -func AssignSubInt16(p *int16, v int16) int16 { *p -= v; return *p } -func AssignSubInt32(p *int32, v int32) int32 { *p -= v; return *p } -func AssignSubInt64(p *int64, v int64) int64 { *p -= v; return *p } -func AssignSubUint8(p *uint8, v uint8) uint8 { *p -= v; return *p } -func AssignSubUint16(p *uint16, v uint16) uint16 { *p -= v; return *p } -func AssignSubUint32(p *uint32, v uint32) uint32 { *p -= v; return *p } -func AssignSubUint64(p *uint64, v uint64) uint64 { *p -= v; return *p } -func AssignSubFloat32(p *float32, v float32) float32 { *p -= v; return *p } -func AssignSubFloat64(p *float64, v float64) float64 { *p -= v; return *p } -func AssignSubUintptr(p *uintptr, v uintptr) uintptr { *p -= v; return *p } +func AssignAddInt8(p *int8, v int8) int8 { *p += v; return *p } +func AssignAddInt16(p *int16, v int16) int16 { *p += v; return *p } +func AssignAddInt32(p *int32, v int32) int32 { *p += v; return *p } +func AssignAddInt64(p *int64, v int64) int64 { *p += v; return *p } +func AssignAddUint8(p *uint8, v uint8) uint8 { *p += v; return *p } +func AssignAddUint16(p *uint16, v uint16) uint16 { *p += v; return *p } +func AssignAddUint32(p *uint32, v uint32) uint32 { *p += v; return *p } +func AssignAddUint64(p *uint64, v uint64) uint64 { *p += v; return *p } +func AssignAddFloat32(p *float32, v float32) float32 { *p += v; return *p } +func AssignAddFloat64(p *float64, v float64) float64 { *p += v; return *p } +func AssignAddComplex64(p *complex64, v complex64) complex64 { *p += v; return *p } +func AssignAddComplex128(p *complex128, v complex128) complex128 { *p += v; return *p } +func AssignAddUintptr(p *uintptr, v uintptr) uintptr { *p += v; return *p } + +func AssignSubInt8(p *int8, v int8) int8 { *p -= v; return *p } +func AssignSubInt16(p *int16, v int16) int16 { *p -= v; return *p } +func AssignSubInt32(p *int32, v int32) int32 { *p -= v; return *p } +func AssignSubInt64(p *int64, v int64) int64 { *p -= v; return *p } +func AssignSubUint8(p *uint8, v uint8) uint8 { *p -= v; return *p } +func AssignSubUint16(p *uint16, v uint16) uint16 { *p -= v; return *p } +func AssignSubUint32(p *uint32, v uint32) uint32 { *p -= v; return *p } +func AssignSubUint64(p *uint64, v uint64) uint64 { *p -= v; return *p } +func AssignSubFloat32(p *float32, v float32) float32 { *p -= v; return *p } +func AssignSubFloat64(p *float64, v float64) float64 { *p -= v; return *p } +func AssignSubComplex64(p *complex64, v complex64) complex64 { *p -= v; return *p } +func AssignSubComplex128(p *complex128, v complex128) complex128 { *p -= v; return *p } +func AssignSubUintptr(p *uintptr, v uintptr) uintptr { *p -= v; return *p } func AssignAndInt8(p *int8, v int8) int8 { *p &= v; return *p } func AssignAndInt16(p *int16, v int16) int16 { *p &= v; return *p } @@ -208,6 +226,16 @@ func AssignMulPtrFloat64(p uintptr, v float64) float64 { return *(*float64)(unsafe.Pointer(p)) } +func AssignMulPtrComplex64(p uintptr, v complex64) complex64 { + *(*complex64)(unsafe.Pointer(p)) *= v + return *(*complex64)(unsafe.Pointer(p)) +} + +func AssignMulPtrComplex128(p uintptr, v complex128) complex128 { + *(*complex128)(unsafe.Pointer(p)) *= v + return *(*complex128)(unsafe.Pointer(p)) +} + func AssignMulPtrUintptr(p uintptr, v uintptr) uintptr { *(*uintptr)(unsafe.Pointer(p)) *= v return *(*uintptr)(unsafe.Pointer(p)) @@ -263,6 +291,16 @@ func AssignDivPtrFloat64(p uintptr, v float64) float64 { return *(*float64)(unsafe.Pointer(p)) } +func AssignDivPtrComplex64(p uintptr, v complex64) complex64 { + *(*complex64)(unsafe.Pointer(p)) /= v + return *(*complex64)(unsafe.Pointer(p)) +} + +func AssignDivPtrComplex128(p uintptr, v complex128) complex128 { + *(*complex128)(unsafe.Pointer(p)) /= v + return *(*complex128)(unsafe.Pointer(p)) +} + func AssignDivPtrUintptr(p uintptr, v uintptr) uintptr { *(*uintptr)(unsafe.Pointer(p)) /= v return *(*uintptr)(unsafe.Pointer(p)) @@ -363,6 +401,16 @@ func AssignAddPtrFloat64(p uintptr, v float64) float64 { return *(*float64)(unsafe.Pointer(p)) } +func AssignAddPtrComplex64(p uintptr, v complex64) complex64 { + *(*complex64)(unsafe.Pointer(p)) += v + return *(*complex64)(unsafe.Pointer(p)) +} + +func AssignAddPtrComplex128(p uintptr, v complex128) complex128 { + *(*complex128)(unsafe.Pointer(p)) += v + return *(*complex128)(unsafe.Pointer(p)) +} + func AssignAddPtrUintptr(p uintptr, v uintptr) uintptr { *(*uintptr)(unsafe.Pointer(p)) += v return *(*uintptr)(unsafe.Pointer(p)) @@ -418,6 +466,16 @@ func AssignSubPtrFloat64(p uintptr, v float64) float64 { return *(*float64)(unsafe.Pointer(p)) } +func AssignSubPtrComplex64(p uintptr, v complex64) complex64 { + *(*complex64)(unsafe.Pointer(p)) -= v + return *(*complex64)(unsafe.Pointer(p)) +} + +func AssignSubPtrComplex128(p uintptr, v complex128) complex128 { + *(*complex128)(unsafe.Pointer(p)) -= v + return *(*complex128)(unsafe.Pointer(p)) +} + func AssignSubPtrUintptr(p uintptr, v uintptr) uintptr { *(*uintptr)(unsafe.Pointer(p)) -= v return *(*uintptr)(unsafe.Pointer(p)) @@ -684,17 +742,19 @@ func AssignShrUint64(p *uint64, v int) uint64 { *p >>= v; return *p } func AssignShrUintptr(p *uintptr, v int) uintptr { *p >>= v; return *p } -func PreIncInt8(p *int8, d int8) int8 { *p += d; return *p } -func PreIncInt16(p *int16, d int16) int16 { *p += d; return *p } -func PreIncInt32(p *int32, d int32) int32 { *p += d; return *p } -func PreIncInt64(p *int64, d int64) int64 { *p += d; return *p } -func PreIncUint8(p *uint8, d uint8) uint8 { *p += d; return *p } -func PreIncUint16(p *uint16, d uint16) uint16 { *p += d; return *p } -func PreIncUint32(p *uint32, d uint32) uint32 { *p += d; return *p } -func PreIncUint64(p *uint64, d uint64) uint64 { *p += d; return *p } -func PreIncFloat32(p *float32, d float32) float32 { *p += d; return *p } -func PreIncFloat64(p *float64, d float64) float64 { *p += d; return *p } -func PreIncUintptr(p *uintptr, d uintptr) uintptr { *p += d; return *p } +func PreIncInt8(p *int8, d int8) int8 { *p += d; return *p } +func PreIncInt16(p *int16, d int16) int16 { *p += d; return *p } +func PreIncInt32(p *int32, d int32) int32 { *p += d; return *p } +func PreIncInt64(p *int64, d int64) int64 { *p += d; return *p } +func PreIncUint8(p *uint8, d uint8) uint8 { *p += d; return *p } +func PreIncUint16(p *uint16, d uint16) uint16 { *p += d; return *p } +func PreIncUint32(p *uint32, d uint32) uint32 { *p += d; return *p } +func PreIncUint64(p *uint64, d uint64) uint64 { *p += d; return *p } +func PreIncFloat32(p *float32, d float32) float32 { *p += d; return *p } +func PreIncFloat64(p *float64, d float64) float64 { *p += d; return *p } +func PreIncComplex64(p *complex64, d complex64) complex64 { *p += d; return *p } +func PreIncComplex128(p *complex128, d complex128) complex128 { *p += d; return *p } +func PreIncUintptr(p *uintptr, d uintptr) uintptr { *p += d; return *p } func PreIncAtomicInt32(p *int32, d int32) int32 { return atomic.AddInt32(p, d) } func PreIncAtomicInt64(p *int64, d int64) int64 { return atomic.AddInt64(p, d) } @@ -702,17 +762,19 @@ func PreIncAtomicUint32(p *uint32, d uint32) uint32 { return atomic.AddUint3 func PreIncAtomicUint64(p *uint64, d uint64) uint64 { return atomic.AddUint64(p, d) } func PreIncAtomicUintptr(p *uintptr, d uintptr) uintptr { return atomic.AddUintptr(p, d) } -func PreDecInt8(p *int8, d int8) int8 { *p -= d; return *p } -func PreDecInt16(p *int16, d int16) int16 { *p -= d; return *p } -func PreDecInt32(p *int32, d int32) int32 { *p -= d; return *p } -func PreDecInt64(p *int64, d int64) int64 { *p -= d; return *p } -func PreDecUint8(p *uint8, d uint8) uint8 { *p -= d; return *p } -func PreDecUint16(p *uint16, d uint16) uint16 { *p -= d; return *p } -func PreDecUint32(p *uint32, d uint32) uint32 { *p -= d; return *p } -func PreDecUint64(p *uint64, d uint64) uint64 { *p -= d; return *p } -func PreDecFloat32(p *float32, d float32) float32 { *p -= d; return *p } -func PreDecFloat64(p *float64, d float64) float64 { *p -= d; return *p } -func PreDecUintptr(p *uintptr, d uintptr) uintptr { *p -= d; return *p } +func PreDecInt8(p *int8, d int8) int8 { *p -= d; return *p } +func PreDecInt16(p *int16, d int16) int16 { *p -= d; return *p } +func PreDecInt32(p *int32, d int32) int32 { *p -= d; return *p } +func PreDecInt64(p *int64, d int64) int64 { *p -= d; return *p } +func PreDecUint8(p *uint8, d uint8) uint8 { *p -= d; return *p } +func PreDecUint16(p *uint16, d uint16) uint16 { *p -= d; return *p } +func PreDecUint32(p *uint32, d uint32) uint32 { *p -= d; return *p } +func PreDecUint64(p *uint64, d uint64) uint64 { *p -= d; return *p } +func PreDecFloat32(p *float32, d float32) float32 { *p -= d; return *p } +func PreDecFloat64(p *float64, d float64) float64 { *p -= d; return *p } +func PreDecComplex64(p *complex64, d complex64) complex64 { *p -= d; return *p } +func PreDecComplex128(p *complex128, d complex128) complex128 { *p -= d; return *p } +func PreDecUintptr(p *uintptr, d uintptr) uintptr { *p -= d; return *p } func PreDecAtomicInt32(p *int32, d int32) int32 { return atomic.AddInt32(p, -d) } func PreDecAtomicInt64(p *int64, d int64) int64 { return atomic.AddInt64(p, -d) } @@ -720,17 +782,19 @@ func PreDecAtomicUint32(p *uint32, d uint32) uint32 { return atomic.AddUint3 func PreDecAtomicUint64(p *uint64, d uint64) uint64 { return atomic.AddUint64(p, -d) } func PreDecAtomicUintptr(p *uintptr, d uintptr) uintptr { return atomic.AddUintptr(p, -d) } -func PostIncInt8(p *int8, d int8) int8 { r := *p; *p += d; return r } -func PostIncInt16(p *int16, d int16) int16 { r := *p; *p += d; return r } -func PostIncInt32(p *int32, d int32) int32 { r := *p; *p += d; return r } -func PostIncInt64(p *int64, d int64) int64 { r := *p; *p += d; return r } -func PostIncUint8(p *uint8, d uint8) uint8 { r := *p; *p += d; return r } -func PostIncUint16(p *uint16, d uint16) uint16 { r := *p; *p += d; return r } -func PostIncUint32(p *uint32, d uint32) uint32 { r := *p; *p += d; return r } -func PostIncUint64(p *uint64, d uint64) uint64 { r := *p; *p += d; return r } -func PostIncFloat32(p *float32, d float32) float32 { r := *p; *p += d; return r } -func PostIncFloat64(p *float64, d float64) float64 { r := *p; *p += d; return r } -func PostIncUintptr(p *uintptr, d uintptr) uintptr { r := *p; *p += d; return r } +func PostIncInt8(p *int8, d int8) int8 { r := *p; *p += d; return r } +func PostIncInt16(p *int16, d int16) int16 { r := *p; *p += d; return r } +func PostIncInt32(p *int32, d int32) int32 { r := *p; *p += d; return r } +func PostIncInt64(p *int64, d int64) int64 { r := *p; *p += d; return r } +func PostIncUint8(p *uint8, d uint8) uint8 { r := *p; *p += d; return r } +func PostIncUint16(p *uint16, d uint16) uint16 { r := *p; *p += d; return r } +func PostIncUint32(p *uint32, d uint32) uint32 { r := *p; *p += d; return r } +func PostIncUint64(p *uint64, d uint64) uint64 { r := *p; *p += d; return r } +func PostIncFloat32(p *float32, d float32) float32 { r := *p; *p += d; return r } +func PostIncFloat64(p *float64, d float64) float64 { r := *p; *p += d; return r } +func PostIncComplex64(p *complex64, d complex64) complex64 { r := *p; *p += d; return r } +func PostIncComplex128(p *complex128, d complex128) complex128 { r := *p; *p += d; return r } +func PostIncUintptr(p *uintptr, d uintptr) uintptr { r := *p; *p += d; return r } func PostIncAtomicInt32(p *int32, d int32) int32 { return atomic.AddInt32(p, d) - d } func PostIncAtomicInt64(p *int64, d int64) int64 { return atomic.AddInt64(p, d) - d } @@ -738,17 +802,19 @@ func PostIncAtomicUint32(p *uint32, d uint32) uint32 { return atomic.AddUint func PostIncAtomicUint64(p *uint64, d uint64) uint64 { return atomic.AddUint64(p, d) - d } func PostIncAtomicUintptr(p *uintptr, d uintptr) uintptr { return atomic.AddUintptr(p, d) - d } -func PostDecInt8(p *int8, d int8) int8 { r := *p; *p -= d; return r } -func PostDecInt16(p *int16, d int16) int16 { r := *p; *p -= d; return r } -func PostDecInt32(p *int32, d int32) int32 { r := *p; *p -= d; return r } -func PostDecInt64(p *int64, d int64) int64 { r := *p; *p -= d; return r } -func PostDecUint8(p *uint8, d uint8) uint8 { r := *p; *p -= d; return r } -func PostDecUint16(p *uint16, d uint16) uint16 { r := *p; *p -= d; return r } -func PostDecUint32(p *uint32, d uint32) uint32 { r := *p; *p -= d; return r } -func PostDecUint64(p *uint64, d uint64) uint64 { r := *p; *p -= d; return r } -func PostDecFloat32(p *float32, d float32) float32 { r := *p; *p -= d; return r } -func PostDecFloat64(p *float64, d float64) float64 { r := *p; *p -= d; return r } -func PostDecUintptr(p *uintptr, d uintptr) uintptr { r := *p; *p -= d; return r } +func PostDecInt8(p *int8, d int8) int8 { r := *p; *p -= d; return r } +func PostDecInt16(p *int16, d int16) int16 { r := *p; *p -= d; return r } +func PostDecInt32(p *int32, d int32) int32 { r := *p; *p -= d; return r } +func PostDecInt64(p *int64, d int64) int64 { r := *p; *p -= d; return r } +func PostDecUint8(p *uint8, d uint8) uint8 { r := *p; *p -= d; return r } +func PostDecUint16(p *uint16, d uint16) uint16 { r := *p; *p -= d; return r } +func PostDecUint32(p *uint32, d uint32) uint32 { r := *p; *p -= d; return r } +func PostDecUint64(p *uint64, d uint64) uint64 { r := *p; *p -= d; return r } +func PostDecFloat32(p *float32, d float32) float32 { r := *p; *p -= d; return r } +func PostDecFloat64(p *float64, d float64) float64 { r := *p; *p -= d; return r } +func PostDecComplex64(p *complex64, d complex64) complex64 { r := *p; *p -= d; return r } +func PostDecComplex128(p *complex128, d complex128) complex128 { r := *p; *p -= d; return r } +func PostDecUintptr(p *uintptr, d uintptr) uintptr { r := *p; *p -= d; return r } func PostDecAtomicInt32(p *int32, d int32) int32 { return atomic.AddInt32(p, -d) + d } func PostDecAtomicInt64(p *int64, d int64) int64 { return atomic.AddInt64(p, -d) + d } @@ -756,139 +822,189 @@ func PostDecAtomicUint32(p *uint32, d uint32) uint32 { return atomic.AddUint func PostDecAtomicUint64(p *uint64, d uint64) uint64 { return atomic.AddUint64(p, -d) + d } func PostDecAtomicUintptr(p *uintptr, d uintptr) uintptr { return atomic.AddUintptr(p, -d) + d } -func Int8FromInt8(n int8) int8 { return int8(n) } -func Int8FromInt16(n int16) int8 { return int8(n) } -func Int8FromInt32(n int32) int8 { return int8(n) } -func Int8FromInt64(n int64) int8 { return int8(n) } -func Int8FromUint8(n uint8) int8 { return int8(n) } -func Int8FromUint16(n uint16) int8 { return int8(n) } -func Int8FromUint32(n uint32) int8 { return int8(n) } -func Int8FromUint64(n uint64) int8 { return int8(n) } -func Int8FromFloat32(n float32) int8 { return int8(n) } -func Int8FromFloat64(n float64) int8 { return int8(n) } -func Int8FromUintptr(n uintptr) int8 { return int8(n) } -func Int16FromInt8(n int8) int16 { return int16(n) } -func Int16FromInt16(n int16) int16 { return int16(n) } -func Int16FromInt32(n int32) int16 { return int16(n) } -func Int16FromInt64(n int64) int16 { return int16(n) } -func Int16FromUint8(n uint8) int16 { return int16(n) } -func Int16FromUint16(n uint16) int16 { return int16(n) } -func Int16FromUint32(n uint32) int16 { return int16(n) } -func Int16FromUint64(n uint64) int16 { return int16(n) } -func Int16FromFloat32(n float32) int16 { return int16(n) } -func Int16FromFloat64(n float64) int16 { return int16(n) } -func Int16FromUintptr(n uintptr) int16 { return int16(n) } -func Int32FromInt8(n int8) int32 { return int32(n) } -func Int32FromInt16(n int16) int32 { return int32(n) } -func Int32FromInt32(n int32) int32 { return int32(n) } -func Int32FromInt64(n int64) int32 { return int32(n) } -func Int32FromUint8(n uint8) int32 { return int32(n) } -func Int32FromUint16(n uint16) int32 { return int32(n) } -func Int32FromUint32(n uint32) int32 { return int32(n) } -func Int32FromUint64(n uint64) int32 { return int32(n) } -func Int32FromFloat32(n float32) int32 { return int32(n) } -func Int32FromFloat64(n float64) int32 { return int32(n) } -func Int32FromUintptr(n uintptr) int32 { return int32(n) } -func Int64FromInt8(n int8) int64 { return int64(n) } -func Int64FromInt16(n int16) int64 { return int64(n) } -func Int64FromInt32(n int32) int64 { return int64(n) } -func Int64FromInt64(n int64) int64 { return int64(n) } -func Int64FromUint8(n uint8) int64 { return int64(n) } -func Int64FromUint16(n uint16) int64 { return int64(n) } -func Int64FromUint32(n uint32) int64 { return int64(n) } -func Int64FromUint64(n uint64) int64 { return int64(n) } -func Int64FromFloat32(n float32) int64 { return int64(n) } -func Int64FromFloat64(n float64) int64 { return int64(n) } -func Int64FromUintptr(n uintptr) int64 { return int64(n) } -func Uint8FromInt8(n int8) uint8 { return uint8(n) } -func Uint8FromInt16(n int16) uint8 { return uint8(n) } -func Uint8FromInt32(n int32) uint8 { return uint8(n) } -func Uint8FromInt64(n int64) uint8 { return uint8(n) } -func Uint8FromUint8(n uint8) uint8 { return uint8(n) } -func Uint8FromUint16(n uint16) uint8 { return uint8(n) } -func Uint8FromUint32(n uint32) uint8 { return uint8(n) } -func Uint8FromUint64(n uint64) uint8 { return uint8(n) } -func Uint8FromFloat32(n float32) uint8 { return uint8(n) } -func Uint8FromFloat64(n float64) uint8 { return uint8(n) } -func Uint8FromUintptr(n uintptr) uint8 { return uint8(n) } -func Uint16FromInt8(n int8) uint16 { return uint16(n) } -func Uint16FromInt16(n int16) uint16 { return uint16(n) } -func Uint16FromInt32(n int32) uint16 { return uint16(n) } -func Uint16FromInt64(n int64) uint16 { return uint16(n) } -func Uint16FromUint8(n uint8) uint16 { return uint16(n) } -func Uint16FromUint16(n uint16) uint16 { return uint16(n) } -func Uint16FromUint32(n uint32) uint16 { return uint16(n) } -func Uint16FromUint64(n uint64) uint16 { return uint16(n) } -func Uint16FromFloat32(n float32) uint16 { return uint16(n) } -func Uint16FromFloat64(n float64) uint16 { return uint16(n) } -func Uint16FromUintptr(n uintptr) uint16 { return uint16(n) } -func Uint32FromInt8(n int8) uint32 { return uint32(n) } -func Uint32FromInt16(n int16) uint32 { return uint32(n) } -func Uint32FromInt32(n int32) uint32 { return uint32(n) } -func Uint32FromInt64(n int64) uint32 { return uint32(n) } -func Uint32FromUint8(n uint8) uint32 { return uint32(n) } -func Uint32FromUint16(n uint16) uint32 { return uint32(n) } -func Uint32FromUint32(n uint32) uint32 { return uint32(n) } -func Uint32FromUint64(n uint64) uint32 { return uint32(n) } -func Uint32FromFloat32(n float32) uint32 { return uint32(n) } -func Uint32FromFloat64(n float64) uint32 { return uint32(n) } -func Uint32FromUintptr(n uintptr) uint32 { return uint32(n) } -func Uint64FromInt8(n int8) uint64 { return uint64(n) } -func Uint64FromInt16(n int16) uint64 { return uint64(n) } -func Uint64FromInt32(n int32) uint64 { return uint64(n) } -func Uint64FromInt64(n int64) uint64 { return uint64(n) } -func Uint64FromUint8(n uint8) uint64 { return uint64(n) } -func Uint64FromUint16(n uint16) uint64 { return uint64(n) } -func Uint64FromUint32(n uint32) uint64 { return uint64(n) } -func Uint64FromUint64(n uint64) uint64 { return uint64(n) } -func Uint64FromFloat32(n float32) uint64 { return uint64(n) } -func Uint64FromFloat64(n float64) uint64 { return uint64(n) } -func Uint64FromUintptr(n uintptr) uint64 { return uint64(n) } -func Float32FromInt8(n int8) float32 { return float32(n) } -func Float32FromInt16(n int16) float32 { return float32(n) } -func Float32FromInt32(n int32) float32 { return float32(n) } -func Float32FromInt64(n int64) float32 { return float32(n) } -func Float32FromUint8(n uint8) float32 { return float32(n) } -func Float32FromUint16(n uint16) float32 { return float32(n) } -func Float32FromUint32(n uint32) float32 { return float32(n) } -func Float32FromUint64(n uint64) float32 { return float32(n) } -func Float32FromFloat32(n float32) float32 { return float32(n) } -func Float32FromFloat64(n float64) float32 { return float32(n) } -func Float32FromUintptr(n uintptr) float32 { return float32(n) } -func Float64FromInt8(n int8) float64 { return float64(n) } -func Float64FromInt16(n int16) float64 { return float64(n) } -func Float64FromInt32(n int32) float64 { return float64(n) } -func Float64FromInt64(n int64) float64 { return float64(n) } -func Float64FromUint8(n uint8) float64 { return float64(n) } -func Float64FromUint16(n uint16) float64 { return float64(n) } -func Float64FromUint32(n uint32) float64 { return float64(n) } -func Float64FromUint64(n uint64) float64 { return float64(n) } -func Float64FromFloat32(n float32) float64 { return float64(n) } -func Float64FromFloat64(n float64) float64 { return float64(n) } -func Float64FromUintptr(n uintptr) float64 { return float64(n) } -func UintptrFromInt8(n int8) uintptr { return uintptr(n) } -func UintptrFromInt16(n int16) uintptr { return uintptr(n) } -func UintptrFromInt32(n int32) uintptr { return uintptr(n) } -func UintptrFromInt64(n int64) uintptr { return uintptr(n) } -func UintptrFromUint8(n uint8) uintptr { return uintptr(n) } -func UintptrFromUint16(n uint16) uintptr { return uintptr(n) } -func UintptrFromUint32(n uint32) uintptr { return uintptr(n) } -func UintptrFromUint64(n uint64) uintptr { return uintptr(n) } -func UintptrFromFloat32(n float32) uintptr { return uintptr(n) } -func UintptrFromFloat64(n float64) uintptr { return uintptr(n) } -func UintptrFromUintptr(n uintptr) uintptr { return uintptr(n) } - -func Int8(n int8) int8 { return n } -func Int16(n int16) int16 { return n } -func Int32(n int32) int32 { return n } -func Int64(n int64) int64 { return n } -func Uint8(n uint8) uint8 { return n } -func Uint16(n uint16) uint16 { return n } -func Uint32(n uint32) uint32 { return n } -func Uint64(n uint64) uint64 { return n } -func Float32(n float32) float32 { return n } -func Float64(n float64) float64 { return n } -func Uintptr(n uintptr) uintptr { return n } +func Int8FromInt8(n int8) int8 { return int8(n) } +func Int8FromInt16(n int16) int8 { return int8(n) } +func Int8FromInt32(n int32) int8 { return int8(n) } +func Int8FromInt64(n int64) int8 { return int8(n) } +func Int8FromUint8(n uint8) int8 { return int8(n) } +func Int8FromUint16(n uint16) int8 { return int8(n) } +func Int8FromUint32(n uint32) int8 { return int8(n) } +func Int8FromUint64(n uint64) int8 { return int8(n) } +func Int8FromFloat32(n float32) int8 { return int8(n) } +func Int8FromFloat64(n float64) int8 { return int8(n) } +func Int8FromComplex64(n complex64) int8 { return int8(real(n)) } +func Int8FromComplex128(n complex128) int8 { return int8(real(n)) } +func Int8FromUintptr(n uintptr) int8 { return int8(n) } +func Int16FromInt8(n int8) int16 { return int16(n) } +func Int16FromInt16(n int16) int16 { return int16(n) } +func Int16FromInt32(n int32) int16 { return int16(n) } +func Int16FromInt64(n int64) int16 { return int16(n) } +func Int16FromUint8(n uint8) int16 { return int16(n) } +func Int16FromUint16(n uint16) int16 { return int16(n) } +func Int16FromUint32(n uint32) int16 { return int16(n) } +func Int16FromUint64(n uint64) int16 { return int16(n) } +func Int16FromFloat32(n float32) int16 { return int16(n) } +func Int16FromFloat64(n float64) int16 { return int16(n) } +func Int16FromComplex64(n complex64) int16 { return int16(real(n)) } +func Int16FromComplex128(n complex128) int16 { return int16(real(n)) } +func Int16FromUintptr(n uintptr) int16 { return int16(n) } +func Int32FromInt8(n int8) int32 { return int32(n) } +func Int32FromInt16(n int16) int32 { return int32(n) } +func Int32FromInt32(n int32) int32 { return int32(n) } +func Int32FromInt64(n int64) int32 { return int32(n) } +func Int32FromUint8(n uint8) int32 { return int32(n) } +func Int32FromUint16(n uint16) int32 { return int32(n) } +func Int32FromUint32(n uint32) int32 { return int32(n) } +func Int32FromUint64(n uint64) int32 { return int32(n) } +func Int32FromFloat32(n float32) int32 { return int32(n) } +func Int32FromFloat64(n float64) int32 { return int32(n) } +func Int32FromComplex64(n complex64) int32 { return int32(real(n)) } +func Int32FromComplex128(n complex128) int32 { return int32(real(n)) } +func Int32FromUintptr(n uintptr) int32 { return int32(n) } +func Int64FromInt8(n int8) int64 { return int64(n) } +func Int64FromInt16(n int16) int64 { return int64(n) } +func Int64FromInt32(n int32) int64 { return int64(n) } +func Int64FromInt64(n int64) int64 { return int64(n) } +func Int64FromUint8(n uint8) int64 { return int64(n) } +func Int64FromUint16(n uint16) int64 { return int64(n) } +func Int64FromUint32(n uint32) int64 { return int64(n) } +func Int64FromUint64(n uint64) int64 { return int64(n) } +func Int64FromFloat32(n float32) int64 { return int64(n) } +func Int64FromFloat64(n float64) int64 { return int64(n) } +func Int64FromComplex64(n complex64) int64 { return int64(real(n)) } +func Int64FromComplex128(n complex128) int64 { return int64(real(n)) } +func Int64FromUintptr(n uintptr) int64 { return int64(n) } +func Uint8FromInt8(n int8) uint8 { return uint8(n) } +func Uint8FromInt16(n int16) uint8 { return uint8(n) } +func Uint8FromInt32(n int32) uint8 { return uint8(n) } +func Uint8FromInt64(n int64) uint8 { return uint8(n) } +func Uint8FromUint8(n uint8) uint8 { return uint8(n) } +func Uint8FromUint16(n uint16) uint8 { return uint8(n) } +func Uint8FromUint32(n uint32) uint8 { return uint8(n) } +func Uint8FromUint64(n uint64) uint8 { return uint8(n) } +func Uint8FromFloat32(n float32) uint8 { return uint8(n) } +func Uint8FromFloat64(n float64) uint8 { return uint8(n) } +func Uint8FromComplex64(n complex64) uint8 { return uint8(real(n)) } +func Uint8FromComplex128(n complex128) uint8 { return uint8(real(n)) } +func Uint8FromUintptr(n uintptr) uint8 { return uint8(n) } +func Uint16FromInt8(n int8) uint16 { return uint16(n) } +func Uint16FromInt16(n int16) uint16 { return uint16(n) } +func Uint16FromInt32(n int32) uint16 { return uint16(n) } +func Uint16FromInt64(n int64) uint16 { return uint16(n) } +func Uint16FromUint8(n uint8) uint16 { return uint16(n) } +func Uint16FromUint16(n uint16) uint16 { return uint16(n) } +func Uint16FromUint32(n uint32) uint16 { return uint16(n) } +func Uint16FromUint64(n uint64) uint16 { return uint16(n) } +func Uint16FromFloat32(n float32) uint16 { return uint16(n) } +func Uint16FromFloat64(n float64) uint16 { return uint16(n) } +func Uint16FromComplex64(n complex64) uint16 { return uint16(real(n)) } +func Uint16FromComplex128(n complex128) uint16 { return uint16(real(n)) } +func Uint16FromUintptr(n uintptr) uint16 { return uint16(n) } +func Uint32FromInt8(n int8) uint32 { return uint32(n) } +func Uint32FromInt16(n int16) uint32 { return uint32(n) } +func Uint32FromInt32(n int32) uint32 { return uint32(n) } +func Uint32FromInt64(n int64) uint32 { return uint32(n) } +func Uint32FromUint8(n uint8) uint32 { return uint32(n) } +func Uint32FromUint16(n uint16) uint32 { return uint32(n) } +func Uint32FromUint32(n uint32) uint32 { return uint32(n) } +func Uint32FromUint64(n uint64) uint32 { return uint32(n) } +func Uint32FromFloat32(n float32) uint32 { return uint32(n) } +func Uint32FromFloat64(n float64) uint32 { return uint32(n) } +func Uint32FromComplex64(n complex64) uint32 { return uint32(real(n)) } +func Uint32FromComplex128(n complex128) uint32 { return uint32(real(n)) } +func Uint32FromUintptr(n uintptr) uint32 { return uint32(n) } +func Uint64FromInt8(n int8) uint64 { return uint64(n) } +func Uint64FromInt16(n int16) uint64 { return uint64(n) } +func Uint64FromInt32(n int32) uint64 { return uint64(n) } +func Uint64FromInt64(n int64) uint64 { return uint64(n) } +func Uint64FromUint8(n uint8) uint64 { return uint64(n) } +func Uint64FromUint16(n uint16) uint64 { return uint64(n) } +func Uint64FromUint32(n uint32) uint64 { return uint64(n) } +func Uint64FromUint64(n uint64) uint64 { return uint64(n) } +func Uint64FromFloat32(n float32) uint64 { return uint64(n) } +func Uint64FromFloat64(n float64) uint64 { return uint64(n) } +func Uint64FromComplex64(n complex64) uint64 { return uint64(real(n)) } +func Uint64FromComplex128(n complex128) uint64 { return uint64(real(n)) } +func Uint64FromUintptr(n uintptr) uint64 { return uint64(n) } +func Float32FromInt8(n int8) float32 { return float32(n) } +func Float32FromInt16(n int16) float32 { return float32(n) } +func Float32FromInt32(n int32) float32 { return float32(n) } +func Float32FromInt64(n int64) float32 { return float32(n) } +func Float32FromUint8(n uint8) float32 { return float32(n) } +func Float32FromUint16(n uint16) float32 { return float32(n) } +func Float32FromUint32(n uint32) float32 { return float32(n) } +func Float32FromUint64(n uint64) float32 { return float32(n) } +func Float32FromFloat32(n float32) float32 { return float32(n) } +func Float32FromFloat64(n float64) float32 { return float32(n) } +func Float32FromComplex64(n complex64) float32 { return float32(real(n)) } +func Float32FromComplex128(n complex128) float32 { return float32(real(n)) } +func Float32FromUintptr(n uintptr) float32 { return float32(n) } +func Float64FromInt8(n int8) float64 { return float64(n) } +func Float64FromInt16(n int16) float64 { return float64(n) } +func Float64FromInt32(n int32) float64 { return float64(n) } +func Float64FromInt64(n int64) float64 { return float64(n) } +func Float64FromUint8(n uint8) float64 { return float64(n) } +func Float64FromUint16(n uint16) float64 { return float64(n) } +func Float64FromUint32(n uint32) float64 { return float64(n) } +func Float64FromUint64(n uint64) float64 { return float64(n) } +func Float64FromFloat32(n float32) float64 { return float64(n) } +func Float64FromFloat64(n float64) float64 { return float64(n) } +func Float64FromComplex64(n complex64) float64 { return float64(real(n)) } +func Float64FromComplex128(n complex128) float64 { return float64(real(n)) } +func Float64FromUintptr(n uintptr) float64 { return float64(n) } +func Complex64FromInt8(n int8) complex64 { return complex64(complex(float32(n), 0)) } +func Complex64FromInt16(n int16) complex64 { return complex64(complex(float32(n), 0)) } +func Complex64FromInt32(n int32) complex64 { return complex64(complex(float32(n), 0)) } +func Complex64FromInt64(n int64) complex64 { return complex64(complex(float32(n), 0)) } +func Complex64FromUint8(n uint8) complex64 { return complex64(complex(float32(n), 0)) } +func Complex64FromUint16(n uint16) complex64 { return complex64(complex(float32(n), 0)) } +func Complex64FromUint32(n uint32) complex64 { return complex64(complex(float32(n), 0)) } +func Complex64FromUint64(n uint64) complex64 { return complex64(complex(float32(n), 0)) } +func Complex64FromFloat32(n float32) complex64 { return complex64(complex(float32(n), 0)) } +func Complex64FromFloat64(n float64) complex64 { return complex64(complex(float32(n), 0)) } +func Complex64FromComplex64(n complex64) complex64 { return complex64(n) } +func Complex64FromComplex128(n complex128) complex64 { return complex64(n) } +func Complex64FromUintptr(n uintptr) complex64 { return complex64(complex(float32(n), 0)) } +func Complex128FromInt8(n int8) complex128 { return complex128(complex(float64(n), 0)) } +func Complex128FromInt16(n int16) complex128 { return complex128(complex(float64(n), 0)) } +func Complex128FromInt32(n int32) complex128 { return complex128(complex(float64(n), 0)) } +func Complex128FromInt64(n int64) complex128 { return complex128(complex(float64(n), 0)) } +func Complex128FromUint8(n uint8) complex128 { return complex128(complex(float64(n), 0)) } +func Complex128FromUint16(n uint16) complex128 { return complex128(complex(float64(n), 0)) } +func Complex128FromUint32(n uint32) complex128 { return complex128(complex(float64(n), 0)) } +func Complex128FromUint64(n uint64) complex128 { return complex128(complex(float64(n), 0)) } +func Complex128FromFloat32(n float32) complex128 { return complex128(complex(float64(n), 0)) } +func Complex128FromFloat64(n float64) complex128 { return complex128(complex(float64(n), 0)) } +func Complex128FromComplex64(n complex64) complex128 { return complex128(n) } +func Complex128FromComplex128(n complex128) complex128 { return complex128(n) } +func Complex128FromUintptr(n uintptr) complex128 { return complex128(complex(float64(n), 0)) } +func UintptrFromInt8(n int8) uintptr { return uintptr(n) } +func UintptrFromInt16(n int16) uintptr { return uintptr(n) } +func UintptrFromInt32(n int32) uintptr { return uintptr(n) } +func UintptrFromInt64(n int64) uintptr { return uintptr(n) } +func UintptrFromUint8(n uint8) uintptr { return uintptr(n) } +func UintptrFromUint16(n uint16) uintptr { return uintptr(n) } +func UintptrFromUint32(n uint32) uintptr { return uintptr(n) } +func UintptrFromUint64(n uint64) uintptr { return uintptr(n) } +func UintptrFromFloat32(n float32) uintptr { return uintptr(n) } +func UintptrFromFloat64(n float64) uintptr { return uintptr(n) } +func UintptrFromComplex64(n complex64) uintptr { return uintptr(real(n)) } +func UintptrFromComplex128(n complex128) uintptr { return uintptr(real(n)) } +func UintptrFromUintptr(n uintptr) uintptr { return uintptr(n) } + +func Int8(n int8) int8 { return n } +func Int16(n int16) int16 { return n } +func Int32(n int32) int32 { return n } +func Int64(n int64) int64 { return n } +func Uint8(n uint8) uint8 { return n } +func Uint16(n uint16) uint16 { return n } +func Uint32(n uint32) uint32 { return n } +func Uint64(n uint64) uint64 { return n } +func Float32(n float32) float32 { return n } +func Float64(n float64) float64 { return n } +func Complex64(n complex64) complex64 { return n } +func Complex128(n complex128) complex128 { return n } +func Uintptr(n uintptr) uintptr { return n } func NegInt8(n int8) int8 { return -n } func NegInt16(n int16) int16 { return -n } @@ -1272,7 +1388,7 @@ func AssignBitFieldPtr64Uint64(p uintptr, v uint64, w, off int, mask uint64) uin func PostDecBitFieldPtr8Int8(p uintptr, d int8, w, off int, mask uint8) (r int8) { x0 := *(*uint8)(unsafe.Pointer(p)) - s := 8 - w + s := 8 - w - off r = int8(x0) & int8(mask) << s >> (s + off) *(*uint8)(unsafe.Pointer(p)) = x0&^uint8(mask) | uint8(r-d)<<off&mask return r @@ -1280,7 +1396,7 @@ func PostDecBitFieldPtr8Int8(p uintptr, d int8, w, off int, mask uint8) (r int8) func PostDecBitFieldPtr8Int16(p uintptr, d int16, w, off int, mask uint8) (r int16) { x0 := *(*uint8)(unsafe.Pointer(p)) - s := 16 - w + s := 16 - w - off r = int16(x0) & int16(mask) << s >> (s + off) *(*uint8)(unsafe.Pointer(p)) = x0&^uint8(mask) | uint8(r-d)<<off&mask return r @@ -1288,7 +1404,7 @@ func PostDecBitFieldPtr8Int16(p uintptr, d int16, w, off int, mask uint8) (r int func PostDecBitFieldPtr8Int32(p uintptr, d int32, w, off int, mask uint8) (r int32) { x0 := *(*uint8)(unsafe.Pointer(p)) - s := 32 - w + s := 32 - w - off r = int32(x0) & int32(mask) << s >> (s + off) *(*uint8)(unsafe.Pointer(p)) = x0&^uint8(mask) | uint8(r-d)<<off&mask return r @@ -1296,7 +1412,7 @@ func PostDecBitFieldPtr8Int32(p uintptr, d int32, w, off int, mask uint8) (r int func PostDecBitFieldPtr8Int64(p uintptr, d int64, w, off int, mask uint8) (r int64) { x0 := *(*uint8)(unsafe.Pointer(p)) - s := 64 - w + s := 64 - w - off r = int64(x0) & int64(mask) << s >> (s + off) *(*uint8)(unsafe.Pointer(p)) = x0&^uint8(mask) | uint8(r-d)<<off&mask return r @@ -1304,7 +1420,7 @@ func PostDecBitFieldPtr8Int64(p uintptr, d int64, w, off int, mask uint8) (r int func PostDecBitFieldPtr16Int8(p uintptr, d int8, w, off int, mask uint16) (r int8) { x0 := *(*uint16)(unsafe.Pointer(p)) - s := 8 - w + s := 8 - w - off r = int8(x0) & int8(mask) << s >> (s + off) *(*uint16)(unsafe.Pointer(p)) = x0&^uint16(mask) | uint16(r-d)<<off&mask return r @@ -1312,7 +1428,7 @@ func PostDecBitFieldPtr16Int8(p uintptr, d int8, w, off int, mask uint16) (r int func PostDecBitFieldPtr16Int16(p uintptr, d int16, w, off int, mask uint16) (r int16) { x0 := *(*uint16)(unsafe.Pointer(p)) - s := 16 - w + s := 16 - w - off r = int16(x0) & int16(mask) << s >> (s + off) *(*uint16)(unsafe.Pointer(p)) = x0&^uint16(mask) | uint16(r-d)<<off&mask return r @@ -1320,7 +1436,7 @@ func PostDecBitFieldPtr16Int16(p uintptr, d int16, w, off int, mask uint16) (r i func PostDecBitFieldPtr16Int32(p uintptr, d int32, w, off int, mask uint16) (r int32) { x0 := *(*uint16)(unsafe.Pointer(p)) - s := 32 - w + s := 32 - w - off r = int32(x0) & int32(mask) << s >> (s + off) *(*uint16)(unsafe.Pointer(p)) = x0&^uint16(mask) | uint16(r-d)<<off&mask return r @@ -1328,7 +1444,7 @@ func PostDecBitFieldPtr16Int32(p uintptr, d int32, w, off int, mask uint16) (r i func PostDecBitFieldPtr16Int64(p uintptr, d int64, w, off int, mask uint16) (r int64) { x0 := *(*uint16)(unsafe.Pointer(p)) - s := 64 - w + s := 64 - w - off r = int64(x0) & int64(mask) << s >> (s + off) *(*uint16)(unsafe.Pointer(p)) = x0&^uint16(mask) | uint16(r-d)<<off&mask return r @@ -1336,7 +1452,7 @@ func PostDecBitFieldPtr16Int64(p uintptr, d int64, w, off int, mask uint16) (r i func PostDecBitFieldPtr32Int8(p uintptr, d int8, w, off int, mask uint32) (r int8) { x0 := *(*uint32)(unsafe.Pointer(p)) - s := 8 - w + s := 8 - w - off r = int8(x0) & int8(mask) << s >> (s + off) *(*uint32)(unsafe.Pointer(p)) = x0&^uint32(mask) | uint32(r-d)<<off&mask return r @@ -1344,7 +1460,7 @@ func PostDecBitFieldPtr32Int8(p uintptr, d int8, w, off int, mask uint32) (r int func PostDecBitFieldPtr32Int16(p uintptr, d int16, w, off int, mask uint32) (r int16) { x0 := *(*uint32)(unsafe.Pointer(p)) - s := 16 - w + s := 16 - w - off r = int16(x0) & int16(mask) << s >> (s + off) *(*uint32)(unsafe.Pointer(p)) = x0&^uint32(mask) | uint32(r-d)<<off&mask return r @@ -1352,7 +1468,7 @@ func PostDecBitFieldPtr32Int16(p uintptr, d int16, w, off int, mask uint32) (r i func PostDecBitFieldPtr32Int32(p uintptr, d int32, w, off int, mask uint32) (r int32) { x0 := *(*uint32)(unsafe.Pointer(p)) - s := 32 - w + s := 32 - w - off r = int32(x0) & int32(mask) << s >> (s + off) *(*uint32)(unsafe.Pointer(p)) = x0&^uint32(mask) | uint32(r-d)<<off&mask return r @@ -1360,7 +1476,7 @@ func PostDecBitFieldPtr32Int32(p uintptr, d int32, w, off int, mask uint32) (r i func PostDecBitFieldPtr32Int64(p uintptr, d int64, w, off int, mask uint32) (r int64) { x0 := *(*uint32)(unsafe.Pointer(p)) - s := 64 - w + s := 64 - w - off r = int64(x0) & int64(mask) << s >> (s + off) *(*uint32)(unsafe.Pointer(p)) = x0&^uint32(mask) | uint32(r-d)<<off&mask return r @@ -1368,7 +1484,7 @@ func PostDecBitFieldPtr32Int64(p uintptr, d int64, w, off int, mask uint32) (r i func PostDecBitFieldPtr64Int8(p uintptr, d int8, w, off int, mask uint64) (r int8) { x0 := *(*uint64)(unsafe.Pointer(p)) - s := 8 - w + s := 8 - w - off r = int8(x0) & int8(mask) << s >> (s + off) *(*uint64)(unsafe.Pointer(p)) = x0&^uint64(mask) | uint64(r-d)<<off&mask return r @@ -1376,7 +1492,7 @@ func PostDecBitFieldPtr64Int8(p uintptr, d int8, w, off int, mask uint64) (r int func PostDecBitFieldPtr64Int16(p uintptr, d int16, w, off int, mask uint64) (r int16) { x0 := *(*uint64)(unsafe.Pointer(p)) - s := 16 - w + s := 16 - w - off r = int16(x0) & int16(mask) << s >> (s + off) *(*uint64)(unsafe.Pointer(p)) = x0&^uint64(mask) | uint64(r-d)<<off&mask return r @@ -1384,7 +1500,7 @@ func PostDecBitFieldPtr64Int16(p uintptr, d int16, w, off int, mask uint64) (r i func PostDecBitFieldPtr64Int32(p uintptr, d int32, w, off int, mask uint64) (r int32) { x0 := *(*uint64)(unsafe.Pointer(p)) - s := 32 - w + s := 32 - w - off r = int32(x0) & int32(mask) << s >> (s + off) *(*uint64)(unsafe.Pointer(p)) = x0&^uint64(mask) | uint64(r-d)<<off&mask return r @@ -1392,7 +1508,7 @@ func PostDecBitFieldPtr64Int32(p uintptr, d int32, w, off int, mask uint64) (r i func PostDecBitFieldPtr64Int64(p uintptr, d int64, w, off int, mask uint64) (r int64) { x0 := *(*uint64)(unsafe.Pointer(p)) - s := 64 - w + s := 64 - w - off r = int64(x0) & int64(mask) << s >> (s + off) *(*uint64)(unsafe.Pointer(p)) = x0&^uint64(mask) | uint64(r-d)<<off&mask return r @@ -1512,7 +1628,7 @@ func PostDecBitFieldPtr64Uint64(p uintptr, d uint64, w, off int, mask uint64) (r func PostIncBitFieldPtr8Int8(p uintptr, d int8, w, off int, mask uint8) (r int8) { x0 := *(*uint8)(unsafe.Pointer(p)) - s := 8 - w + s := 8 - w - off r = int8(x0) & int8(mask) << s >> (s + off) *(*uint8)(unsafe.Pointer(p)) = x0&^uint8(mask) | uint8(r+d)<<off&mask return r @@ -1520,7 +1636,7 @@ func PostIncBitFieldPtr8Int8(p uintptr, d int8, w, off int, mask uint8) (r int8) func PostIncBitFieldPtr8Int16(p uintptr, d int16, w, off int, mask uint8) (r int16) { x0 := *(*uint8)(unsafe.Pointer(p)) - s := 16 - w + s := 16 - w - off r = int16(x0) & int16(mask) << s >> (s + off) *(*uint8)(unsafe.Pointer(p)) = x0&^uint8(mask) | uint8(r+d)<<off&mask return r @@ -1528,7 +1644,7 @@ func PostIncBitFieldPtr8Int16(p uintptr, d int16, w, off int, mask uint8) (r int func PostIncBitFieldPtr8Int32(p uintptr, d int32, w, off int, mask uint8) (r int32) { x0 := *(*uint8)(unsafe.Pointer(p)) - s := 32 - w + s := 32 - w - off r = int32(x0) & int32(mask) << s >> (s + off) *(*uint8)(unsafe.Pointer(p)) = x0&^uint8(mask) | uint8(r+d)<<off&mask return r @@ -1536,7 +1652,7 @@ func PostIncBitFieldPtr8Int32(p uintptr, d int32, w, off int, mask uint8) (r int func PostIncBitFieldPtr8Int64(p uintptr, d int64, w, off int, mask uint8) (r int64) { x0 := *(*uint8)(unsafe.Pointer(p)) - s := 64 - w + s := 64 - w - off r = int64(x0) & int64(mask) << s >> (s + off) *(*uint8)(unsafe.Pointer(p)) = x0&^uint8(mask) | uint8(r+d)<<off&mask return r @@ -1544,7 +1660,7 @@ func PostIncBitFieldPtr8Int64(p uintptr, d int64, w, off int, mask uint8) (r int func PostIncBitFieldPtr16Int8(p uintptr, d int8, w, off int, mask uint16) (r int8) { x0 := *(*uint16)(unsafe.Pointer(p)) - s := 8 - w + s := 8 - w - off r = int8(x0) & int8(mask) << s >> (s + off) *(*uint16)(unsafe.Pointer(p)) = x0&^uint16(mask) | uint16(r+d)<<off&mask return r @@ -1552,7 +1668,7 @@ func PostIncBitFieldPtr16Int8(p uintptr, d int8, w, off int, mask uint16) (r int func PostIncBitFieldPtr16Int16(p uintptr, d int16, w, off int, mask uint16) (r int16) { x0 := *(*uint16)(unsafe.Pointer(p)) - s := 16 - w + s := 16 - w - off r = int16(x0) & int16(mask) << s >> (s + off) *(*uint16)(unsafe.Pointer(p)) = x0&^uint16(mask) | uint16(r+d)<<off&mask return r @@ -1560,7 +1676,7 @@ func PostIncBitFieldPtr16Int16(p uintptr, d int16, w, off int, mask uint16) (r i func PostIncBitFieldPtr16Int32(p uintptr, d int32, w, off int, mask uint16) (r int32) { x0 := *(*uint16)(unsafe.Pointer(p)) - s := 32 - w + s := 32 - w - off r = int32(x0) & int32(mask) << s >> (s + off) *(*uint16)(unsafe.Pointer(p)) = x0&^uint16(mask) | uint16(r+d)<<off&mask return r @@ -1568,7 +1684,7 @@ func PostIncBitFieldPtr16Int32(p uintptr, d int32, w, off int, mask uint16) (r i func PostIncBitFieldPtr16Int64(p uintptr, d int64, w, off int, mask uint16) (r int64) { x0 := *(*uint16)(unsafe.Pointer(p)) - s := 64 - w + s := 64 - w - off r = int64(x0) & int64(mask) << s >> (s + off) *(*uint16)(unsafe.Pointer(p)) = x0&^uint16(mask) | uint16(r+d)<<off&mask return r @@ -1576,7 +1692,7 @@ func PostIncBitFieldPtr16Int64(p uintptr, d int64, w, off int, mask uint16) (r i func PostIncBitFieldPtr32Int8(p uintptr, d int8, w, off int, mask uint32) (r int8) { x0 := *(*uint32)(unsafe.Pointer(p)) - s := 8 - w + s := 8 - w - off r = int8(x0) & int8(mask) << s >> (s + off) *(*uint32)(unsafe.Pointer(p)) = x0&^uint32(mask) | uint32(r+d)<<off&mask return r @@ -1584,7 +1700,7 @@ func PostIncBitFieldPtr32Int8(p uintptr, d int8, w, off int, mask uint32) (r int func PostIncBitFieldPtr32Int16(p uintptr, d int16, w, off int, mask uint32) (r int16) { x0 := *(*uint32)(unsafe.Pointer(p)) - s := 16 - w + s := 16 - w - off r = int16(x0) & int16(mask) << s >> (s + off) *(*uint32)(unsafe.Pointer(p)) = x0&^uint32(mask) | uint32(r+d)<<off&mask return r @@ -1592,7 +1708,7 @@ func PostIncBitFieldPtr32Int16(p uintptr, d int16, w, off int, mask uint32) (r i func PostIncBitFieldPtr32Int32(p uintptr, d int32, w, off int, mask uint32) (r int32) { x0 := *(*uint32)(unsafe.Pointer(p)) - s := 32 - w + s := 32 - w - off r = int32(x0) & int32(mask) << s >> (s + off) *(*uint32)(unsafe.Pointer(p)) = x0&^uint32(mask) | uint32(r+d)<<off&mask return r @@ -1600,7 +1716,7 @@ func PostIncBitFieldPtr32Int32(p uintptr, d int32, w, off int, mask uint32) (r i func PostIncBitFieldPtr32Int64(p uintptr, d int64, w, off int, mask uint32) (r int64) { x0 := *(*uint32)(unsafe.Pointer(p)) - s := 64 - w + s := 64 - w - off r = int64(x0) & int64(mask) << s >> (s + off) *(*uint32)(unsafe.Pointer(p)) = x0&^uint32(mask) | uint32(r+d)<<off&mask return r @@ -1608,7 +1724,7 @@ func PostIncBitFieldPtr32Int64(p uintptr, d int64, w, off int, mask uint32) (r i func PostIncBitFieldPtr64Int8(p uintptr, d int8, w, off int, mask uint64) (r int8) { x0 := *(*uint64)(unsafe.Pointer(p)) - s := 8 - w + s := 8 - w - off r = int8(x0) & int8(mask) << s >> (s + off) *(*uint64)(unsafe.Pointer(p)) = x0&^uint64(mask) | uint64(r+d)<<off&mask return r @@ -1616,7 +1732,7 @@ func PostIncBitFieldPtr64Int8(p uintptr, d int8, w, off int, mask uint64) (r int func PostIncBitFieldPtr64Int16(p uintptr, d int16, w, off int, mask uint64) (r int16) { x0 := *(*uint64)(unsafe.Pointer(p)) - s := 16 - w + s := 16 - w - off r = int16(x0) & int16(mask) << s >> (s + off) *(*uint64)(unsafe.Pointer(p)) = x0&^uint64(mask) | uint64(r+d)<<off&mask return r @@ -1624,7 +1740,7 @@ func PostIncBitFieldPtr64Int16(p uintptr, d int16, w, off int, mask uint64) (r i func PostIncBitFieldPtr64Int32(p uintptr, d int32, w, off int, mask uint64) (r int32) { x0 := *(*uint64)(unsafe.Pointer(p)) - s := 32 - w + s := 32 - w - off r = int32(x0) & int32(mask) << s >> (s + off) *(*uint64)(unsafe.Pointer(p)) = x0&^uint64(mask) | uint64(r+d)<<off&mask return r @@ -1632,7 +1748,7 @@ func PostIncBitFieldPtr64Int32(p uintptr, d int32, w, off int, mask uint64) (r i func PostIncBitFieldPtr64Int64(p uintptr, d int64, w, off int, mask uint64) (r int64) { x0 := *(*uint64)(unsafe.Pointer(p)) - s := 64 - w + s := 64 - w - off r = int64(x0) & int64(mask) << s >> (s + off) *(*uint64)(unsafe.Pointer(p)) = x0&^uint64(mask) | uint64(r+d)<<off&mask return r diff --git a/vendor/modernc.org/libc/errno/capi_darwin_arm64.go b/vendor/modernc.org/libc/errno/capi_darwin_arm64.go index e5d901d0..ee647ccf 100644 --- a/vendor/modernc.org/libc/errno/capi_darwin_arm64.go +++ b/vendor/modernc.org/libc/errno/capi_darwin_arm64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo errno/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o errno/errno_darwin_arm64.go -pkgname errno', DO NOT EDIT. +// Code generated by 'ccgo errno/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o errno/errno_darwin_arm64.go -pkgname errno', DO NOT EDIT. package errno diff --git a/vendor/modernc.org/libc/errno/capi_linux_amd64.go b/vendor/modernc.org/libc/errno/capi_linux_amd64.go index 60faf382..75a92265 100644 --- a/vendor/modernc.org/libc/errno/capi_linux_amd64.go +++ b/vendor/modernc.org/libc/errno/capi_linux_amd64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo errno/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o errno/errno_linux_amd64.go -pkgname errno', DO NOT EDIT. +// Code generated by 'ccgo errno/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o errno/errno_linux_amd64.go -pkgname errno', DO NOT EDIT. package errno diff --git a/vendor/modernc.org/libc/errno/errno_darwin_arm64.go b/vendor/modernc.org/libc/errno/errno_darwin_arm64.go index 0d9afe8a..392f280f 100644 --- a/vendor/modernc.org/libc/errno/errno_darwin_arm64.go +++ b/vendor/modernc.org/libc/errno/errno_darwin_arm64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo errno/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o errno/errno_darwin_arm64.go -pkgname errno', DO NOT EDIT. +// Code generated by 'ccgo errno/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o errno/errno_darwin_arm64.go -pkgname errno', DO NOT EDIT. package errno @@ -15,127 +15,127 @@ var _ atomic.Value var _ unsafe.Pointer const ( - E2BIG = 7 - EACCES = 13 - EADDRINUSE = 48 - EADDRNOTAVAIL = 49 - EAFNOSUPPORT = 47 - EAGAIN = 35 - EALREADY = 37 - EAUTH = 80 - EBADARCH = 86 - EBADEXEC = 85 - EBADF = 9 - EBADMACHO = 88 - EBADMSG = 94 - EBADRPC = 72 - EBUSY = 16 - ECANCELED = 89 - ECHILD = 10 - ECONNABORTED = 53 - ECONNREFUSED = 61 - ECONNRESET = 54 - EDEADLK = 11 - EDESTADDRREQ = 39 - EDEVERR = 83 - EDOM = 33 - EDQUOT = 69 - EEXIST = 17 - EFAULT = 14 - EFBIG = 27 - EFTYPE = 79 - EHOSTDOWN = 64 - EHOSTUNREACH = 65 - EIDRM = 90 - EILSEQ = 92 - EINPROGRESS = 36 - EINTR = 4 - EINVAL = 22 - EIO = 5 - EISCONN = 56 - EISDIR = 21 - ELAST = 106 - ELOOP = 62 - EMFILE = 24 - EMLINK = 31 - EMSGSIZE = 40 - EMULTIHOP = 95 - ENAMETOOLONG = 63 - ENEEDAUTH = 81 - ENETDOWN = 50 - ENETRESET = 52 - ENETUNREACH = 51 - ENFILE = 23 - ENOATTR = 93 - ENOBUFS = 55 - ENODATA = 96 - ENODEV = 19 - ENOENT = 2 - ENOEXEC = 8 - ENOLCK = 77 - ENOLINK = 97 - ENOMEM = 12 - ENOMSG = 91 - ENOPOLICY = 103 - ENOPROTOOPT = 42 - ENOSPC = 28 - ENOSR = 98 - ENOSTR = 99 - ENOSYS = 78 - ENOTBLK = 15 - ENOTCONN = 57 - ENOTDIR = 20 - ENOTEMPTY = 66 - ENOTRECOVERABLE = 104 - ENOTSOCK = 38 - ENOTSUP = 45 - ENOTTY = 25 - ENXIO = 6 - EOPNOTSUPP = 102 - EOVERFLOW = 84 - EOWNERDEAD = 105 - EPERM = 1 - EPFNOSUPPORT = 46 - EPIPE = 32 - EPROCLIM = 67 - EPROCUNAVAIL = 76 - EPROGMISMATCH = 75 - EPROGUNAVAIL = 74 - EPROTO = 100 - EPROTONOSUPPORT = 43 - EPROTOTYPE = 41 - EPWROFF = 82 - EQFULL = 106 - ERANGE = 34 - EREMOTE = 71 - EROFS = 30 - ERPCMISMATCH = 73 - ESHLIBVERS = 87 - ESHUTDOWN = 58 - ESOCKTNOSUPPORT = 44 - ESPIPE = 29 - ESRCH = 3 - ESTALE = 70 - ETIME = 101 - ETIMEDOUT = 60 - ETOOMANYREFS = 59 - ETXTBSY = 26 - EUSERS = 68 - EWOULDBLOCK = 35 - EXDEV = 18 - X_CDEFS_H_ = 0 - X_DARWIN_FEATURE_64_BIT_INODE = 1 - X_DARWIN_FEATURE_ONLY_64_BIT_INODE = 1 - X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1 - X_DARWIN_FEATURE_ONLY_VERS_1050 = 1 - X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3 - X_ERRNO_T = 0 - X_FILE_OFFSET_BITS = 64 - X_LP64 = 1 - X_Nonnull = 0 - X_Null_unspecified = 0 - X_Nullable = 0 - X_SYS_ERRNO_H_ = 0 + E2BIG = 7 // errno.h:94:1: + EACCES = 13 // errno.h:101:1: + EADDRINUSE = 48 // errno.h:161:1: + EADDRNOTAVAIL = 49 // errno.h:162:1: + EAFNOSUPPORT = 47 // errno.h:160:1: + EAGAIN = 35 // errno.h:129:1: + EALREADY = 37 // errno.h:132:1: + EAUTH = 80 // errno.h:213:1: + EBADARCH = 86 // errno.h:226:1: + EBADEXEC = 85 // errno.h:225:1: + EBADF = 9 // errno.h:96:1: + EBADMACHO = 88 // errno.h:228:1: + EBADMSG = 94 // errno.h:240:1: + EBADRPC = 72 // errno.h:201:1: + EBUSY = 16 // errno.h:106:1: + ECANCELED = 89 // errno.h:231:1: + ECHILD = 10 // errno.h:97:1: + ECONNABORTED = 53 // errno.h:168:1: + ECONNREFUSED = 61 // errno.h:178:1: + ECONNRESET = 54 // errno.h:169:1: + EDEADLK = 11 // errno.h:98:1: + EDESTADDRREQ = 39 // errno.h:136:1: + EDEVERR = 83 // errno.h:218:1: + EDOM = 33 // errno.h:125:1: + EDQUOT = 69 // errno.h:195:1: + EEXIST = 17 // errno.h:107:1: + EFAULT = 14 // errno.h:102:1: + EFBIG = 27 // errno.h:117:1: + EFTYPE = 79 // errno.h:212:1: + EHOSTDOWN = 64 // errno.h:185:1: + EHOSTUNREACH = 65 // errno.h:187:1: + EIDRM = 90 // errno.h:233:1: + EILSEQ = 92 // errno.h:235:1: + EINPROGRESS = 36 // errno.h:131:1: + EINTR = 4 // errno.h:91:1: + EINVAL = 22 // errno.h:112:1: + EIO = 5 // errno.h:92:1: + EISCONN = 56 // errno.h:171:1: + EISDIR = 21 // errno.h:111:1: + ELAST = 106 // errno.h:263:1: + ELOOP = 62 // errno.h:180:1: + EMFILE = 24 // errno.h:114:1: + EMLINK = 31 // errno.h:121:1: + EMSGSIZE = 40 // errno.h:137:1: + EMULTIHOP = 95 // errno.h:241:1: + ENAMETOOLONG = 63 // errno.h:181:1: + ENEEDAUTH = 81 // errno.h:214:1: + ENETDOWN = 50 // errno.h:165:1: + ENETRESET = 52 // errno.h:167:1: + ENETUNREACH = 51 // errno.h:166:1: + ENFILE = 23 // errno.h:113:1: + ENOATTR = 93 // errno.h:237:1: + ENOBUFS = 55 // errno.h:170:1: + ENODATA = 96 // errno.h:242:1: + ENODEV = 19 // errno.h:109:1: + ENOENT = 2 // errno.h:89:1: + ENOEXEC = 8 // errno.h:95:1: + ENOLCK = 77 // errno.h:208:1: + ENOLINK = 97 // errno.h:243:1: + ENOMEM = 12 // errno.h:100:1: + ENOMSG = 91 // errno.h:234:1: + ENOPOLICY = 103 // errno.h:254:1: + ENOPROTOOPT = 42 // errno.h:139:1: + ENOSPC = 28 // errno.h:118:1: + ENOSR = 98 // errno.h:244:1: + ENOSTR = 99 // errno.h:245:1: + ENOSYS = 78 // errno.h:209:1: + ENOTBLK = 15 // errno.h:104:1: + ENOTCONN = 57 // errno.h:172:1: + ENOTDIR = 20 // errno.h:110:1: + ENOTEMPTY = 66 // errno.h:188:1: + ENOTRECOVERABLE = 104 // errno.h:257:1: + ENOTSOCK = 38 // errno.h:135:1: + ENOTSUP = 45 // errno.h:144:1: + ENOTTY = 25 // errno.h:115:1: + ENXIO = 6 // errno.h:93:1: + EOPNOTSUPP = 102 // errno.h:251:1: + EOVERFLOW = 84 // errno.h:221:1: + EOWNERDEAD = 105 // errno.h:258:1: + EPERM = 1 // errno.h:88:1: + EPFNOSUPPORT = 46 // errno.h:158:1: + EPIPE = 32 // errno.h:122:1: + EPROCLIM = 67 // errno.h:192:1: + EPROCUNAVAIL = 76 // errno.h:205:1: + EPROGMISMATCH = 75 // errno.h:204:1: + EPROGUNAVAIL = 74 // errno.h:203:1: + EPROTO = 100 // errno.h:246:1: + EPROTONOSUPPORT = 43 // errno.h:140:1: + EPROTOTYPE = 41 // errno.h:138:1: + EPWROFF = 82 // errno.h:217:1: + EQFULL = 106 // errno.h:262:1: + ERANGE = 34 // errno.h:126:1: + EREMOTE = 71 // errno.h:200:1: + EROFS = 30 // errno.h:120:1: + ERPCMISMATCH = 73 // errno.h:202:1: + ESHLIBVERS = 87 // errno.h:227:1: + ESHUTDOWN = 58 // errno.h:174:1: + ESOCKTNOSUPPORT = 44 // errno.h:142:1: + ESPIPE = 29 // errno.h:119:1: + ESRCH = 3 // errno.h:90:1: + ESTALE = 70 // errno.h:198:1: + ETIME = 101 // errno.h:247:1: + ETIMEDOUT = 60 // errno.h:177:1: + ETOOMANYREFS = 59 // errno.h:175:1: + ETXTBSY = 26 // errno.h:116:1: + EUSERS = 68 // errno.h:193:1: + EWOULDBLOCK = 35 // errno.h:130:1: + EXDEV = 18 // errno.h:108:1: + X_CDEFS_H_ = 0 // cdefs.h:68:1: + X_DARWIN_FEATURE_64_BIT_INODE = 1 // cdefs.h:774:1: + X_DARWIN_FEATURE_ONLY_64_BIT_INODE = 1 // cdefs.h:784:1: + X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1 // cdefs.h:800:1: + X_DARWIN_FEATURE_ONLY_VERS_1050 = 1 // cdefs.h:792:1: + X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3 // cdefs.h:808:1: + X_ERRNO_T = 0 // _errno_t.h:29:1: + X_FILE_OFFSET_BITS = 64 // <builtin>:25:1: + X_LP64 = 1 // <predefined>:1:1: + X_Nonnull = 0 // cdefs.h:268:1: + X_Null_unspecified = 0 // cdefs.h:271:1: + X_Nullable = 0 // cdefs.h:265:1: + X_SYS_ERRNO_H_ = 0 // errno.h:70:1: ) type Ptrdiff_t = int64 /* <builtin>:3:26 */ @@ -605,6 +605,20 @@ var X__darwin_check_fd_set_overflow uintptr /* <builtin>:146:5: */ // __XNU_PRIVATE_EXTERN is a linkage decoration indicating that a symbol can be // used from other compilation units, but not other libraries or executables. +// We intentionally define to nothing pointer attributes which do not have an +// impact on the ABI. __indexable and __bidi_indexable are not defined because +// of the ABI incompatibility that makes the diagnostic preferable. + +// Similarly, we intentionally define to nothing the +// __ptrcheck_abi_assume_single and __ptrcheck_abi_assume_unsafe_indexable +// macros because they do not lead to an ABI incompatibility. However, we do not +// define the indexable and unsafe_indexable ones because the diagnostic is +// better than the silent ABI break. + +// __unsafe_forge intrinsics are defined as regular C casts. + +// decay operates normally; attribute is meaningless without pointer checks. + // Architecture validation for current SDK // Similar to OS_ENUM/OS_CLOSED_ENUM/OS_OPTIONS/OS_CLOSED_OPTIONS diff --git a/vendor/modernc.org/libc/errno/errno_linux_amd64.go b/vendor/modernc.org/libc/errno/errno_linux_amd64.go index 920fd4cc..000cb720 100644 --- a/vendor/modernc.org/libc/errno/errno_linux_amd64.go +++ b/vendor/modernc.org/libc/errno/errno_linux_amd64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo errno/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o errno/errno_linux_amd64.go -pkgname errno', DO NOT EDIT. +// Code generated by 'ccgo errno/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o errno/errno_linux_amd64.go -pkgname errno', DO NOT EDIT. package errno @@ -15,155 +15,155 @@ var _ atomic.Value var _ unsafe.Pointer const ( - E2BIG = 7 - EACCES = 13 - EADDRINUSE = 98 - EADDRNOTAVAIL = 99 - EADV = 68 - EAFNOSUPPORT = 97 - EAGAIN = 11 - EALREADY = 114 - EBADE = 52 - EBADF = 9 - EBADFD = 77 - EBADMSG = 74 - EBADR = 53 - EBADRQC = 56 - EBADSLT = 57 - EBFONT = 59 - EBUSY = 16 - ECANCELED = 125 - ECHILD = 10 - ECHRNG = 44 - ECOMM = 70 - ECONNABORTED = 103 - ECONNREFUSED = 111 - ECONNRESET = 104 - EDEADLK = 35 - EDEADLOCK = 35 - EDESTADDRREQ = 89 - EDOM = 33 - EDOTDOT = 73 - EDQUOT = 122 - EEXIST = 17 - EFAULT = 14 - EFBIG = 27 - EHOSTDOWN = 112 - EHOSTUNREACH = 113 - EHWPOISON = 133 - EIDRM = 43 - EILSEQ = 84 - EINPROGRESS = 115 - EINTR = 4 - EINVAL = 22 - EIO = 5 - EISCONN = 106 - EISDIR = 21 - EISNAM = 120 - EKEYEXPIRED = 127 - EKEYREJECTED = 129 - EKEYREVOKED = 128 - EL2HLT = 51 - EL2NSYNC = 45 - EL3HLT = 46 - EL3RST = 47 - ELIBACC = 79 - ELIBBAD = 80 - ELIBEXEC = 83 - ELIBMAX = 82 - ELIBSCN = 81 - ELNRNG = 48 - ELOOP = 40 - EMEDIUMTYPE = 124 - EMFILE = 24 - EMLINK = 31 - EMSGSIZE = 90 - EMULTIHOP = 72 - ENAMETOOLONG = 36 - ENAVAIL = 119 - ENETDOWN = 100 - ENETRESET = 102 - ENETUNREACH = 101 - ENFILE = 23 - ENOANO = 55 - ENOBUFS = 105 - ENOCSI = 50 - ENODATA = 61 - ENODEV = 19 - ENOENT = 2 - ENOEXEC = 8 - ENOKEY = 126 - ENOLCK = 37 - ENOLINK = 67 - ENOMEDIUM = 123 - ENOMEM = 12 - ENOMSG = 42 - ENONET = 64 - ENOPKG = 65 - ENOPROTOOPT = 92 - ENOSPC = 28 - ENOSR = 63 - ENOSTR = 60 - ENOSYS = 38 - ENOTBLK = 15 - ENOTCONN = 107 - ENOTDIR = 20 - ENOTEMPTY = 39 - ENOTNAM = 118 - ENOTRECOVERABLE = 131 - ENOTSOCK = 88 - ENOTSUP = 95 - ENOTTY = 25 - ENOTUNIQ = 76 - ENXIO = 6 - EOPNOTSUPP = 95 - EOVERFLOW = 75 - EOWNERDEAD = 130 - EPERM = 1 - EPFNOSUPPORT = 96 - EPIPE = 32 - EPROTO = 71 - EPROTONOSUPPORT = 93 - EPROTOTYPE = 91 - ERANGE = 34 - EREMCHG = 78 - EREMOTE = 66 - EREMOTEIO = 121 - ERESTART = 85 - ERFKILL = 132 - EROFS = 30 - ESHUTDOWN = 108 - ESOCKTNOSUPPORT = 94 - ESPIPE = 29 - ESRCH = 3 - ESRMNT = 69 - ESTALE = 116 - ESTRPIPE = 86 - ETIME = 62 - ETIMEDOUT = 110 - ETOOMANYREFS = 109 - ETXTBSY = 26 - EUCLEAN = 117 - EUNATCH = 49 - EUSERS = 87 - EWOULDBLOCK = 11 - EXDEV = 18 - EXFULL = 54 - X_ASM_GENERIC_ERRNO_BASE_H = 0 - X_ASM_GENERIC_ERRNO_H = 0 - X_ATFILE_SOURCE = 1 - X_BITS_ERRNO_H = 1 - X_DEFAULT_SOURCE = 1 - X_ERRNO_H = 1 - X_FEATURES_H = 1 - X_FILE_OFFSET_BITS = 64 - X_LP64 = 1 - X_POSIX_C_SOURCE = 200809 - X_POSIX_SOURCE = 1 - X_STDC_PREDEF_H = 1 - X_SYS_CDEFS_H = 1 - Linux = 1 - Unix = 1 + E2BIG = 7 // errno-base.h:11:1: + EACCES = 13 // errno-base.h:17:1: + EADDRINUSE = 98 // errno.h:81:1: + EADDRNOTAVAIL = 99 // errno.h:82:1: + EADV = 68 // errno.h:51:1: + EAFNOSUPPORT = 97 // errno.h:80:1: + EAGAIN = 11 // errno-base.h:15:1: + EALREADY = 114 // errno.h:97:1: + EBADE = 52 // errno.h:33:1: + EBADF = 9 // errno-base.h:13:1: + EBADFD = 77 // errno.h:60:1: + EBADMSG = 74 // errno.h:57:1: + EBADR = 53 // errno.h:34:1: + EBADRQC = 56 // errno.h:37:1: + EBADSLT = 57 // errno.h:38:1: + EBFONT = 59 // errno.h:42:1: + EBUSY = 16 // errno-base.h:20:1: + ECANCELED = 125 // errno.h:109:1: + ECHILD = 10 // errno-base.h:14:1: + ECHRNG = 44 // errno.h:25:1: + ECOMM = 70 // errno.h:53:1: + ECONNABORTED = 103 // errno.h:86:1: + ECONNREFUSED = 111 // errno.h:94:1: + ECONNRESET = 104 // errno.h:87:1: + EDEADLK = 35 // errno.h:7:1: + EDEADLOCK = 35 // errno.h:40:1: + EDESTADDRREQ = 89 // errno.h:72:1: + EDOM = 33 // errno-base.h:37:1: + EDOTDOT = 73 // errno.h:56:1: + EDQUOT = 122 // errno.h:105:1: + EEXIST = 17 // errno-base.h:21:1: + EFAULT = 14 // errno-base.h:18:1: + EFBIG = 27 // errno-base.h:31:1: + EHOSTDOWN = 112 // errno.h:95:1: + EHOSTUNREACH = 113 // errno.h:96:1: + EHWPOISON = 133 // errno.h:121:1: + EIDRM = 43 // errno.h:24:1: + EILSEQ = 84 // errno.h:67:1: + EINPROGRESS = 115 // errno.h:98:1: + EINTR = 4 // errno-base.h:8:1: + EINVAL = 22 // errno-base.h:26:1: + EIO = 5 // errno-base.h:9:1: + EISCONN = 106 // errno.h:89:1: + EISDIR = 21 // errno-base.h:25:1: + EISNAM = 120 // errno.h:103:1: + EKEYEXPIRED = 127 // errno.h:111:1: + EKEYREJECTED = 129 // errno.h:113:1: + EKEYREVOKED = 128 // errno.h:112:1: + EL2HLT = 51 // errno.h:32:1: + EL2NSYNC = 45 // errno.h:26:1: + EL3HLT = 46 // errno.h:27:1: + EL3RST = 47 // errno.h:28:1: + ELIBACC = 79 // errno.h:62:1: + ELIBBAD = 80 // errno.h:63:1: + ELIBEXEC = 83 // errno.h:66:1: + ELIBMAX = 82 // errno.h:65:1: + ELIBSCN = 81 // errno.h:64:1: + ELNRNG = 48 // errno.h:29:1: + ELOOP = 40 // errno.h:21:1: + EMEDIUMTYPE = 124 // errno.h:108:1: + EMFILE = 24 // errno-base.h:28:1: + EMLINK = 31 // errno-base.h:35:1: + EMSGSIZE = 90 // errno.h:73:1: + EMULTIHOP = 72 // errno.h:55:1: + ENAMETOOLONG = 36 // errno.h:8:1: + ENAVAIL = 119 // errno.h:102:1: + ENETDOWN = 100 // errno.h:83:1: + ENETRESET = 102 // errno.h:85:1: + ENETUNREACH = 101 // errno.h:84:1: + ENFILE = 23 // errno-base.h:27:1: + ENOANO = 55 // errno.h:36:1: + ENOBUFS = 105 // errno.h:88:1: + ENOCSI = 50 // errno.h:31:1: + ENODATA = 61 // errno.h:44:1: + ENODEV = 19 // errno-base.h:23:1: + ENOENT = 2 // errno-base.h:6:1: + ENOEXEC = 8 // errno-base.h:12:1: + ENOKEY = 126 // errno.h:110:1: + ENOLCK = 37 // errno.h:9:1: + ENOLINK = 67 // errno.h:50:1: + ENOMEDIUM = 123 // errno.h:107:1: + ENOMEM = 12 // errno-base.h:16:1: + ENOMSG = 42 // errno.h:23:1: + ENONET = 64 // errno.h:47:1: + ENOPKG = 65 // errno.h:48:1: + ENOPROTOOPT = 92 // errno.h:75:1: + ENOSPC = 28 // errno-base.h:32:1: + ENOSR = 63 // errno.h:46:1: + ENOSTR = 60 // errno.h:43:1: + ENOSYS = 38 // errno.h:18:1: + ENOTBLK = 15 // errno-base.h:19:1: + ENOTCONN = 107 // errno.h:90:1: + ENOTDIR = 20 // errno-base.h:24:1: + ENOTEMPTY = 39 // errno.h:20:1: + ENOTNAM = 118 // errno.h:101:1: + ENOTRECOVERABLE = 131 // errno.h:117:1: + ENOTSOCK = 88 // errno.h:71:1: + ENOTSUP = 95 // errno.h:30:1: + ENOTTY = 25 // errno-base.h:29:1: + ENOTUNIQ = 76 // errno.h:59:1: + ENXIO = 6 // errno-base.h:10:1: + EOPNOTSUPP = 95 // errno.h:78:1: + EOVERFLOW = 75 // errno.h:58:1: + EOWNERDEAD = 130 // errno.h:116:1: + EPERM = 1 // errno-base.h:5:1: + EPFNOSUPPORT = 96 // errno.h:79:1: + EPIPE = 32 // errno-base.h:36:1: + EPROTO = 71 // errno.h:54:1: + EPROTONOSUPPORT = 93 // errno.h:76:1: + EPROTOTYPE = 91 // errno.h:74:1: + ERANGE = 34 // errno-base.h:38:1: + EREMCHG = 78 // errno.h:61:1: + EREMOTE = 66 // errno.h:49:1: + EREMOTEIO = 121 // errno.h:104:1: + ERESTART = 85 // errno.h:68:1: + ERFKILL = 132 // errno.h:119:1: + EROFS = 30 // errno-base.h:34:1: + ESHUTDOWN = 108 // errno.h:91:1: + ESOCKTNOSUPPORT = 94 // errno.h:77:1: + ESPIPE = 29 // errno-base.h:33:1: + ESRCH = 3 // errno-base.h:7:1: + ESRMNT = 69 // errno.h:52:1: + ESTALE = 116 // errno.h:99:1: + ESTRPIPE = 86 // errno.h:69:1: + ETIME = 62 // errno.h:45:1: + ETIMEDOUT = 110 // errno.h:93:1: + ETOOMANYREFS = 109 // errno.h:92:1: + ETXTBSY = 26 // errno-base.h:30:1: + EUCLEAN = 117 // errno.h:100:1: + EUNATCH = 49 // errno.h:30:1: + EUSERS = 87 // errno.h:70:1: + EWOULDBLOCK = 11 // errno.h:22:1: + EXDEV = 18 // errno-base.h:22:1: + EXFULL = 54 // errno.h:35:1: + X_ASM_GENERIC_ERRNO_BASE_H = 0 // errno-base.h:3:1: + X_ASM_GENERIC_ERRNO_H = 0 // errno.h:3:1: + X_ATFILE_SOURCE = 1 // features.h:342:1: + X_BITS_ERRNO_H = 1 // errno.h:20:1: + X_DEFAULT_SOURCE = 1 // features.h:227:1: + X_ERRNO_H = 1 // errno.h:23:1: + X_FEATURES_H = 1 // features.h:19:1: + X_FILE_OFFSET_BITS = 64 // <builtin>:25:1: + X_LP64 = 1 // <predefined>:284:1: + X_POSIX_C_SOURCE = 200809 // features.h:281:1: + X_POSIX_SOURCE = 1 // features.h:279:1: + X_STDC_PREDEF_H = 1 // <predefined>:162:1: + X_SYS_CDEFS_H = 1 // cdefs.h:19:1: + Linux = 1 // <predefined>:231:1: + Unix = 1 // <predefined>:177:1: ) type Ptrdiff_t = int64 /* <builtin>:3:26 */ diff --git a/vendor/modernc.org/libc/fcntl/capi_darwin_arm64.go b/vendor/modernc.org/libc/fcntl/capi_darwin_arm64.go index 6bd12e5c..ebab11fb 100644 --- a/vendor/modernc.org/libc/fcntl/capi_darwin_arm64.go +++ b/vendor/modernc.org/libc/fcntl/capi_darwin_arm64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo fcntl/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o fcntl/fcntl_darwin_arm64.go -pkgname fcntl', DO NOT EDIT. +// Code generated by 'ccgo fcntl/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o fcntl/fcntl_darwin_arm64.go -pkgname fcntl', DO NOT EDIT. package fcntl diff --git a/vendor/modernc.org/libc/fcntl/capi_linux_amd64.go b/vendor/modernc.org/libc/fcntl/capi_linux_amd64.go index 8b8fafc3..9db297f1 100644 --- a/vendor/modernc.org/libc/fcntl/capi_linux_amd64.go +++ b/vendor/modernc.org/libc/fcntl/capi_linux_amd64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo fcntl/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o fcntl/fcntl_linux_amd64.go -pkgname fcntl', DO NOT EDIT. +// Code generated by 'ccgo fcntl/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o fcntl/fcntl_linux_amd64.go -pkgname fcntl', DO NOT EDIT. package fcntl diff --git a/vendor/modernc.org/libc/fcntl/fcntl_darwin_arm64.go b/vendor/modernc.org/libc/fcntl/fcntl_darwin_arm64.go index 0871e5d9..4ddb8819 100644 --- a/vendor/modernc.org/libc/fcntl/fcntl_darwin_arm64.go +++ b/vendor/modernc.org/libc/fcntl/fcntl_darwin_arm64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo fcntl/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o fcntl/fcntl_darwin_arm64.go -pkgname fcntl', DO NOT EDIT. +// Code generated by 'ccgo fcntl/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o fcntl/fcntl_darwin_arm64.go -pkgname fcntl', DO NOT EDIT. package fcntl @@ -15,223 +15,225 @@ var _ atomic.Value var _ unsafe.Pointer const ( - AT_EACCESS = 0x0010 - AT_FDCWD = -2 - AT_FDONLY = 0x0400 - AT_REALDEV = 0x0200 - AT_REMOVEDIR = 0x0080 - AT_SYMLINK_FOLLOW = 0x0040 - AT_SYMLINK_NOFOLLOW = 0x0020 - CPF_IGNORE_MODE = 0x0002 - CPF_MASK = 3 - CPF_OVERWRITE = 0x0001 - FAPPEND = 8 - FASYNC = 64 - FCNTL_FS_SPECIFIC_BASE = 0x00010000 - FD_CLOEXEC = 1 - FFDSYNC = 4194304 - FFSYNC = 128 - FNDELAY = 4 - FNONBLOCK = 4 - FREAD = 0x00000001 - FWRITE = 0x00000002 - F_ADDFILESIGS = 61 - F_ADDFILESIGS_FOR_DYLD_SIM = 83 - F_ADDFILESIGS_INFO = 103 - F_ADDFILESIGS_RETURN = 97 - F_ADDFILESUPPL = 104 - F_ADDSIGS = 59 - F_ALLOCATEALL = 0x00000004 - F_ALLOCATECONTIG = 0x00000002 - F_BARRIERFSYNC = 85 - F_CHECK_LV = 98 - F_CHKCLEAN = 41 - F_DUPFD = 0 - F_DUPFD_CLOEXEC = 67 - F_FINDSIGS = 78 - F_FLUSH_DATA = 40 - F_FREEZE_FS = 53 - F_FULLFSYNC = 51 - F_GETCODEDIR = 72 - F_GETFD = 1 - F_GETFL = 3 - F_GETLK = 7 - F_GETLKPID = 66 - F_GETNOSIGPIPE = 74 - F_GETOWN = 5 - F_GETPATH = 50 - F_GETPATH_MTMINFO = 71 - F_GETPATH_NOFIRMLINK = 102 - F_GETPROTECTIONCLASS = 63 - F_GETPROTECTIONLEVEL = 77 - F_GETSIGSINFO = 105 - F_GLOBAL_NOCACHE = 55 - F_LOG2PHYS = 49 - F_LOG2PHYS_EXT = 65 - F_NOCACHE = 48 - F_NODIRECT = 62 - F_PATHPKG_CHECK = 52 - F_PEOFPOSMODE = 3 - F_PREALLOCATE = 42 - F_PUNCHHOLE = 99 - F_RDADVISE = 44 - F_RDAHEAD = 45 - F_RDLCK = 1 - F_SETBACKINGSTORE = 70 - F_SETFD = 2 - F_SETFL = 4 - F_SETLK = 8 - F_SETLKW = 9 - F_SETLKWTIMEOUT = 10 - F_SETNOSIGPIPE = 73 - F_SETOWN = 6 - F_SETPROTECTIONCLASS = 64 - F_SETSIZE = 43 - F_SINGLE_WRITER = 76 - F_SPECULATIVE_READ = 101 - F_THAW_FS = 54 - F_TRANSCODEKEY = 75 - F_TRIM_ACTIVE_FILE = 100 - F_UNLCK = 2 - F_VOLPOSMODE = 4 - F_WRLCK = 3 - GETSIGSINFO_PLATFORM_BINARY = 1 - LOCK_EX = 0x02 - LOCK_NB = 0x04 - LOCK_SH = 0x01 - LOCK_UN = 0x08 - MAC_OS_VERSION_11_0 = 110000 - MAC_OS_VERSION_12_0 = 120000 - MAC_OS_X_VERSION_10_0 = 1000 - MAC_OS_X_VERSION_10_1 = 1010 - MAC_OS_X_VERSION_10_10 = 101000 - MAC_OS_X_VERSION_10_10_2 = 101002 - MAC_OS_X_VERSION_10_10_3 = 101003 - MAC_OS_X_VERSION_10_11 = 101100 - MAC_OS_X_VERSION_10_11_2 = 101102 - MAC_OS_X_VERSION_10_11_3 = 101103 - MAC_OS_X_VERSION_10_11_4 = 101104 - MAC_OS_X_VERSION_10_12 = 101200 - MAC_OS_X_VERSION_10_12_1 = 101201 - MAC_OS_X_VERSION_10_12_2 = 101202 - MAC_OS_X_VERSION_10_12_4 = 101204 - MAC_OS_X_VERSION_10_13 = 101300 - MAC_OS_X_VERSION_10_13_1 = 101301 - MAC_OS_X_VERSION_10_13_2 = 101302 - MAC_OS_X_VERSION_10_13_4 = 101304 - MAC_OS_X_VERSION_10_14 = 101400 - MAC_OS_X_VERSION_10_14_1 = 101401 - MAC_OS_X_VERSION_10_14_4 = 101404 - MAC_OS_X_VERSION_10_14_6 = 101406 - MAC_OS_X_VERSION_10_15 = 101500 - MAC_OS_X_VERSION_10_15_1 = 101501 - MAC_OS_X_VERSION_10_16 = 101600 - MAC_OS_X_VERSION_10_2 = 1020 - MAC_OS_X_VERSION_10_3 = 1030 - MAC_OS_X_VERSION_10_4 = 1040 - MAC_OS_X_VERSION_10_5 = 1050 - MAC_OS_X_VERSION_10_6 = 1060 - MAC_OS_X_VERSION_10_7 = 1070 - MAC_OS_X_VERSION_10_8 = 1080 - MAC_OS_X_VERSION_10_9 = 1090 - O_ACCMODE = 0x0003 - O_ALERT = 0x20000000 - O_APPEND = 0x00000008 - O_ASYNC = 0x00000040 - O_CLOEXEC = 0x01000000 - O_CREAT = 0x00000200 - O_DIRECTORY = 0x00100000 - O_DP_GETRAWENCRYPTED = 0x0001 - O_DP_GETRAWUNENCRYPTED = 0x0002 - O_DSYNC = 0x400000 - O_EVTONLY = 0x00008000 - O_EXCL = 0x00000800 - O_EXLOCK = 0x00000020 - O_FSYNC = 128 - O_NDELAY = 4 - O_NOCTTY = 0x00020000 - O_NOFOLLOW = 0x00000100 - O_NOFOLLOW_ANY = 0x20000000 - O_NONBLOCK = 0x00000004 - O_POPUP = 0x80000000 - O_RDONLY = 0x0000 - O_RDWR = 0x0002 - O_SHLOCK = 0x00000010 - O_SYMLINK = 0x00200000 - O_SYNC = 0x0080 - O_TRUNC = 0x00000400 - O_WRONLY = 0x0001 - SEEK_CUR = 1 - SEEK_DATA = 4 - SEEK_END = 2 - SEEK_HOLE = 3 - SEEK_SET = 0 - S_IEXEC = 64 - S_IFBLK = 0060000 - S_IFCHR = 0020000 - S_IFDIR = 0040000 - S_IFIFO = 0010000 - S_IFLNK = 0120000 - S_IFMT = 0170000 - S_IFREG = 0100000 - S_IFSOCK = 0140000 - S_IFWHT = 0160000 - S_IREAD = 256 - S_IRGRP = 0000040 - S_IROTH = 0000004 - S_IRUSR = 0000400 - S_IRWXG = 0000070 - S_IRWXO = 0000007 - S_IRWXU = 0000700 - S_ISGID = 0002000 - S_ISTXT = 512 - S_ISUID = 0004000 - S_ISVTX = 0001000 - S_IWGRP = 0000020 - S_IWOTH = 0000002 - S_IWRITE = 128 - S_IWUSR = 0000200 - S_IXGRP = 0000010 - S_IXOTH = 0000001 - S_IXUSR = 0000100 - USER_FSIGNATURES_CDHASH_LEN = 20 - X_ARM_MACHTYPES_H_ = 0 - X_BSD_ARM__TYPES_H_ = 0 - X_BSD_MACHINE_TYPES_H_ = 0 - X_BSD_MACHINE__TYPES_H_ = 0 - X_CDEFS_H_ = 0 - X_DARWIN_FEATURE_64_BIT_INODE = 1 - X_DARWIN_FEATURE_ONLY_64_BIT_INODE = 1 - X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1 - X_DARWIN_FEATURE_ONLY_VERS_1050 = 1 - X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3 - X_FILESEC_T = 0 - X_FILE_OFFSET_BITS = 64 - X_INT16_T = 0 - X_INT32_T = 0 - X_INT64_T = 0 - X_INT8_T = 0 - X_INTPTR_T = 0 - X_LP64 = 1 - X_MACHTYPES_H_ = 0 - X_MODE_T = 0 - X_Nonnull = 0 - X_Null_unspecified = 0 - X_Nullable = 0 - X_OFF_T = 0 - X_PID_T = 0 - X_SIZE_T = 0 - X_SYS_FCNTL_H_ = 0 - X_SYS__PTHREAD_TYPES_H_ = 0 - X_SYS__TYPES_H_ = 0 - X_UINTPTR_T = 0 - X_U_INT16_T = 0 - X_U_INT32_T = 0 - X_U_INT64_T = 0 - X_U_INT8_T = 0 + AT_EACCESS = 0x0010 // fcntl.h:168:1: + AT_FDCWD = -2 // fcntl.h:163:1: + AT_FDONLY = 0x0400 // fcntl.h:174:1: + AT_REALDEV = 0x0200 // fcntl.h:173:1: + AT_REMOVEDIR = 0x0080 // fcntl.h:171:1: + AT_SYMLINK_FOLLOW = 0x0040 // fcntl.h:170:1: + AT_SYMLINK_NOFOLLOW = 0x0020 // fcntl.h:169:1: + AT_SYMLINK_NOFOLLOW_ANY = 0x0800 // fcntl.h:175:1: + CPF_IGNORE_MODE = 0x0002 // fcntl.h:208:1: + CPF_MASK = 3 // fcntl.h:209:1: + CPF_OVERWRITE = 0x0001 // fcntl.h:207:1: + FAPPEND = 8 // fcntl.h:193:1: + FASYNC = 64 // fcntl.h:194:1: + FCNTL_FS_SPECIFIC_BASE = 0x00010000 // fcntl.h:315:1: + FD_CLOEXEC = 1 // fcntl.h:324:1: + FFDSYNC = 4194304 // fcntl.h:196:1: + FFSYNC = 128 // fcntl.h:195:1: + FNDELAY = 4 // fcntl.h:198:1: + FNONBLOCK = 4 // fcntl.h:197:1: + FREAD = 0x00000001 // fcntl.h:110:1: + FWRITE = 0x00000002 // fcntl.h:111:1: + F_ADDFILESIGS = 61 // fcntl.h:253:1: + F_ADDFILESIGS_FOR_DYLD_SIM = 83 // fcntl.h:292:1: + F_ADDFILESIGS_INFO = 103 // fcntl.h:309:1: + F_ADDFILESIGS_RETURN = 97 // fcntl.h:298:1: + F_ADDFILESUPPL = 104 // fcntl.h:310:1: + F_ADDSIGS = 59 // fcntl.h:250:1: + F_ALLOCATEALL = 0x00000004 // fcntl.h:348:1: + F_ALLOCATECONTIG = 0x00000002 // fcntl.h:347:1: + F_BARRIERFSYNC = 85 // fcntl.h:295:1: + F_CHECK_LV = 98 // fcntl.h:299:1: + F_CHKCLEAN = 41 // fcntl.h:232:1: + F_DUPFD = 0 // fcntl.h:217:1: + F_DUPFD_CLOEXEC = 67 // fcntl.h:320:1: + F_FINDSIGS = 78 // fcntl.h:289:1: + F_FLUSH_DATA = 40 // fcntl.h:231:1: + F_FREEZE_FS = 53 // fcntl.h:245:1: + F_FSRESERVED = 106 // fcntl.h:312:1: + F_FULLFSYNC = 51 // fcntl.h:243:1: + F_GETCODEDIR = 72 // fcntl.h:277:1: + F_GETFD = 1 // fcntl.h:218:1: + F_GETFL = 3 // fcntl.h:220:1: + F_GETLK = 7 // fcntl.h:224:1: + F_GETLKPID = 66 // fcntl.h:263:1: + F_GETNOSIGPIPE = 74 // fcntl.h:280:1: + F_GETOWN = 5 // fcntl.h:222:1: + F_GETPATH = 50 // fcntl.h:242:1: + F_GETPATH_MTMINFO = 71 // fcntl.h:275:1: + F_GETPATH_NOFIRMLINK = 102 // fcntl.h:307:1: + F_GETPROTECTIONCLASS = 63 // fcntl.h:258:1: + F_GETPROTECTIONLEVEL = 77 // fcntl.h:287:1: + F_GETSIGSINFO = 105 // fcntl.h:311:1: + F_GLOBAL_NOCACHE = 55 // fcntl.h:247:1: + F_LOG2PHYS = 49 // fcntl.h:241:1: + F_LOG2PHYS_EXT = 65 // fcntl.h:261:1: + F_NOCACHE = 48 // fcntl.h:240:1: + F_NODIRECT = 62 // fcntl.h:255:1: + F_PATHPKG_CHECK = 52 // fcntl.h:244:1: + F_PEOFPOSMODE = 3 // fcntl.h:352:1: + F_PREALLOCATE = 42 // fcntl.h:233:1: + F_PUNCHHOLE = 99 // fcntl.h:301:1: + F_RDADVISE = 44 // fcntl.h:235:1: + F_RDAHEAD = 45 // fcntl.h:236:1: + F_RDLCK = 1 // fcntl.h:327:1: + F_SETBACKINGSTORE = 70 // fcntl.h:274:1: + F_SETFD = 2 // fcntl.h:219:1: + F_SETFL = 4 // fcntl.h:221:1: + F_SETLK = 8 // fcntl.h:225:1: + F_SETLKW = 9 // fcntl.h:226:1: + F_SETLKWTIMEOUT = 10 // fcntl.h:228:1: + F_SETNOSIGPIPE = 73 // fcntl.h:279:1: + F_SETOWN = 6 // fcntl.h:223:1: + F_SETPROTECTIONCLASS = 64 // fcntl.h:259:1: + F_SETSIZE = 43 // fcntl.h:234:1: + F_SINGLE_WRITER = 76 // fcntl.h:284:1: + F_SPECULATIVE_READ = 101 // fcntl.h:305:1: + F_THAW_FS = 54 // fcntl.h:246:1: + F_TRANSCODEKEY = 75 // fcntl.h:282:1: + F_TRIM_ACTIVE_FILE = 100 // fcntl.h:303:1: + F_UNLCK = 2 // fcntl.h:328:1: + F_VOLPOSMODE = 4 // fcntl.h:354:1: + F_WRLCK = 3 // fcntl.h:329:1: + GETSIGSINFO_PLATFORM_BINARY = 1 // fcntl.h:444:1: + LOCK_EX = 0x02 // fcntl.h:456:1: + LOCK_NB = 0x04 // fcntl.h:457:1: + LOCK_SH = 0x01 // fcntl.h:455:1: + LOCK_UN = 0x08 // fcntl.h:458:1: + MAC_OS_VERSION_11_0 = 110000 // AvailabilityVersions.h:238:1: + MAC_OS_VERSION_12_0 = 120000 // AvailabilityVersions.h:239:1: + MAC_OS_X_VERSION_10_0 = 1000 // AvailabilityVersions.h:206:1: + MAC_OS_X_VERSION_10_1 = 1010 // AvailabilityVersions.h:207:1: + MAC_OS_X_VERSION_10_10 = 101000 // AvailabilityVersions.h:216:1: + MAC_OS_X_VERSION_10_10_2 = 101002 // AvailabilityVersions.h:217:1: + MAC_OS_X_VERSION_10_10_3 = 101003 // AvailabilityVersions.h:218:1: + MAC_OS_X_VERSION_10_11 = 101100 // AvailabilityVersions.h:219:1: + MAC_OS_X_VERSION_10_11_2 = 101102 // AvailabilityVersions.h:220:1: + MAC_OS_X_VERSION_10_11_3 = 101103 // AvailabilityVersions.h:221:1: + MAC_OS_X_VERSION_10_11_4 = 101104 // AvailabilityVersions.h:222:1: + MAC_OS_X_VERSION_10_12 = 101200 // AvailabilityVersions.h:223:1: + MAC_OS_X_VERSION_10_12_1 = 101201 // AvailabilityVersions.h:224:1: + MAC_OS_X_VERSION_10_12_2 = 101202 // AvailabilityVersions.h:225:1: + MAC_OS_X_VERSION_10_12_4 = 101204 // AvailabilityVersions.h:226:1: + MAC_OS_X_VERSION_10_13 = 101300 // AvailabilityVersions.h:227:1: + MAC_OS_X_VERSION_10_13_1 = 101301 // AvailabilityVersions.h:228:1: + MAC_OS_X_VERSION_10_13_2 = 101302 // AvailabilityVersions.h:229:1: + MAC_OS_X_VERSION_10_13_4 = 101304 // AvailabilityVersions.h:230:1: + MAC_OS_X_VERSION_10_14 = 101400 // AvailabilityVersions.h:231:1: + MAC_OS_X_VERSION_10_14_1 = 101401 // AvailabilityVersions.h:232:1: + MAC_OS_X_VERSION_10_14_4 = 101404 // AvailabilityVersions.h:233:1: + MAC_OS_X_VERSION_10_14_6 = 101406 // AvailabilityVersions.h:234:1: + MAC_OS_X_VERSION_10_15 = 101500 // AvailabilityVersions.h:235:1: + MAC_OS_X_VERSION_10_15_1 = 101501 // AvailabilityVersions.h:236:1: + MAC_OS_X_VERSION_10_16 = 101600 // AvailabilityVersions.h:237:1: + MAC_OS_X_VERSION_10_2 = 1020 // AvailabilityVersions.h:208:1: + MAC_OS_X_VERSION_10_3 = 1030 // AvailabilityVersions.h:209:1: + MAC_OS_X_VERSION_10_4 = 1040 // AvailabilityVersions.h:210:1: + MAC_OS_X_VERSION_10_5 = 1050 // AvailabilityVersions.h:211:1: + MAC_OS_X_VERSION_10_6 = 1060 // AvailabilityVersions.h:212:1: + MAC_OS_X_VERSION_10_7 = 1070 // AvailabilityVersions.h:213:1: + MAC_OS_X_VERSION_10_8 = 1080 // AvailabilityVersions.h:214:1: + MAC_OS_X_VERSION_10_9 = 1090 // AvailabilityVersions.h:215:1: + O_ACCMODE = 0x0003 // fcntl.h:99:1: + O_ALERT = 0x20000000 // fcntl.h:537:1: + O_APPEND = 0x00000008 // fcntl.h:114:1: + O_ASYNC = 0x00000040 // fcntl.h:121:1: + O_CLOEXEC = 0x01000000 // fcntl.h:150:1: + O_CREAT = 0x00000200 // fcntl.h:125:1: + O_DIRECTORY = 0x00100000 // fcntl.h:138:1: + O_DP_GETRAWENCRYPTED = 0x0001 // fcntl.h:181:1: + O_DP_GETRAWUNENCRYPTED = 0x0002 // fcntl.h:182:1: + O_DSYNC = 0x400000 // _o_dsync.h:29:1: + O_EVTONLY = 0x00008000 // fcntl.h:130:1: + O_EXCL = 0x00000800 // fcntl.h:127:1: + O_EXLOCK = 0x00000020 // fcntl.h:120:1: + O_FSYNC = 128 // fcntl.h:122:1: + O_NDELAY = 4 // fcntl.h:199:1: + O_NOCTTY = 0x00020000 // fcntl.h:134:1: + O_NOFOLLOW = 0x00000100 // fcntl.h:123:1: + O_NOFOLLOW_ANY = 0x20000000 // fcntl.h:155:1: + O_NONBLOCK = 0x00000004 // fcntl.h:113:1: + O_POPUP = 0x80000000 // fcntl.h:536:1: + O_RDONLY = 0x0000 // fcntl.h:96:1: + O_RDWR = 0x0002 // fcntl.h:98:1: + O_SHLOCK = 0x00000010 // fcntl.h:119:1: + O_SYMLINK = 0x00200000 // fcntl.h:142:1: + O_SYNC = 0x0080 // _o_sync.h:29:1: + O_TRUNC = 0x00000400 // fcntl.h:126:1: + O_WRONLY = 0x0001 // fcntl.h:97:1: + SEEK_CUR = 1 // _seek_set.h:34:1: + SEEK_DATA = 4 // _seek_set.h:44:1: + SEEK_END = 2 // _seek_set.h:35:1: + SEEK_HOLE = 3 // _seek_set.h:40:1: + SEEK_SET = 0 // _seek_set.h:33:1: + S_IEXEC = 64 // _s_ifmt.h:72:1: + S_IFBLK = 0060000 // _s_ifmt.h:39:1: + S_IFCHR = 0020000 // _s_ifmt.h:37:1: + S_IFDIR = 0040000 // _s_ifmt.h:38:1: + S_IFIFO = 0010000 // _s_ifmt.h:36:1: + S_IFLNK = 0120000 // _s_ifmt.h:41:1: + S_IFMT = 0170000 // _s_ifmt.h:35:1: + S_IFREG = 0100000 // _s_ifmt.h:40:1: + S_IFSOCK = 0140000 // _s_ifmt.h:42:1: + S_IFWHT = 0160000 // _s_ifmt.h:44:1: + S_IREAD = 256 // _s_ifmt.h:70:1: + S_IRGRP = 0000040 // _s_ifmt.h:55:1: + S_IROTH = 0000004 // _s_ifmt.h:60:1: + S_IRUSR = 0000400 // _s_ifmt.h:50:1: + S_IRWXG = 0000070 // _s_ifmt.h:54:1: + S_IRWXO = 0000007 // _s_ifmt.h:59:1: + S_IRWXU = 0000700 // _s_ifmt.h:49:1: + S_ISGID = 0002000 // _s_ifmt.h:65:1: + S_ISTXT = 512 // _s_ifmt.h:69:1: + S_ISUID = 0004000 // _s_ifmt.h:64:1: + S_ISVTX = 0001000 // _s_ifmt.h:66:1: + S_IWGRP = 0000020 // _s_ifmt.h:56:1: + S_IWOTH = 0000002 // _s_ifmt.h:61:1: + S_IWRITE = 128 // _s_ifmt.h:71:1: + S_IWUSR = 0000200 // _s_ifmt.h:51:1: + S_IXGRP = 0000010 // _s_ifmt.h:57:1: + S_IXOTH = 0000001 // _s_ifmt.h:62:1: + S_IXUSR = 0000100 // _s_ifmt.h:52:1: + USER_FSIGNATURES_CDHASH_LEN = 20 // fcntl.h:401:1: + X_ARM_MACHTYPES_H_ = 0 // types.h:43:1: + X_BSD_ARM__TYPES_H_ = 0 // _types.h:5:1: + X_BSD_MACHINE_TYPES_H_ = 0 // types.h:32:1: + X_BSD_MACHINE__TYPES_H_ = 0 // _types.h:29:1: + X_CDEFS_H_ = 0 // cdefs.h:68:1: + X_DARWIN_FEATURE_64_BIT_INODE = 1 // cdefs.h:774:1: + X_DARWIN_FEATURE_ONLY_64_BIT_INODE = 1 // cdefs.h:784:1: + X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1 // cdefs.h:800:1: + X_DARWIN_FEATURE_ONLY_VERS_1050 = 1 // cdefs.h:792:1: + X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3 // cdefs.h:808:1: + X_FILESEC_T = 0 // _filesec_t.h:29:1: + X_FILE_OFFSET_BITS = 64 // <builtin>:25:1: + X_INT16_T = 0 // _int16_t.h:29:1: + X_INT32_T = 0 // _int32_t.h:29:1: + X_INT64_T = 0 // _int64_t.h:29:1: + X_INT8_T = 0 // _int8_t.h:29:1: + X_INTPTR_T = 0 // _intptr_t.h:29:1: + X_LP64 = 1 // <predefined>:1:1: + X_MACHTYPES_H_ = 0 // types.h:44:1: + X_MODE_T = 0 // _mode_t.h:29:1: + X_Nonnull = 0 // cdefs.h:268:1: + X_Null_unspecified = 0 // cdefs.h:271:1: + X_Nullable = 0 // cdefs.h:265:1: + X_OFF_T = 0 // _off_t.h:29:1: + X_PID_T = 0 // _pid_t.h:29:1: + X_SIZE_T = 0 // _size_t.h:29:1: + X_SYS_FCNTL_H_ = 0 // fcntl.h:71:1: + X_SYS__PTHREAD_TYPES_H_ = 0 // _pthread_types.h:30:1: + X_SYS__TYPES_H_ = 0 // _types.h:30:1: + X_UINTPTR_T = 0 // _uintptr_t.h:29:1: + X_U_INT16_T = 0 // _u_int16_t.h:29:1: + X_U_INT32_T = 0 // _u_int32_t.h:29:1: + X_U_INT64_T = 0 // _u_int64_t.h:29:1: + X_U_INT8_T = 0 // _u_int8_t.h:29:1: ) -const ( /* fcntl.h:545:1: */ +const ( /* fcntl.h:547:1: */ FILESEC_OWNER = 1 FILESEC_GROUP = 2 FILESEC_UUID = 3 @@ -741,6 +743,20 @@ var X__darwin_check_fd_set_overflow uintptr /* <builtin>:146:5: */ // __XNU_PRIVATE_EXTERN is a linkage decoration indicating that a symbol can be // used from other compilation units, but not other libraries or executables. +// We intentionally define to nothing pointer attributes which do not have an +// impact on the ABI. __indexable and __bidi_indexable are not defined because +// of the ABI incompatibility that makes the diagnostic preferable. + +// Similarly, we intentionally define to nothing the +// __ptrcheck_abi_assume_single and __ptrcheck_abi_assume_unsafe_indexable +// macros because they do not lead to an ABI incompatibility. However, we do not +// define the indexable and unsafe_indexable ones because the diagnostic is +// better than the silent ABI break. + +// __unsafe_forge intrinsics are defined as regular C casts. + +// decay operates normally; attribute is meaningless without pointer checks. + // Architecture validation for current SDK // Similar to OS_ENUM/OS_CLOSED_ENUM/OS_OPTIONS/OS_CLOSED_OPTIONS @@ -1408,7 +1424,7 @@ type Flock = struct { Fl_pid Pid_t Fl_type int16 Fl_whence int16 -} /* fcntl.h:359:1 */ +} /* fcntl.h:361:1 */ // Copyright (c) 2003-2012 Apple Inc. All rights reserved. // @@ -1887,7 +1903,7 @@ type Flocktimeout = struct { Ftv_sec X__darwin_time_t Ftv_nsec int64 } -} /* fcntl.h:374:1 */ +} /* fcntl.h:376:1 */ // advisory file read data type - // information passed by user to system @@ -1896,7 +1912,7 @@ type Radvisory = struct { Fra_offset Off_t Fra_count int32 F__ccgo_pad1 [4]byte -} /* fcntl.h:387:1 */ +} /* fcntl.h:389:1 */ // detached code signatures data type - // information passed by user to system used by F_ADDSIGS and F_ADDFILESIGS. @@ -1909,13 +1925,13 @@ type Fsignatures = struct { Ffs_fsignatures_size Size_t Ffs_cdhash [20]int8 Ffs_hash_type int32 -} /* fcntl.h:400:9 */ +} /* fcntl.h:402:9 */ // detached code signatures data type - // information passed by user to system used by F_ADDSIGS and F_ADDFILESIGS. // F_ADDFILESIGS is a shortcut for files that contain their own signature and // doesn't require mapping of the file in order to load the signature. -type Fsignatures_t = Fsignatures /* fcntl.h:410:3 */ +type Fsignatures_t = Fsignatures /* fcntl.h:412:3 */ type Fsupplement = struct { Ffs_file_start Off_t @@ -1923,9 +1939,9 @@ type Fsupplement = struct { Ffs_blob_size Size_t Ffs_orig_fd int32 F__ccgo_pad1 [4]byte -} /* fcntl.h:412:9 */ +} /* fcntl.h:414:9 */ -type Fsupplement_t = Fsupplement /* fcntl.h:417:3 */ +type Fsupplement_t = Fsupplement /* fcntl.h:419:3 */ // DYLD needs to check if the object is allowed to be combined // into the main binary. This is done between the code signature @@ -1939,7 +1955,7 @@ type Fchecklv = struct { Flv_file_start Off_t Flv_error_message_size Size_t Flv_error_message uintptr -} /* fcntl.h:431:9 */ +} /* fcntl.h:433:9 */ // DYLD needs to check if the object is allowed to be combined // into the main binary. This is done between the code signature @@ -1949,7 +1965,7 @@ type Fchecklv = struct { // the MAC module doesn't say no when LV isn't enabled and then that // is cached on the vnode, and the MAC module never gets change once // a process that library validation enabled. -type Fchecklv_t = Fchecklv /* fcntl.h:435:3 */ +type Fchecklv_t = Fchecklv /* fcntl.h:437:3 */ // At this time F_GETSIGSINFO can only indicate platformness. // As additional requestable information is defined, new keys will be added and the @@ -1960,14 +1976,14 @@ type Fgetsigsinfo = struct { Ffg_file_start Off_t Ffg_info_request int32 Ffg_sig_is_platform int32 -} /* fcntl.h:445:9 */ +} /* fcntl.h:447:9 */ // At this time F_GETSIGSINFO can only indicate platformness. // As additional requestable information is defined, new keys will be added and the // fgetsigsinfo_t structure will be lengthened to add space for the additional information // fgetsigsinfo_t used by F_GETSIGSINFO command -type Fgetsigsinfo_t = Fgetsigsinfo /* fcntl.h:449:3 */ +type Fgetsigsinfo_t = Fgetsigsinfo /* fcntl.h:451:3 */ // lock operations for flock(2) @@ -1979,13 +1995,13 @@ type Fstore = struct { Ffst_offset Off_t Ffst_length Off_t Ffst_bytesalloc Off_t -} /* fcntl.h:460:9 */ +} /* fcntl.h:462:9 */ // lock operations for flock(2) // fstore_t type used by F_PREALLOCATE command -type Fstore_t = Fstore /* fcntl.h:466:3 */ +type Fstore_t = Fstore /* fcntl.h:468:3 */ // fpunchhole_t used by F_PUNCHHOLE type Fpunchhole = struct { @@ -1993,19 +2009,19 @@ type Fpunchhole = struct { Freserved uint32 Ffp_offset Off_t Ffp_length Off_t -} /* fcntl.h:469:9 */ +} /* fcntl.h:471:9 */ // fpunchhole_t used by F_PUNCHHOLE -type Fpunchhole_t = Fpunchhole /* fcntl.h:474:3 */ +type Fpunchhole_t = Fpunchhole /* fcntl.h:476:3 */ // factive_file_trim_t used by F_TRIM_ACTIVE_FILE type Ftrimactivefile = struct { Ffta_offset Off_t Ffta_length Off_t -} /* fcntl.h:477:9 */ +} /* fcntl.h:479:9 */ // factive_file_trim_t used by F_TRIM_ACTIVE_FILE -type Ftrimactivefile_t = Ftrimactivefile /* fcntl.h:480:3 */ +type Ftrimactivefile_t = Ftrimactivefile /* fcntl.h:482:3 */ // fspecread_t used by F_SPECULATIVE_READ type Fspecread = struct { @@ -2013,10 +2029,10 @@ type Fspecread = struct { Freserved uint32 Ffsr_offset Off_t Ffsr_length Off_t -} /* fcntl.h:483:9 */ +} /* fcntl.h:485:9 */ // fspecread_t used by F_SPECULATIVE_READ -type Fspecread_t = Fspecread /* fcntl.h:488:3 */ +type Fspecread_t = Fspecread /* fcntl.h:490:3 */ // fbootstraptransfer_t used by F_READBOOTSTRAP and F_WRITEBOOTSTRAP commands @@ -2024,11 +2040,11 @@ type Fbootstraptransfer = struct { Ffbt_offset Off_t Ffbt_length Size_t Ffbt_buffer uintptr -} /* fcntl.h:492:9 */ +} /* fcntl.h:494:9 */ // fbootstraptransfer_t used by F_READBOOTSTRAP and F_WRITEBOOTSTRAP commands -type Fbootstraptransfer_t = Fbootstraptransfer /* fcntl.h:496:3 */ +type Fbootstraptransfer_t = Fbootstraptransfer /* fcntl.h:498:3 */ // For F_LOG2PHYS this information is passed back to user // Currently only devoffset is returned - that is the VOP_BMAP @@ -2055,10 +2071,10 @@ type Log2phys = struct { F__ccgo_pad1 [4]byte Fl2p_contigbytes Off_t Fl2p_devoffset Off_t -} /* fcntl.h:522:1 */ +} /* fcntl.h:524:1 */ type Filesec_t = uintptr /* _filesec_t.h:31:25 */ -type Filesec_property_t = uint32 /* fcntl.h:556:3 */ +type Filesec_property_t = uint32 /* fcntl.h:558:3 */ var _ int8 /* gen.c:2:13: */ diff --git a/vendor/modernc.org/libc/fcntl/fcntl_linux_amd64.go b/vendor/modernc.org/libc/fcntl/fcntl_linux_amd64.go index ff6e090d..e0d177b7 100644 --- a/vendor/modernc.org/libc/fcntl/fcntl_linux_amd64.go +++ b/vendor/modernc.org/libc/fcntl/fcntl_linux_amd64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo fcntl/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o fcntl/fcntl_linux_amd64.go -pkgname fcntl', DO NOT EDIT. +// Code generated by 'ccgo fcntl/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o fcntl/fcntl_linux_amd64.go -pkgname fcntl', DO NOT EDIT. package fcntl @@ -15,127 +15,127 @@ var _ atomic.Value var _ unsafe.Pointer const ( - AT_EACCESS = 0x200 - AT_FDCWD = -100 - AT_REMOVEDIR = 0x200 - AT_SYMLINK_FOLLOW = 0x400 - AT_SYMLINK_NOFOLLOW = 0x100 - FAPPEND = 1024 - FASYNC = 8192 - FD_CLOEXEC = 1 - FFSYNC = 1052672 - FNDELAY = 2048 - FNONBLOCK = 2048 - F_DUPFD = 0 - F_DUPFD_CLOEXEC = 1030 - F_EXLCK = 4 - F_GETFD = 1 - F_GETFL = 3 - F_GETLK = 5 - F_GETLK64 = 5 - F_GETOWN = 9 - F_LOCK = 1 - F_OK = 0 - F_RDLCK = 0 - F_SETFD = 2 - F_SETFL = 4 - F_SETLK = 6 - F_SETLK64 = 6 - F_SETLKW = 7 - F_SETLKW64 = 7 - F_SETOWN = 8 - F_SHLCK = 8 - F_TEST = 3 - F_TLOCK = 2 - F_ULOCK = 0 - F_UNLCK = 2 - F_WRLCK = 1 - LOCK_EX = 2 - LOCK_NB = 4 - LOCK_SH = 1 - LOCK_UN = 8 - O_ACCMODE = 0003 - O_APPEND = 02000 - O_ASYNC = 020000 - O_CLOEXEC = 524288 - O_CREAT = 0100 - O_DIRECTORY = 65536 - O_DSYNC = 4096 - O_EXCL = 0200 - O_FSYNC = 1052672 - O_NDELAY = 2048 - O_NOCTTY = 0400 - O_NOFOLLOW = 131072 - O_NONBLOCK = 04000 - O_RDONLY = 00 - O_RDWR = 02 - O_RSYNC = 1052672 - O_SYNC = 04010000 - O_TRUNC = 01000 - O_WRONLY = 01 - POSIX_FADV_DONTNEED = 4 - POSIX_FADV_NOREUSE = 5 - POSIX_FADV_NORMAL = 0 - POSIX_FADV_RANDOM = 1 - POSIX_FADV_SEQUENTIAL = 2 - POSIX_FADV_WILLNEED = 3 - R_OK = 4 - SEEK_CUR = 1 - SEEK_END = 2 - SEEK_SET = 0 - S_IFBLK = 24576 - S_IFCHR = 8192 - S_IFDIR = 16384 - S_IFIFO = 4096 - S_IFLNK = 40960 - S_IFMT = 61440 - S_IFREG = 32768 - S_IFSOCK = 49152 - S_IRGRP = 32 - S_IROTH = 4 - S_IRUSR = 256 - S_IRWXG = 56 - S_IRWXO = 7 - S_IRWXU = 448 - S_ISGID = 1024 - S_ISUID = 2048 - S_ISVTX = 512 - S_IWGRP = 16 - S_IWOTH = 2 - S_IWUSR = 128 - S_IXGRP = 8 - S_IXOTH = 1 - S_IXUSR = 64 - UTIME_NOW = 1073741823 - UTIME_OMIT = 1073741822 - W_OK = 2 - X_OK = 1 - X_ATFILE_SOURCE = 1 - X_BITS_ENDIANNESS_H = 1 - X_BITS_ENDIAN_H = 1 - X_BITS_STAT_H = 1 - X_BITS_TIME64_H = 1 - X_BITS_TYPESIZES_H = 1 - X_BITS_TYPES_H = 1 - X_DEFAULT_SOURCE = 1 - X_FCNTL_H = 1 - X_FEATURES_H = 1 - X_FILE_OFFSET_BITS = 64 - X_LP64 = 1 - X_MKNOD_VER_LINUX = 0 - X_POSIX_C_SOURCE = 200809 - X_POSIX_SOURCE = 1 - X_STATBUF_ST_BLKSIZE = 0 - X_STATBUF_ST_NSEC = 0 - X_STATBUF_ST_RDEV = 0 - X_STAT_VER = 1 - X_STAT_VER_KERNEL = 0 - X_STAT_VER_LINUX = 1 - X_STDC_PREDEF_H = 1 - X_STRUCT_TIMESPEC = 1 - X_SYS_CDEFS_H = 1 - Linux = 1 - Unix = 1 + AT_EACCESS = 0x200 // fcntl-linux.h:388:1: + AT_FDCWD = -100 // fcntl-linux.h:371:1: + AT_REMOVEDIR = 0x200 // fcntl-linux.h:375:1: + AT_SYMLINK_FOLLOW = 0x400 // fcntl-linux.h:377:1: + AT_SYMLINK_NOFOLLOW = 0x100 // fcntl-linux.h:374:1: + FAPPEND = 1024 // fcntl-linux.h:304:1: + FASYNC = 8192 // fcntl-linux.h:306:1: + FD_CLOEXEC = 1 // fcntl-linux.h:219:1: + FFSYNC = 1052672 // fcntl-linux.h:305:1: + FNDELAY = 2048 // fcntl-linux.h:308:1: + FNONBLOCK = 2048 // fcntl-linux.h:307:1: + F_DUPFD = 0 // fcntl-linux.h:167:1: + F_DUPFD_CLOEXEC = 1030 // fcntl-linux.h:214:1: + F_EXLCK = 4 // fcntl-linux.h:231:1: + F_GETFD = 1 // fcntl-linux.h:168:1: + F_GETFL = 3 // fcntl-linux.h:170:1: + F_GETLK = 5 // fcntl-linux.h:109:1: + F_GETLK64 = 5 // fcntl.h:29:1: + F_GETOWN = 9 // fcntl-linux.h:180:1: + F_LOCK = 1 // fcntl.h:238:1: + F_OK = 0 // fcntl.h:131:1: + F_RDLCK = 0 // fcntl-linux.h:223:1: + F_SETFD = 2 // fcntl-linux.h:169:1: + F_SETFL = 4 // fcntl-linux.h:171:1: + F_SETLK = 6 // fcntl-linux.h:110:1: + F_SETLK64 = 6 // fcntl.h:30:1: + F_SETLKW = 7 // fcntl-linux.h:111:1: + F_SETLKW64 = 7 // fcntl.h:31:1: + F_SETOWN = 8 // fcntl-linux.h:179:1: + F_SHLCK = 8 // fcntl-linux.h:232:1: + F_TEST = 3 // fcntl.h:240:1: + F_TLOCK = 2 // fcntl.h:239:1: + F_ULOCK = 0 // fcntl.h:237:1: + F_UNLCK = 2 // fcntl-linux.h:225:1: + F_WRLCK = 1 // fcntl-linux.h:224:1: + LOCK_EX = 2 // fcntl-linux.h:238:1: + LOCK_NB = 4 // fcntl-linux.h:239:1: + LOCK_SH = 1 // fcntl-linux.h:237:1: + LOCK_UN = 8 // fcntl-linux.h:241:1: + O_ACCMODE = 0003 // fcntl-linux.h:42:1: + O_APPEND = 02000 // fcntl-linux.h:59:1: + O_ASYNC = 020000 // fcntl-linux.h:72:1: + O_CLOEXEC = 524288 // fcntl-linux.h:144:1: + O_CREAT = 0100 // fcntl-linux.h:47:1: + O_DIRECTORY = 65536 // fcntl-linux.h:142:1: + O_DSYNC = 4096 // fcntl-linux.h:158:1: + O_EXCL = 0200 // fcntl-linux.h:50:1: + O_FSYNC = 1052672 // fcntl-linux.h:70:1: + O_NDELAY = 2048 // fcntl-linux.h:65:1: + O_NOCTTY = 0400 // fcntl-linux.h:53:1: + O_NOFOLLOW = 131072 // fcntl-linux.h:143:1: + O_NONBLOCK = 04000 // fcntl-linux.h:62:1: + O_RDONLY = 00 // fcntl-linux.h:43:1: + O_RDWR = 02 // fcntl-linux.h:45:1: + O_RSYNC = 1052672 // fcntl-linux.h:162:1: + O_SYNC = 04010000 // fcntl-linux.h:68:1: + O_TRUNC = 01000 // fcntl-linux.h:56:1: + O_WRONLY = 01 // fcntl-linux.h:44:1: + POSIX_FADV_DONTNEED = 4 // fcntl-linux.h:321:1: + POSIX_FADV_NOREUSE = 5 // fcntl-linux.h:322:1: + POSIX_FADV_NORMAL = 0 // fcntl-linux.h:317:1: + POSIX_FADV_RANDOM = 1 // fcntl-linux.h:318:1: + POSIX_FADV_SEQUENTIAL = 2 // fcntl-linux.h:319:1: + POSIX_FADV_WILLNEED = 3 // fcntl-linux.h:320:1: + R_OK = 4 // fcntl.h:128:1: + SEEK_CUR = 1 // fcntl.h:138:1: + SEEK_END = 2 // fcntl.h:139:1: + SEEK_SET = 0 // fcntl.h:137:1: + S_IFBLK = 24576 // fcntl.h:83:1: + S_IFCHR = 8192 // fcntl.h:82:1: + S_IFDIR = 16384 // fcntl.h:81:1: + S_IFIFO = 4096 // fcntl.h:86:1: + S_IFLNK = 40960 // fcntl.h:89:1: + S_IFMT = 61440 // fcntl.h:80:1: + S_IFREG = 32768 // fcntl.h:84:1: + S_IFSOCK = 49152 // fcntl.h:92:1: + S_IRGRP = 32 // fcntl.h:111:1: + S_IROTH = 4 // fcntl.h:117:1: + S_IRUSR = 256 // fcntl.h:105:1: + S_IRWXG = 56 // fcntl.h:115:1: + S_IRWXO = 7 // fcntl.h:121:1: + S_IRWXU = 448 // fcntl.h:109:1: + S_ISGID = 1024 // fcntl.h:98:1: + S_ISUID = 2048 // fcntl.h:97:1: + S_ISVTX = 512 // fcntl.h:102:1: + S_IWGRP = 16 // fcntl.h:112:1: + S_IWOTH = 2 // fcntl.h:118:1: + S_IWUSR = 128 // fcntl.h:106:1: + S_IXGRP = 8 // fcntl.h:113:1: + S_IXOTH = 1 // fcntl.h:119:1: + S_IXUSR = 64 // fcntl.h:107:1: + UTIME_NOW = 1073741823 // stat.h:206:1: + UTIME_OMIT = 1073741822 // stat.h:207:1: + W_OK = 2 // fcntl.h:129:1: + X_OK = 1 // fcntl.h:130:1: + X_ATFILE_SOURCE = 1 // features.h:342:1: + X_BITS_ENDIANNESS_H = 1 // endianness.h:2:1: + X_BITS_ENDIAN_H = 1 // endian.h:20:1: + X_BITS_STAT_H = 1 // stat.h:23:1: + X_BITS_TIME64_H = 1 // time64.h:24:1: + X_BITS_TYPESIZES_H = 1 // typesizes.h:24:1: + X_BITS_TYPES_H = 1 // types.h:24:1: + X_DEFAULT_SOURCE = 1 // features.h:227:1: + X_FCNTL_H = 1 // fcntl.h:23:1: + X_FEATURES_H = 1 // features.h:19:1: + X_FILE_OFFSET_BITS = 64 // <builtin>:25:1: + X_LP64 = 1 // <predefined>:284:1: + X_MKNOD_VER_LINUX = 0 // stat.h:41:1: + X_POSIX_C_SOURCE = 200809 // features.h:281:1: + X_POSIX_SOURCE = 1 // features.h:279:1: + X_STATBUF_ST_BLKSIZE = 0 // stat.h:172:1: + X_STATBUF_ST_NSEC = 0 // stat.h:175:1: + X_STATBUF_ST_RDEV = 0 // stat.h:173:1: + X_STAT_VER = 1 // stat.h:44:1: + X_STAT_VER_KERNEL = 0 // stat.h:37:1: + X_STAT_VER_LINUX = 1 // stat.h:38:1: + X_STDC_PREDEF_H = 1 // <predefined>:162:1: + X_STRUCT_TIMESPEC = 1 // struct_timespec.h:3:1: + X_SYS_CDEFS_H = 1 // cdefs.h:19:1: + Linux = 1 // <predefined>:231:1: + Unix = 1 // <predefined>:177:1: ) type Ptrdiff_t = int64 /* <builtin>:3:26 */ diff --git a/vendor/modernc.org/libc/fts/capi_darwin_arm64.go b/vendor/modernc.org/libc/fts/capi_darwin_arm64.go index 08e0ed43..35b9632f 100644 --- a/vendor/modernc.org/libc/fts/capi_darwin_arm64.go +++ b/vendor/modernc.org/libc/fts/capi_darwin_arm64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo fts/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o fts/fts_darwin_arm64.go -pkgname fts', DO NOT EDIT. +// Code generated by 'ccgo fts/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o fts/fts_darwin_arm64.go -pkgname fts', DO NOT EDIT. package fts diff --git a/vendor/modernc.org/libc/fts/capi_linux_amd64.go b/vendor/modernc.org/libc/fts/capi_linux_amd64.go index 7c6e5848..5dc389ba 100644 --- a/vendor/modernc.org/libc/fts/capi_linux_amd64.go +++ b/vendor/modernc.org/libc/fts/capi_linux_amd64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo fts/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o fts/fts_linux_amd64.go -pkgname fts', DO NOT EDIT. +// Code generated by 'ccgo fts/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o fts/fts_linux_amd64.go -pkgname fts', DO NOT EDIT. package fts diff --git a/vendor/modernc.org/libc/fts/fts_darwin_arm64.go b/vendor/modernc.org/libc/fts/fts_darwin_arm64.go index d7f9126a..1a0232a8 100644 --- a/vendor/modernc.org/libc/fts/fts_darwin_arm64.go +++ b/vendor/modernc.org/libc/fts/fts_darwin_arm64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo fts/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o fts/fts_darwin_arm64.go -pkgname fts', DO NOT EDIT. +// Code generated by 'ccgo fts/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o fts/fts_darwin_arm64.go -pkgname fts', DO NOT EDIT. package fts @@ -15,277 +15,277 @@ var _ atomic.Value var _ unsafe.Pointer const ( - ACCESSPERMS = 511 - ALLPERMS = 4095 - BIG_ENDIAN = 4321 - BYTE_ORDER = 1234 - DEFFILEMODE = 438 - EF_IS_PURGEABLE = 0x00000008 - EF_IS_SPARSE = 0x00000010 - EF_IS_SYNC_ROOT = 0x00000004 - EF_IS_SYNTHETIC = 0x00000020 - EF_MAY_SHARE_BLOCKS = 0x00000001 - EF_NO_XATTRS = 0x00000002 - FD_SETSIZE = 1024 - FTS_AGAIN = 1 - FTS_BLOCK_COMPAR = 0x80000000 - FTS_CHDIRFD = 0x08 - FTS_COMFOLLOW = 0x001 - FTS_COMFOLLOWDIR = 0x400 - FTS_D = 1 - FTS_DC = 2 - FTS_DEFAULT = 3 - FTS_DNR = 4 - FTS_DONTCHDIR = 0x01 - FTS_DOT = 5 - FTS_DP = 6 - FTS_ERR = 7 - FTS_F = 8 - FTS_FOLLOW = 2 - FTS_INIT = 9 - FTS_ISW = 0x04 - FTS_LOGICAL = 0x002 - FTS_MAXLEVEL = 0x7fffffff - FTS_NAMEONLY = 0x100 - FTS_NOCHDIR = 0x004 - FTS_NOINSTR = 3 - FTS_NOSTAT = 0x008 - FTS_NOSTAT_TYPE = 0x800 - FTS_NS = 10 - FTS_NSOK = 11 - FTS_OPTIONMASK = 0xcff - FTS_PHYSICAL = 0x010 - FTS_ROOTLEVEL = 0 - FTS_ROOTPARENTLEVEL = -1 - FTS_SEEDOT = 0x020 - FTS_SKIP = 4 - FTS_SL = 12 - FTS_SLNONE = 13 - FTS_STOP = 0x200 - FTS_SYMFOLLOW = 0x02 - FTS_W = 14 - FTS_WHITEOUT = 0x080 - FTS_XDEV = 0x040 - INT16_MAX = 32767 - INT16_MIN = -32768 - INT32_MAX = 2147483647 - INT32_MIN = -2147483648 - INT64_MAX = 9223372036854775807 - INT64_MIN = -9223372036854775808 - INT8_MAX = 127 - INT8_MIN = -128 - INTMAX_MAX = 9223372036854775807 - INTMAX_MIN = -9223372036854775808 - INTPTR_MAX = 9223372036854775807 - INTPTR_MIN = -9223372036854775808 - INT_FAST16_MAX = 32767 - INT_FAST16_MIN = -32768 - INT_FAST32_MAX = 2147483647 - INT_FAST32_MIN = -2147483648 - INT_FAST64_MAX = 9223372036854775807 - INT_FAST64_MIN = -9223372036854775808 - INT_FAST8_MAX = 127 - INT_FAST8_MIN = -128 - INT_LEAST16_MAX = 32767 - INT_LEAST16_MIN = -32768 - INT_LEAST32_MAX = 2147483647 - INT_LEAST32_MIN = -2147483648 - INT_LEAST64_MAX = 9223372036854775807 - INT_LEAST64_MIN = -9223372036854775808 - INT_LEAST8_MAX = 127 - INT_LEAST8_MIN = -128 - LITTLE_ENDIAN = 1234 - MAC_OS_VERSION_11_0 = 110000 - MAC_OS_VERSION_12_0 = 120000 - MAC_OS_X_VERSION_10_0 = 1000 - MAC_OS_X_VERSION_10_1 = 1010 - MAC_OS_X_VERSION_10_10 = 101000 - MAC_OS_X_VERSION_10_10_2 = 101002 - MAC_OS_X_VERSION_10_10_3 = 101003 - MAC_OS_X_VERSION_10_11 = 101100 - MAC_OS_X_VERSION_10_11_2 = 101102 - MAC_OS_X_VERSION_10_11_3 = 101103 - MAC_OS_X_VERSION_10_11_4 = 101104 - MAC_OS_X_VERSION_10_12 = 101200 - MAC_OS_X_VERSION_10_12_1 = 101201 - MAC_OS_X_VERSION_10_12_2 = 101202 - MAC_OS_X_VERSION_10_12_4 = 101204 - MAC_OS_X_VERSION_10_13 = 101300 - MAC_OS_X_VERSION_10_13_1 = 101301 - MAC_OS_X_VERSION_10_13_2 = 101302 - MAC_OS_X_VERSION_10_13_4 = 101304 - MAC_OS_X_VERSION_10_14 = 101400 - MAC_OS_X_VERSION_10_14_1 = 101401 - MAC_OS_X_VERSION_10_14_4 = 101404 - MAC_OS_X_VERSION_10_14_6 = 101406 - MAC_OS_X_VERSION_10_15 = 101500 - MAC_OS_X_VERSION_10_15_1 = 101501 - MAC_OS_X_VERSION_10_16 = 101600 - MAC_OS_X_VERSION_10_2 = 1020 - MAC_OS_X_VERSION_10_3 = 1030 - MAC_OS_X_VERSION_10_4 = 1040 - MAC_OS_X_VERSION_10_5 = 1050 - MAC_OS_X_VERSION_10_6 = 1060 - MAC_OS_X_VERSION_10_7 = 1070 - MAC_OS_X_VERSION_10_8 = 1080 - MAC_OS_X_VERSION_10_9 = 1090 - NBBY = 8 - PDP_ENDIAN = 3412 - PTRDIFF_MAX = 9223372036854775807 - PTRDIFF_MIN = -9223372036854775808 - RSIZE_MAX = 9223372036854775807 - SF_APPEND = 0x00040000 - SF_ARCHIVED = 0x00010000 - SF_DATALESS = 0x40000000 - SF_FIRMLINK = 0x00800000 - SF_IMMUTABLE = 0x00020000 - SF_NOUNLINK = 0x00100000 - SF_RESTRICTED = 0x00080000 - SF_SETTABLE = 0x3fff0000 - SF_SUPPORTED = 0x009f0000 - SF_SYNTHETIC = 0xc0000000 - SIG_ATOMIC_MAX = 2147483647 - SIG_ATOMIC_MIN = -2147483648 - SIZE_MAX = 18446744073709551615 - S_BLKSIZE = 512 - S_IEXEC = 64 - S_IFBLK = 0060000 - S_IFCHR = 0020000 - S_IFDIR = 0040000 - S_IFIFO = 0010000 - S_IFLNK = 0120000 - S_IFMT = 0170000 - S_IFREG = 0100000 - S_IFSOCK = 0140000 - S_IFWHT = 0160000 - S_IREAD = 256 - S_IRGRP = 0000040 - S_IROTH = 0000004 - S_IRUSR = 0000400 - S_IRWXG = 0000070 - S_IRWXO = 0000007 - S_IRWXU = 0000700 - S_ISGID = 0002000 - S_ISTXT = 512 - S_ISUID = 0004000 - S_ISVTX = 0001000 - S_IWGRP = 0000020 - S_IWOTH = 0000002 - S_IWRITE = 128 - S_IWUSR = 0000200 - S_IXGRP = 0000010 - S_IXOTH = 0000001 - S_IXUSR = 0000100 - UF_APPEND = 0x00000004 - UF_COMPRESSED = 0x00000020 - UF_DATAVAULT = 0x00000080 - UF_HIDDEN = 0x00008000 - UF_IMMUTABLE = 0x00000002 - UF_NODUMP = 0x00000001 - UF_OPAQUE = 0x00000008 - UF_SETTABLE = 0x0000ffff - UF_TRACKED = 0x00000040 - UINT16_MAX = 65535 - UINT32_MAX = 4294967295 - UINT64_MAX = 18446744073709551615 - UINT8_MAX = 255 - UINTMAX_MAX = 18446744073709551615 - UINTPTR_MAX = 18446744073709551615 - UINT_FAST16_MAX = 65535 - UINT_FAST32_MAX = 4294967295 - UINT_FAST64_MAX = 18446744073709551615 - UINT_FAST8_MAX = 255 - UINT_LEAST16_MAX = 65535 - UINT_LEAST32_MAX = 4294967295 - UINT_LEAST64_MAX = 18446744073709551615 - UINT_LEAST8_MAX = 255 - UTIME_NOW = -1 - UTIME_OMIT = -2 - WCHAR_MAX = 2147483647 - WCHAR_MIN = -2147483648 - WINT_MAX = 2147483647 - WINT_MIN = -2147483648 - X_ARM_ARCH_H = 0 - X_ARM_MACHTYPES_H_ = 0 - X_ARM__ENDIAN_H_ = 0 - X_BLKCNT_T = 0 - X_BLKSIZE_T = 0 - X_BSD_ARM__TYPES_H_ = 0 - X_BSD_MACHINE_ENDIAN_H_ = 0 - X_BSD_MACHINE_TYPES_H_ = 0 - X_BSD_MACHINE__TYPES_H_ = 0 - X_CADDR_T = 0 - X_CDEFS_H_ = 0 - X_CLOCK_T = 0 - X_DARWIN_FEATURE_64_BIT_INODE = 1 - X_DARWIN_FEATURE_ONLY_64_BIT_INODE = 1 - X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1 - X_DARWIN_FEATURE_ONLY_VERS_1050 = 1 - X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3 - X_DEV_T = 0 - X_ERRNO_T = 0 - X_FD_SET = 0 - X_FILESEC_T = 0 - X_FILE_OFFSET_BITS = 64 - X_FSBLKCNT_T = 0 - X_FSFILCNT_T = 0 - X_FTS_H_ = 0 - X_GID_T = 0 - X_ID_T = 0 - X_INO64_T = 0 - X_INO_T = 0 - X_INT16_T = 0 - X_INT32_T = 0 - X_INT64_T = 0 - X_INT8_T = 0 - X_INTPTR_T = 0 - X_IN_ADDR_T = 0 - X_IN_PORT_T = 0 - X_KEY_T = 0 - X_LP64 = 1 - X_MACHTYPES_H_ = 0 - X_MODE_T = 0 - X_NLINK_T = 0 - X_Nonnull = 0 - X_Null_unspecified = 0 - X_Nullable = 0 - X_OFF_T = 0 - X_OS_OSBYTEORDERARM_H = 0 - X_OS__OSBYTEORDER_H = 0 - X_PID_T = 0 - X_PTHREAD_ATTR_T = 0 - X_PTHREAD_CONDATTR_T = 0 - X_PTHREAD_COND_T = 0 - X_PTHREAD_KEY_T = 0 - X_PTHREAD_MUTEXATTR_T = 0 - X_PTHREAD_MUTEX_T = 0 - X_PTHREAD_ONCE_T = 0 - X_PTHREAD_RWLOCKATTR_T = 0 - X_PTHREAD_RWLOCK_T = 0 - X_PTHREAD_T = 0 - X_QUAD_HIGHWORD = 1 - X_QUAD_LOWWORD = 0 - X_RSIZE_T = 0 - X_SIZE_T = 0 - X_SSIZE_T = 0 - X_SUSECONDS_T = 0 - X_SYS_STAT_H_ = 0 - X_SYS_TYPES_H_ = 0 - X_SYS__ENDIAN_H_ = 0 - X_SYS__PTHREAD_TYPES_H_ = 0 - X_SYS__TYPES_H_ = 0 - X_TIME_T = 0 - X_UID_T = 0 - X_UINTPTR_T = 0 - X_USECONDS_T = 0 - X_U_CHAR = 0 - X_U_INT = 0 - X_U_INT16_T = 0 - X_U_INT32_T = 0 - X_U_INT64_T = 0 - X_U_INT8_T = 0 - X_U_LONG = 0 - X_U_SHORT = 0 + ACCESSPERMS = 511 // stat.h:297:1: + ALLPERMS = 4095 // stat.h:299:1: + BIG_ENDIAN = 4321 // endian.h:72:1: + BYTE_ORDER = 1234 // endian.h:75:1: + DEFFILEMODE = 438 // stat.h:301:1: + EF_IS_PURGEABLE = 0x00000008 // stat.h:371:1: + EF_IS_SPARSE = 0x00000010 // stat.h:372:1: + EF_IS_SYNC_ROOT = 0x00000004 // stat.h:370:1: + EF_IS_SYNTHETIC = 0x00000020 // stat.h:373:1: + EF_MAY_SHARE_BLOCKS = 0x00000001 // stat.h:368:1: + EF_NO_XATTRS = 0x00000002 // stat.h:369:1: + FD_SETSIZE = 1024 // _fd_setsize.h:29:1: + FTS_AGAIN = 1 // fts.h:157:1: + FTS_BLOCK_COMPAR = 0x80000000 // fts.h:108:1: + FTS_CHDIRFD = 0x08 // fts.h:154:1: + FTS_COMFOLLOW = 0x001 // fts.h:89:1: + FTS_COMFOLLOWDIR = 0x400 // fts.h:97:1: + FTS_D = 1 // fts.h:135:1: + FTS_DC = 2 // fts.h:136:1: + FTS_DEFAULT = 3 // fts.h:137:1: + FTS_DNR = 4 // fts.h:138:1: + FTS_DONTCHDIR = 0x01 // fts.h:151:1: + FTS_DOT = 5 // fts.h:139:1: + FTS_DP = 6 // fts.h:140:1: + FTS_ERR = 7 // fts.h:141:1: + FTS_F = 8 // fts.h:142:1: + FTS_FOLLOW = 2 // fts.h:158:1: + FTS_INIT = 9 // fts.h:143:1: + FTS_ISW = 0x04 // fts.h:153:1: + FTS_LOGICAL = 0x002 // fts.h:90:1: + FTS_MAXLEVEL = 0x7fffffff // fts.h:132:1: + FTS_NAMEONLY = 0x100 // fts.h:105:1: + FTS_NOCHDIR = 0x004 // fts.h:91:1: + FTS_NOINSTR = 3 // fts.h:159:1: + FTS_NOSTAT = 0x008 // fts.h:92:1: + FTS_NOSTAT_TYPE = 0x800 // fts.h:101:1: + FTS_NS = 10 // fts.h:144:1: + FTS_NSOK = 11 // fts.h:145:1: + FTS_OPTIONMASK = 0xcff // fts.h:102:1: + FTS_PHYSICAL = 0x010 // fts.h:93:1: + FTS_ROOTLEVEL = 0 // fts.h:131:1: + FTS_ROOTPARENTLEVEL = -1 // fts.h:130:1: + FTS_SEEDOT = 0x020 // fts.h:94:1: + FTS_SKIP = 4 // fts.h:160:1: + FTS_SL = 12 // fts.h:146:1: + FTS_SLNONE = 13 // fts.h:147:1: + FTS_STOP = 0x200 // fts.h:106:1: + FTS_SYMFOLLOW = 0x02 // fts.h:152:1: + FTS_W = 14 // fts.h:148:1: + FTS_WHITEOUT = 0x080 // fts.h:96:1: + FTS_XDEV = 0x040 // fts.h:95:1: + INT16_MAX = 32767 // stdint.h:599:1: + INT16_MIN = -32768 // stdint.h:600:1: + INT32_MAX = 2147483647 // stdint.h:555:1: + INT32_MIN = -2147483648 // stdint.h:556:1: + INT64_MAX = 9223372036854775807 // stdint.h:461:1: + INT64_MIN = -9223372036854775808 // stdint.h:462:1: + INT8_MAX = 127 // stdint.h:621:1: + INT8_MIN = -128 // stdint.h:622:1: + INTMAX_MAX = 9223372036854775807 // stdint.h:663:1: + INTMAX_MIN = -9223372036854775808 // stdint.h:662:1: + INTPTR_MAX = 9223372036854775807 // stdint.h:649:1: + INTPTR_MIN = -9223372036854775808 // stdint.h:648:1: + INT_FAST16_MAX = 32767 // stdint.h:615:1: + INT_FAST16_MIN = -32768 // stdint.h:614:1: + INT_FAST32_MAX = 2147483647 // stdint.h:574:1: + INT_FAST32_MIN = -2147483648 // stdint.h:573:1: + INT_FAST64_MAX = 9223372036854775807 // stdint.h:483:1: + INT_FAST64_MIN = -9223372036854775808 // stdint.h:482:1: + INT_FAST8_MAX = 127 // stdint.h:634:1: + INT_FAST8_MIN = -128 // stdint.h:633:1: + INT_LEAST16_MAX = 32767 // stdint.h:612:1: + INT_LEAST16_MIN = -32768 // stdint.h:611:1: + INT_LEAST32_MAX = 2147483647 // stdint.h:571:1: + INT_LEAST32_MIN = -2147483648 // stdint.h:570:1: + INT_LEAST64_MAX = 9223372036854775807 // stdint.h:480:1: + INT_LEAST64_MIN = -9223372036854775808 // stdint.h:479:1: + INT_LEAST8_MAX = 127 // stdint.h:631:1: + INT_LEAST8_MIN = -128 // stdint.h:630:1: + LITTLE_ENDIAN = 1234 // endian.h:71:1: + MAC_OS_VERSION_11_0 = 110000 // AvailabilityVersions.h:238:1: + MAC_OS_VERSION_12_0 = 120000 // AvailabilityVersions.h:239:1: + MAC_OS_X_VERSION_10_0 = 1000 // AvailabilityVersions.h:206:1: + MAC_OS_X_VERSION_10_1 = 1010 // AvailabilityVersions.h:207:1: + MAC_OS_X_VERSION_10_10 = 101000 // AvailabilityVersions.h:216:1: + MAC_OS_X_VERSION_10_10_2 = 101002 // AvailabilityVersions.h:217:1: + MAC_OS_X_VERSION_10_10_3 = 101003 // AvailabilityVersions.h:218:1: + MAC_OS_X_VERSION_10_11 = 101100 // AvailabilityVersions.h:219:1: + MAC_OS_X_VERSION_10_11_2 = 101102 // AvailabilityVersions.h:220:1: + MAC_OS_X_VERSION_10_11_3 = 101103 // AvailabilityVersions.h:221:1: + MAC_OS_X_VERSION_10_11_4 = 101104 // AvailabilityVersions.h:222:1: + MAC_OS_X_VERSION_10_12 = 101200 // AvailabilityVersions.h:223:1: + MAC_OS_X_VERSION_10_12_1 = 101201 // AvailabilityVersions.h:224:1: + MAC_OS_X_VERSION_10_12_2 = 101202 // AvailabilityVersions.h:225:1: + MAC_OS_X_VERSION_10_12_4 = 101204 // AvailabilityVersions.h:226:1: + MAC_OS_X_VERSION_10_13 = 101300 // AvailabilityVersions.h:227:1: + MAC_OS_X_VERSION_10_13_1 = 101301 // AvailabilityVersions.h:228:1: + MAC_OS_X_VERSION_10_13_2 = 101302 // AvailabilityVersions.h:229:1: + MAC_OS_X_VERSION_10_13_4 = 101304 // AvailabilityVersions.h:230:1: + MAC_OS_X_VERSION_10_14 = 101400 // AvailabilityVersions.h:231:1: + MAC_OS_X_VERSION_10_14_1 = 101401 // AvailabilityVersions.h:232:1: + MAC_OS_X_VERSION_10_14_4 = 101404 // AvailabilityVersions.h:233:1: + MAC_OS_X_VERSION_10_14_6 = 101406 // AvailabilityVersions.h:234:1: + MAC_OS_X_VERSION_10_15 = 101500 // AvailabilityVersions.h:235:1: + MAC_OS_X_VERSION_10_15_1 = 101501 // AvailabilityVersions.h:236:1: + MAC_OS_X_VERSION_10_16 = 101600 // AvailabilityVersions.h:237:1: + MAC_OS_X_VERSION_10_2 = 1020 // AvailabilityVersions.h:208:1: + MAC_OS_X_VERSION_10_3 = 1030 // AvailabilityVersions.h:209:1: + MAC_OS_X_VERSION_10_4 = 1040 // AvailabilityVersions.h:210:1: + MAC_OS_X_VERSION_10_5 = 1050 // AvailabilityVersions.h:211:1: + MAC_OS_X_VERSION_10_6 = 1060 // AvailabilityVersions.h:212:1: + MAC_OS_X_VERSION_10_7 = 1070 // AvailabilityVersions.h:213:1: + MAC_OS_X_VERSION_10_8 = 1080 // AvailabilityVersions.h:214:1: + MAC_OS_X_VERSION_10_9 = 1090 // AvailabilityVersions.h:215:1: + NBBY = 8 // types.h:186:1: + PDP_ENDIAN = 3412 // endian.h:73:1: + PTRDIFF_MAX = 9223372036854775807 // stdint.h:652:1: + PTRDIFF_MIN = -9223372036854775808 // stdint.h:651:1: + RSIZE_MAX = 9223372036854775807 // stdint.h:658:1: + SF_APPEND = 0x00040000 // stat.h:340:1: + SF_ARCHIVED = 0x00010000 // stat.h:338:1: + SF_DATALESS = 0x40000000 // stat.h:359:1: + SF_FIRMLINK = 0x00800000 // stat.h:351:1: + SF_IMMUTABLE = 0x00020000 // stat.h:339:1: + SF_NOUNLINK = 0x00100000 // stat.h:342:1: + SF_RESTRICTED = 0x00080000 // stat.h:341:1: + SF_SETTABLE = 0x3fff0000 // stat.h:336:1: + SF_SUPPORTED = 0x009f0000 // stat.h:335:1: + SF_SYNTHETIC = 0xc0000000 // stat.h:337:1: + SIG_ATOMIC_MAX = 2147483647 // stdint.h:668:1: + SIG_ATOMIC_MIN = -2147483648 // stdint.h:667:1: + SIZE_MAX = 18446744073709551615 // stdint.h:653:1: + S_BLKSIZE = 512 // stat.h:303:1: + S_IEXEC = 64 // _s_ifmt.h:72:1: + S_IFBLK = 0060000 // _s_ifmt.h:39:1: + S_IFCHR = 0020000 // _s_ifmt.h:37:1: + S_IFDIR = 0040000 // _s_ifmt.h:38:1: + S_IFIFO = 0010000 // _s_ifmt.h:36:1: + S_IFLNK = 0120000 // _s_ifmt.h:41:1: + S_IFMT = 0170000 // _s_ifmt.h:35:1: + S_IFREG = 0100000 // _s_ifmt.h:40:1: + S_IFSOCK = 0140000 // _s_ifmt.h:42:1: + S_IFWHT = 0160000 // _s_ifmt.h:44:1: + S_IREAD = 256 // _s_ifmt.h:70:1: + S_IRGRP = 0000040 // _s_ifmt.h:55:1: + S_IROTH = 0000004 // _s_ifmt.h:60:1: + S_IRUSR = 0000400 // _s_ifmt.h:50:1: + S_IRWXG = 0000070 // _s_ifmt.h:54:1: + S_IRWXO = 0000007 // _s_ifmt.h:59:1: + S_IRWXU = 0000700 // _s_ifmt.h:49:1: + S_ISGID = 0002000 // _s_ifmt.h:65:1: + S_ISTXT = 512 // _s_ifmt.h:69:1: + S_ISUID = 0004000 // _s_ifmt.h:64:1: + S_ISVTX = 0001000 // _s_ifmt.h:66:1: + S_IWGRP = 0000020 // _s_ifmt.h:56:1: + S_IWOTH = 0000002 // _s_ifmt.h:61:1: + S_IWRITE = 128 // _s_ifmt.h:71:1: + S_IWUSR = 0000200 // _s_ifmt.h:51:1: + S_IXGRP = 0000010 // _s_ifmt.h:57:1: + S_IXOTH = 0000001 // _s_ifmt.h:62:1: + S_IXUSR = 0000100 // _s_ifmt.h:52:1: + UF_APPEND = 0x00000004 // stat.h:313:1: + UF_COMPRESSED = 0x00000020 // stat.h:320:1: + UF_DATAVAULT = 0x00000080 // stat.h:326:1: + UF_HIDDEN = 0x00008000 // stat.h:330:1: + UF_IMMUTABLE = 0x00000002 // stat.h:312:1: + UF_NODUMP = 0x00000001 // stat.h:311:1: + UF_OPAQUE = 0x00000008 // stat.h:314:1: + UF_SETTABLE = 0x0000ffff // stat.h:310:1: + UF_TRACKED = 0x00000040 // stat.h:324:1: + UINT16_MAX = 65535 // stdint.h:601:1: + UINT32_MAX = 4294967295 // stdint.h:557:1: + UINT64_MAX = 18446744073709551615 // stdint.h:463:1: + UINT8_MAX = 255 // stdint.h:623:1: + UINTMAX_MAX = 18446744073709551615 // stdint.h:664:1: + UINTPTR_MAX = 18446744073709551615 // stdint.h:650:1: + UINT_FAST16_MAX = 65535 // stdint.h:616:1: + UINT_FAST32_MAX = 4294967295 // stdint.h:575:1: + UINT_FAST64_MAX = 18446744073709551615 // stdint.h:484:1: + UINT_FAST8_MAX = 255 // stdint.h:635:1: + UINT_LEAST16_MAX = 65535 // stdint.h:613:1: + UINT_LEAST32_MAX = 4294967295 // stdint.h:572:1: + UINT_LEAST64_MAX = 18446744073709551615 // stdint.h:481:1: + UINT_LEAST8_MAX = 255 // stdint.h:632:1: + UTIME_NOW = -1 // stat.h:395:1: + UTIME_OMIT = -2 // stat.h:396:1: + WCHAR_MAX = 2147483647 // stdint.h:678:1: + WCHAR_MIN = -2147483648 // stdint.h:682:1: + WINT_MAX = 2147483647 // stdint.h:674:1: + WINT_MIN = -2147483648 // stdint.h:673:1: + X_ARM_ARCH_H = 0 // arch.h:29:1: + X_ARM_MACHTYPES_H_ = 0 // types.h:43:1: + X_ARM__ENDIAN_H_ = 0 // endian.h:43:1: + X_BLKCNT_T = 0 // _blkcnt_t.h:29:1: + X_BLKSIZE_T = 0 // _blksize_t.h:29:1: + X_BSD_ARM__TYPES_H_ = 0 // _types.h:5:1: + X_BSD_MACHINE_ENDIAN_H_ = 0 // endian.h:32:1: + X_BSD_MACHINE_TYPES_H_ = 0 // types.h:32:1: + X_BSD_MACHINE__TYPES_H_ = 0 // _types.h:29:1: + X_CADDR_T = 0 // _caddr_t.h:29:1: + X_CDEFS_H_ = 0 // cdefs.h:68:1: + X_CLOCK_T = 0 // _clock_t.h:29:1: + X_DARWIN_FEATURE_64_BIT_INODE = 1 // cdefs.h:774:1: + X_DARWIN_FEATURE_ONLY_64_BIT_INODE = 1 // cdefs.h:784:1: + X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1 // cdefs.h:800:1: + X_DARWIN_FEATURE_ONLY_VERS_1050 = 1 // cdefs.h:792:1: + X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3 // cdefs.h:808:1: + X_DEV_T = 0 // _dev_t.h:29:1: + X_ERRNO_T = 0 // _errno_t.h:29:1: + X_FD_SET = 0 // _fd_def.h:29:1: + X_FILESEC_T = 0 // _filesec_t.h:29:1: + X_FILE_OFFSET_BITS = 64 // <builtin>:25:1: + X_FSBLKCNT_T = 0 // _fsblkcnt_t.h:29:1: + X_FSFILCNT_T = 0 // _fsfilcnt_t.h:29:1: + X_FTS_H_ = 0 // fts.h:59:1: + X_GID_T = 0 // _gid_t.h:29:1: + X_ID_T = 0 // _id_t.h:29:1: + X_INO64_T = 0 // _ino64_t.h:29:1: + X_INO_T = 0 // _ino_t.h:29:1: + X_INT16_T = 0 // _int16_t.h:29:1: + X_INT32_T = 0 // _int32_t.h:29:1: + X_INT64_T = 0 // _int64_t.h:29:1: + X_INT8_T = 0 // _int8_t.h:29:1: + X_INTPTR_T = 0 // _intptr_t.h:29:1: + X_IN_ADDR_T = 0 // _in_addr_t.h:29:1: + X_IN_PORT_T = 0 // _in_port_t.h:29:1: + X_KEY_T = 0 // _key_t.h:29:1: + X_LP64 = 1 // <predefined>:1:1: + X_MACHTYPES_H_ = 0 // types.h:44:1: + X_MODE_T = 0 // _mode_t.h:29:1: + X_NLINK_T = 0 // _nlink_t.h:29:1: + X_Nonnull = 0 // cdefs.h:268:1: + X_Null_unspecified = 0 // cdefs.h:271:1: + X_Nullable = 0 // cdefs.h:265:1: + X_OFF_T = 0 // _off_t.h:29:1: + X_OS_OSBYTEORDERARM_H = 0 // OSByteOrder.h:6:1: + X_OS__OSBYTEORDER_H = 0 // _OSByteOrder.h:30:1: + X_PID_T = 0 // _pid_t.h:29:1: + X_PTHREAD_ATTR_T = 0 // _pthread_attr_t.h:29:1: + X_PTHREAD_CONDATTR_T = 0 // _pthread_condattr_t.h:29:1: + X_PTHREAD_COND_T = 0 // _pthread_cond_t.h:29:1: + X_PTHREAD_KEY_T = 0 // _pthread_key_t.h:29:1: + X_PTHREAD_MUTEXATTR_T = 0 // _pthread_mutexattr_t.h:29:1: + X_PTHREAD_MUTEX_T = 0 // _pthread_mutex_t.h:29:1: + X_PTHREAD_ONCE_T = 0 // _pthread_once_t.h:29:1: + X_PTHREAD_RWLOCKATTR_T = 0 // _pthread_rwlockattr_t.h:29:1: + X_PTHREAD_RWLOCK_T = 0 // _pthread_rwlock_t.h:29:1: + X_PTHREAD_T = 0 // _pthread_t.h:29:1: + X_QUAD_HIGHWORD = 1 // endian.h:56:1: + X_QUAD_LOWWORD = 0 // endian.h:57:1: + X_RSIZE_T = 0 // _rsize_t.h:29:1: + X_SIZE_T = 0 // _size_t.h:29:1: + X_SSIZE_T = 0 // _ssize_t.h:29:1: + X_SUSECONDS_T = 0 // _suseconds_t.h:29:1: + X_SYS_STAT_H_ = 0 // stat.h:71:1: + X_SYS_TYPES_H_ = 0 // types.h:70:1: + X_SYS__ENDIAN_H_ = 0 // _endian.h:91:1: + X_SYS__PTHREAD_TYPES_H_ = 0 // _pthread_types.h:30:1: + X_SYS__TYPES_H_ = 0 // _types.h:30:1: + X_TIME_T = 0 // _time_t.h:29:1: + X_UID_T = 0 // _uid_t.h:29:1: + X_UINTPTR_T = 0 // _uintptr_t.h:29:1: + X_USECONDS_T = 0 // _useconds_t.h:29:1: + X_U_CHAR = 0 // _u_char.h:29:1: + X_U_INT = 0 // _u_int.h:29:1: + X_U_INT16_T = 0 // _u_int16_t.h:29:1: + X_U_INT32_T = 0 // _u_int32_t.h:29:1: + X_U_INT64_T = 0 // _u_int64_t.h:29:1: + X_U_INT8_T = 0 // _u_int8_t.h:29:1: + X_U_LONG = 0 // types.h:89:1: + X_U_SHORT = 0 // _u_short.h:29:1: ) type Ptrdiff_t = int64 /* <builtin>:3:26 */ @@ -761,6 +761,20 @@ var X__darwin_check_fd_set_overflow uintptr /* <builtin>:146:5: */ // __XNU_PRIVATE_EXTERN is a linkage decoration indicating that a symbol can be // used from other compilation units, but not other libraries or executables. +// We intentionally define to nothing pointer attributes which do not have an +// impact on the ABI. __indexable and __bidi_indexable are not defined because +// of the ABI incompatibility that makes the diagnostic preferable. + +// Similarly, we intentionally define to nothing the +// __ptrcheck_abi_assume_single and __ptrcheck_abi_assume_unsafe_indexable +// macros because they do not lead to an ABI incompatibility. However, we do not +// define the indexable and unsafe_indexable ones because the diagnostic is +// better than the silent ABI break. + +// __unsafe_forge intrinsics are defined as regular C casts. + +// decay operates normally; attribute is meaningless without pointer checks. + // Architecture validation for current SDK // Similar to OS_ENUM/OS_CLOSED_ENUM/OS_OPTIONS/OS_CLOSED_OPTIONS diff --git a/vendor/modernc.org/libc/fts/fts_linux_amd64.go b/vendor/modernc.org/libc/fts/fts_linux_amd64.go index 1f05acea..57539a8d 100644 --- a/vendor/modernc.org/libc/fts/fts_linux_amd64.go +++ b/vendor/modernc.org/libc/fts/fts_linux_amd64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo fts/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o fts/fts_linux_amd64.go -pkgname fts', DO NOT EDIT. +// Code generated by 'ccgo fts/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o fts/fts_linux_amd64.go -pkgname fts', DO NOT EDIT. package fts @@ -15,127 +15,127 @@ var _ atomic.Value var _ unsafe.Pointer const ( - ACCESSPERMS = 511 - ALLPERMS = 4095 - BIG_ENDIAN = 4321 - BYTE_ORDER = 1234 - DEFFILEMODE = 438 - FD_SETSIZE = 1024 - FTS_AGAIN = 1 - FTS_COMFOLLOW = 0x0001 - FTS_D = 1 - FTS_DC = 2 - FTS_DEFAULT = 3 - FTS_DNR = 4 - FTS_DONTCHDIR = 0x01 - FTS_DOT = 5 - FTS_DP = 6 - FTS_ERR = 7 - FTS_F = 8 - FTS_FOLLOW = 2 - FTS_INIT = 9 - FTS_LOGICAL = 0x0002 - FTS_NAMEONLY = 0x0100 - FTS_NOCHDIR = 0x0004 - FTS_NOINSTR = 3 - FTS_NOSTAT = 0x0008 - FTS_NS = 10 - FTS_NSOK = 11 - FTS_OPTIONMASK = 0x00ff - FTS_PHYSICAL = 0x0010 - FTS_ROOTLEVEL = 0 - FTS_ROOTPARENTLEVEL = -1 - FTS_SEEDOT = 0x0020 - FTS_SKIP = 4 - FTS_SL = 12 - FTS_SLNONE = 13 - FTS_STOP = 0x0200 - FTS_SYMFOLLOW = 0x02 - FTS_W = 14 - FTS_WHITEOUT = 0x0080 - FTS_XDEV = 0x0040 - LITTLE_ENDIAN = 1234 - PDP_ENDIAN = 3412 - S_BLKSIZE = 512 - S_IEXEC = 64 - S_IFBLK = 24576 - S_IFCHR = 8192 - S_IFDIR = 16384 - S_IFIFO = 4096 - S_IFLNK = 40960 - S_IFMT = 61440 - S_IFREG = 32768 - S_IFSOCK = 49152 - S_IREAD = 256 - S_IRGRP = 32 - S_IROTH = 4 - S_IRUSR = 256 - S_IRWXG = 56 - S_IRWXO = 7 - S_IRWXU = 448 - S_ISGID = 1024 - S_ISUID = 2048 - S_ISVTX = 512 - S_IWGRP = 16 - S_IWOTH = 2 - S_IWRITE = 128 - S_IWUSR = 128 - S_IXGRP = 8 - S_IXOTH = 1 - S_IXUSR = 64 - UTIME_NOW = 1073741823 - UTIME_OMIT = 1073741822 - X_ATFILE_SOURCE = 1 - X_BITS_BYTESWAP_H = 1 - X_BITS_ENDIANNESS_H = 1 - X_BITS_ENDIAN_H = 1 - X_BITS_PTHREADTYPES_ARCH_H = 1 - X_BITS_PTHREADTYPES_COMMON_H = 1 - X_BITS_STAT_H = 1 - X_BITS_STDINT_INTN_H = 1 - X_BITS_TIME64_H = 1 - X_BITS_TYPESIZES_H = 1 - X_BITS_TYPES_H = 1 - X_BITS_UINTN_IDENTITY_H = 1 - X_BSD_SIZE_T_ = 0 - X_BSD_SIZE_T_DEFINED_ = 0 - X_DEFAULT_SOURCE = 1 - X_ENDIAN_H = 1 - X_FEATURES_H = 1 - X_FILE_OFFSET_BITS = 64 - X_FTS_H = 1 - X_GCC_SIZE_T = 0 - X_LP64 = 1 - X_MKNOD_VER = 0 - X_MKNOD_VER_LINUX = 0 - X_POSIX_C_SOURCE = 200809 - X_POSIX_SOURCE = 1 - X_RWLOCK_INTERNAL_H = 0 - X_SIZET_ = 0 - X_SIZE_T = 0 - X_SIZE_T_ = 0 - X_SIZE_T_DECLARED = 0 - X_SIZE_T_DEFINED = 0 - X_SIZE_T_DEFINED_ = 0 - X_STATBUF_ST_BLKSIZE = 0 - X_STATBUF_ST_NSEC = 0 - X_STATBUF_ST_RDEV = 0 - X_STAT_VER = 1 - X_STAT_VER_KERNEL = 0 - X_STAT_VER_LINUX = 1 - X_STDC_PREDEF_H = 1 - X_STRUCT_TIMESPEC = 1 - X_SYS_CDEFS_H = 1 - X_SYS_SELECT_H = 1 - X_SYS_SIZE_T_H = 0 - X_SYS_STAT_H = 1 - X_SYS_TYPES_H = 1 - X_THREAD_MUTEX_INTERNAL_H = 1 - X_THREAD_SHARED_TYPES_H = 1 - X_T_SIZE = 0 - X_T_SIZE_ = 0 - Linux = 1 - Unix = 1 + ACCESSPERMS = 511 // stat.h:195:1: + ALLPERMS = 4095 // stat.h:196:1: + BIG_ENDIAN = 4321 // endian.h:28:1: + BYTE_ORDER = 1234 // endian.h:30:1: + DEFFILEMODE = 438 // stat.h:197:1: + FD_SETSIZE = 1024 // select.h:73:1: + FTS_AGAIN = 1 // fts.h:139:1: + FTS_COMFOLLOW = 0x0001 // fts.h:68:1: + FTS_D = 1 // fts.h:119:1: + FTS_DC = 2 // fts.h:120:1: + FTS_DEFAULT = 3 // fts.h:121:1: + FTS_DNR = 4 // fts.h:122:1: + FTS_DONTCHDIR = 0x01 // fts.h:135:1: + FTS_DOT = 5 // fts.h:123:1: + FTS_DP = 6 // fts.h:124:1: + FTS_ERR = 7 // fts.h:125:1: + FTS_F = 8 // fts.h:126:1: + FTS_FOLLOW = 2 // fts.h:140:1: + FTS_INIT = 9 // fts.h:127:1: + FTS_LOGICAL = 0x0002 // fts.h:69:1: + FTS_NAMEONLY = 0x0100 // fts.h:78:1: + FTS_NOCHDIR = 0x0004 // fts.h:70:1: + FTS_NOINSTR = 3 // fts.h:141:1: + FTS_NOSTAT = 0x0008 // fts.h:71:1: + FTS_NS = 10 // fts.h:128:1: + FTS_NSOK = 11 // fts.h:129:1: + FTS_OPTIONMASK = 0x00ff // fts.h:76:1: + FTS_PHYSICAL = 0x0010 // fts.h:72:1: + FTS_ROOTLEVEL = 0 // fts.h:116:1: + FTS_ROOTPARENTLEVEL = -1 // fts.h:115:1: + FTS_SEEDOT = 0x0020 // fts.h:73:1: + FTS_SKIP = 4 // fts.h:142:1: + FTS_SL = 12 // fts.h:130:1: + FTS_SLNONE = 13 // fts.h:131:1: + FTS_STOP = 0x0200 // fts.h:79:1: + FTS_SYMFOLLOW = 0x02 // fts.h:136:1: + FTS_W = 14 // fts.h:132:1: + FTS_WHITEOUT = 0x0080 // fts.h:75:1: + FTS_XDEV = 0x0040 // fts.h:74:1: + LITTLE_ENDIAN = 1234 // endian.h:27:1: + PDP_ENDIAN = 3412 // endian.h:29:1: + S_BLKSIZE = 512 // stat.h:199:1: + S_IEXEC = 64 // stat.h:177:1: + S_IFBLK = 24576 // stat.h:107:1: + S_IFCHR = 8192 // stat.h:106:1: + S_IFDIR = 16384 // stat.h:105:1: + S_IFIFO = 4096 // stat.h:110:1: + S_IFLNK = 40960 // stat.h:113:1: + S_IFMT = 61440 // stat.h:104:1: + S_IFREG = 32768 // stat.h:108:1: + S_IFSOCK = 49152 // stat.h:117:1: + S_IREAD = 256 // stat.h:175:1: + S_IRGRP = 32 // stat.h:180:1: + S_IROTH = 4 // stat.h:186:1: + S_IRUSR = 256 // stat.h:168:1: + S_IRWXG = 56 // stat.h:184:1: + S_IRWXO = 7 // stat.h:190:1: + S_IRWXU = 448 // stat.h:172:1: + S_ISGID = 1024 // stat.h:161:1: + S_ISUID = 2048 // stat.h:160:1: + S_ISVTX = 512 // stat.h:165:1: + S_IWGRP = 16 // stat.h:181:1: + S_IWOTH = 2 // stat.h:187:1: + S_IWRITE = 128 // stat.h:176:1: + S_IWUSR = 128 // stat.h:169:1: + S_IXGRP = 8 // stat.h:182:1: + S_IXOTH = 1 // stat.h:188:1: + S_IXUSR = 64 // stat.h:170:1: + UTIME_NOW = 1073741823 // stat.h:206:1: + UTIME_OMIT = 1073741822 // stat.h:207:1: + X_ATFILE_SOURCE = 1 // features.h:342:1: + X_BITS_BYTESWAP_H = 1 // byteswap.h:24:1: + X_BITS_ENDIANNESS_H = 1 // endianness.h:2:1: + X_BITS_ENDIAN_H = 1 // endian.h:20:1: + X_BITS_PTHREADTYPES_ARCH_H = 1 // pthreadtypes-arch.h:19:1: + X_BITS_PTHREADTYPES_COMMON_H = 1 // pthreadtypes.h:20:1: + X_BITS_STAT_H = 1 // stat.h:23:1: + X_BITS_STDINT_INTN_H = 1 // stdint-intn.h:20:1: + X_BITS_TIME64_H = 1 // time64.h:24:1: + X_BITS_TYPESIZES_H = 1 // typesizes.h:24:1: + X_BITS_TYPES_H = 1 // types.h:24:1: + X_BITS_UINTN_IDENTITY_H = 1 // uintn-identity.h:24:1: + X_BSD_SIZE_T_ = 0 // stddef.h:189:1: + X_BSD_SIZE_T_DEFINED_ = 0 // stddef.h:192:1: + X_DEFAULT_SOURCE = 1 // features.h:227:1: + X_ENDIAN_H = 1 // endian.h:19:1: + X_FEATURES_H = 1 // features.h:19:1: + X_FILE_OFFSET_BITS = 64 // <builtin>:25:1: + X_FTS_H = 1 // fts.h:51:1: + X_GCC_SIZE_T = 0 // stddef.h:195:1: + X_LP64 = 1 // <predefined>:284:1: + X_MKNOD_VER = 0 // stat.h:390:1: + X_MKNOD_VER_LINUX = 0 // stat.h:41:1: + X_POSIX_C_SOURCE = 200809 // features.h:281:1: + X_POSIX_SOURCE = 1 // features.h:279:1: + X_RWLOCK_INTERNAL_H = 0 // struct_rwlock.h:21:1: + X_SIZET_ = 0 // stddef.h:196:1: + X_SIZE_T = 0 // stddef.h:183:1: + X_SIZE_T_ = 0 // stddef.h:188:1: + X_SIZE_T_DECLARED = 0 // stddef.h:193:1: + X_SIZE_T_DEFINED = 0 // stddef.h:191:1: + X_SIZE_T_DEFINED_ = 0 // stddef.h:190:1: + X_STATBUF_ST_BLKSIZE = 0 // stat.h:172:1: + X_STATBUF_ST_NSEC = 0 // stat.h:175:1: + X_STATBUF_ST_RDEV = 0 // stat.h:173:1: + X_STAT_VER = 1 // stat.h:44:1: + X_STAT_VER_KERNEL = 0 // stat.h:37:1: + X_STAT_VER_LINUX = 1 // stat.h:38:1: + X_STDC_PREDEF_H = 1 // <predefined>:162:1: + X_STRUCT_TIMESPEC = 1 // struct_timespec.h:3:1: + X_SYS_CDEFS_H = 1 // cdefs.h:19:1: + X_SYS_SELECT_H = 1 // select.h:22:1: + X_SYS_SIZE_T_H = 0 // stddef.h:184:1: + X_SYS_STAT_H = 1 // stat.h:23:1: + X_SYS_TYPES_H = 1 // types.h:23:1: + X_THREAD_MUTEX_INTERNAL_H = 1 // struct_mutex.h:20:1: + X_THREAD_SHARED_TYPES_H = 1 // thread-shared-types.h:20:1: + X_T_SIZE = 0 // stddef.h:186:1: + X_T_SIZE_ = 0 // stddef.h:185:1: + Linux = 1 // <predefined>:231:1: + Unix = 1 // <predefined>:177:1: ) type Ptrdiff_t = int64 /* <builtin>:3:26 */ diff --git a/vendor/modernc.org/libc/grp/capi_darwin_arm64.go b/vendor/modernc.org/libc/grp/capi_darwin_arm64.go index 9e6f03aa..2299bebf 100644 --- a/vendor/modernc.org/libc/grp/capi_darwin_arm64.go +++ b/vendor/modernc.org/libc/grp/capi_darwin_arm64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo grp/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o grp/grp_darwin_arm64.go -pkgname grp', DO NOT EDIT. +// Code generated by 'ccgo grp/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o grp/grp_darwin_arm64.go -pkgname grp', DO NOT EDIT. package grp diff --git a/vendor/modernc.org/libc/grp/capi_linux_amd64.go b/vendor/modernc.org/libc/grp/capi_linux_amd64.go index f22fdd28..39c1b899 100644 --- a/vendor/modernc.org/libc/grp/capi_linux_amd64.go +++ b/vendor/modernc.org/libc/grp/capi_linux_amd64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo grp/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o grp/grp_linux_amd64.go -pkgname grp', DO NOT EDIT. +// Code generated by 'ccgo grp/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o grp/grp_linux_amd64.go -pkgname grp', DO NOT EDIT. package grp diff --git a/vendor/modernc.org/libc/grp/grp_darwin_arm64.go b/vendor/modernc.org/libc/grp/grp_darwin_arm64.go index 428fe541..68ce5c7d 100644 --- a/vendor/modernc.org/libc/grp/grp_darwin_arm64.go +++ b/vendor/modernc.org/libc/grp/grp_darwin_arm64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo grp/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o grp/grp_darwin_arm64.go -pkgname grp', DO NOT EDIT. +// Code generated by 'ccgo grp/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o grp/grp_darwin_arm64.go -pkgname grp', DO NOT EDIT. package grp @@ -15,29 +15,29 @@ var _ atomic.Value var _ unsafe.Pointer const ( - X_BSD_ARM__TYPES_H_ = 0 - X_BSD_MACHINE__TYPES_H_ = 0 - X_CDEFS_H_ = 0 - X_DARWIN_FEATURE_64_BIT_INODE = 1 - X_DARWIN_FEATURE_ONLY_64_BIT_INODE = 1 - X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1 - X_DARWIN_FEATURE_ONLY_VERS_1050 = 1 - X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3 - X_FILE_OFFSET_BITS = 64 - X_FORTIFY_SOURCE = 2 - X_GID_T = 0 - X_GRP_H_ = 0 - X_LP64 = 1 - X_Nonnull = 0 - X_Null_unspecified = 0 - X_Nullable = 0 - X_PATH_GROUP = "/etc/group" - X_SIZE_T = 0 - X_SYS__PTHREAD_TYPES_H_ = 0 - X_SYS__TYPES_H_ = 0 - X_UUID_STRING_T = 0 - X_UUID_T = 0 - X_UUID_UUID_H = 0 + X_BSD_ARM__TYPES_H_ = 0 // _types.h:5:1: + X_BSD_MACHINE__TYPES_H_ = 0 // _types.h:29:1: + X_CDEFS_H_ = 0 // cdefs.h:68:1: + X_DARWIN_FEATURE_64_BIT_INODE = 1 // cdefs.h:774:1: + X_DARWIN_FEATURE_ONLY_64_BIT_INODE = 1 // cdefs.h:784:1: + X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1 // cdefs.h:800:1: + X_DARWIN_FEATURE_ONLY_VERS_1050 = 1 // cdefs.h:792:1: + X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3 // cdefs.h:808:1: + X_FILE_OFFSET_BITS = 64 // <builtin>:25:1: + X_FORTIFY_SOURCE = 2 // _types.h:65:1: + X_GID_T = 0 // _gid_t.h:29:1: + X_GRP_H_ = 0 // grp.h:43:1: + X_LP64 = 1 // <predefined>:1:1: + X_Nonnull = 0 // cdefs.h:268:1: + X_Null_unspecified = 0 // cdefs.h:271:1: + X_Nullable = 0 // cdefs.h:265:1: + X_PATH_GROUP = "/etc/group" // grp.h:50:1: + X_SIZE_T = 0 // _size_t.h:29:1: + X_SYS__PTHREAD_TYPES_H_ = 0 // _pthread_types.h:30:1: + X_SYS__TYPES_H_ = 0 // _types.h:30:1: + X_UUID_STRING_T = 0 // uuid.h:42:1: + X_UUID_T = 0 // _uuid_t.h:29:1: + X_UUID_UUID_H = 0 // uuid.h:36:1: ) type Ptrdiff_t = int64 /* <builtin>:3:26 */ @@ -510,6 +510,20 @@ var X__darwin_check_fd_set_overflow uintptr /* <builtin>:146:5: */ // __XNU_PRIVATE_EXTERN is a linkage decoration indicating that a symbol can be // used from other compilation units, but not other libraries or executables. +// We intentionally define to nothing pointer attributes which do not have an +// impact on the ABI. __indexable and __bidi_indexable are not defined because +// of the ABI incompatibility that makes the diagnostic preferable. + +// Similarly, we intentionally define to nothing the +// __ptrcheck_abi_assume_single and __ptrcheck_abi_assume_unsafe_indexable +// macros because they do not lead to an ABI incompatibility. However, we do not +// define the indexable and unsafe_indexable ones because the diagnostic is +// better than the silent ABI break. + +// __unsafe_forge intrinsics are defined as regular C casts. + +// decay operates normally; attribute is meaningless without pointer checks. + // Architecture validation for current SDK // Similar to OS_ENUM/OS_CLOSED_ENUM/OS_OPTIONS/OS_CLOSED_OPTIONS diff --git a/vendor/modernc.org/libc/grp/grp_linux_amd64.go b/vendor/modernc.org/libc/grp/grp_linux_amd64.go index cfd9d848..944ecb16 100644 --- a/vendor/modernc.org/libc/grp/grp_linux_amd64.go +++ b/vendor/modernc.org/libc/grp/grp_linux_amd64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo grp/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o grp/grp_linux_amd64.go -pkgname grp', DO NOT EDIT. +// Code generated by 'ccgo grp/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o grp/grp_linux_amd64.go -pkgname grp', DO NOT EDIT. package grp @@ -15,34 +15,34 @@ var _ atomic.Value var _ unsafe.Pointer const ( - NSS_BUFLEN_GROUP = 1024 - X_ATFILE_SOURCE = 1 - X_BITS_TIME64_H = 1 - X_BITS_TYPESIZES_H = 1 - X_BITS_TYPES_H = 1 - X_BSD_SIZE_T_ = 0 - X_BSD_SIZE_T_DEFINED_ = 0 - X_DEFAULT_SOURCE = 1 - X_FEATURES_H = 1 - X_FILE_OFFSET_BITS = 64 - X_GCC_SIZE_T = 0 - X_GRP_H = 1 - X_LP64 = 1 - X_POSIX_C_SOURCE = 200809 - X_POSIX_SOURCE = 1 - X_SIZET_ = 0 - X_SIZE_T = 0 - X_SIZE_T_ = 0 - X_SIZE_T_DECLARED = 0 - X_SIZE_T_DEFINED = 0 - X_SIZE_T_DEFINED_ = 0 - X_STDC_PREDEF_H = 1 - X_SYS_CDEFS_H = 1 - X_SYS_SIZE_T_H = 0 - X_T_SIZE = 0 - X_T_SIZE_ = 0 - Linux = 1 - Unix = 1 + NSS_BUFLEN_GROUP = 1024 // grp.h:114:1: + X_ATFILE_SOURCE = 1 // features.h:342:1: + X_BITS_TIME64_H = 1 // time64.h:24:1: + X_BITS_TYPESIZES_H = 1 // typesizes.h:24:1: + X_BITS_TYPES_H = 1 // types.h:24:1: + X_BSD_SIZE_T_ = 0 // stddef.h:189:1: + X_BSD_SIZE_T_DEFINED_ = 0 // stddef.h:192:1: + X_DEFAULT_SOURCE = 1 // features.h:227:1: + X_FEATURES_H = 1 // features.h:19:1: + X_FILE_OFFSET_BITS = 64 // <builtin>:25:1: + X_GCC_SIZE_T = 0 // stddef.h:195:1: + X_GRP_H = 1 // grp.h:23:1: + X_LP64 = 1 // <predefined>:284:1: + X_POSIX_C_SOURCE = 200809 // features.h:281:1: + X_POSIX_SOURCE = 1 // features.h:279:1: + X_SIZET_ = 0 // stddef.h:196:1: + X_SIZE_T = 0 // stddef.h:183:1: + X_SIZE_T_ = 0 // stddef.h:188:1: + X_SIZE_T_DECLARED = 0 // stddef.h:193:1: + X_SIZE_T_DEFINED = 0 // stddef.h:191:1: + X_SIZE_T_DEFINED_ = 0 // stddef.h:190:1: + X_STDC_PREDEF_H = 1 // <predefined>:162:1: + X_SYS_CDEFS_H = 1 // cdefs.h:19:1: + X_SYS_SIZE_T_H = 0 // stddef.h:184:1: + X_T_SIZE = 0 // stddef.h:186:1: + X_T_SIZE_ = 0 // stddef.h:185:1: + Linux = 1 // <predefined>:231:1: + Unix = 1 // <predefined>:177:1: ) type Ptrdiff_t = int64 /* <builtin>:3:26 */ diff --git a/vendor/modernc.org/libc/langinfo/capi_darwin_arm64.go b/vendor/modernc.org/libc/langinfo/capi_darwin_arm64.go index b6c9d135..a7a9ae84 100644 --- a/vendor/modernc.org/libc/langinfo/capi_darwin_arm64.go +++ b/vendor/modernc.org/libc/langinfo/capi_darwin_arm64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo langinfo/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o langinfo/langinfo_darwin_arm64.go -pkgname langinfo', DO NOT EDIT. +// Code generated by 'ccgo langinfo/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o langinfo/langinfo_darwin_arm64.go -pkgname langinfo', DO NOT EDIT. package langinfo diff --git a/vendor/modernc.org/libc/langinfo/capi_linux_amd64.go b/vendor/modernc.org/libc/langinfo/capi_linux_amd64.go index 27a2c4be..f9c787ba 100644 --- a/vendor/modernc.org/libc/langinfo/capi_linux_amd64.go +++ b/vendor/modernc.org/libc/langinfo/capi_linux_amd64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo langinfo/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o langinfo/langinfo_linux_amd64.go -pkgname langinfo', DO NOT EDIT. +// Code generated by 'ccgo langinfo/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o langinfo/langinfo_linux_amd64.go -pkgname langinfo', DO NOT EDIT. package langinfo diff --git a/vendor/modernc.org/libc/langinfo/langinfo_darwin_arm64.go b/vendor/modernc.org/libc/langinfo/langinfo_darwin_arm64.go index 43d6fcac..be506473 100644 --- a/vendor/modernc.org/libc/langinfo/langinfo_darwin_arm64.go +++ b/vendor/modernc.org/libc/langinfo/langinfo_darwin_arm64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo langinfo/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o langinfo/langinfo_darwin_arm64.go -pkgname langinfo', DO NOT EDIT. +// Code generated by 'ccgo langinfo/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o langinfo/langinfo_darwin_arm64.go -pkgname langinfo', DO NOT EDIT. package langinfo @@ -15,82 +15,82 @@ var _ atomic.Value var _ unsafe.Pointer const ( - ABDAY_1 = 14 - ABDAY_2 = 15 - ABDAY_3 = 16 - ABDAY_4 = 17 - ABDAY_5 = 18 - ABDAY_6 = 19 - ABDAY_7 = 20 - ABMON_1 = 33 - ABMON_10 = 42 - ABMON_11 = 43 - ABMON_12 = 44 - ABMON_2 = 34 - ABMON_3 = 35 - ABMON_4 = 36 - ABMON_5 = 37 - ABMON_6 = 38 - ABMON_7 = 39 - ABMON_8 = 40 - ABMON_9 = 41 - ALT_DIGITS = 49 - AM_STR = 5 - CODESET = 0 - CRNCYSTR = 56 - DAY_1 = 7 - DAY_2 = 8 - DAY_3 = 9 - DAY_4 = 10 - DAY_5 = 11 - DAY_6 = 12 - DAY_7 = 13 - D_FMT = 2 - D_MD_ORDER = 57 - D_T_FMT = 1 - ERA = 45 - ERA_D_FMT = 46 - ERA_D_T_FMT = 47 - ERA_T_FMT = 48 - MON_1 = 21 - MON_10 = 30 - MON_11 = 31 - MON_12 = 32 - MON_2 = 22 - MON_3 = 23 - MON_4 = 24 - MON_5 = 25 - MON_6 = 26 - MON_7 = 27 - MON_8 = 28 - MON_9 = 29 - NOEXPR = 53 - NOSTR = 55 - PM_STR = 6 - RADIXCHAR = 50 - THOUSEP = 51 - T_FMT = 3 - T_FMT_AMPM = 4 - YESEXPR = 52 - YESSTR = 54 - X_BSD_ARM__TYPES_H_ = 0 - X_BSD_MACHINE__TYPES_H_ = 0 - X_CDEFS_H_ = 0 - X_DARWIN_FEATURE_64_BIT_INODE = 1 - X_DARWIN_FEATURE_ONLY_64_BIT_INODE = 1 - X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1 - X_DARWIN_FEATURE_ONLY_VERS_1050 = 1 - X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3 - X_FILE_OFFSET_BITS = 64 - X_FORTIFY_SOURCE = 2 - X_LANGINFO_H_ = 0 - X_LP64 = 1 - X_NL_ITEM = 0 - X_Nonnull = 0 - X_Null_unspecified = 0 - X_Nullable = 0 - X_SYS__PTHREAD_TYPES_H_ = 0 - X_SYS__TYPES_H_ = 0 + ABDAY_1 = 14 // langinfo.h:53:1: + ABDAY_2 = 15 // langinfo.h:54:1: + ABDAY_3 = 16 // langinfo.h:55:1: + ABDAY_4 = 17 // langinfo.h:56:1: + ABDAY_5 = 18 // langinfo.h:57:1: + ABDAY_6 = 19 // langinfo.h:58:1: + ABDAY_7 = 20 // langinfo.h:59:1: + ABMON_1 = 33 // langinfo.h:76:1: + ABMON_10 = 42 // langinfo.h:85:1: + ABMON_11 = 43 // langinfo.h:86:1: + ABMON_12 = 44 // langinfo.h:87:1: + ABMON_2 = 34 // langinfo.h:77:1: + ABMON_3 = 35 // langinfo.h:78:1: + ABMON_4 = 36 // langinfo.h:79:1: + ABMON_5 = 37 // langinfo.h:80:1: + ABMON_6 = 38 // langinfo.h:81:1: + ABMON_7 = 39 // langinfo.h:82:1: + ABMON_8 = 40 // langinfo.h:83:1: + ABMON_9 = 41 // langinfo.h:84:1: + ALT_DIGITS = 49 // langinfo.h:93:1: + AM_STR = 5 // langinfo.h:40:1: + CODESET = 0 // langinfo.h:35:1: + CRNCYSTR = 56 // langinfo.h:106:1: + DAY_1 = 7 // langinfo.h:44:1: + DAY_2 = 8 // langinfo.h:45:1: + DAY_3 = 9 // langinfo.h:46:1: + DAY_4 = 10 // langinfo.h:47:1: + DAY_5 = 11 // langinfo.h:48:1: + DAY_6 = 12 // langinfo.h:49:1: + DAY_7 = 13 // langinfo.h:50:1: + D_FMT = 2 // langinfo.h:37:1: + D_MD_ORDER = 57 // langinfo.h:109:1: + D_T_FMT = 1 // langinfo.h:36:1: + ERA = 45 // langinfo.h:89:1: + ERA_D_FMT = 46 // langinfo.h:90:1: + ERA_D_T_FMT = 47 // langinfo.h:91:1: + ERA_T_FMT = 48 // langinfo.h:92:1: + MON_1 = 21 // langinfo.h:62:1: + MON_10 = 30 // langinfo.h:71:1: + MON_11 = 31 // langinfo.h:72:1: + MON_12 = 32 // langinfo.h:73:1: + MON_2 = 22 // langinfo.h:63:1: + MON_3 = 23 // langinfo.h:64:1: + MON_4 = 24 // langinfo.h:65:1: + MON_5 = 25 // langinfo.h:66:1: + MON_6 = 26 // langinfo.h:67:1: + MON_7 = 27 // langinfo.h:68:1: + MON_8 = 28 // langinfo.h:69:1: + MON_9 = 29 // langinfo.h:70:1: + NOEXPR = 53 // langinfo.h:99:1: + NOSTR = 55 // langinfo.h:103:1: + PM_STR = 6 // langinfo.h:41:1: + RADIXCHAR = 50 // langinfo.h:95:1: + THOUSEP = 51 // langinfo.h:96:1: + T_FMT = 3 // langinfo.h:38:1: + T_FMT_AMPM = 4 // langinfo.h:39:1: + YESEXPR = 52 // langinfo.h:98:1: + YESSTR = 54 // langinfo.h:102:1: + X_BSD_ARM__TYPES_H_ = 0 // _types.h:5:1: + X_BSD_MACHINE__TYPES_H_ = 0 // _types.h:29:1: + X_CDEFS_H_ = 0 // cdefs.h:68:1: + X_DARWIN_FEATURE_64_BIT_INODE = 1 // cdefs.h:774:1: + X_DARWIN_FEATURE_ONLY_64_BIT_INODE = 1 // cdefs.h:784:1: + X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1 // cdefs.h:800:1: + X_DARWIN_FEATURE_ONLY_VERS_1050 = 1 // cdefs.h:792:1: + X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3 // cdefs.h:808:1: + X_FILE_OFFSET_BITS = 64 // <builtin>:25:1: + X_FORTIFY_SOURCE = 2 // _types.h:65:1: + X_LANGINFO_H_ = 0 // langinfo.h:30:1: + X_LP64 = 1 // <predefined>:1:1: + X_NL_ITEM = 0 // _nl_item.h:30:1: + X_Nonnull = 0 // cdefs.h:268:1: + X_Null_unspecified = 0 // cdefs.h:271:1: + X_Nullable = 0 // cdefs.h:265:1: + X_SYS__PTHREAD_TYPES_H_ = 0 // _pthread_types.h:30:1: + X_SYS__TYPES_H_ = 0 // _types.h:30:1: ) type Ptrdiff_t = int64 /* <builtin>:3:26 */ @@ -550,6 +550,20 @@ var X__darwin_check_fd_set_overflow uintptr /* <builtin>:146:5: */ // __XNU_PRIVATE_EXTERN is a linkage decoration indicating that a symbol can be // used from other compilation units, but not other libraries or executables. +// We intentionally define to nothing pointer attributes which do not have an +// impact on the ABI. __indexable and __bidi_indexable are not defined because +// of the ABI incompatibility that makes the diagnostic preferable. + +// Similarly, we intentionally define to nothing the +// __ptrcheck_abi_assume_single and __ptrcheck_abi_assume_unsafe_indexable +// macros because they do not lead to an ABI incompatibility. However, we do not +// define the indexable and unsafe_indexable ones because the diagnostic is +// better than the silent ABI break. + +// __unsafe_forge intrinsics are defined as regular C casts. + +// decay operates normally; attribute is meaningless without pointer checks. + // Architecture validation for current SDK // Similar to OS_ENUM/OS_CLOSED_ENUM/OS_OPTIONS/OS_CLOSED_OPTIONS diff --git a/vendor/modernc.org/libc/langinfo/langinfo_linux_amd64.go b/vendor/modernc.org/libc/langinfo/langinfo_linux_amd64.go index a368a0d4..dee83b91 100644 --- a/vendor/modernc.org/libc/langinfo/langinfo_linux_amd64.go +++ b/vendor/modernc.org/libc/langinfo/langinfo_linux_amd64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo langinfo/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o langinfo/langinfo_linux_amd64.go -pkgname langinfo', DO NOT EDIT. +// Code generated by 'ccgo langinfo/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o langinfo/langinfo_linux_amd64.go -pkgname langinfo', DO NOT EDIT. package langinfo @@ -15,24 +15,24 @@ var _ atomic.Value var _ unsafe.Pointer const ( - NL_CAT_LOCALE = 1 - NL_SETD = 1 - X_ATFILE_SOURCE = 1 - X_BITS_LOCALE_H = 1 - X_BITS_TYPES_LOCALE_T_H = 1 - X_BITS_TYPES___LOCALE_T_H = 1 - X_DEFAULT_SOURCE = 1 - X_FEATURES_H = 1 - X_FILE_OFFSET_BITS = 64 - X_LANGINFO_H = 1 - X_LP64 = 1 - X_NL_TYPES_H = 1 - X_POSIX_C_SOURCE = 200809 - X_POSIX_SOURCE = 1 - X_STDC_PREDEF_H = 1 - X_SYS_CDEFS_H = 1 - Linux = 1 - Unix = 1 + NL_CAT_LOCALE = 1 // nl_types.h:27:1: + NL_SETD = 1 // nl_types.h:24:1: + X_ATFILE_SOURCE = 1 // features.h:342:1: + X_BITS_LOCALE_H = 1 // locale.h:24:1: + X_BITS_TYPES_LOCALE_T_H = 1 // locale_t.h:20:1: + X_BITS_TYPES___LOCALE_T_H = 1 // __locale_t.h:21:1: + X_DEFAULT_SOURCE = 1 // features.h:227:1: + X_FEATURES_H = 1 // features.h:19:1: + X_FILE_OFFSET_BITS = 64 // <builtin>:25:1: + X_LANGINFO_H = 1 // langinfo.h:20:1: + X_LP64 = 1 // <predefined>:284:1: + X_NL_TYPES_H = 1 // nl_types.h:19:1: + X_POSIX_C_SOURCE = 200809 // features.h:281:1: + X_POSIX_SOURCE = 1 // features.h:279:1: + X_STDC_PREDEF_H = 1 // <predefined>:162:1: + X_SYS_CDEFS_H = 1 // cdefs.h:19:1: + Linux = 1 // <predefined>:231:1: + Unix = 1 // <predefined>:177:1: ) // Definition of locale category symbol values. diff --git a/vendor/modernc.org/libc/libc.go b/vendor/modernc.org/libc/libc.go index 98d7c217..3cc9e160 100644 --- a/vendor/modernc.org/libc/libc.go +++ b/vendor/modernc.org/libc/libc.go @@ -196,7 +196,12 @@ func Xconfstr(t *TLS, name int32, buf uintptr, len types.Size_t) types.Size_t { // int puts(const char *s); func Xputs(t *TLS, s uintptr) int32 { - panic(todo("")) + n, err := fmt.Printf("%s\n", GoString(s)) + if err != nil { + return stdio.EOF + } + + return int32(n) } var ( diff --git a/vendor/modernc.org/libc/limits/capi_darwin_arm64.go b/vendor/modernc.org/libc/limits/capi_darwin_arm64.go index 41c2cf99..4cf4ad27 100644 --- a/vendor/modernc.org/libc/limits/capi_darwin_arm64.go +++ b/vendor/modernc.org/libc/limits/capi_darwin_arm64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo limits/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o limits/limits_darwin_arm64.go -pkgname limits', DO NOT EDIT. +// Code generated by 'ccgo limits/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o limits/limits_darwin_arm64.go -pkgname limits', DO NOT EDIT. package limits diff --git a/vendor/modernc.org/libc/limits/capi_linux_amd64.go b/vendor/modernc.org/libc/limits/capi_linux_amd64.go index ebab7361..dbe66d82 100644 --- a/vendor/modernc.org/libc/limits/capi_linux_amd64.go +++ b/vendor/modernc.org/libc/limits/capi_linux_amd64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo limits/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o limits/limits_linux_amd64.go -pkgname limits', DO NOT EDIT. +// Code generated by 'ccgo limits/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o limits/limits_linux_amd64.go -pkgname limits', DO NOT EDIT. package limits diff --git a/vendor/modernc.org/libc/limits/limits_linux_amd64.go b/vendor/modernc.org/libc/limits/limits_linux_amd64.go index a9a95595..a9e1bafd 100644 --- a/vendor/modernc.org/libc/limits/limits_linux_amd64.go +++ b/vendor/modernc.org/libc/limits/limits_linux_amd64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo limits/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o limits/limits_linux_amd64.go -pkgname limits', DO NOT EDIT. +// Code generated by 'ccgo limits/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o limits/limits_linux_amd64.go -pkgname limits', DO NOT EDIT. package limits @@ -15,114 +15,114 @@ var _ atomic.Value var _ unsafe.Pointer const ( - AIO_PRIO_DELTA_MAX = 20 - BC_BASE_MAX = 99 - BC_DIM_MAX = 2048 - BC_SCALE_MAX = 99 - BC_STRING_MAX = 1000 - CHARCLASS_NAME_MAX = 2048 - CHAR_BIT = 8 - CHAR_MAX = 127 - CHAR_MIN = -128 - COLL_WEIGHTS_MAX = 255 - DELAYTIMER_MAX = 2147483647 - EXPR_NEST_MAX = 32 - HOST_NAME_MAX = 64 - INT_MAX = 2147483647 - INT_MIN = -2147483648 - LINE_MAX = 2048 - LLONG_MAX = 9223372036854775807 - LLONG_MIN = -9223372036854775808 - LOGIN_NAME_MAX = 256 - LONG_MAX = 9223372036854775807 - LONG_MIN = -9223372036854775808 - MAX_CANON = 255 - MAX_INPUT = 255 - MB_LEN_MAX = 16 - MQ_PRIO_MAX = 32768 - NAME_MAX = 255 - NGROUPS_MAX = 65536 - PATH_MAX = 4096 - PIPE_BUF = 4096 - PTHREAD_DESTRUCTOR_ITERATIONS = 4 - PTHREAD_KEYS_MAX = 1024 - PTHREAD_STACK_MIN = 16384 - RE_DUP_MAX = 32767 - RTSIG_MAX = 32 - SCHAR_MAX = 127 - SCHAR_MIN = -128 - SEM_VALUE_MAX = 2147483647 - SHRT_MAX = 32767 - SHRT_MIN = -32768 - SSIZE_MAX = 9223372036854775807 - TTY_NAME_MAX = 32 - UCHAR_MAX = 255 - UINT_MAX = 4294967295 - ULLONG_MAX = 18446744073709551615 - ULONG_MAX = 18446744073709551615 - USHRT_MAX = 65535 - XATTR_LIST_MAX = 65536 - XATTR_NAME_MAX = 255 - XATTR_SIZE_MAX = 65536 - X_ATFILE_SOURCE = 1 - X_BITS_POSIX1_LIM_H = 1 - X_BITS_POSIX2_LIM_H = 1 - X_DEFAULT_SOURCE = 1 - X_FEATURES_H = 1 - X_FILE_OFFSET_BITS = 64 - X_GCC_LIMITS_H_ = 0 - X_LIBC_LIMITS_H_ = 1 - X_LIMITS_H___ = 0 - X_LINUX_LIMITS_H = 0 - X_LP64 = 1 - X_POSIX2_BC_BASE_MAX = 99 - X_POSIX2_BC_DIM_MAX = 2048 - X_POSIX2_BC_SCALE_MAX = 99 - X_POSIX2_BC_STRING_MAX = 1000 - X_POSIX2_CHARCLASS_NAME_MAX = 14 - X_POSIX2_COLL_WEIGHTS_MAX = 2 - X_POSIX2_EXPR_NEST_MAX = 32 - X_POSIX2_LINE_MAX = 2048 - X_POSIX2_RE_DUP_MAX = 255 - X_POSIX_AIO_LISTIO_MAX = 2 - X_POSIX_AIO_MAX = 1 - X_POSIX_ARG_MAX = 4096 - X_POSIX_CHILD_MAX = 25 - X_POSIX_CLOCKRES_MIN = 20000000 - X_POSIX_C_SOURCE = 200809 - X_POSIX_DELAYTIMER_MAX = 32 - X_POSIX_HOST_NAME_MAX = 255 - X_POSIX_LINK_MAX = 8 - X_POSIX_LOGIN_NAME_MAX = 9 - X_POSIX_MAX_CANON = 255 - X_POSIX_MAX_INPUT = 255 - X_POSIX_MQ_OPEN_MAX = 8 - X_POSIX_MQ_PRIO_MAX = 32 - X_POSIX_NAME_MAX = 14 - X_POSIX_NGROUPS_MAX = 8 - X_POSIX_OPEN_MAX = 20 - X_POSIX_PATH_MAX = 256 - X_POSIX_PIPE_BUF = 512 - X_POSIX_RE_DUP_MAX = 255 - X_POSIX_RTSIG_MAX = 8 - X_POSIX_SEM_NSEMS_MAX = 256 - X_POSIX_SEM_VALUE_MAX = 32767 - X_POSIX_SIGQUEUE_MAX = 32 - X_POSIX_SOURCE = 1 - X_POSIX_SSIZE_MAX = 32767 - X_POSIX_STREAM_MAX = 8 - X_POSIX_SYMLINK_MAX = 255 - X_POSIX_SYMLOOP_MAX = 8 - X_POSIX_THREAD_DESTRUCTOR_ITERATIONS = 4 - X_POSIX_THREAD_KEYS_MAX = 128 - X_POSIX_THREAD_THREADS_MAX = 64 - X_POSIX_TIMER_MAX = 32 - X_POSIX_TTY_NAME_MAX = 9 - X_POSIX_TZNAME_MAX = 6 - X_STDC_PREDEF_H = 1 - X_SYS_CDEFS_H = 1 - Linux = 1 - Unix = 1 + AIO_PRIO_DELTA_MAX = 20 // local_lim.h:78:1: + BC_BASE_MAX = 99 // posix2_lim.h:63:1: + BC_DIM_MAX = 2048 // posix2_lim.h:66:1: + BC_SCALE_MAX = 99 // posix2_lim.h:69:1: + BC_STRING_MAX = 1000 // posix2_lim.h:72:1: + CHARCLASS_NAME_MAX = 2048 // posix2_lim.h:84:1: + CHAR_BIT = 8 // limits.h:64:1: + CHAR_MAX = 127 // limits.h:99:1: + CHAR_MIN = -128 // limits.h:97:1: + COLL_WEIGHTS_MAX = 255 // posix2_lim.h:75:1: + DELAYTIMER_MAX = 2147483647 // local_lim.h:84:1: + EXPR_NEST_MAX = 32 // posix2_lim.h:78:1: + HOST_NAME_MAX = 64 // local_lim.h:93:1: + INT_MAX = 2147483647 // limits.h:120:1: + INT_MIN = -2147483648 // limits.h:118:1: + LINE_MAX = 2048 // posix2_lim.h:81:1: + LLONG_MAX = 9223372036854775807 // limits.h:142:1: + LLONG_MIN = -9223372036854775808 // limits.h:140:1: + LOGIN_NAME_MAX = 256 // local_lim.h:90:1: + LONG_MAX = 9223372036854775807 // limits.h:131:1: + LONG_MIN = -9223372036854775808 // limits.h:129:1: + MAX_CANON = 255 // limits.h:10:1: + MAX_INPUT = 255 // limits.h:11:1: + MB_LEN_MAX = 16 // limits.h:32:1: + MQ_PRIO_MAX = 32768 // local_lim.h:96:1: + NAME_MAX = 255 // limits.h:12:1: + NGROUPS_MAX = 65536 // limits.h:7:1: + PATH_MAX = 4096 // limits.h:13:1: + PIPE_BUF = 4096 // limits.h:14:1: + PTHREAD_DESTRUCTOR_ITERATIONS = 4 // local_lim.h:69:1: + PTHREAD_KEYS_MAX = 1024 // local_lim.h:64:1: + PTHREAD_STACK_MIN = 16384 // local_lim.h:81:1: + RE_DUP_MAX = 32767 // posix2_lim.h:88:1: + RTSIG_MAX = 32 // limits.h:19:1: + SCHAR_MAX = 127 // limits.h:75:1: + SCHAR_MIN = -128 // limits.h:73:1: + SEM_VALUE_MAX = 2147483647 // local_lim.h:99:1: + SHRT_MAX = 32767 // limits.h:106:1: + SHRT_MIN = -32768 // limits.h:104:1: + SSIZE_MAX = 9223372036854775807 // posix1_lim.h:169:1: + TTY_NAME_MAX = 32 // local_lim.h:87:1: + UCHAR_MAX = 255 // limits.h:82:1: + UINT_MAX = 4294967295 // limits.h:124:1: + ULLONG_MAX = 18446744073709551615 // limits.h:146:1: + ULONG_MAX = 18446744073709551615 // limits.h:135:1: + USHRT_MAX = 65535 // limits.h:113:1: + XATTR_LIST_MAX = 65536 // limits.h:17:1: + XATTR_NAME_MAX = 255 // limits.h:15:1: + XATTR_SIZE_MAX = 65536 // limits.h:16:1: + X_ATFILE_SOURCE = 1 // features.h:342:1: + X_BITS_POSIX1_LIM_H = 1 // posix1_lim.h:25:1: + X_BITS_POSIX2_LIM_H = 1 // posix2_lim.h:23:1: + X_DEFAULT_SOURCE = 1 // features.h:227:1: + X_FEATURES_H = 1 // features.h:19:1: + X_FILE_OFFSET_BITS = 64 // <builtin>:25:1: + X_GCC_LIMITS_H_ = 0 // limits.h:30:1: + X_LIBC_LIMITS_H_ = 1 // limits.h:23:1: + X_LIMITS_H___ = 0 // limits.h:60:1: + X_LINUX_LIMITS_H = 0 // limits.h:3:1: + X_LP64 = 1 // <predefined>:284:1: + X_POSIX2_BC_BASE_MAX = 99 // posix2_lim.h:27:1: + X_POSIX2_BC_DIM_MAX = 2048 // posix2_lim.h:30:1: + X_POSIX2_BC_SCALE_MAX = 99 // posix2_lim.h:33:1: + X_POSIX2_BC_STRING_MAX = 1000 // posix2_lim.h:36:1: + X_POSIX2_CHARCLASS_NAME_MAX = 14 // posix2_lim.h:55:1: + X_POSIX2_COLL_WEIGHTS_MAX = 2 // posix2_lim.h:40:1: + X_POSIX2_EXPR_NEST_MAX = 32 // posix2_lim.h:44:1: + X_POSIX2_LINE_MAX = 2048 // posix2_lim.h:47:1: + X_POSIX2_RE_DUP_MAX = 255 // posix2_lim.h:51:1: + X_POSIX_AIO_LISTIO_MAX = 2 // posix1_lim.h:32:1: + X_POSIX_AIO_MAX = 1 // posix1_lim.h:35:1: + X_POSIX_ARG_MAX = 4096 // posix1_lim.h:38:1: + X_POSIX_CHILD_MAX = 25 // posix1_lim.h:42:1: + X_POSIX_CLOCKRES_MIN = 20000000 // posix1_lim.h:157:1: + X_POSIX_C_SOURCE = 200809 // features.h:281:1: + X_POSIX_DELAYTIMER_MAX = 32 // posix1_lim.h:48:1: + X_POSIX_HOST_NAME_MAX = 255 // posix1_lim.h:52:1: + X_POSIX_LINK_MAX = 8 // posix1_lim.h:55:1: + X_POSIX_LOGIN_NAME_MAX = 9 // posix1_lim.h:58:1: + X_POSIX_MAX_CANON = 255 // posix1_lim.h:61:1: + X_POSIX_MAX_INPUT = 255 // posix1_lim.h:65:1: + X_POSIX_MQ_OPEN_MAX = 8 // posix1_lim.h:68:1: + X_POSIX_MQ_PRIO_MAX = 32 // posix1_lim.h:71:1: + X_POSIX_NAME_MAX = 14 // posix1_lim.h:74:1: + X_POSIX_NGROUPS_MAX = 8 // posix1_lim.h:78:1: + X_POSIX_OPEN_MAX = 20 // posix1_lim.h:85:1: + X_POSIX_PATH_MAX = 256 // posix1_lim.h:97:1: + X_POSIX_PIPE_BUF = 512 // posix1_lim.h:100:1: + X_POSIX_RE_DUP_MAX = 255 // posix1_lim.h:104:1: + X_POSIX_RTSIG_MAX = 8 // posix1_lim.h:107:1: + X_POSIX_SEM_NSEMS_MAX = 256 // posix1_lim.h:110:1: + X_POSIX_SEM_VALUE_MAX = 32767 // posix1_lim.h:113:1: + X_POSIX_SIGQUEUE_MAX = 32 // posix1_lim.h:116:1: + X_POSIX_SOURCE = 1 // features.h:279:1: + X_POSIX_SSIZE_MAX = 32767 // posix1_lim.h:119:1: + X_POSIX_STREAM_MAX = 8 // posix1_lim.h:122:1: + X_POSIX_SYMLINK_MAX = 255 // posix1_lim.h:125:1: + X_POSIX_SYMLOOP_MAX = 8 // posix1_lim.h:129:1: + X_POSIX_THREAD_DESTRUCTOR_ITERATIONS = 4 // local_lim.h:67:1: + X_POSIX_THREAD_KEYS_MAX = 128 // local_lim.h:62:1: + X_POSIX_THREAD_THREADS_MAX = 64 // local_lim.h:72:1: + X_POSIX_TIMER_MAX = 32 // posix1_lim.h:132:1: + X_POSIX_TTY_NAME_MAX = 9 // posix1_lim.h:135:1: + X_POSIX_TZNAME_MAX = 6 // posix1_lim.h:139:1: + X_STDC_PREDEF_H = 1 // <predefined>:162:1: + X_SYS_CDEFS_H = 1 // cdefs.h:19:1: + Linux = 1 // <predefined>:231:1: + Unix = 1 // <predefined>:177:1: ) type Ptrdiff_t = int64 /* <builtin>:3:26 */ diff --git a/vendor/modernc.org/libc/musl_darwin_arm64.go b/vendor/modernc.org/libc/musl_darwin_arm64.go index 6b8b9ded..b5f72685 100644 --- a/vendor/modernc.org/libc/musl_darwin_arm64.go +++ b/vendor/modernc.org/libc/musl_darwin_arm64.go @@ -2904,7 +2904,7 @@ func Xgethostbyaddr(tls *TLS, a uintptr, l socklen_t, af int32) uintptr { /* get // var res uintptr at bp, 8 var err int32 - for ok := true; ok; ok = err == 34 { + for __ccgo := true; __ccgo; __ccgo = err == 34 { Xfree(tls, _sh) _sh = Xmalloc(tls, AssignAddUint64(&size, size+uint64(1))) if !(_sh != 0) { @@ -3019,7 +3019,7 @@ func Xgethostbyname2(tls *TLS, name uintptr, af int32) uintptr { /* gethostbynam // var res uintptr at bp, 8 var err int32 - for ok := true; ok; ok = err == 34 { + for __ccgo := true; __ccgo; __ccgo = err == 34 { Xfree(tls, _sh1) _sh1 = Xmalloc(tls, AssignAddUint64(&size, size+uint64(1))) if !(_sh1 != 0) { @@ -3308,7 +3308,7 @@ type res_sym = struct { func itoa(tls *TLS, p uintptr, x uint32) uintptr { /* getnameinfo.c:18:13: */ p += uintptr(uint64(3) * uint64(unsafe.Sizeof(int32(0)))) *(*int8)(unsafe.Pointer(PreDecUintptr(&p, 1))) = int8(0) - for ok := true; ok; ok = x != 0 { + for __ccgo := true; __ccgo; __ccgo = x != 0 { *(*int8)(unsafe.Pointer(PreDecUintptr(&p, 1))) = int8(uint32('0') + x%uint32(10)) x = x / uint32(10) } diff --git a/vendor/modernc.org/libc/musl_linux_amd64.go b/vendor/modernc.org/libc/musl_linux_amd64.go index d7ea0f23..7921d992 100644 --- a/vendor/modernc.org/libc/musl_linux_amd64.go +++ b/vendor/modernc.org/libc/musl_linux_amd64.go @@ -4046,7 +4046,7 @@ func Xgethostbyaddr(tls *TLS, a uintptr, l socklen_t, af int32) uintptr { /* get // var res uintptr at bp, 8 var err int32 - for ok := true; ok; ok = err == 34 { + for __ccgo := true; __ccgo; __ccgo = err == 34 { Xfree(tls, _sh) _sh = Xmalloc(tls, AssignAddUint64(&size, size+uint64(1))) if !(_sh != 0) { @@ -4161,7 +4161,7 @@ func Xgethostbyname2(tls *TLS, name uintptr, af int32) uintptr { /* gethostbynam // var res uintptr at bp, 8 var err int32 - for ok := true; ok; ok = err == 34 { + for __ccgo := true; __ccgo; __ccgo = err == 34 { Xfree(tls, _sh1) _sh1 = Xmalloc(tls, AssignAddUint64(&size, size+uint64(1))) if !(_sh1 != 0) { @@ -4454,7 +4454,7 @@ type res_sym = struct { func itoa(tls *TLS, p uintptr, x uint32) uintptr { /* getnameinfo.c:18:13: */ p += uintptr(uint64(3) * uint64(unsafe.Sizeof(int32(0)))) *(*int8)(unsafe.Pointer(PreDecUintptr(&p, 1))) = int8(0) - for ok := true; ok; ok = x != 0 { + for __ccgo := true; __ccgo; __ccgo = x != 0 { *(*int8)(unsafe.Pointer(PreDecUintptr(&p, 1))) = int8(uint32('0') + x%uint32(10)) x = x / uint32(10) } diff --git a/vendor/modernc.org/libc/netdb/capi_darwin_arm64.go b/vendor/modernc.org/libc/netdb/capi_darwin_arm64.go index 32d21c6d..8fa61c15 100644 --- a/vendor/modernc.org/libc/netdb/capi_darwin_arm64.go +++ b/vendor/modernc.org/libc/netdb/capi_darwin_arm64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo netdb/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o netdb/netdb_darwin_arm64.go -pkgname netdb', DO NOT EDIT. +// Code generated by 'ccgo netdb/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o netdb/netdb_darwin_arm64.go -pkgname netdb', DO NOT EDIT. package netdb diff --git a/vendor/modernc.org/libc/netdb/capi_linux_amd64.go b/vendor/modernc.org/libc/netdb/capi_linux_amd64.go index f8e1b5e3..8be6cacf 100644 --- a/vendor/modernc.org/libc/netdb/capi_linux_amd64.go +++ b/vendor/modernc.org/libc/netdb/capi_linux_amd64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo netdb/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o netdb/netdb_linux_amd64.go -pkgname netdb', DO NOT EDIT. +// Code generated by 'ccgo netdb/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o netdb/netdb_linux_amd64.go -pkgname netdb', DO NOT EDIT. package netdb diff --git a/vendor/modernc.org/libc/netdb/netdb_darwin_arm64.go b/vendor/modernc.org/libc/netdb/netdb_darwin_arm64.go index c7eb6736..7e55e6b6 100644 --- a/vendor/modernc.org/libc/netdb/netdb_darwin_arm64.go +++ b/vendor/modernc.org/libc/netdb/netdb_darwin_arm64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo netdb/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o netdb/netdb_darwin_arm64.go -pkgname netdb', DO NOT EDIT. +// Code generated by 'ccgo netdb/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o netdb/netdb_darwin_arm64.go -pkgname netdb', DO NOT EDIT. package netdb @@ -15,781 +15,781 @@ var _ atomic.Value var _ unsafe.Pointer const ( - AF_APPLETALK = 16 - AF_CCITT = 10 - AF_CHAOS = 5 - AF_CNT = 21 - AF_COIP = 20 - AF_DATAKIT = 9 - AF_DECnet = 12 - AF_DLI = 13 - AF_E164 = 28 - AF_ECMA = 8 - AF_HYLINK = 15 - AF_IEEE80211 = 37 - AF_IMPLINK = 3 - AF_INET = 2 - AF_INET6 = 30 - AF_IPX = 23 - AF_ISDN = 28 - AF_ISO = 7 - AF_LAT = 14 - AF_LINK = 18 - AF_LOCAL = 1 - AF_MAX = 41 - AF_NATM = 31 - AF_NDRV = 27 - AF_NETBIOS = 33 - AF_NS = 6 - AF_OSI = 7 - AF_PPP = 34 - AF_PUP = 4 - AF_RESERVED_36 = 36 - AF_ROUTE = 17 - AF_SIP = 24 - AF_SNA = 11 - AF_SYSTEM = 32 - AF_UNIX = 1 - AF_UNSPEC = 0 - AF_UTUN = 38 - AF_VSOCK = 40 - AI_ADDRCONFIG = 0x00000400 - AI_ALL = 0x00000100 - AI_CANONNAME = 0x00000002 - AI_DEFAULT = 1536 - AI_MASK = 5127 - AI_NUMERICHOST = 0x00000004 - AI_NUMERICSERV = 0x00001000 - AI_PASSIVE = 0x00000001 - AI_UNUSABLE = 0x10000000 - AI_V4MAPPED = 0x00000800 - AI_V4MAPPED_CFG = 0x00000200 - BIG_ENDIAN = 4321 - BYTE_ORDER = 1234 - CONNECT_DATA_AUTHENTICATED = 0x4 - CONNECT_DATA_IDEMPOTENT = 0x2 - CONNECT_RESUME_ON_READ_WRITE = 0x1 - EAI_ADDRFAMILY = 1 - EAI_AGAIN = 2 - EAI_BADFLAGS = 3 - EAI_BADHINTS = 12 - EAI_FAIL = 4 - EAI_FAMILY = 5 - EAI_MAX = 15 - EAI_MEMORY = 6 - EAI_NODATA = 7 - EAI_NONAME = 8 - EAI_OVERFLOW = 14 - EAI_PROTOCOL = 13 - EAI_SERVICE = 9 - EAI_SOCKTYPE = 10 - EAI_SYSTEM = 11 - FD_SETSIZE = 1024 - HOST_NOT_FOUND = 1 - ICMP6_FILTER = 18 - ICMPV6CTL_ND6_ONLINKNSRFC4861 = 50 - INADDR_NONE = 0xffffffff - INET6_ADDRSTRLEN = 46 - INET_ADDRSTRLEN = 16 - INT16_MAX = 32767 - INT16_MIN = -32768 - INT32_MAX = 2147483647 - INT32_MIN = -2147483648 - INT64_MAX = 9223372036854775807 - INT64_MIN = -9223372036854775808 - INT8_MAX = 127 - INT8_MIN = -128 - INTMAX_MAX = 9223372036854775807 - INTMAX_MIN = -9223372036854775808 - INTPTR_MAX = 9223372036854775807 - INTPTR_MIN = -9223372036854775808 - INT_FAST16_MAX = 32767 - INT_FAST16_MIN = -32768 - INT_FAST32_MAX = 2147483647 - INT_FAST32_MIN = -2147483648 - INT_FAST64_MAX = 9223372036854775807 - INT_FAST64_MIN = -9223372036854775808 - INT_FAST8_MAX = 127 - INT_FAST8_MIN = -128 - INT_LEAST16_MAX = 32767 - INT_LEAST16_MIN = -32768 - INT_LEAST32_MAX = 2147483647 - INT_LEAST32_MIN = -2147483648 - INT_LEAST64_MAX = 9223372036854775807 - INT_LEAST64_MIN = -9223372036854775808 - INT_LEAST8_MAX = 127 - INT_LEAST8_MIN = -128 - IN_CLASSA_HOST = 0x00ffffff - IN_CLASSA_MAX = 128 - IN_CLASSA_NET = 0xff000000 - IN_CLASSA_NSHIFT = 24 - IN_CLASSB_HOST = 0x0000ffff - IN_CLASSB_MAX = 65536 - IN_CLASSB_NET = 0xffff0000 - IN_CLASSB_NSHIFT = 16 - IN_CLASSC_HOST = 0x000000ff - IN_CLASSC_NET = 0xffffff00 - IN_CLASSC_NSHIFT = 8 - IN_CLASSD_HOST = 0x0fffffff - IN_CLASSD_NET = 0xf0000000 - IN_CLASSD_NSHIFT = 28 - IN_LOOPBACKNET = 127 - IPCTL_ACCEPTSOURCEROUTE = 13 - IPCTL_DEFTTL = 3 - IPCTL_DIRECTEDBROADCAST = 9 - IPCTL_FASTFORWARDING = 14 - IPCTL_FORWARDING = 1 - IPCTL_GIF_TTL = 16 - IPCTL_INTRQDROPS = 11 - IPCTL_INTRQMAXLEN = 10 - IPCTL_KEEPFAITH = 15 - IPCTL_MAXID = 17 - IPCTL_RTEXPIRE = 5 - IPCTL_RTMAXCACHE = 7 - IPCTL_RTMINEXPIRE = 6 - IPCTL_SENDREDIRECTS = 2 - IPCTL_SOURCEROUTE = 8 - IPCTL_STATS = 12 - IPPORT_HIFIRSTAUTO = 49152 - IPPORT_HILASTAUTO = 65535 - IPPORT_RESERVED = 1024 - IPPORT_RESERVEDSTART = 600 - IPPORT_USERRESERVED = 5000 - IPPROTO_3PC = 34 - IPPROTO_ADFS = 68 - IPPROTO_AH = 51 - IPPROTO_AHIP = 61 - IPPROTO_APES = 99 - IPPROTO_ARGUS = 13 - IPPROTO_AX25 = 93 - IPPROTO_BHA = 49 - IPPROTO_BLT = 30 - IPPROTO_BRSATMON = 76 - IPPROTO_CFTP = 62 - IPPROTO_CHAOS = 16 - IPPROTO_CMTP = 38 - IPPROTO_CPHB = 73 - IPPROTO_CPNX = 72 - IPPROTO_DDP = 37 - IPPROTO_DGP = 86 - IPPROTO_DIVERT = 254 - IPPROTO_DONE = 257 - IPPROTO_DSTOPTS = 60 - IPPROTO_EGP = 8 - IPPROTO_EMCON = 14 - IPPROTO_ENCAP = 98 - IPPROTO_EON = 80 - IPPROTO_ESP = 50 - IPPROTO_ETHERIP = 97 - IPPROTO_FRAGMENT = 44 - IPPROTO_GGP = 3 - IPPROTO_GMTP = 100 - IPPROTO_GRE = 47 - IPPROTO_HELLO = 63 - IPPROTO_HMP = 20 - IPPROTO_HOPOPTS = 0 - IPPROTO_ICMP = 1 - IPPROTO_ICMPV6 = 58 - IPPROTO_IDP = 22 - IPPROTO_IDPR = 35 - IPPROTO_IDRP = 45 - IPPROTO_IGMP = 2 - IPPROTO_IGP = 85 - IPPROTO_IGRP = 88 - IPPROTO_IL = 40 - IPPROTO_INLSP = 52 - IPPROTO_INP = 32 - IPPROTO_IP = 0 - IPPROTO_IPCOMP = 108 - IPPROTO_IPCV = 71 - IPPROTO_IPEIP = 94 - IPPROTO_IPIP = 4 - IPPROTO_IPPC = 67 - IPPROTO_IPV4 = 4 - IPPROTO_IPV6 = 41 - IPPROTO_IRTP = 28 - IPPROTO_KRYPTOLAN = 65 - IPPROTO_LARP = 91 - IPPROTO_LEAF1 = 25 - IPPROTO_LEAF2 = 26 - IPPROTO_MAX = 256 - IPPROTO_MAXID = 52 - IPPROTO_MEAS = 19 - IPPROTO_MHRP = 48 - IPPROTO_MICP = 95 - IPPROTO_MTP = 92 - IPPROTO_MUX = 18 - IPPROTO_ND = 77 - IPPROTO_NHRP = 54 - IPPROTO_NONE = 59 - IPPROTO_NSP = 31 - IPPROTO_NVPII = 11 - IPPROTO_OSPFIGP = 89 - IPPROTO_PGM = 113 - IPPROTO_PIGP = 9 - IPPROTO_PIM = 103 - IPPROTO_PRM = 21 - IPPROTO_PUP = 12 - IPPROTO_PVP = 75 - IPPROTO_RAW = 255 - IPPROTO_RCCMON = 10 - IPPROTO_RDP = 27 - IPPROTO_ROUTING = 43 - IPPROTO_RSVP = 46 - IPPROTO_RVD = 66 - IPPROTO_SATEXPAK = 64 - IPPROTO_SATMON = 69 - IPPROTO_SCCSP = 96 - IPPROTO_SCTP = 132 - IPPROTO_SDRP = 42 - IPPROTO_SEP = 33 - IPPROTO_SRPC = 90 - IPPROTO_ST = 7 - IPPROTO_SVMTP = 82 - IPPROTO_SWIPE = 53 - IPPROTO_TCF = 87 - IPPROTO_TCP = 6 - IPPROTO_TP = 29 - IPPROTO_TPXX = 39 - IPPROTO_TRUNK1 = 23 - IPPROTO_TRUNK2 = 24 - IPPROTO_TTP = 84 - IPPROTO_UDP = 17 - IPPROTO_VINES = 83 - IPPROTO_VISA = 70 - IPPROTO_VMTP = 81 - IPPROTO_WBEXPAK = 79 - IPPROTO_WBMON = 78 - IPPROTO_WSN = 74 - IPPROTO_XNET = 15 - IPPROTO_XTP = 36 - IPV6CTL_ACCEPT_RTADV = 12 - IPV6CTL_ADDRCTLPOLICY = 38 - IPV6CTL_AUTO_FLOWLABEL = 17 - IPV6CTL_AUTO_LINKLOCAL = 35 - IPV6CTL_DAD_COUNT = 16 - IPV6CTL_DEFHLIM = 3 - IPV6CTL_DEFMCASTHLIM = 18 - IPV6CTL_FORWARDING = 1 - IPV6CTL_FORWSRCRT = 5 - IPV6CTL_GIF_HLIM = 19 - IPV6CTL_HDRNESTLIMIT = 15 - IPV6CTL_KAME_VERSION = 20 - IPV6CTL_KEEPFAITH = 13 - IPV6CTL_LOG_INTERVAL = 14 - IPV6CTL_MAXDYNROUTES = 49 - IPV6CTL_MAXFRAGPACKETS = 9 - IPV6CTL_MAXFRAGS = 41 - IPV6CTL_MAXID = 51 - IPV6CTL_MAXIFDEFROUTERS = 48 - IPV6CTL_MAXIFPREFIXES = 47 - IPV6CTL_MCAST_PMTU = 44 - IPV6CTL_MRTPROTO = 8 - IPV6CTL_MRTSTATS = 7 - IPV6CTL_NEIGHBORGCTHRESH = 46 - IPV6CTL_PREFER_TEMPADDR = 37 - IPV6CTL_RIP6STATS = 36 - IPV6CTL_RR_PRUNE = 22 - IPV6CTL_RTEXPIRE = 25 - IPV6CTL_RTMAXCACHE = 27 - IPV6CTL_RTMINEXPIRE = 26 - IPV6CTL_SENDREDIRECTS = 2 - IPV6CTL_SOURCECHECK = 10 - IPV6CTL_SOURCECHECK_LOGINT = 11 - IPV6CTL_STATS = 6 - IPV6CTL_TEMPPLTIME = 33 - IPV6CTL_TEMPVLTIME = 34 - IPV6CTL_ULA_USETEMPADDR = 51 - IPV6CTL_USETEMPADDR = 32 - IPV6CTL_USE_DEFAULTZONE = 39 - IPV6CTL_USE_DEPRECATED = 21 - IPV6CTL_V6ONLY = 24 - IPV6PORT_ANONMAX = 65535 - IPV6PORT_ANONMIN = 49152 - IPV6PORT_RESERVED = 1024 - IPV6PORT_RESERVEDMAX = 1023 - IPV6PORT_RESERVEDMIN = 600 - IPV6PROTO_MAXID = 104 - IPV6_2292DSTOPTS = 23 - IPV6_2292HOPLIMIT = 20 - IPV6_2292HOPOPTS = 22 - IPV6_2292NEXTHOP = 21 - IPV6_2292PKTINFO = 19 - IPV6_2292PKTOPTIONS = 25 - IPV6_2292RTHDR = 24 - IPV6_ADDR_MC_FLAGS_PREFIX = 0x20 - IPV6_ADDR_MC_FLAGS_TRANSIENT = 0x10 - IPV6_ADDR_MC_FLAGS_UNICAST_BASED = 48 - IPV6_BINDV6ONLY = 27 - IPV6_BOUND_IF = 125 - IPV6_CHECKSUM = 26 - IPV6_DEFAULT_MULTICAST_HOPS = 1 - IPV6_DEFAULT_MULTICAST_LOOP = 1 - IPV6_FAITH = 29 - IPV6_FW_ADD = 30 - IPV6_FW_DEL = 31 - IPV6_FW_FLUSH = 32 - IPV6_FW_GET = 34 - IPV6_FW_ZERO = 33 - IPV6_IPSEC_POLICY = 28 - IPV6_JOIN_GROUP = 12 - IPV6_LEAVE_GROUP = 13 - IPV6_MAX_GROUP_SRC_FILTER = 512 - IPV6_MAX_MEMBERSHIPS = 4095 - IPV6_MAX_SOCK_SRC_FILTER = 128 - IPV6_MIN_MEMBERSHIPS = 31 - IPV6_MULTICAST_HOPS = 10 - IPV6_MULTICAST_IF = 9 - IPV6_MULTICAST_LOOP = 11 - IPV6_PORTRANGE = 14 - IPV6_PORTRANGE_DEFAULT = 0 - IPV6_PORTRANGE_HIGH = 1 - IPV6_PORTRANGE_LOW = 2 - IPV6_RECVTCLASS = 35 - IPV6_RTHDR_LOOSE = 0 - IPV6_RTHDR_STRICT = 1 - IPV6_RTHDR_TYPE_0 = 0 - IPV6_SOCKOPT_RESERVED1 = 3 - IPV6_TCLASS = 36 - IPV6_UNICAST_HOPS = 4 - IPV6_V6ONLY = 27 - IP_ADD_MEMBERSHIP = 12 - IP_ADD_SOURCE_MEMBERSHIP = 70 - IP_BLOCK_SOURCE = 72 - IP_BOUND_IF = 25 - IP_DEFAULT_MULTICAST_LOOP = 1 - IP_DEFAULT_MULTICAST_TTL = 1 - IP_DONTFRAG = 28 - IP_DROP_MEMBERSHIP = 13 - IP_DROP_SOURCE_MEMBERSHIP = 71 - IP_DUMMYNET_CONFIGURE = 60 - IP_DUMMYNET_DEL = 61 - IP_DUMMYNET_FLUSH = 62 - IP_DUMMYNET_GET = 64 - IP_FAITH = 22 - IP_FW_ADD = 40 - IP_FW_DEL = 41 - IP_FW_FLUSH = 42 - IP_FW_GET = 44 - IP_FW_RESETLOG = 45 - IP_FW_ZERO = 43 - IP_HDRINCL = 2 - IP_IPSEC_POLICY = 21 - IP_MAX_GROUP_SRC_FILTER = 512 - IP_MAX_MEMBERSHIPS = 4095 - IP_MAX_SOCK_MUTE_FILTER = 128 - IP_MAX_SOCK_SRC_FILTER = 128 - IP_MIN_MEMBERSHIPS = 31 - IP_MSFILTER = 74 - IP_MULTICAST_IF = 9 - IP_MULTICAST_IFINDEX = 66 - IP_MULTICAST_LOOP = 11 - IP_MULTICAST_TTL = 10 - IP_MULTICAST_VIF = 14 - IP_NAT__XXX = 55 - IP_OLD_FW_ADD = 50 - IP_OLD_FW_DEL = 51 - IP_OLD_FW_FLUSH = 52 - IP_OLD_FW_GET = 54 - IP_OLD_FW_RESETLOG = 56 - IP_OLD_FW_ZERO = 53 - IP_OPTIONS = 1 - IP_PKTINFO = 26 - IP_PORTRANGE = 19 - IP_PORTRANGE_DEFAULT = 0 - IP_PORTRANGE_HIGH = 1 - IP_PORTRANGE_LOW = 2 - IP_RECVDSTADDR = 7 - IP_RECVIF = 20 - IP_RECVOPTS = 5 - IP_RECVPKTINFO = 26 - IP_RECVRETOPTS = 6 - IP_RECVTOS = 27 - IP_RECVTTL = 24 - IP_RETOPTS = 8 - IP_RSVP_OFF = 16 - IP_RSVP_ON = 15 - IP_RSVP_VIF_OFF = 18 - IP_RSVP_VIF_ON = 17 - IP_STRIPHDR = 23 - IP_TOS = 3 - IP_TRAFFIC_MGT_BACKGROUND = 65 - IP_TTL = 4 - IP_UNBLOCK_SOURCE = 73 - KEV_DL_ADDMULTI = 7 - KEV_DL_AWDL_RESTRICTED = 26 - KEV_DL_AWDL_UNRESTRICTED = 27 - KEV_DL_DELMULTI = 8 - KEV_DL_IFCAP_CHANGED = 19 - KEV_DL_IFDELEGATE_CHANGED = 25 - KEV_DL_IF_ATTACHED = 9 - KEV_DL_IF_DETACHED = 11 - KEV_DL_IF_DETACHING = 10 - KEV_DL_IF_IDLE_ROUTE_REFCNT = 18 - KEV_DL_ISSUES = 24 - KEV_DL_LINK_ADDRESS_CHANGED = 16 - KEV_DL_LINK_OFF = 12 - KEV_DL_LINK_ON = 13 - KEV_DL_LINK_QUALITY_METRIC_CHANGED = 20 - KEV_DL_LOW_POWER_MODE_CHANGED = 30 - KEV_DL_NODE_ABSENCE = 22 - KEV_DL_NODE_PRESENCE = 21 - KEV_DL_PRIMARY_ELECTED = 23 - KEV_DL_PROTO_ATTACHED = 14 - KEV_DL_PROTO_DETACHED = 15 - KEV_DL_QOS_MODE_CHANGED = 29 - KEV_DL_RRC_STATE_CHANGED = 28 - KEV_DL_SIFFLAGS = 1 - KEV_DL_SIFGENERIC = 6 - KEV_DL_SIFMEDIA = 5 - KEV_DL_SIFMETRICS = 2 - KEV_DL_SIFMTU = 3 - KEV_DL_SIFPHYS = 4 - KEV_DL_SUBCLASS = 2 - KEV_DL_WAKEFLAGS_CHANGED = 17 - KEV_INET6_ADDR_DELETED = 3 - KEV_INET6_CHANGED_ADDR = 2 - KEV_INET6_DEFROUTER = 6 - KEV_INET6_NEW_LL_ADDR = 4 - KEV_INET6_NEW_RTADV_ADDR = 5 - KEV_INET6_NEW_USER_ADDR = 1 - KEV_INET6_REQUEST_NAT64_PREFIX = 7 - KEV_INET6_SUBCLASS = 6 - KEV_INET_ADDR_DELETED = 3 - KEV_INET_ARPCOLLISION = 7 - KEV_INET_ARPRTRALIVE = 10 - KEV_INET_ARPRTRFAILURE = 9 - KEV_INET_CHANGED_ADDR = 2 - KEV_INET_NEW_ADDR = 1 - KEV_INET_PORTINUSE = 8 - KEV_INET_SIFBRDADDR = 5 - KEV_INET_SIFDSTADDR = 4 - KEV_INET_SIFNETMASK = 6 - KEV_INET_SUBCLASS = 1 - LITTLE_ENDIAN = 1234 - MAC_OS_VERSION_11_0 = 110000 - MAC_OS_VERSION_12_0 = 120000 - MAC_OS_X_VERSION_10_0 = 1000 - MAC_OS_X_VERSION_10_1 = 1010 - MAC_OS_X_VERSION_10_10 = 101000 - MAC_OS_X_VERSION_10_10_2 = 101002 - MAC_OS_X_VERSION_10_10_3 = 101003 - MAC_OS_X_VERSION_10_11 = 101100 - MAC_OS_X_VERSION_10_11_2 = 101102 - MAC_OS_X_VERSION_10_11_3 = 101103 - MAC_OS_X_VERSION_10_11_4 = 101104 - MAC_OS_X_VERSION_10_12 = 101200 - MAC_OS_X_VERSION_10_12_1 = 101201 - MAC_OS_X_VERSION_10_12_2 = 101202 - MAC_OS_X_VERSION_10_12_4 = 101204 - MAC_OS_X_VERSION_10_13 = 101300 - MAC_OS_X_VERSION_10_13_1 = 101301 - MAC_OS_X_VERSION_10_13_2 = 101302 - MAC_OS_X_VERSION_10_13_4 = 101304 - MAC_OS_X_VERSION_10_14 = 101400 - MAC_OS_X_VERSION_10_14_1 = 101401 - MAC_OS_X_VERSION_10_14_4 = 101404 - MAC_OS_X_VERSION_10_14_6 = 101406 - MAC_OS_X_VERSION_10_15 = 101500 - MAC_OS_X_VERSION_10_15_1 = 101501 - MAC_OS_X_VERSION_10_16 = 101600 - MAC_OS_X_VERSION_10_2 = 1020 - MAC_OS_X_VERSION_10_3 = 1030 - MAC_OS_X_VERSION_10_4 = 1040 - MAC_OS_X_VERSION_10_5 = 1050 - MAC_OS_X_VERSION_10_6 = 1060 - MAC_OS_X_VERSION_10_7 = 1070 - MAC_OS_X_VERSION_10_8 = 1080 - MAC_OS_X_VERSION_10_9 = 1090 - MCAST_BLOCK_SOURCE = 84 - MCAST_EXCLUDE = 2 - MCAST_INCLUDE = 1 - MCAST_JOIN_GROUP = 80 - MCAST_JOIN_SOURCE_GROUP = 82 - MCAST_LEAVE_GROUP = 81 - MCAST_LEAVE_SOURCE_GROUP = 83 - MCAST_UNBLOCK_SOURCE = 85 - MCAST_UNDEFINED = 0 - MSG_CTRUNC = 0x20 - MSG_DONTROUTE = 0x4 - MSG_DONTWAIT = 0x80 - MSG_EOF = 0x100 - MSG_EOR = 0x8 - MSG_FLUSH = 0x400 - MSG_HAVEMORE = 0x2000 - MSG_HOLD = 0x800 - MSG_NEEDSA = 0x10000 - MSG_NOSIGNAL = 0x80000 - MSG_OOB = 0x1 - MSG_PEEK = 0x2 - MSG_RCVMORE = 0x4000 - MSG_SEND = 0x1000 - MSG_TRUNC = 0x10 - MSG_WAITALL = 0x40 - MSG_WAITSTREAM = 0x200 - NBBY = 8 - NETDB_INTERNAL = -1 - NETDB_SUCCESS = 0 - NETSVC_MRKNG_LVL_L2 = 1 - NETSVC_MRKNG_LVL_L3L2_ALL = 2 - NETSVC_MRKNG_LVL_L3L2_BK = 3 - NETSVC_MRKNG_UNKNOWN = 0 - NET_MAXID = 41 - NET_RT_DUMP = 1 - NET_RT_DUMP2 = 7 - NET_RT_FLAGS = 2 - NET_RT_FLAGS_PRIV = 10 - NET_RT_IFLIST = 3 - NET_RT_IFLIST2 = 6 - NET_RT_MAXID = 11 - NET_RT_STAT = 4 - NET_RT_TRASH = 5 - NET_SERVICE_TYPE_AV = 6 - NET_SERVICE_TYPE_BE = 0 - NET_SERVICE_TYPE_BK = 1 - NET_SERVICE_TYPE_OAM = 7 - NET_SERVICE_TYPE_RD = 8 - NET_SERVICE_TYPE_RV = 5 - NET_SERVICE_TYPE_SIG = 2 - NET_SERVICE_TYPE_VI = 3 - NET_SERVICE_TYPE_VO = 4 - NI_DGRAM = 0x00000010 - NI_MAXHOST = 1025 - NI_MAXSERV = 32 - NI_NAMEREQD = 0x00000004 - NI_NOFQDN = 0x00000001 - NI_NUMERICHOST = 0x00000002 - NI_NUMERICSCOPE = 0x00000100 - NI_NUMERICSERV = 0x00000008 - NI_WITHSCOPEID = 0x00000020 - NO_ADDRESS = 4 - NO_DATA = 4 - NO_RECOVERY = 3 - PDP_ENDIAN = 3412 - PF_APPLETALK = 16 - PF_CCITT = 10 - PF_CHAOS = 5 - PF_CNT = 21 - PF_COIP = 20 - PF_DATAKIT = 9 - PF_DECnet = 12 - PF_DLI = 13 - PF_ECMA = 8 - PF_HYLINK = 15 - PF_IMPLINK = 3 - PF_INET = 2 - PF_INET6 = 30 - PF_IPX = 23 - PF_ISDN = 28 - PF_ISO = 7 - PF_KEY = 29 - PF_LAT = 14 - PF_LINK = 18 - PF_LOCAL = 1 - PF_MAX = 41 - PF_NATM = 31 - PF_NDRV = 27 - PF_NETBIOS = 33 - PF_NS = 6 - PF_OSI = 7 - PF_PIP = 25 - PF_PPP = 34 - PF_PUP = 4 - PF_RESERVED_36 = 36 - PF_ROUTE = 17 - PF_RTIP = 22 - PF_SIP = 24 - PF_SNA = 11 - PF_SYSTEM = 32 - PF_UNIX = 1 - PF_UNSPEC = 0 - PF_UTUN = 38 - PF_VSOCK = 40 - PF_XTP = 19 - PTRDIFF_MAX = 9223372036854775807 - PTRDIFF_MIN = -9223372036854775808 - RSIZE_MAX = 9223372036854775807 - SAE_ASSOCID_ANY = 0 - SAE_CONNID_ANY = 0 - SCM_CREDS = 0x03 - SCM_RIGHTS = 0x01 - SCM_TIMESTAMP = 0x02 - SCM_TIMESTAMP_MONOTONIC = 0x04 - SCOPE_DELIMITER = 37 - SHUT_RD = 0 - SHUT_RDWR = 2 - SHUT_WR = 1 - SIG_ATOMIC_MAX = 2147483647 - SIG_ATOMIC_MIN = -2147483648 - SIN6_LEN = 0 - SIZE_MAX = 18446744073709551615 - SOCK_DGRAM = 2 - SOCK_MAXADDRLEN = 255 - SOCK_RAW = 3 - SOCK_RDM = 4 - SOCK_SEQPACKET = 5 - SOCK_STREAM = 1 - SOL_SOCKET = 0xffff - SOMAXCONN = 128 - SONPX_SETOPTSHUT = 0x000000001 - SO_ACCEPTCONN = 0x0002 - SO_BROADCAST = 0x0020 - SO_DEBUG = 0x0001 - SO_DONTROUTE = 0x0010 - SO_DONTTRUNC = 0x2000 - SO_ERROR = 0x1007 - SO_KEEPALIVE = 0x0008 - SO_LABEL = 0x1010 - SO_LINGER = 0x0080 - SO_LINGER_SEC = 0x1080 - SO_NETSVC_MARKING_LEVEL = 0x1119 - SO_NET_SERVICE_TYPE = 0x1116 - SO_NKE = 0x1021 - SO_NOADDRERR = 0x1023 - SO_NOSIGPIPE = 0x1022 - SO_NOTIFYCONFLICT = 0x1026 - SO_NP_EXTENSIONS = 0x1083 - SO_NREAD = 0x1020 - SO_NUMRCVPKT = 0x1112 - SO_NWRITE = 0x1024 - SO_OOBINLINE = 0x0100 - SO_PEERLABEL = 0x1011 - SO_RANDOMPORT = 0x1082 - SO_RCVBUF = 0x1002 - SO_RCVLOWAT = 0x1004 - SO_RCVTIMEO = 0x1006 - SO_REUSEADDR = 0x0004 - SO_REUSEPORT = 0x0200 - SO_REUSESHAREUID = 0x1025 - SO_SNDBUF = 0x1001 - SO_SNDLOWAT = 0x1003 - SO_SNDTIMEO = 0x1005 - SO_TIMESTAMP = 0x0400 - SO_TIMESTAMP_MONOTONIC = 0x0800 - SO_TYPE = 0x1008 - SO_UPCALLCLOSEWAIT = 0x1027 - SO_USELOOPBACK = 0x0040 - SO_WANTMORE = 0x4000 - SO_WANTOOBFLAG = 0x8000 - TRY_AGAIN = 2 - UINT16_MAX = 65535 - UINT32_MAX = 4294967295 - UINT64_MAX = 18446744073709551615 - UINT8_MAX = 255 - UINTMAX_MAX = 18446744073709551615 - UINTPTR_MAX = 18446744073709551615 - UINT_FAST16_MAX = 65535 - UINT_FAST32_MAX = 4294967295 - UINT_FAST64_MAX = 18446744073709551615 - UINT_FAST8_MAX = 255 - UINT_LEAST16_MAX = 65535 - UINT_LEAST32_MAX = 4294967295 - UINT_LEAST64_MAX = 18446744073709551615 - UINT_LEAST8_MAX = 255 - WCHAR_MAX = 2147483647 - WCHAR_MIN = -2147483648 - WINT_MAX = 2147483647 - WINT_MIN = -2147483648 - X_ARM_ARCH_H = 0 - X_ARM_MACHTYPES_H_ = 0 - X_ARM__ENDIAN_H_ = 0 - X_ARM__PARAM_H_ = 0 - X_BLKCNT_T = 0 - X_BLKSIZE_T = 0 - X_BSD_ARM__TYPES_H_ = 0 - X_BSD_MACHINE_ENDIAN_H_ = 0 - X_BSD_MACHINE_TYPES_H_ = 0 - X_BSD_MACHINE__PARAM_H_ = 0 - X_BSD_MACHINE__TYPES_H_ = 0 - X_CADDR_T = 0 - X_CDEFS_H_ = 0 - X_CLOCK_T = 0 - X_DARWIN_FEATURE_64_BIT_INODE = 1 - X_DARWIN_FEATURE_ONLY_64_BIT_INODE = 1 - X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1 - X_DARWIN_FEATURE_ONLY_VERS_1050 = 1 - X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3 - X_DEV_T = 0 - X_ERRNO_T = 0 - X_FD_SET = 0 - X_FILE_OFFSET_BITS = 64 - X_FORTIFY_SOURCE = 2 - X_FSBLKCNT_T = 0 - X_FSFILCNT_T = 0 - X_GID_T = 0 - X_ID_T = 0 - X_INO64_T = 0 - X_INO_T = 0 - X_INT16_T = 0 - X_INT32_T = 0 - X_INT64_T = 0 - X_INT8_T = 0 - X_INTPTR_T = 0 - X_IN_ADDR_T = 0 - X_IN_PORT_T = 0 - X_KEY_T = 0 - X_LP64 = 1 - X_MACHTYPES_H_ = 0 - X_MODE_T = 0 - X_NETDB_H_ = 0 - X_NETINET6_IN6_H_ = 0 - X_NETINET_IN_H_ = 0 - X_NET_NETKEV_H_ = 0 - X_NLINK_T = 0 - X_Nonnull = 0 - X_Null_unspecified = 0 - X_Nullable = 0 - X_OFF_T = 0 - X_OS_OSBYTEORDERARM_H = 0 - X_OS__OSBYTEORDER_H = 0 - X_PATH_HEQUIV = "/etc/hosts.equiv" - X_PATH_HOSTS = "/etc/hosts" - X_PATH_NETWORKS = "/etc/networks" - X_PATH_PROTOCOLS = "/etc/protocols" - X_PATH_SERVICES = "/etc/services" - X_PID_T = 0 - X_PTHREAD_ATTR_T = 0 - X_PTHREAD_CONDATTR_T = 0 - X_PTHREAD_COND_T = 0 - X_PTHREAD_KEY_T = 0 - X_PTHREAD_MUTEXATTR_T = 0 - X_PTHREAD_MUTEX_T = 0 - X_PTHREAD_ONCE_T = 0 - X_PTHREAD_RWLOCKATTR_T = 0 - X_PTHREAD_RWLOCK_T = 0 - X_PTHREAD_T = 0 - X_QUAD_HIGHWORD = 1 - X_QUAD_LOWWORD = 0 - X_RSIZE_T = 0 - X_SA_FAMILY_T = 0 - X_SIZE_T = 0 - X_SOCKLEN_T = 0 - X_SSIZE_T = 0 - X_SS_MAXSIZE = 128 - X_STRUCT_IOVEC = 0 - X_SUSECONDS_T = 0 - X_SYS_SOCKET_H_ = 0 - X_SYS_TYPES_H_ = 0 - X_SYS__ENDIAN_H_ = 0 - X_SYS__PTHREAD_TYPES_H_ = 0 - X_SYS__TYPES_H_ = 0 - X_TIME_T = 0 - X_UID_T = 0 - X_UINTPTR_T = 0 - X_USECONDS_T = 0 - X_U_CHAR = 0 - X_U_INT = 0 - X_U_INT16_T = 0 - X_U_INT32_T = 0 - X_U_INT64_T = 0 - X_U_INT8_T = 0 - X_U_LONG = 0 - X_U_SHORT = 0 - Pseudo_AF_HDRCMPLT = 35 - Pseudo_AF_KEY = 29 - Pseudo_AF_PIP = 25 - Pseudo_AF_RTIP = 22 - Pseudo_AF_XTP = 19 + AF_APPLETALK = 16 // socket.h:379:1: + AF_CCITT = 10 // socket.h:373:1: + AF_CHAOS = 5 // socket.h:367:1: + AF_CNT = 21 // socket.h:384:1: + AF_COIP = 20 // socket.h:383:1: + AF_DATAKIT = 9 // socket.h:372:1: + AF_DECnet = 12 // socket.h:375:1: + AF_DLI = 13 // socket.h:376:1: + AF_E164 = 28 // socket.h:391:1: + AF_ECMA = 8 // socket.h:371:1: + AF_HYLINK = 15 // socket.h:378:1: + AF_IEEE80211 = 37 // socket.h:403:1: + AF_IMPLINK = 3 // socket.h:365:1: + AF_INET = 2 // socket.h:363:1: + AF_INET6 = 30 // socket.h:394:1: + AF_IPX = 23 // socket.h:386:1: + AF_ISDN = 28 // socket.h:390:1: + AF_ISO = 7 // socket.h:369:1: + AF_LAT = 14 // socket.h:377:1: + AF_LINK = 18 // socket.h:381:1: + AF_LOCAL = 1 // socket.h:361:1: + AF_MAX = 41 // socket.h:406:1: + AF_NATM = 31 // socket.h:396:1: + AF_NDRV = 27 // socket.h:389:1: + AF_NETBIOS = 33 // socket.h:398:1: + AF_NS = 6 // socket.h:368:1: + AF_OSI = 7 // socket.h:370:1: + AF_PPP = 34 // socket.h:399:1: + AF_PUP = 4 // socket.h:366:1: + AF_RESERVED_36 = 36 // socket.h:402:1: + AF_ROUTE = 17 // socket.h:380:1: + AF_SIP = 24 // socket.h:387:1: + AF_SNA = 11 // socket.h:374:1: + AF_SYSTEM = 32 // socket.h:397:1: + AF_UNIX = 1 // socket.h:359:1: + AF_UNSPEC = 0 // socket.h:358:1: + AF_UTUN = 38 // socket.h:404:1: + AF_VSOCK = 40 // socket.h:405:1: + AI_ADDRCONFIG = 0x00000400 // netdb.h:226:1: + AI_ALL = 0x00000100 // netdb.h:222:1: + AI_CANONNAME = 0x00000002 // netdb.h:212:1: + AI_DEFAULT = 1536 // netdb.h:230:1: + AI_MASK = 5127 // netdb.h:217:1: + AI_NUMERICHOST = 0x00000004 // netdb.h:213:1: + AI_NUMERICSERV = 0x00001000 // netdb.h:214:1: + AI_PASSIVE = 0x00000001 // netdb.h:211:1: + AI_UNUSABLE = 0x10000000 // netdb.h:234:1: + AI_V4MAPPED = 0x00000800 // netdb.h:227:1: + AI_V4MAPPED_CFG = 0x00000200 // netdb.h:224:1: + BIG_ENDIAN = 4321 // endian.h:72:1: + BYTE_ORDER = 1234 // endian.h:75:1: + CONNECT_DATA_AUTHENTICATED = 0x4 // socket.h:304:1: + CONNECT_DATA_IDEMPOTENT = 0x2 // socket.h:303:1: + CONNECT_RESUME_ON_READ_WRITE = 0x1 // socket.h:302:1: + EAI_ADDRFAMILY = 1 // netdb.h:185:1: + EAI_AGAIN = 2 // netdb.h:187:1: + EAI_BADFLAGS = 3 // netdb.h:188:1: + EAI_BADHINTS = 12 // netdb.h:200:1: + EAI_FAIL = 4 // netdb.h:189:1: + EAI_FAMILY = 5 // netdb.h:190:1: + EAI_MAX = 15 // netdb.h:205:1: + EAI_MEMORY = 6 // netdb.h:191:1: + EAI_NODATA = 7 // netdb.h:193:1: + EAI_NONAME = 8 // netdb.h:195:1: + EAI_OVERFLOW = 14 // netdb.h:203:1: + EAI_PROTOCOL = 13 // netdb.h:201:1: + EAI_SERVICE = 9 // netdb.h:196:1: + EAI_SOCKTYPE = 10 // netdb.h:197:1: + EAI_SYSTEM = 11 // netdb.h:198:1: + FD_SETSIZE = 1024 // _fd_setsize.h:29:1: + HOST_NOT_FOUND = 1 // netdb.h:174:1: + ICMP6_FILTER = 18 // in6.h:394:1: + ICMPV6CTL_ND6_ONLINKNSRFC4861 = 50 // in6.h:629:1: + INADDR_NONE = 0xffffffff // in.h:342:1: + INET6_ADDRSTRLEN = 46 // in6.h:162:1: + INET_ADDRSTRLEN = 16 // in.h:388:1: + INT16_MAX = 32767 // stdint.h:599:1: + INT16_MIN = -32768 // stdint.h:600:1: + INT32_MAX = 2147483647 // stdint.h:555:1: + INT32_MIN = -2147483648 // stdint.h:556:1: + INT64_MAX = 9223372036854775807 // stdint.h:461:1: + INT64_MIN = -9223372036854775808 // stdint.h:462:1: + INT8_MAX = 127 // stdint.h:621:1: + INT8_MIN = -128 // stdint.h:622:1: + INTMAX_MAX = 9223372036854775807 // stdint.h:663:1: + INTMAX_MIN = -9223372036854775808 // stdint.h:662:1: + INTPTR_MAX = 9223372036854775807 // stdint.h:649:1: + INTPTR_MIN = -9223372036854775808 // stdint.h:648:1: + INT_FAST16_MAX = 32767 // stdint.h:615:1: + INT_FAST16_MIN = -32768 // stdint.h:614:1: + INT_FAST32_MAX = 2147483647 // stdint.h:574:1: + INT_FAST32_MIN = -2147483648 // stdint.h:573:1: + INT_FAST64_MAX = 9223372036854775807 // stdint.h:483:1: + INT_FAST64_MIN = -9223372036854775808 // stdint.h:482:1: + INT_FAST8_MAX = 127 // stdint.h:634:1: + INT_FAST8_MIN = -128 // stdint.h:633:1: + INT_LEAST16_MAX = 32767 // stdint.h:612:1: + INT_LEAST16_MIN = -32768 // stdint.h:611:1: + INT_LEAST32_MAX = 2147483647 // stdint.h:571:1: + INT_LEAST32_MIN = -2147483648 // stdint.h:570:1: + INT_LEAST64_MAX = 9223372036854775807 // stdint.h:480:1: + INT_LEAST64_MIN = -9223372036854775808 // stdint.h:479:1: + INT_LEAST8_MAX = 127 // stdint.h:631:1: + INT_LEAST8_MIN = -128 // stdint.h:630:1: + IN_CLASSA_HOST = 0x00ffffff // in.h:317:1: + IN_CLASSA_MAX = 128 // in.h:318:1: + IN_CLASSA_NET = 0xff000000 // in.h:315:1: + IN_CLASSA_NSHIFT = 24 // in.h:316:1: + IN_CLASSB_HOST = 0x0000ffff // in.h:323:1: + IN_CLASSB_MAX = 65536 // in.h:324:1: + IN_CLASSB_NET = 0xffff0000 // in.h:321:1: + IN_CLASSB_NSHIFT = 16 // in.h:322:1: + IN_CLASSC_HOST = 0x000000ff // in.h:329:1: + IN_CLASSC_NET = 0xffffff00 // in.h:327:1: + IN_CLASSC_NSHIFT = 8 // in.h:328:1: + IN_CLASSD_HOST = 0x0fffffff // in.h:334:1: + IN_CLASSD_NET = 0xf0000000 // in.h:332:1: + IN_CLASSD_NSHIFT = 28 // in.h:333:1: + IN_LOOPBACKNET = 127 // in.h:369:1: + IPCTL_ACCEPTSOURCEROUTE = 13 // in.h:650:1: + IPCTL_DEFTTL = 3 // in.h:638:1: + IPCTL_DIRECTEDBROADCAST = 9 // in.h:646:1: + IPCTL_FASTFORWARDING = 14 // in.h:651:1: + IPCTL_FORWARDING = 1 // in.h:636:1: + IPCTL_GIF_TTL = 16 // in.h:653:1: + IPCTL_INTRQDROPS = 11 // in.h:648:1: + IPCTL_INTRQMAXLEN = 10 // in.h:647:1: + IPCTL_KEEPFAITH = 15 // in.h:652:1: + IPCTL_MAXID = 17 // in.h:654:1: + IPCTL_RTEXPIRE = 5 // in.h:642:1: + IPCTL_RTMAXCACHE = 7 // in.h:644:1: + IPCTL_RTMINEXPIRE = 6 // in.h:643:1: + IPCTL_SENDREDIRECTS = 2 // in.h:637:1: + IPCTL_SOURCEROUTE = 8 // in.h:645:1: + IPCTL_STATS = 12 // in.h:649:1: + IPPORT_HIFIRSTAUTO = 49152 // in.h:286:1: + IPPORT_HILASTAUTO = 65535 // in.h:287:1: + IPPORT_RESERVED = 1024 // in.h:279:1: + IPPORT_RESERVEDSTART = 600 // in.h:295:1: + IPPORT_USERRESERVED = 5000 // in.h:281:1: + IPPROTO_3PC = 34 // in.h:139:1: + IPPROTO_ADFS = 68 // in.h:173:1: + IPPROTO_AH = 51 // in.h:158:1: + IPPROTO_AHIP = 61 // in.h:166:1: + IPPROTO_APES = 99 // in.h:204:1: + IPPROTO_ARGUS = 13 // in.h:116:1: + IPPROTO_AX25 = 93 // in.h:198:1: + IPPROTO_BHA = 49 // in.h:156:1: + IPPROTO_BLT = 30 // in.h:135:1: + IPPROTO_BRSATMON = 76 // in.h:181:1: + IPPROTO_CFTP = 62 // in.h:167:1: + IPPROTO_CHAOS = 16 // in.h:119:1: + IPPROTO_CMTP = 38 // in.h:143:1: + IPPROTO_CPHB = 73 // in.h:178:1: + IPPROTO_CPNX = 72 // in.h:177:1: + IPPROTO_DDP = 37 // in.h:142:1: + IPPROTO_DGP = 86 // in.h:191:1: + IPPROTO_DIVERT = 254 // in.h:213:1: + IPPROTO_DONE = 257 // in.h:221:1: + IPPROTO_DSTOPTS = 60 // in.h:165:1: + IPPROTO_EGP = 8 // in.h:111:1: + IPPROTO_EMCON = 14 // in.h:117:1: + IPPROTO_ENCAP = 98 // in.h:203:1: + IPPROTO_EON = 80 // in.h:185:1: + IPPROTO_ESP = 50 // in.h:157:1: + IPPROTO_ETHERIP = 97 // in.h:202:1: + IPPROTO_FRAGMENT = 44 // in.h:151:1: + IPPROTO_GGP = 3 // in.h:104:1: + IPPROTO_GMTP = 100 // in.h:205:1: + IPPROTO_GRE = 47 // in.h:154:1: + IPPROTO_HELLO = 63 // in.h:168:1: + IPPROTO_HMP = 20 // in.h:125:1: + IPPROTO_HOPOPTS = 0 // in.h:99:1: + IPPROTO_ICMP = 1 // in.h:101:1: + IPPROTO_ICMPV6 = 58 // in.h:163:1: + IPPROTO_IDP = 22 // in.h:127:1: + IPPROTO_IDPR = 35 // in.h:140:1: + IPPROTO_IDRP = 45 // in.h:152:1: + IPPROTO_IGMP = 2 // in.h:103:1: + IPPROTO_IGP = 85 // in.h:190:1: + IPPROTO_IGRP = 88 // in.h:193:1: + IPPROTO_IL = 40 // in.h:145:1: + IPPROTO_INLSP = 52 // in.h:159:1: + IPPROTO_INP = 32 // in.h:137:1: + IPPROTO_IP = 0 // in.h:97:1: + IPPROTO_IPCOMP = 108 // in.h:208:1: + IPPROTO_IPCV = 71 // in.h:176:1: + IPPROTO_IPEIP = 94 // in.h:199:1: + IPPROTO_IPIP = 4 // in.h:106:1: + IPPROTO_IPPC = 67 // in.h:172:1: + IPPROTO_IPV4 = 4 // in.h:105:1: + IPPROTO_IPV6 = 41 // in.h:147:1: + IPPROTO_IRTP = 28 // in.h:133:1: + IPPROTO_KRYPTOLAN = 65 // in.h:170:1: + IPPROTO_LARP = 91 // in.h:196:1: + IPPROTO_LEAF1 = 25 // in.h:130:1: + IPPROTO_LEAF2 = 26 // in.h:131:1: + IPPROTO_MAX = 256 // in.h:218:1: + IPPROTO_MAXID = 52 // in.h:630:1: + IPPROTO_MEAS = 19 // in.h:124:1: + IPPROTO_MHRP = 48 // in.h:155:1: + IPPROTO_MICP = 95 // in.h:200:1: + IPPROTO_MTP = 92 // in.h:197:1: + IPPROTO_MUX = 18 // in.h:123:1: + IPPROTO_ND = 77 // in.h:182:1: + IPPROTO_NHRP = 54 // in.h:161:1: + IPPROTO_NONE = 59 // in.h:164:1: + IPPROTO_NSP = 31 // in.h:136:1: + IPPROTO_NVPII = 11 // in.h:114:1: + IPPROTO_OSPFIGP = 89 // in.h:194:1: + IPPROTO_PGM = 113 // in.h:209:1: + IPPROTO_PIGP = 9 // in.h:112:1: + IPPROTO_PIM = 103 // in.h:207:1: + IPPROTO_PRM = 21 // in.h:126:1: + IPPROTO_PUP = 12 // in.h:115:1: + IPPROTO_PVP = 75 // in.h:180:1: + IPPROTO_RAW = 255 // in.h:215:1: + IPPROTO_RCCMON = 10 // in.h:113:1: + IPPROTO_RDP = 27 // in.h:132:1: + IPPROTO_ROUTING = 43 // in.h:150:1: + IPPROTO_RSVP = 46 // in.h:153:1: + IPPROTO_RVD = 66 // in.h:171:1: + IPPROTO_SATEXPAK = 64 // in.h:169:1: + IPPROTO_SATMON = 69 // in.h:174:1: + IPPROTO_SCCSP = 96 // in.h:201:1: + IPPROTO_SCTP = 132 // in.h:210:1: + IPPROTO_SDRP = 42 // in.h:149:1: + IPPROTO_SEP = 33 // in.h:138:1: + IPPROTO_SRPC = 90 // in.h:195:1: + IPPROTO_ST = 7 // in.h:110:1: + IPPROTO_SVMTP = 82 // in.h:187:1: + IPPROTO_SWIPE = 53 // in.h:160:1: + IPPROTO_TCF = 87 // in.h:192:1: + IPPROTO_TCP = 6 // in.h:108:1: + IPPROTO_TP = 29 // in.h:134:1: + IPPROTO_TPXX = 39 // in.h:144:1: + IPPROTO_TRUNK1 = 23 // in.h:128:1: + IPPROTO_TRUNK2 = 24 // in.h:129:1: + IPPROTO_TTP = 84 // in.h:189:1: + IPPROTO_UDP = 17 // in.h:121:1: + IPPROTO_VINES = 83 // in.h:188:1: + IPPROTO_VISA = 70 // in.h:175:1: + IPPROTO_VMTP = 81 // in.h:186:1: + IPPROTO_WBEXPAK = 79 // in.h:184:1: + IPPROTO_WBMON = 78 // in.h:183:1: + IPPROTO_WSN = 74 // in.h:179:1: + IPPROTO_XNET = 15 // in.h:118:1: + IPPROTO_XTP = 36 // in.h:141:1: + IPV6CTL_ACCEPT_RTADV = 12 // in6.h:594:1: + IPV6CTL_ADDRCTLPOLICY = 38 // in6.h:619:1: + IPV6CTL_AUTO_FLOWLABEL = 17 // in6.h:599:1: + IPV6CTL_AUTO_LINKLOCAL = 35 // in6.h:616:1: + IPV6CTL_DAD_COUNT = 16 // in6.h:598:1: + IPV6CTL_DEFHLIM = 3 // in6.h:583:1: + IPV6CTL_DEFMCASTHLIM = 18 // in6.h:600:1: + IPV6CTL_FORWARDING = 1 // in6.h:581:1: + IPV6CTL_FORWSRCRT = 5 // in6.h:587:1: + IPV6CTL_GIF_HLIM = 19 // in6.h:601:1: + IPV6CTL_HDRNESTLIMIT = 15 // in6.h:597:1: + IPV6CTL_KAME_VERSION = 20 // in6.h:602:1: + IPV6CTL_KEEPFAITH = 13 // in6.h:595:1: + IPV6CTL_LOG_INTERVAL = 14 // in6.h:596:1: + IPV6CTL_MAXDYNROUTES = 49 // in6.h:628:1: + IPV6CTL_MAXFRAGPACKETS = 9 // in6.h:591:1: + IPV6CTL_MAXFRAGS = 41 // in6.h:622:1: + IPV6CTL_MAXID = 51 // in6.h:635:1: + IPV6CTL_MAXIFDEFROUTERS = 48 // in6.h:627:1: + IPV6CTL_MAXIFPREFIXES = 47 // in6.h:626:1: + IPV6CTL_MCAST_PMTU = 44 // in6.h:623:1: + IPV6CTL_MRTPROTO = 8 // in6.h:590:1: + IPV6CTL_MRTSTATS = 7 // in6.h:589:1: + IPV6CTL_NEIGHBORGCTHRESH = 46 // in6.h:625:1: + IPV6CTL_PREFER_TEMPADDR = 37 // in6.h:618:1: + IPV6CTL_RIP6STATS = 36 // in6.h:617:1: + IPV6CTL_RR_PRUNE = 22 // in6.h:604:1: + IPV6CTL_RTEXPIRE = 25 // in6.h:609:1: + IPV6CTL_RTMAXCACHE = 27 // in6.h:611:1: + IPV6CTL_RTMINEXPIRE = 26 // in6.h:610:1: + IPV6CTL_SENDREDIRECTS = 2 // in6.h:582:1: + IPV6CTL_SOURCECHECK = 10 // in6.h:592:1: + IPV6CTL_SOURCECHECK_LOGINT = 11 // in6.h:593:1: + IPV6CTL_STATS = 6 // in6.h:588:1: + IPV6CTL_TEMPPLTIME = 33 // in6.h:614:1: + IPV6CTL_TEMPVLTIME = 34 // in6.h:615:1: + IPV6CTL_ULA_USETEMPADDR = 51 // in6.h:630:1: + IPV6CTL_USETEMPADDR = 32 // in6.h:613:1: + IPV6CTL_USE_DEFAULTZONE = 39 // in6.h:620:1: + IPV6CTL_USE_DEPRECATED = 21 // in6.h:603:1: + IPV6CTL_V6ONLY = 24 // in6.h:608:1: + IPV6PORT_ANONMAX = 65535 // in6.h:144:1: + IPV6PORT_ANONMIN = 49152 // in6.h:143:1: + IPV6PORT_RESERVED = 1024 // in6.h:142:1: + IPV6PORT_RESERVEDMAX = 1023 // in6.h:146:1: + IPV6PORT_RESERVEDMIN = 600 // in6.h:145:1: + IPV6PROTO_MAXID = 104 // in6.h:576:1: + IPV6_2292DSTOPTS = 23 // in6.h:399:1: + IPV6_2292HOPLIMIT = 20 // in6.h:396:1: + IPV6_2292HOPOPTS = 22 // in6.h:398:1: + IPV6_2292NEXTHOP = 21 // in6.h:397:1: + IPV6_2292PKTINFO = 19 // in6.h:395:1: + IPV6_2292PKTOPTIONS = 25 // in6.h:403:1: + IPV6_2292RTHDR = 24 // in6.h:400:1: + IPV6_ADDR_MC_FLAGS_PREFIX = 0x20 // in6.h:306:1: + IPV6_ADDR_MC_FLAGS_TRANSIENT = 0x10 // in6.h:305:1: + IPV6_ADDR_MC_FLAGS_UNICAST_BASED = 48 // in6.h:307:1: + IPV6_BINDV6ONLY = 27 // in6.h:419:1: + IPV6_BOUND_IF = 125 // in6.h:508:1: + IPV6_CHECKSUM = 26 // in6.h:415:1: + IPV6_DEFAULT_MULTICAST_HOPS = 1 // in6.h:520:1: + IPV6_DEFAULT_MULTICAST_LOOP = 1 // in6.h:521:1: + IPV6_FAITH = 29 // in6.h:425:1: + IPV6_FW_ADD = 30 // in6.h:428:1: + IPV6_FW_DEL = 31 // in6.h:429:1: + IPV6_FW_FLUSH = 32 // in6.h:430:1: + IPV6_FW_GET = 34 // in6.h:432:1: + IPV6_FW_ZERO = 33 // in6.h:431:1: + IPV6_IPSEC_POLICY = 28 // in6.h:423:1: + IPV6_JOIN_GROUP = 12 // in6.h:389:1: + IPV6_LEAVE_GROUP = 13 // in6.h:390:1: + IPV6_MAX_GROUP_SRC_FILTER = 512 // in6.h:535:1: + IPV6_MAX_MEMBERSHIPS = 4095 // in6.h:529:1: + IPV6_MAX_SOCK_SRC_FILTER = 128 // in6.h:536:1: + IPV6_MIN_MEMBERSHIPS = 31 // in6.h:528:1: + IPV6_MULTICAST_HOPS = 10 // in6.h:387:1: + IPV6_MULTICAST_IF = 9 // in6.h:386:1: + IPV6_MULTICAST_LOOP = 11 // in6.h:388:1: + IPV6_PORTRANGE = 14 // in6.h:393:1: + IPV6_PORTRANGE_DEFAULT = 0 // in6.h:566:1: + IPV6_PORTRANGE_HIGH = 1 // in6.h:567:1: + IPV6_PORTRANGE_LOW = 2 // in6.h:568:1: + IPV6_RECVTCLASS = 35 // in6.h:440:1: + IPV6_RTHDR_LOOSE = 0 // in6.h:513:1: + IPV6_RTHDR_STRICT = 1 // in6.h:514:1: + IPV6_RTHDR_TYPE_0 = 0 // in6.h:515:1: + IPV6_SOCKOPT_RESERVED1 = 3 // in6.h:383:1: + IPV6_TCLASS = 36 // in6.h:441:1: + IPV6_UNICAST_HOPS = 4 // in6.h:385:1: + IPV6_V6ONLY = 27 // in6.h:417:1: + IP_ADD_MEMBERSHIP = 12 // in.h:418:1: + IP_ADD_SOURCE_MEMBERSHIP = 70 // in.h:465:1: + IP_BLOCK_SOURCE = 72 // in.h:467:1: + IP_BOUND_IF = 25 // in.h:434:1: + IP_DEFAULT_MULTICAST_LOOP = 1 // in.h:486:1: + IP_DEFAULT_MULTICAST_TTL = 1 // in.h:485:1: + IP_DONTFRAG = 28 // in.h:438:1: + IP_DROP_MEMBERSHIP = 13 // in.h:419:1: + IP_DROP_SOURCE_MEMBERSHIP = 71 // in.h:466:1: + IP_DUMMYNET_CONFIGURE = 60 // in.h:456:1: + IP_DUMMYNET_DEL = 61 // in.h:457:1: + IP_DUMMYNET_FLUSH = 62 // in.h:458:1: + IP_DUMMYNET_GET = 64 // in.h:459:1: + IP_FAITH = 22 // in.h:429:1: + IP_FW_ADD = 40 // in.h:440:1: + IP_FW_DEL = 41 // in.h:441:1: + IP_FW_FLUSH = 42 // in.h:442:1: + IP_FW_GET = 44 // in.h:444:1: + IP_FW_RESETLOG = 45 // in.h:445:1: + IP_FW_ZERO = 43 // in.h:443:1: + IP_HDRINCL = 2 // in.h:408:1: + IP_IPSEC_POLICY = 21 // in.h:428:1: + IP_MAX_GROUP_SRC_FILTER = 512 // in.h:500:1: + IP_MAX_MEMBERSHIPS = 4095 // in.h:494:1: + IP_MAX_SOCK_MUTE_FILTER = 128 // in.h:502:1: + IP_MAX_SOCK_SRC_FILTER = 128 // in.h:501:1: + IP_MIN_MEMBERSHIPS = 31 // in.h:493:1: + IP_MSFILTER = 74 // in.h:471:1: + IP_MULTICAST_IF = 9 // in.h:415:1: + IP_MULTICAST_IFINDEX = 66 // in.h:462:1: + IP_MULTICAST_LOOP = 11 // in.h:417:1: + IP_MULTICAST_TTL = 10 // in.h:416:1: + IP_MULTICAST_VIF = 14 // in.h:420:1: + IP_NAT__XXX = 55 // in.h:453:1: + IP_OLD_FW_ADD = 50 // in.h:448:1: + IP_OLD_FW_DEL = 51 // in.h:449:1: + IP_OLD_FW_FLUSH = 52 // in.h:450:1: + IP_OLD_FW_GET = 54 // in.h:452:1: + IP_OLD_FW_RESETLOG = 56 // in.h:454:1: + IP_OLD_FW_ZERO = 53 // in.h:451:1: + IP_OPTIONS = 1 // in.h:407:1: + IP_PKTINFO = 26 // in.h:435:1: + IP_PORTRANGE = 19 // in.h:425:1: + IP_PORTRANGE_DEFAULT = 0 // in.h:594:1: + IP_PORTRANGE_HIGH = 1 // in.h:595:1: + IP_PORTRANGE_LOW = 2 // in.h:596:1: + IP_RECVDSTADDR = 7 // in.h:413:1: + IP_RECVIF = 20 // in.h:426:1: + IP_RECVOPTS = 5 // in.h:411:1: + IP_RECVPKTINFO = 26 // in.h:436:1: + IP_RECVRETOPTS = 6 // in.h:412:1: + IP_RECVTOS = 27 // in.h:437:1: + IP_RECVTTL = 24 // in.h:433:1: + IP_RETOPTS = 8 // in.h:414:1: + IP_RSVP_OFF = 16 // in.h:422:1: + IP_RSVP_ON = 15 // in.h:421:1: + IP_RSVP_VIF_OFF = 18 // in.h:424:1: + IP_RSVP_VIF_ON = 17 // in.h:423:1: + IP_STRIPHDR = 23 // in.h:431:1: + IP_TOS = 3 // in.h:409:1: + IP_TRAFFIC_MGT_BACKGROUND = 65 // in.h:461:1: + IP_TTL = 4 // in.h:410:1: + IP_UNBLOCK_SOURCE = 73 // in.h:468:1: + KEV_DL_ADDMULTI = 7 // net_kev.h:61:1: + KEV_DL_AWDL_RESTRICTED = 26 // net_kev.h:80:1: + KEV_DL_AWDL_UNRESTRICTED = 27 // net_kev.h:81:1: + KEV_DL_DELMULTI = 8 // net_kev.h:62:1: + KEV_DL_IFCAP_CHANGED = 19 // net_kev.h:73:1: + KEV_DL_IFDELEGATE_CHANGED = 25 // net_kev.h:79:1: + KEV_DL_IF_ATTACHED = 9 // net_kev.h:63:1: + KEV_DL_IF_DETACHED = 11 // net_kev.h:65:1: + KEV_DL_IF_DETACHING = 10 // net_kev.h:64:1: + KEV_DL_IF_IDLE_ROUTE_REFCNT = 18 // net_kev.h:72:1: + KEV_DL_ISSUES = 24 // net_kev.h:78:1: + KEV_DL_LINK_ADDRESS_CHANGED = 16 // net_kev.h:70:1: + KEV_DL_LINK_OFF = 12 // net_kev.h:66:1: + KEV_DL_LINK_ON = 13 // net_kev.h:67:1: + KEV_DL_LINK_QUALITY_METRIC_CHANGED = 20 // net_kev.h:74:1: + KEV_DL_LOW_POWER_MODE_CHANGED = 30 // net_kev.h:84:1: + KEV_DL_NODE_ABSENCE = 22 // net_kev.h:76:1: + KEV_DL_NODE_PRESENCE = 21 // net_kev.h:75:1: + KEV_DL_PRIMARY_ELECTED = 23 // net_kev.h:77:1: + KEV_DL_PROTO_ATTACHED = 14 // net_kev.h:68:1: + KEV_DL_PROTO_DETACHED = 15 // net_kev.h:69:1: + KEV_DL_QOS_MODE_CHANGED = 29 // net_kev.h:83:1: + KEV_DL_RRC_STATE_CHANGED = 28 // net_kev.h:82:1: + KEV_DL_SIFFLAGS = 1 // net_kev.h:55:1: + KEV_DL_SIFGENERIC = 6 // net_kev.h:60:1: + KEV_DL_SIFMEDIA = 5 // net_kev.h:59:1: + KEV_DL_SIFMETRICS = 2 // net_kev.h:56:1: + KEV_DL_SIFMTU = 3 // net_kev.h:57:1: + KEV_DL_SIFPHYS = 4 // net_kev.h:58:1: + KEV_DL_SUBCLASS = 2 // net_kev.h:50:1: + KEV_DL_WAKEFLAGS_CHANGED = 17 // net_kev.h:71:1: + KEV_INET6_ADDR_DELETED = 3 // net_kev.h:93:1: + KEV_INET6_CHANGED_ADDR = 2 // net_kev.h:92:1: + KEV_INET6_DEFROUTER = 6 // net_kev.h:96:1: + KEV_INET6_NEW_LL_ADDR = 4 // net_kev.h:94:1: + KEV_INET6_NEW_RTADV_ADDR = 5 // net_kev.h:95:1: + KEV_INET6_NEW_USER_ADDR = 1 // net_kev.h:91:1: + KEV_INET6_REQUEST_NAT64_PREFIX = 7 // net_kev.h:97:1: + KEV_INET6_SUBCLASS = 6 // net_kev.h:89:1: + KEV_INET_ADDR_DELETED = 3 // net_kev.h:39:1: + KEV_INET_ARPCOLLISION = 7 // net_kev.h:43:1: + KEV_INET_ARPRTRALIVE = 10 // net_kev.h:48:1: + KEV_INET_ARPRTRFAILURE = 9 // net_kev.h:47:1: + KEV_INET_CHANGED_ADDR = 2 // net_kev.h:38:1: + KEV_INET_NEW_ADDR = 1 // net_kev.h:37:1: + KEV_INET_PORTINUSE = 8 // net_kev.h:45:1: + KEV_INET_SIFBRDADDR = 5 // net_kev.h:41:1: + KEV_INET_SIFDSTADDR = 4 // net_kev.h:40:1: + KEV_INET_SIFNETMASK = 6 // net_kev.h:42:1: + KEV_INET_SUBCLASS = 1 // net_kev.h:35:1: + LITTLE_ENDIAN = 1234 // endian.h:71:1: + MAC_OS_VERSION_11_0 = 110000 // AvailabilityVersions.h:238:1: + MAC_OS_VERSION_12_0 = 120000 // AvailabilityVersions.h:239:1: + MAC_OS_X_VERSION_10_0 = 1000 // AvailabilityVersions.h:206:1: + MAC_OS_X_VERSION_10_1 = 1010 // AvailabilityVersions.h:207:1: + MAC_OS_X_VERSION_10_10 = 101000 // AvailabilityVersions.h:216:1: + MAC_OS_X_VERSION_10_10_2 = 101002 // AvailabilityVersions.h:217:1: + MAC_OS_X_VERSION_10_10_3 = 101003 // AvailabilityVersions.h:218:1: + MAC_OS_X_VERSION_10_11 = 101100 // AvailabilityVersions.h:219:1: + MAC_OS_X_VERSION_10_11_2 = 101102 // AvailabilityVersions.h:220:1: + MAC_OS_X_VERSION_10_11_3 = 101103 // AvailabilityVersions.h:221:1: + MAC_OS_X_VERSION_10_11_4 = 101104 // AvailabilityVersions.h:222:1: + MAC_OS_X_VERSION_10_12 = 101200 // AvailabilityVersions.h:223:1: + MAC_OS_X_VERSION_10_12_1 = 101201 // AvailabilityVersions.h:224:1: + MAC_OS_X_VERSION_10_12_2 = 101202 // AvailabilityVersions.h:225:1: + MAC_OS_X_VERSION_10_12_4 = 101204 // AvailabilityVersions.h:226:1: + MAC_OS_X_VERSION_10_13 = 101300 // AvailabilityVersions.h:227:1: + MAC_OS_X_VERSION_10_13_1 = 101301 // AvailabilityVersions.h:228:1: + MAC_OS_X_VERSION_10_13_2 = 101302 // AvailabilityVersions.h:229:1: + MAC_OS_X_VERSION_10_13_4 = 101304 // AvailabilityVersions.h:230:1: + MAC_OS_X_VERSION_10_14 = 101400 // AvailabilityVersions.h:231:1: + MAC_OS_X_VERSION_10_14_1 = 101401 // AvailabilityVersions.h:232:1: + MAC_OS_X_VERSION_10_14_4 = 101404 // AvailabilityVersions.h:233:1: + MAC_OS_X_VERSION_10_14_6 = 101406 // AvailabilityVersions.h:234:1: + MAC_OS_X_VERSION_10_15 = 101500 // AvailabilityVersions.h:235:1: + MAC_OS_X_VERSION_10_15_1 = 101501 // AvailabilityVersions.h:236:1: + MAC_OS_X_VERSION_10_16 = 101600 // AvailabilityVersions.h:237:1: + MAC_OS_X_VERSION_10_2 = 1020 // AvailabilityVersions.h:208:1: + MAC_OS_X_VERSION_10_3 = 1030 // AvailabilityVersions.h:209:1: + MAC_OS_X_VERSION_10_4 = 1040 // AvailabilityVersions.h:210:1: + MAC_OS_X_VERSION_10_5 = 1050 // AvailabilityVersions.h:211:1: + MAC_OS_X_VERSION_10_6 = 1060 // AvailabilityVersions.h:212:1: + MAC_OS_X_VERSION_10_7 = 1070 // AvailabilityVersions.h:213:1: + MAC_OS_X_VERSION_10_8 = 1080 // AvailabilityVersions.h:214:1: + MAC_OS_X_VERSION_10_9 = 1090 // AvailabilityVersions.h:215:1: + MCAST_BLOCK_SOURCE = 84 // in.h:478:1: + MCAST_EXCLUDE = 2 // in.h:588:1: + MCAST_INCLUDE = 1 // in.h:587:1: + MCAST_JOIN_GROUP = 80 // in.h:474:1: + MCAST_JOIN_SOURCE_GROUP = 82 // in.h:476:1: + MCAST_LEAVE_GROUP = 81 // in.h:475:1: + MCAST_LEAVE_SOURCE_GROUP = 83 // in.h:477:1: + MCAST_UNBLOCK_SOURCE = 85 // in.h:479:1: + MCAST_UNDEFINED = 0 // in.h:586:1: + MSG_CTRUNC = 0x20 // socket.h:569:1: + MSG_DONTROUTE = 0x4 // socket.h:566:1: + MSG_DONTWAIT = 0x80 // socket.h:572:1: + MSG_EOF = 0x100 // socket.h:573:1: + MSG_EOR = 0x8 // socket.h:567:1: + MSG_FLUSH = 0x400 // socket.h:578:1: + MSG_HAVEMORE = 0x2000 // socket.h:581:1: + MSG_HOLD = 0x800 // socket.h:579:1: + MSG_NEEDSA = 0x10000 // socket.h:584:1: + MSG_NOSIGNAL = 0x80000 // socket.h:588:1: + MSG_OOB = 0x1 // socket.h:564:1: + MSG_PEEK = 0x2 // socket.h:565:1: + MSG_RCVMORE = 0x4000 // socket.h:582:1: + MSG_SEND = 0x1000 // socket.h:580:1: + MSG_TRUNC = 0x10 // socket.h:568:1: + MSG_WAITALL = 0x40 // socket.h:570:1: + MSG_WAITSTREAM = 0x200 // socket.h:576:1: + NBBY = 8 // types.h:186:1: + NETDB_INTERNAL = -1 // netdb.h:171:1: + NETDB_SUCCESS = 0 // netdb.h:172:1: + NETSVC_MRKNG_LVL_L2 = 1 // socket.h:287:1: + NETSVC_MRKNG_LVL_L3L2_ALL = 2 // socket.h:288:1: + NETSVC_MRKNG_LVL_L3L2_BK = 3 // socket.h:289:1: + NETSVC_MRKNG_UNKNOWN = 0 // socket.h:286:1: + NET_MAXID = 41 // socket.h:512:1: + NET_RT_DUMP = 1 // socket.h:525:1: + NET_RT_DUMP2 = 7 // socket.h:531:1: + NET_RT_FLAGS = 2 // socket.h:526:1: + NET_RT_FLAGS_PRIV = 10 // socket.h:536:1: + NET_RT_IFLIST = 3 // socket.h:527:1: + NET_RT_IFLIST2 = 6 // socket.h:530:1: + NET_RT_MAXID = 11 // socket.h:537:1: + NET_RT_STAT = 4 // socket.h:528:1: + NET_RT_TRASH = 5 // socket.h:529:1: + NET_SERVICE_TYPE_AV = 6 // socket.h:280:1: + NET_SERVICE_TYPE_BE = 0 // socket.h:274:1: + NET_SERVICE_TYPE_BK = 1 // socket.h:275:1: + NET_SERVICE_TYPE_OAM = 7 // socket.h:281:1: + NET_SERVICE_TYPE_RD = 8 // socket.h:282:1: + NET_SERVICE_TYPE_RV = 5 // socket.h:279:1: + NET_SERVICE_TYPE_SIG = 2 // socket.h:276:1: + NET_SERVICE_TYPE_VI = 3 // socket.h:277:1: + NET_SERVICE_TYPE_VO = 4 // socket.h:278:1: + NI_DGRAM = 0x00000010 // netdb.h:252:1: + NI_MAXHOST = 1025 // netdb.h:241:1: + NI_MAXSERV = 32 // netdb.h:242:1: + NI_NAMEREQD = 0x00000004 // netdb.h:249:1: + NI_NOFQDN = 0x00000001 // netdb.h:247:1: + NI_NUMERICHOST = 0x00000002 // netdb.h:248:1: + NI_NUMERICSCOPE = 0x00000100 // netdb.h:251:1: + NI_NUMERICSERV = 0x00000008 // netdb.h:250:1: + NI_WITHSCOPEID = 0x00000020 // netdb.h:254:1: + NO_ADDRESS = 4 // netdb.h:179:1: + NO_DATA = 4 // netdb.h:177:1: + NO_RECOVERY = 3 // netdb.h:176:1: + PDP_ENDIAN = 3412 // endian.h:73:1: + PF_APPLETALK = 16 // socket.h:474:1: + PF_CCITT = 10 // socket.h:468:1: + PF_CHAOS = 5 // socket.h:462:1: + PF_CNT = 21 // socket.h:479:1: + PF_COIP = 20 // socket.h:478:1: + PF_DATAKIT = 9 // socket.h:467:1: + PF_DECnet = 12 // socket.h:470:1: + PF_DLI = 13 // socket.h:471:1: + PF_ECMA = 8 // socket.h:466:1: + PF_HYLINK = 15 // socket.h:473:1: + PF_IMPLINK = 3 // socket.h:460:1: + PF_INET = 2 // socket.h:459:1: + PF_INET6 = 30 // socket.h:487:1: + PF_IPX = 23 // socket.h:481:1: + PF_ISDN = 28 // socket.h:485:1: + PF_ISO = 7 // socket.h:464:1: + PF_KEY = 29 // socket.h:486:1: + PF_LAT = 14 // socket.h:472:1: + PF_LINK = 18 // socket.h:476:1: + PF_LOCAL = 1 // socket.h:457:1: + PF_MAX = 41 // socket.h:495:1: + PF_NATM = 31 // socket.h:488:1: + PF_NDRV = 27 // socket.h:484:1: + PF_NETBIOS = 33 // socket.h:490:1: + PF_NS = 6 // socket.h:463:1: + PF_OSI = 7 // socket.h:465:1: + PF_PIP = 25 // socket.h:483:1: + PF_PPP = 34 // socket.h:491:1: + PF_PUP = 4 // socket.h:461:1: + PF_RESERVED_36 = 36 // socket.h:492:1: + PF_ROUTE = 17 // socket.h:475:1: + PF_RTIP = 22 // socket.h:482:1: + PF_SIP = 24 // socket.h:480:1: + PF_SNA = 11 // socket.h:469:1: + PF_SYSTEM = 32 // socket.h:489:1: + PF_UNIX = 1 // socket.h:458:1: + PF_UNSPEC = 0 // socket.h:456:1: + PF_UTUN = 38 // socket.h:493:1: + PF_VSOCK = 40 // socket.h:494:1: + PF_XTP = 19 // socket.h:477:1: + PTRDIFF_MAX = 9223372036854775807 // stdint.h:652:1: + PTRDIFF_MIN = -9223372036854775808 // stdint.h:651:1: + RSIZE_MAX = 9223372036854775807 // stdint.h:658:1: + SAE_ASSOCID_ANY = 0 // socket.h:294:1: + SAE_CONNID_ANY = 0 // socket.h:298:1: + SCM_CREDS = 0x03 // socket.h:674:1: + SCM_RIGHTS = 0x01 // socket.h:671:1: + SCM_TIMESTAMP = 0x02 // socket.h:673:1: + SCM_TIMESTAMP_MONOTONIC = 0x04 // socket.h:675:1: + SCOPE_DELIMITER = 37 // netdb.h:259:1: + SHUT_RD = 0 // socket.h:683:1: + SHUT_RDWR = 2 // socket.h:685:1: + SHUT_WR = 1 // socket.h:684:1: + SIG_ATOMIC_MAX = 2147483647 // stdint.h:668:1: + SIG_ATOMIC_MIN = -2147483648 // stdint.h:667:1: + SIN6_LEN = 0 // in6.h:168:1: + SIZE_MAX = 18446744073709551615 // stdint.h:653:1: + SOCK_DGRAM = 2 // socket.h:113:1: + SOCK_MAXADDRLEN = 255 // socket.h:419:1: + SOCK_RAW = 3 // socket.h:114:1: + SOCK_RDM = 4 // socket.h:116:1: + SOCK_SEQPACKET = 5 // socket.h:118:1: + SOCK_STREAM = 1 // socket.h:112:1: + SOL_SOCKET = 0xffff // socket.h:352:1: + SOMAXCONN = 128 // socket.h:546:1: + SONPX_SETOPTSHUT = 0x000000001 // socket.h:342:1: + SO_ACCEPTCONN = 0x0002 // socket.h:124:1: + SO_BROADCAST = 0x0020 // socket.h:128:1: + SO_DEBUG = 0x0001 // socket.h:123:1: + SO_DONTROUTE = 0x0010 // socket.h:127:1: + SO_DONTTRUNC = 0x2000 // socket.h:143:1: + SO_ERROR = 0x1007 // socket.h:161:1: + SO_KEEPALIVE = 0x0008 // socket.h:126:1: + SO_LABEL = 0x1010 // socket.h:164:1: + SO_LINGER = 0x0080 // socket.h:131:1: + SO_LINGER_SEC = 0x1080 // socket.h:177:1: + SO_NETSVC_MARKING_LEVEL = 0x1119 // socket.h:186:1: + SO_NET_SERVICE_TYPE = 0x1116 // socket.h:183:1: + SO_NKE = 0x1021 // socket.h:168:1: + SO_NOADDRERR = 0x1023 // socket.h:170:1: + SO_NOSIGPIPE = 0x1022 // socket.h:169:1: + SO_NOTIFYCONFLICT = 0x1026 // socket.h:174:1: + SO_NP_EXTENSIONS = 0x1083 // socket.h:179:1: + SO_NREAD = 0x1020 // socket.h:167:1: + SO_NUMRCVPKT = 0x1112 // socket.h:182:1: + SO_NWRITE = 0x1024 // socket.h:171:1: + SO_OOBINLINE = 0x0100 // socket.h:135:1: + SO_PEERLABEL = 0x1011 // socket.h:165:1: + SO_RANDOMPORT = 0x1082 // socket.h:178:1: + SO_RCVBUF = 0x1002 // socket.h:156:1: + SO_RCVLOWAT = 0x1004 // socket.h:158:1: + SO_RCVTIMEO = 0x1006 // socket.h:160:1: + SO_REUSEADDR = 0x0004 // socket.h:125:1: + SO_REUSEPORT = 0x0200 // socket.h:137:1: + SO_REUSESHAREUID = 0x1025 // socket.h:172:1: + SO_SNDBUF = 0x1001 // socket.h:155:1: + SO_SNDLOWAT = 0x1003 // socket.h:157:1: + SO_SNDTIMEO = 0x1005 // socket.h:159:1: + SO_TIMESTAMP = 0x0400 // socket.h:138:1: + SO_TIMESTAMP_MONOTONIC = 0x0800 // socket.h:139:1: + SO_TYPE = 0x1008 // socket.h:162:1: + SO_UPCALLCLOSEWAIT = 0x1027 // socket.h:175:1: + SO_USELOOPBACK = 0x0040 // socket.h:130:1: + SO_WANTMORE = 0x4000 // socket.h:145:1: + SO_WANTOOBFLAG = 0x8000 // socket.h:146:1: + TRY_AGAIN = 2 // netdb.h:175:1: + UINT16_MAX = 65535 // stdint.h:601:1: + UINT32_MAX = 4294967295 // stdint.h:557:1: + UINT64_MAX = 18446744073709551615 // stdint.h:463:1: + UINT8_MAX = 255 // stdint.h:623:1: + UINTMAX_MAX = 18446744073709551615 // stdint.h:664:1: + UINTPTR_MAX = 18446744073709551615 // stdint.h:650:1: + UINT_FAST16_MAX = 65535 // stdint.h:616:1: + UINT_FAST32_MAX = 4294967295 // stdint.h:575:1: + UINT_FAST64_MAX = 18446744073709551615 // stdint.h:484:1: + UINT_FAST8_MAX = 255 // stdint.h:635:1: + UINT_LEAST16_MAX = 65535 // stdint.h:613:1: + UINT_LEAST32_MAX = 4294967295 // stdint.h:572:1: + UINT_LEAST64_MAX = 18446744073709551615 // stdint.h:481:1: + UINT_LEAST8_MAX = 255 // stdint.h:632:1: + WCHAR_MAX = 2147483647 // stdint.h:678:1: + WCHAR_MIN = -2147483648 // stdint.h:682:1: + WINT_MAX = 2147483647 // stdint.h:674:1: + WINT_MIN = -2147483648 // stdint.h:673:1: + X_ARM_ARCH_H = 0 // arch.h:29:1: + X_ARM_MACHTYPES_H_ = 0 // types.h:43:1: + X_ARM__ENDIAN_H_ = 0 // endian.h:43:1: + X_ARM__PARAM_H_ = 0 // _param.h:6:1: + X_BLKCNT_T = 0 // _blkcnt_t.h:29:1: + X_BLKSIZE_T = 0 // _blksize_t.h:29:1: + X_BSD_ARM__TYPES_H_ = 0 // _types.h:5:1: + X_BSD_MACHINE_ENDIAN_H_ = 0 // endian.h:32:1: + X_BSD_MACHINE_TYPES_H_ = 0 // types.h:32:1: + X_BSD_MACHINE__PARAM_H_ = 0 // _param.h:29:1: + X_BSD_MACHINE__TYPES_H_ = 0 // _types.h:29:1: + X_CADDR_T = 0 // _caddr_t.h:29:1: + X_CDEFS_H_ = 0 // cdefs.h:68:1: + X_CLOCK_T = 0 // _clock_t.h:29:1: + X_DARWIN_FEATURE_64_BIT_INODE = 1 // cdefs.h:774:1: + X_DARWIN_FEATURE_ONLY_64_BIT_INODE = 1 // cdefs.h:784:1: + X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1 // cdefs.h:800:1: + X_DARWIN_FEATURE_ONLY_VERS_1050 = 1 // cdefs.h:792:1: + X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3 // cdefs.h:808:1: + X_DEV_T = 0 // _dev_t.h:29:1: + X_ERRNO_T = 0 // _errno_t.h:29:1: + X_FD_SET = 0 // _fd_def.h:29:1: + X_FILE_OFFSET_BITS = 64 // <builtin>:25:1: + X_FORTIFY_SOURCE = 2 // _types.h:65:1: + X_FSBLKCNT_T = 0 // _fsblkcnt_t.h:29:1: + X_FSFILCNT_T = 0 // _fsfilcnt_t.h:29:1: + X_GID_T = 0 // _gid_t.h:29:1: + X_ID_T = 0 // _id_t.h:29:1: + X_INO64_T = 0 // _ino64_t.h:29:1: + X_INO_T = 0 // _ino_t.h:29:1: + X_INT16_T = 0 // _int16_t.h:29:1: + X_INT32_T = 0 // _int32_t.h:29:1: + X_INT64_T = 0 // _int64_t.h:29:1: + X_INT8_T = 0 // _int8_t.h:29:1: + X_INTPTR_T = 0 // _intptr_t.h:29:1: + X_IN_ADDR_T = 0 // _in_addr_t.h:29:1: + X_IN_PORT_T = 0 // _in_port_t.h:29:1: + X_KEY_T = 0 // _key_t.h:29:1: + X_LP64 = 1 // <predefined>:1:1: + X_MACHTYPES_H_ = 0 // types.h:44:1: + X_MODE_T = 0 // _mode_t.h:29:1: + X_NETDB_H_ = 0 // netdb.h:84:1: + X_NETINET6_IN6_H_ = 0 // in6.h:99:1: + X_NETINET_IN_H_ = 0 // in.h:65:1: + X_NET_NETKEV_H_ = 0 // net_kev.h:30:1: + X_NLINK_T = 0 // _nlink_t.h:29:1: + X_Nonnull = 0 // cdefs.h:268:1: + X_Null_unspecified = 0 // cdefs.h:271:1: + X_Nullable = 0 // cdefs.h:265:1: + X_OFF_T = 0 // _off_t.h:29:1: + X_OS_OSBYTEORDERARM_H = 0 // OSByteOrder.h:6:1: + X_OS__OSBYTEORDER_H = 0 // _OSByteOrder.h:30:1: + X_PATH_HEQUIV = "/etc/hosts.equiv" // netdb.h:94:1: + X_PATH_HOSTS = "/etc/hosts" // netdb.h:96:1: + X_PATH_NETWORKS = "/etc/networks" // netdb.h:97:1: + X_PATH_PROTOCOLS = "/etc/protocols" // netdb.h:98:1: + X_PATH_SERVICES = "/etc/services" // netdb.h:99:1: + X_PID_T = 0 // _pid_t.h:29:1: + X_PTHREAD_ATTR_T = 0 // _pthread_attr_t.h:29:1: + X_PTHREAD_CONDATTR_T = 0 // _pthread_condattr_t.h:29:1: + X_PTHREAD_COND_T = 0 // _pthread_cond_t.h:29:1: + X_PTHREAD_KEY_T = 0 // _pthread_key_t.h:29:1: + X_PTHREAD_MUTEXATTR_T = 0 // _pthread_mutexattr_t.h:29:1: + X_PTHREAD_MUTEX_T = 0 // _pthread_mutex_t.h:29:1: + X_PTHREAD_ONCE_T = 0 // _pthread_once_t.h:29:1: + X_PTHREAD_RWLOCKATTR_T = 0 // _pthread_rwlockattr_t.h:29:1: + X_PTHREAD_RWLOCK_T = 0 // _pthread_rwlock_t.h:29:1: + X_PTHREAD_T = 0 // _pthread_t.h:29:1: + X_QUAD_HIGHWORD = 1 // endian.h:56:1: + X_QUAD_LOWWORD = 0 // endian.h:57:1: + X_RSIZE_T = 0 // _rsize_t.h:29:1: + X_SA_FAMILY_T = 0 // _sa_family_t.h:29:1: + X_SIZE_T = 0 // _size_t.h:29:1: + X_SOCKLEN_T = 0 // _socklen_t.h:29:1: + X_SSIZE_T = 0 // _ssize_t.h:29:1: + X_SS_MAXSIZE = 128 // socket.h:434:1: + X_STRUCT_IOVEC = 0 // _iovec_t.h:29:1: + X_SUSECONDS_T = 0 // _suseconds_t.h:29:1: + X_SYS_SOCKET_H_ = 0 // socket.h:73:1: + X_SYS_TYPES_H_ = 0 // types.h:70:1: + X_SYS__ENDIAN_H_ = 0 // _endian.h:91:1: + X_SYS__PTHREAD_TYPES_H_ = 0 // _pthread_types.h:30:1: + X_SYS__TYPES_H_ = 0 // _types.h:30:1: + X_TIME_T = 0 // _time_t.h:29:1: + X_UID_T = 0 // _uid_t.h:29:1: + X_UINTPTR_T = 0 // _uintptr_t.h:29:1: + X_USECONDS_T = 0 // _useconds_t.h:29:1: + X_U_CHAR = 0 // _u_char.h:29:1: + X_U_INT = 0 // _u_int.h:29:1: + X_U_INT16_T = 0 // _u_int16_t.h:29:1: + X_U_INT32_T = 0 // _u_int32_t.h:29:1: + X_U_INT64_T = 0 // _u_int64_t.h:29:1: + X_U_INT8_T = 0 // _u_int8_t.h:29:1: + X_U_LONG = 0 // types.h:89:1: + X_U_SHORT = 0 // _u_short.h:29:1: + Pseudo_AF_HDRCMPLT = 35 // socket.h:400:1: + Pseudo_AF_KEY = 29 // socket.h:392:1: + Pseudo_AF_PIP = 25 // socket.h:388:1: + Pseudo_AF_RTIP = 22 // socket.h:385:1: + Pseudo_AF_XTP = 19 // socket.h:382:1: ) type Ptrdiff_t = int64 /* <builtin>:3:26 */ @@ -1298,6 +1298,20 @@ var X__darwin_check_fd_set_overflow uintptr /* <builtin>:146:5: */ // __XNU_PRIVATE_EXTERN is a linkage decoration indicating that a symbol can be // used from other compilation units, but not other libraries or executables. +// We intentionally define to nothing pointer attributes which do not have an +// impact on the ABI. __indexable and __bidi_indexable are not defined because +// of the ABI incompatibility that makes the diagnostic preferable. + +// Similarly, we intentionally define to nothing the +// __ptrcheck_abi_assume_single and __ptrcheck_abi_assume_unsafe_indexable +// macros because they do not lead to an ABI incompatibility. However, we do not +// define the indexable and unsafe_indexable ones because the diagnostic is +// better than the silent ABI break. + +// __unsafe_forge intrinsics are defined as regular C casts. + +// decay operates normally; attribute is meaningless without pointer checks. + // Architecture validation for current SDK // Similar to OS_ENUM/OS_CLOSED_ENUM/OS_OPTIONS/OS_CLOSED_OPTIONS diff --git a/vendor/modernc.org/libc/netdb/netdb_linux_amd64.go b/vendor/modernc.org/libc/netdb/netdb_linux_amd64.go index 42f1fff3..d6474a79 100644 --- a/vendor/modernc.org/libc/netdb/netdb_linux_amd64.go +++ b/vendor/modernc.org/libc/netdb/netdb_linux_amd64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo netdb/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o netdb/netdb_linux_amd64.go -pkgname netdb', DO NOT EDIT. +// Code generated by 'ccgo netdb/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o netdb/netdb_linux_amd64.go -pkgname netdb', DO NOT EDIT. package netdb @@ -15,450 +15,450 @@ var _ atomic.Value var _ unsafe.Pointer const ( - AF_ALG = 38 - AF_APPLETALK = 5 - AF_ASH = 18 - AF_ATMPVC = 8 - AF_ATMSVC = 20 - AF_AX25 = 3 - AF_BLUETOOTH = 31 - AF_BRIDGE = 7 - AF_CAIF = 37 - AF_CAN = 29 - AF_DECnet = 12 - AF_ECONET = 19 - AF_FILE = 1 - AF_IB = 27 - AF_IEEE802154 = 36 - AF_INET = 2 - AF_INET6 = 10 - AF_IPX = 4 - AF_IRDA = 23 - AF_ISDN = 34 - AF_IUCV = 32 - AF_KCM = 41 - AF_KEY = 15 - AF_LLC = 26 - AF_LOCAL = 1 - AF_MAX = 45 - AF_MPLS = 28 - AF_NETBEUI = 13 - AF_NETLINK = 16 - AF_NETROM = 6 - AF_NFC = 39 - AF_PACKET = 17 - AF_PHONET = 35 - AF_PPPOX = 24 - AF_QIPCRTR = 42 - AF_RDS = 21 - AF_ROSE = 11 - AF_ROUTE = 16 - AF_RXRPC = 33 - AF_SECURITY = 14 - AF_SMC = 43 - AF_SNA = 22 - AF_TIPC = 30 - AF_UNIX = 1 - AF_UNSPEC = 0 - AF_VSOCK = 40 - AF_WANPIPE = 25 - AF_X25 = 9 - AF_XDP = 44 - AI_ADDRCONFIG = 0x0020 - AI_ALL = 0x0010 - AI_CANONNAME = 0x0002 - AI_NUMERICHOST = 0x0004 - AI_NUMERICSERV = 0x0400 - AI_PASSIVE = 0x0001 - AI_V4MAPPED = 0x0008 - BIG_ENDIAN = 4321 - BYTE_ORDER = 1234 - EAI_AGAIN = -3 - EAI_BADFLAGS = -1 - EAI_FAIL = -4 - EAI_FAMILY = -6 - EAI_MEMORY = -10 - EAI_NONAME = -2 - EAI_OVERFLOW = -12 - EAI_SERVICE = -8 - EAI_SOCKTYPE = -7 - EAI_SYSTEM = -11 - FD_SETSIZE = 1024 - FIOGETOWN = 0x8903 - FIOSETOWN = 0x8901 - HOST_NOT_FOUND = 1 - INET6_ADDRSTRLEN = 46 - INET_ADDRSTRLEN = 16 - IN_CLASSA_HOST = 16777215 - IN_CLASSA_MAX = 128 - IN_CLASSA_NET = 0xff000000 - IN_CLASSA_NSHIFT = 24 - IN_CLASSB_HOST = 65535 - IN_CLASSB_MAX = 65536 - IN_CLASSB_NET = 0xffff0000 - IN_CLASSB_NSHIFT = 16 - IN_CLASSC_HOST = 255 - IN_CLASSC_NET = 0xffffff00 - IN_CLASSC_NSHIFT = 8 - IN_LOOPBACKNET = 127 - IPPORT_RESERVED1 = 1024 - IPV6_2292DSTOPTS = 4 - IPV6_2292HOPLIMIT = 8 - IPV6_2292HOPOPTS = 3 - IPV6_2292PKTINFO = 2 - IPV6_2292PKTOPTIONS = 6 - IPV6_2292RTHDR = 5 - IPV6_ADDRFORM = 1 - IPV6_ADDR_PREFERENCES = 72 - IPV6_ADD_MEMBERSHIP = 20 - IPV6_AUTHHDR = 10 - IPV6_AUTOFLOWLABEL = 70 - IPV6_CHECKSUM = 7 - IPV6_DONTFRAG = 62 - IPV6_DROP_MEMBERSHIP = 21 - IPV6_DSTOPTS = 59 - IPV6_FREEBIND = 78 - IPV6_HDRINCL = 36 - IPV6_HOPLIMIT = 52 - IPV6_HOPOPTS = 54 - IPV6_IPSEC_POLICY = 34 - IPV6_JOIN_ANYCAST = 27 - IPV6_JOIN_GROUP = 20 - IPV6_LEAVE_ANYCAST = 28 - IPV6_LEAVE_GROUP = 21 - IPV6_MINHOPCOUNT = 73 - IPV6_MTU = 24 - IPV6_MTU_DISCOVER = 23 - IPV6_MULTICAST_ALL = 29 - IPV6_MULTICAST_HOPS = 18 - IPV6_MULTICAST_IF = 17 - IPV6_MULTICAST_LOOP = 19 - IPV6_NEXTHOP = 9 - IPV6_ORIGDSTADDR = 74 - IPV6_PATHMTU = 61 - IPV6_PKTINFO = 50 - IPV6_PMTUDISC_DO = 2 - IPV6_PMTUDISC_DONT = 0 - IPV6_PMTUDISC_INTERFACE = 4 - IPV6_PMTUDISC_OMIT = 5 - IPV6_PMTUDISC_PROBE = 3 - IPV6_PMTUDISC_WANT = 1 - IPV6_RECVDSTOPTS = 58 - IPV6_RECVERR = 25 - IPV6_RECVFRAGSIZE = 77 - IPV6_RECVHOPLIMIT = 51 - IPV6_RECVHOPOPTS = 53 - IPV6_RECVORIGDSTADDR = 74 - IPV6_RECVPATHMTU = 60 - IPV6_RECVPKTINFO = 49 - IPV6_RECVRTHDR = 56 - IPV6_RECVTCLASS = 66 - IPV6_ROUTER_ALERT = 22 - IPV6_ROUTER_ALERT_ISOLATE = 30 - IPV6_RTHDR = 57 - IPV6_RTHDRDSTOPTS = 55 - IPV6_RTHDR_LOOSE = 0 - IPV6_RTHDR_STRICT = 1 - IPV6_RTHDR_TYPE_0 = 0 - IPV6_RXDSTOPTS = 59 - IPV6_RXHOPOPTS = 54 - IPV6_TCLASS = 67 - IPV6_TRANSPARENT = 75 - IPV6_UNICAST_HOPS = 16 - IPV6_UNICAST_IF = 76 - IPV6_V6ONLY = 26 - IPV6_XFRM_POLICY = 35 - IP_ADD_MEMBERSHIP = 35 - IP_ADD_SOURCE_MEMBERSHIP = 39 - IP_BIND_ADDRESS_NO_PORT = 24 - IP_BLOCK_SOURCE = 38 - IP_CHECKSUM = 23 - IP_DEFAULT_MULTICAST_LOOP = 1 - IP_DEFAULT_MULTICAST_TTL = 1 - IP_DROP_MEMBERSHIP = 36 - IP_DROP_SOURCE_MEMBERSHIP = 40 - IP_FREEBIND = 15 - IP_HDRINCL = 3 - IP_IPSEC_POLICY = 16 - IP_MAX_MEMBERSHIPS = 20 - IP_MINTTL = 21 - IP_MSFILTER = 41 - IP_MTU = 14 - IP_MTU_DISCOVER = 10 - IP_MULTICAST_ALL = 49 - IP_MULTICAST_IF = 32 - IP_MULTICAST_LOOP = 34 - IP_MULTICAST_TTL = 33 - IP_NODEFRAG = 22 - IP_OPTIONS = 4 - IP_ORIGDSTADDR = 20 - IP_PASSSEC = 18 - IP_PKTINFO = 8 - IP_PKTOPTIONS = 9 - IP_PMTUDISC = 10 - IP_PMTUDISC_DO = 2 - IP_PMTUDISC_DONT = 0 - IP_PMTUDISC_INTERFACE = 4 - IP_PMTUDISC_OMIT = 5 - IP_PMTUDISC_PROBE = 3 - IP_PMTUDISC_WANT = 1 - IP_RECVERR = 11 - IP_RECVFRAGSIZE = 25 - IP_RECVOPTS = 6 - IP_RECVORIGDSTADDR = 20 - IP_RECVRETOPTS = 7 - IP_RECVTOS = 13 - IP_RECVTTL = 12 - IP_RETOPTS = 7 - IP_ROUTER_ALERT = 5 - IP_TOS = 1 - IP_TRANSPARENT = 19 - IP_TTL = 2 - IP_UNBLOCK_SOURCE = 37 - IP_UNICAST_IF = 50 - IP_XFRM_POLICY = 17 - LITTLE_ENDIAN = 1234 - MCAST_BLOCK_SOURCE = 43 - MCAST_EXCLUDE = 0 - MCAST_INCLUDE = 1 - MCAST_JOIN_GROUP = 42 - MCAST_JOIN_SOURCE_GROUP = 46 - MCAST_LEAVE_GROUP = 45 - MCAST_LEAVE_SOURCE_GROUP = 47 - MCAST_MSFILTER = 48 - MCAST_UNBLOCK_SOURCE = 44 - NETDB_INTERNAL = -1 - NETDB_SUCCESS = 0 - NI_DGRAM = 16 - NI_MAXHOST = 1025 - NI_MAXSERV = 32 - NI_NAMEREQD = 8 - NI_NOFQDN = 4 - NI_NUMERICHOST = 1 - NI_NUMERICSERV = 2 - NO_ADDRESS = 4 - NO_DATA = 4 - NO_RECOVERY = 3 - PDP_ENDIAN = 3412 - PF_ALG = 38 - PF_APPLETALK = 5 - PF_ASH = 18 - PF_ATMPVC = 8 - PF_ATMSVC = 20 - PF_AX25 = 3 - PF_BLUETOOTH = 31 - PF_BRIDGE = 7 - PF_CAIF = 37 - PF_CAN = 29 - PF_DECnet = 12 - PF_ECONET = 19 - PF_FILE = 1 - PF_IB = 27 - PF_IEEE802154 = 36 - PF_INET = 2 - PF_INET6 = 10 - PF_IPX = 4 - PF_IRDA = 23 - PF_ISDN = 34 - PF_IUCV = 32 - PF_KCM = 41 - PF_KEY = 15 - PF_LLC = 26 - PF_LOCAL = 1 - PF_MAX = 45 - PF_MPLS = 28 - PF_NETBEUI = 13 - PF_NETLINK = 16 - PF_NETROM = 6 - PF_NFC = 39 - PF_PACKET = 17 - PF_PHONET = 35 - PF_PPPOX = 24 - PF_QIPCRTR = 42 - PF_RDS = 21 - PF_ROSE = 11 - PF_ROUTE = 16 - PF_RXRPC = 33 - PF_SECURITY = 14 - PF_SMC = 43 - PF_SNA = 22 - PF_TIPC = 30 - PF_UNIX = 1 - PF_UNSPEC = 0 - PF_VSOCK = 40 - PF_WANPIPE = 25 - PF_X25 = 9 - PF_XDP = 44 - SCM_TIMESTAMP = 29 - SCM_TIMESTAMPING = 37 - SCM_TIMESTAMPING_OPT_STATS = 54 - SCM_TIMESTAMPING_PKTINFO = 58 - SCM_TIMESTAMPNS = 35 - SCM_TXTIME = 61 - SCM_WIFI_STATUS = 41 - SIOCATMARK = 0x8905 - SIOCGPGRP = 0x8904 - SIOCGSTAMP = 0x8906 - SIOCGSTAMPNS = 0x8907 - SIOCSPGRP = 0x8902 - SOL_AAL = 265 - SOL_ALG = 279 - SOL_ATM = 264 - SOL_BLUETOOTH = 274 - SOL_CAIF = 278 - SOL_DCCP = 269 - SOL_DECNET = 261 - SOL_ICMPV6 = 58 - SOL_IP = 0 - SOL_IPV6 = 41 - SOL_IRDA = 266 - SOL_IUCV = 277 - SOL_KCM = 281 - SOL_LLC = 268 - SOL_NETBEUI = 267 - SOL_NETLINK = 270 - SOL_NFC = 280 - SOL_PACKET = 263 - SOL_PNPIPE = 275 - SOL_PPPOL2TP = 273 - SOL_RAW = 255 - SOL_RDS = 276 - SOL_RXRPC = 272 - SOL_SOCKET = 1 - SOL_TIPC = 271 - SOL_TLS = 282 - SOL_X25 = 262 - SOL_XDP = 283 - SOMAXCONN = 4096 - SO_ACCEPTCONN = 30 - SO_ATTACH_BPF = 50 - SO_ATTACH_FILTER = 26 - SO_ATTACH_REUSEPORT_CBPF = 51 - SO_ATTACH_REUSEPORT_EBPF = 52 - SO_BINDTODEVICE = 25 - SO_BINDTOIFINDEX = 62 - SO_BPF_EXTENSIONS = 48 - SO_BROADCAST = 6 - SO_BSDCOMPAT = 14 - SO_BUSY_POLL = 46 - SO_CNX_ADVICE = 53 - SO_COOKIE = 57 - SO_DEBUG = 1 - SO_DETACH_BPF = 27 - SO_DETACH_FILTER = 27 - SO_DETACH_REUSEPORT_BPF = 68 - SO_DOMAIN = 39 - SO_DONTROUTE = 5 - SO_ERROR = 4 - SO_GET_FILTER = 26 - SO_INCOMING_CPU = 49 - SO_INCOMING_NAPI_ID = 56 - SO_KEEPALIVE = 9 - SO_LINGER = 13 - SO_LOCK_FILTER = 44 - SO_MARK = 36 - SO_MAX_PACING_RATE = 47 - SO_MEMINFO = 55 - SO_NOFCS = 43 - SO_NO_CHECK = 11 - SO_OOBINLINE = 10 - SO_PASSCRED = 16 - SO_PASSSEC = 34 - SO_PEEK_OFF = 42 - SO_PEERCRED = 17 - SO_PEERGROUPS = 59 - SO_PEERNAME = 28 - SO_PEERSEC = 31 - SO_PRIORITY = 12 - SO_PROTOCOL = 38 - SO_RCVBUF = 8 - SO_RCVBUFFORCE = 33 - SO_RCVLOWAT = 18 - SO_RCVTIMEO = 20 - SO_RCVTIMEO_NEW = 66 - SO_RCVTIMEO_OLD = 20 - SO_REUSEADDR = 2 - SO_REUSEPORT = 15 - SO_RXQ_OVFL = 40 - SO_SECURITY_AUTHENTICATION = 22 - SO_SECURITY_ENCRYPTION_NETWORK = 24 - SO_SECURITY_ENCRYPTION_TRANSPORT = 23 - SO_SELECT_ERR_QUEUE = 45 - SO_SNDBUF = 7 - SO_SNDBUFFORCE = 32 - SO_SNDLOWAT = 19 - SO_SNDTIMEO = 21 - SO_SNDTIMEO_NEW = 67 - SO_SNDTIMEO_OLD = 21 - SO_TIMESTAMP = 29 - SO_TIMESTAMPING = 37 - SO_TIMESTAMPING_NEW = 65 - SO_TIMESTAMPING_OLD = 37 - SO_TIMESTAMPNS = 35 - SO_TIMESTAMPNS_NEW = 64 - SO_TIMESTAMPNS_OLD = 35 - SO_TIMESTAMP_NEW = 63 - SO_TIMESTAMP_OLD = 29 - SO_TXTIME = 61 - SO_TYPE = 3 - SO_WIFI_STATUS = 41 - SO_ZEROCOPY = 60 - TRY_AGAIN = 2 - X_ASM_X86_POSIX_TYPES_64_H = 0 - X_ATFILE_SOURCE = 1 - X_BITS_BYTESWAP_H = 1 - X_BITS_ENDIANNESS_H = 1 - X_BITS_ENDIAN_H = 1 - X_BITS_PTHREADTYPES_ARCH_H = 1 - X_BITS_PTHREADTYPES_COMMON_H = 1 - X_BITS_SOCKADDR_H = 1 - X_BITS_STDINT_INTN_H = 1 - X_BITS_STDINT_UINTN_H = 1 - X_BITS_TIME64_H = 1 - X_BITS_TYPESIZES_H = 1 - X_BITS_TYPES_H = 1 - X_BITS_UINTN_IDENTITY_H = 1 - X_BSD_SIZE_T_ = 0 - X_BSD_SIZE_T_DEFINED_ = 0 - X_DEFAULT_SOURCE = 1 - X_ENDIAN_H = 1 - X_FEATURES_H = 1 - X_FILE_OFFSET_BITS = 64 - X_GCC_SIZE_T = 0 - X_LINUX_POSIX_TYPES_H = 0 - X_LP64 = 1 - X_NETDB_H = 1 - X_NETINET_IN_H = 1 - X_PATH_HEQUIV = "/etc/hosts.equiv" - X_PATH_HOSTS = "/etc/hosts" - X_PATH_NETWORKS = "/etc/networks" - X_PATH_NSSWITCH_CONF = "/etc/nsswitch.conf" - X_PATH_PROTOCOLS = "/etc/protocols" - X_PATH_SERVICES = "/etc/services" - X_POSIX_C_SOURCE = 200809 - X_POSIX_SOURCE = 1 - X_RPC_NETDB_H = 1 - X_RWLOCK_INTERNAL_H = 0 - X_SIZET_ = 0 - X_SIZE_T = 0 - X_SIZE_T_ = 0 - X_SIZE_T_DECLARED = 0 - X_SIZE_T_DEFINED = 0 - X_SIZE_T_DEFINED_ = 0 - X_SS_SIZE = 128 - X_STDC_PREDEF_H = 1 - X_STRUCT_TIMESPEC = 1 - X_SYS_CDEFS_H = 1 - X_SYS_SELECT_H = 1 - X_SYS_SIZE_T_H = 0 - X_SYS_SOCKET_H = 1 - X_SYS_TYPES_H = 1 - X_THREAD_MUTEX_INTERNAL_H = 1 - X_THREAD_SHARED_TYPES_H = 1 - X_T_SIZE = 0 - X_T_SIZE_ = 0 - Linux = 1 - Unix = 1 + AF_ALG = 38 // socket.h:133:1: + AF_APPLETALK = 5 // socket.h:99:1: + AF_ASH = 18 // socket.h:113:1: + AF_ATMPVC = 8 // socket.h:102:1: + AF_ATMSVC = 20 // socket.h:115:1: + AF_AX25 = 3 // socket.h:97:1: + AF_BLUETOOTH = 31 // socket.h:126:1: + AF_BRIDGE = 7 // socket.h:101:1: + AF_CAIF = 37 // socket.h:132:1: + AF_CAN = 29 // socket.h:124:1: + AF_DECnet = 12 // socket.h:106:1: + AF_ECONET = 19 // socket.h:114:1: + AF_FILE = 1 // socket.h:95:1: + AF_IB = 27 // socket.h:122:1: + AF_IEEE802154 = 36 // socket.h:131:1: + AF_INET = 2 // socket.h:96:1: + AF_INET6 = 10 // socket.h:104:1: + AF_IPX = 4 // socket.h:98:1: + AF_IRDA = 23 // socket.h:118:1: + AF_ISDN = 34 // socket.h:129:1: + AF_IUCV = 32 // socket.h:127:1: + AF_KCM = 41 // socket.h:136:1: + AF_KEY = 15 // socket.h:109:1: + AF_LLC = 26 // socket.h:121:1: + AF_LOCAL = 1 // socket.h:93:1: + AF_MAX = 45 // socket.h:140:1: + AF_MPLS = 28 // socket.h:123:1: + AF_NETBEUI = 13 // socket.h:107:1: + AF_NETLINK = 16 // socket.h:110:1: + AF_NETROM = 6 // socket.h:100:1: + AF_NFC = 39 // socket.h:134:1: + AF_PACKET = 17 // socket.h:112:1: + AF_PHONET = 35 // socket.h:130:1: + AF_PPPOX = 24 // socket.h:119:1: + AF_QIPCRTR = 42 // socket.h:137:1: + AF_RDS = 21 // socket.h:116:1: + AF_ROSE = 11 // socket.h:105:1: + AF_ROUTE = 16 // socket.h:111:1: + AF_RXRPC = 33 // socket.h:128:1: + AF_SECURITY = 14 // socket.h:108:1: + AF_SMC = 43 // socket.h:138:1: + AF_SNA = 22 // socket.h:117:1: + AF_TIPC = 30 // socket.h:125:1: + AF_UNIX = 1 // socket.h:94:1: + AF_UNSPEC = 0 // socket.h:92:1: + AF_VSOCK = 40 // socket.h:135:1: + AF_WANPIPE = 25 // socket.h:120:1: + AF_X25 = 9 // socket.h:103:1: + AF_XDP = 44 // socket.h:139:1: + AI_ADDRCONFIG = 0x0020 // netdb.h:601:1: + AI_ALL = 0x0010 // netdb.h:600:1: + AI_CANONNAME = 0x0002 // netdb.h:597:1: + AI_NUMERICHOST = 0x0004 // netdb.h:598:1: + AI_NUMERICSERV = 0x0400 // netdb.h:613:1: + AI_PASSIVE = 0x0001 // netdb.h:596:1: + AI_V4MAPPED = 0x0008 // netdb.h:599:1: + BIG_ENDIAN = 4321 // endian.h:28:1: + BYTE_ORDER = 1234 // endian.h:30:1: + EAI_AGAIN = -3 // netdb.h:618:1: + EAI_BADFLAGS = -1 // netdb.h:616:1: + EAI_FAIL = -4 // netdb.h:619:1: + EAI_FAMILY = -6 // netdb.h:620:1: + EAI_MEMORY = -10 // netdb.h:623:1: + EAI_NONAME = -2 // netdb.h:617:1: + EAI_OVERFLOW = -12 // netdb.h:625:1: + EAI_SERVICE = -8 // netdb.h:622:1: + EAI_SOCKTYPE = -7 // netdb.h:621:1: + EAI_SYSTEM = -11 // netdb.h:624:1: + FD_SETSIZE = 1024 // select.h:73:1: + FIOGETOWN = 0x8903 // sockios.h:8:1: + FIOSETOWN = 0x8901 // sockios.h:6:1: + HOST_NOT_FOUND = 1 // netdb.h:63:1: + INET6_ADDRSTRLEN = 46 // in.h:234:1: + INET_ADDRSTRLEN = 16 // in.h:233:1: + IN_CLASSA_HOST = 16777215 // in.h:169:1: + IN_CLASSA_MAX = 128 // in.h:170:1: + IN_CLASSA_NET = 0xff000000 // in.h:167:1: + IN_CLASSA_NSHIFT = 24 // in.h:168:1: + IN_CLASSB_HOST = 65535 // in.h:175:1: + IN_CLASSB_MAX = 65536 // in.h:176:1: + IN_CLASSB_NET = 0xffff0000 // in.h:173:1: + IN_CLASSB_NSHIFT = 16 // in.h:174:1: + IN_CLASSC_HOST = 255 // in.h:181:1: + IN_CLASSC_NET = 0xffffff00 // in.h:179:1: + IN_CLASSC_NSHIFT = 8 // in.h:180:1: + IN_LOOPBACKNET = 127 // in.h:197:1: + IPPORT_RESERVED1 = 1024 // netdb.h:79:1: + IPV6_2292DSTOPTS = 4 // in.h:171:1: + IPV6_2292HOPLIMIT = 8 // in.h:175:1: + IPV6_2292HOPOPTS = 3 // in.h:170:1: + IPV6_2292PKTINFO = 2 // in.h:169:1: + IPV6_2292PKTOPTIONS = 6 // in.h:173:1: + IPV6_2292RTHDR = 5 // in.h:172:1: + IPV6_ADDRFORM = 1 // in.h:168:1: + IPV6_ADDR_PREFERENCES = 72 // in.h:223:1: + IPV6_ADD_MEMBERSHIP = 20 // in.h:237:1: + IPV6_AUTHHDR = 10 // in.h:180:1: + IPV6_AUTOFLOWLABEL = 70 // in.h:220:1: + IPV6_CHECKSUM = 7 // in.h:174:1: + IPV6_DONTFRAG = 62 // in.h:214:1: + IPV6_DROP_MEMBERSHIP = 21 // in.h:238:1: + IPV6_DSTOPTS = 59 // in.h:211:1: + IPV6_FREEBIND = 78 // in.h:233:1: + IPV6_HDRINCL = 36 // in.h:198:1: + IPV6_HOPLIMIT = 52 // in.h:204:1: + IPV6_HOPOPTS = 54 // in.h:206:1: + IPV6_IPSEC_POLICY = 34 // in.h:196:1: + IPV6_JOIN_ANYCAST = 27 // in.h:192:1: + IPV6_JOIN_GROUP = 20 // in.h:185:1: + IPV6_LEAVE_ANYCAST = 28 // in.h:193:1: + IPV6_LEAVE_GROUP = 21 // in.h:186:1: + IPV6_MINHOPCOUNT = 73 // in.h:226:1: + IPV6_MTU = 24 // in.h:189:1: + IPV6_MTU_DISCOVER = 23 // in.h:188:1: + IPV6_MULTICAST_ALL = 29 // in.h:194:1: + IPV6_MULTICAST_HOPS = 18 // in.h:183:1: + IPV6_MULTICAST_IF = 17 // in.h:182:1: + IPV6_MULTICAST_LOOP = 19 // in.h:184:1: + IPV6_NEXTHOP = 9 // in.h:179:1: + IPV6_ORIGDSTADDR = 74 // in.h:228:1: + IPV6_PATHMTU = 61 // in.h:213:1: + IPV6_PKTINFO = 50 // in.h:202:1: + IPV6_PMTUDISC_DO = 2 // in.h:246:1: + IPV6_PMTUDISC_DONT = 0 // in.h:244:1: + IPV6_PMTUDISC_INTERFACE = 4 // in.h:248:1: + IPV6_PMTUDISC_OMIT = 5 // in.h:249:1: + IPV6_PMTUDISC_PROBE = 3 // in.h:247:1: + IPV6_PMTUDISC_WANT = 1 // in.h:245:1: + IPV6_RECVDSTOPTS = 58 // in.h:210:1: + IPV6_RECVERR = 25 // in.h:190:1: + IPV6_RECVFRAGSIZE = 77 // in.h:232:1: + IPV6_RECVHOPLIMIT = 51 // in.h:203:1: + IPV6_RECVHOPOPTS = 53 // in.h:205:1: + IPV6_RECVORIGDSTADDR = 74 // in.h:229:1: + IPV6_RECVPATHMTU = 60 // in.h:212:1: + IPV6_RECVPKTINFO = 49 // in.h:201:1: + IPV6_RECVRTHDR = 56 // in.h:208:1: + IPV6_RECVTCLASS = 66 // in.h:217:1: + IPV6_ROUTER_ALERT = 22 // in.h:187:1: + IPV6_ROUTER_ALERT_ISOLATE = 30 // in.h:195:1: + IPV6_RTHDR = 57 // in.h:209:1: + IPV6_RTHDRDSTOPTS = 55 // in.h:207:1: + IPV6_RTHDR_LOOSE = 0 // in.h:256:1: + IPV6_RTHDR_STRICT = 1 // in.h:257:1: + IPV6_RTHDR_TYPE_0 = 0 // in.h:259:1: + IPV6_RXDSTOPTS = 59 // in.h:241:1: + IPV6_RXHOPOPTS = 54 // in.h:240:1: + IPV6_TCLASS = 67 // in.h:218:1: + IPV6_TRANSPARENT = 75 // in.h:230:1: + IPV6_UNICAST_HOPS = 16 // in.h:181:1: + IPV6_UNICAST_IF = 76 // in.h:231:1: + IPV6_V6ONLY = 26 // in.h:191:1: + IPV6_XFRM_POLICY = 35 // in.h:197:1: + IP_ADD_MEMBERSHIP = 35 // in.h:121:1: + IP_ADD_SOURCE_MEMBERSHIP = 39 // in.h:125:1: + IP_BIND_ADDRESS_NO_PORT = 24 // in.h:103:1: + IP_BLOCK_SOURCE = 38 // in.h:124:1: + IP_CHECKSUM = 23 // in.h:102:1: + IP_DEFAULT_MULTICAST_LOOP = 1 // in.h:135:1: + IP_DEFAULT_MULTICAST_TTL = 1 // in.h:134:1: + IP_DROP_MEMBERSHIP = 36 // in.h:122:1: + IP_DROP_SOURCE_MEMBERSHIP = 40 // in.h:126:1: + IP_FREEBIND = 15 // in.h:89:1: + IP_HDRINCL = 3 // in.h:48:1: + IP_IPSEC_POLICY = 16 // in.h:90:1: + IP_MAX_MEMBERSHIPS = 20 // in.h:136:1: + IP_MINTTL = 21 // in.h:100:1: + IP_MSFILTER = 41 // in.h:127:1: + IP_MTU = 14 // in.h:88:1: + IP_MTU_DISCOVER = 10 // in.h:84:1: + IP_MULTICAST_ALL = 49 // in.h:128:1: + IP_MULTICAST_IF = 32 // in.h:118:1: + IP_MULTICAST_LOOP = 34 // in.h:120:1: + IP_MULTICAST_TTL = 33 // in.h:119:1: + IP_NODEFRAG = 22 // in.h:101:1: + IP_OPTIONS = 4 // in.h:47:1: + IP_ORIGDSTADDR = 20 // in.h:97:1: + IP_PASSSEC = 18 // in.h:92:1: + IP_PKTINFO = 8 // in.h:81:1: + IP_PKTOPTIONS = 9 // in.h:82:1: + IP_PMTUDISC = 10 // in.h:83:1: + IP_PMTUDISC_DO = 2 // in.h:109:1: + IP_PMTUDISC_DONT = 0 // in.h:107:1: + IP_PMTUDISC_INTERFACE = 4 // in.h:114:1: + IP_PMTUDISC_OMIT = 5 // in.h:116:1: + IP_PMTUDISC_PROBE = 3 // in.h:110:1: + IP_PMTUDISC_WANT = 1 // in.h:108:1: + IP_RECVERR = 11 // in.h:85:1: + IP_RECVFRAGSIZE = 25 // in.h:104:1: + IP_RECVOPTS = 6 // in.h:51:1: + IP_RECVORIGDSTADDR = 20 // in.h:98:1: + IP_RECVRETOPTS = 7 // in.h:53:1: + IP_RECVTOS = 13 // in.h:87:1: + IP_RECVTTL = 12 // in.h:86:1: + IP_RETOPTS = 7 // in.h:54:1: + IP_ROUTER_ALERT = 5 // in.h:80:1: + IP_TOS = 1 // in.h:49:1: + IP_TRANSPARENT = 19 // in.h:93:1: + IP_TTL = 2 // in.h:50:1: + IP_UNBLOCK_SOURCE = 37 // in.h:123:1: + IP_UNICAST_IF = 50 // in.h:129:1: + IP_XFRM_POLICY = 17 // in.h:91:1: + LITTLE_ENDIAN = 1234 // endian.h:27:1: + MCAST_BLOCK_SOURCE = 43 // in.h:67:1: + MCAST_EXCLUDE = 0 // in.h:76:1: + MCAST_INCLUDE = 1 // in.h:77:1: + MCAST_JOIN_GROUP = 42 // in.h:66:1: + MCAST_JOIN_SOURCE_GROUP = 46 // in.h:70:1: + MCAST_LEAVE_GROUP = 45 // in.h:69:1: + MCAST_LEAVE_SOURCE_GROUP = 47 // in.h:71:1: + MCAST_MSFILTER = 48 // in.h:72:1: + MCAST_UNBLOCK_SOURCE = 44 // in.h:68:1: + NETDB_INTERNAL = -1 // netdb.h:72:1: + NETDB_SUCCESS = 0 // netdb.h:73:1: + NI_DGRAM = 16 // netdb.h:646:1: + NI_MAXHOST = 1025 // netdb.h:638:1: + NI_MAXSERV = 32 // netdb.h:639:1: + NI_NAMEREQD = 8 // netdb.h:645:1: + NI_NOFQDN = 4 // netdb.h:644:1: + NI_NUMERICHOST = 1 // netdb.h:642:1: + NI_NUMERICSERV = 2 // netdb.h:643:1: + NO_ADDRESS = 4 // netdb.h:74:1: + NO_DATA = 4 // netdb.h:68:1: + NO_RECOVERY = 3 // netdb.h:66:1: + PDP_ENDIAN = 3412 // endian.h:29:1: + PF_ALG = 38 // socket.h:82:1: + PF_APPLETALK = 5 // socket.h:48:1: + PF_ASH = 18 // socket.h:62:1: + PF_ATMPVC = 8 // socket.h:51:1: + PF_ATMSVC = 20 // socket.h:64:1: + PF_AX25 = 3 // socket.h:46:1: + PF_BLUETOOTH = 31 // socket.h:75:1: + PF_BRIDGE = 7 // socket.h:50:1: + PF_CAIF = 37 // socket.h:81:1: + PF_CAN = 29 // socket.h:73:1: + PF_DECnet = 12 // socket.h:55:1: + PF_ECONET = 19 // socket.h:63:1: + PF_FILE = 1 // socket.h:44:1: + PF_IB = 27 // socket.h:71:1: + PF_IEEE802154 = 36 // socket.h:80:1: + PF_INET = 2 // socket.h:45:1: + PF_INET6 = 10 // socket.h:53:1: + PF_IPX = 4 // socket.h:47:1: + PF_IRDA = 23 // socket.h:67:1: + PF_ISDN = 34 // socket.h:78:1: + PF_IUCV = 32 // socket.h:76:1: + PF_KCM = 41 // socket.h:85:1: + PF_KEY = 15 // socket.h:58:1: + PF_LLC = 26 // socket.h:70:1: + PF_LOCAL = 1 // socket.h:42:1: + PF_MAX = 45 // socket.h:89:1: + PF_MPLS = 28 // socket.h:72:1: + PF_NETBEUI = 13 // socket.h:56:1: + PF_NETLINK = 16 // socket.h:59:1: + PF_NETROM = 6 // socket.h:49:1: + PF_NFC = 39 // socket.h:83:1: + PF_PACKET = 17 // socket.h:61:1: + PF_PHONET = 35 // socket.h:79:1: + PF_PPPOX = 24 // socket.h:68:1: + PF_QIPCRTR = 42 // socket.h:86:1: + PF_RDS = 21 // socket.h:65:1: + PF_ROSE = 11 // socket.h:54:1: + PF_ROUTE = 16 // socket.h:60:1: + PF_RXRPC = 33 // socket.h:77:1: + PF_SECURITY = 14 // socket.h:57:1: + PF_SMC = 43 // socket.h:87:1: + PF_SNA = 22 // socket.h:66:1: + PF_TIPC = 30 // socket.h:74:1: + PF_UNIX = 1 // socket.h:43:1: + PF_UNSPEC = 0 // socket.h:41:1: + PF_VSOCK = 40 // socket.h:84:1: + PF_WANPIPE = 25 // socket.h:69:1: + PF_X25 = 9 // socket.h:52:1: + PF_XDP = 44 // socket.h:88:1: + SCM_TIMESTAMP = 29 // socket.h:140:1: + SCM_TIMESTAMPING = 37 // socket.h:142:1: + SCM_TIMESTAMPING_OPT_STATS = 54 // socket.h:90:1: + SCM_TIMESTAMPING_PKTINFO = 58 // socket.h:98:1: + SCM_TIMESTAMPNS = 35 // socket.h:141:1: + SCM_TXTIME = 61 // socket.h:105:1: + SCM_WIFI_STATUS = 41 // socket.h:64:1: + SIOCATMARK = 0x8905 // sockios.h:10:1: + SIOCGPGRP = 0x8904 // sockios.h:9:1: + SIOCGSTAMP = 0x8906 // sockios.h:11:1: + SIOCGSTAMPNS = 0x8907 // sockios.h:12:1: + SIOCSPGRP = 0x8902 // sockios.h:7:1: + SOL_AAL = 265 // socket.h:151:1: + SOL_ALG = 279 // socket.h:165:1: + SOL_ATM = 264 // socket.h:150:1: + SOL_BLUETOOTH = 274 // socket.h:160:1: + SOL_CAIF = 278 // socket.h:164:1: + SOL_DCCP = 269 // socket.h:155:1: + SOL_DECNET = 261 // socket.h:147:1: + SOL_ICMPV6 = 58 // in.h:253:1: + SOL_IP = 0 // in.h:132:1: + SOL_IPV6 = 41 // in.h:252:1: + SOL_IRDA = 266 // socket.h:152:1: + SOL_IUCV = 277 // socket.h:163:1: + SOL_KCM = 281 // socket.h:167:1: + SOL_LLC = 268 // socket.h:154:1: + SOL_NETBEUI = 267 // socket.h:153:1: + SOL_NETLINK = 270 // socket.h:156:1: + SOL_NFC = 280 // socket.h:166:1: + SOL_PACKET = 263 // socket.h:149:1: + SOL_PNPIPE = 275 // socket.h:161:1: + SOL_PPPOL2TP = 273 // socket.h:159:1: + SOL_RAW = 255 // socket.h:146:1: + SOL_RDS = 276 // socket.h:162:1: + SOL_RXRPC = 272 // socket.h:158:1: + SOL_SOCKET = 1 // socket.h:9:1: + SOL_TIPC = 271 // socket.h:157:1: + SOL_TLS = 282 // socket.h:168:1: + SOL_X25 = 262 // socket.h:148:1: + SOL_XDP = 283 // socket.h:169:1: + SOMAXCONN = 4096 // socket.h:172:1: + SO_ACCEPTCONN = 30 // socket.h:51:1: + SO_ATTACH_BPF = 50 // socket.h:82:1: + SO_ATTACH_FILTER = 26 // socket.h:45:1: + SO_ATTACH_REUSEPORT_CBPF = 51 // socket.h:85:1: + SO_ATTACH_REUSEPORT_EBPF = 52 // socket.h:86:1: + SO_BINDTODEVICE = 25 // socket.h:42:1: + SO_BINDTOIFINDEX = 62 // socket.h:107:1: + SO_BPF_EXTENSIONS = 48 // socket.h:78:1: + SO_BROADCAST = 6 // socket.h:16:1: + SO_BSDCOMPAT = 14 // socket.h:26:1: + SO_BUSY_POLL = 46 // socket.h:74:1: + SO_CNX_ADVICE = 53 // socket.h:88:1: + SO_COOKIE = 57 // socket.h:96:1: + SO_DEBUG = 1 // socket.h:11:1: + SO_DETACH_BPF = 27 // socket.h:83:1: + SO_DETACH_FILTER = 27 // socket.h:46:1: + SO_DETACH_REUSEPORT_BPF = 68 // socket.h:120:1: + SO_DOMAIN = 39 // socket.h:59:1: + SO_DONTROUTE = 5 // socket.h:15:1: + SO_ERROR = 4 // socket.h:14:1: + SO_GET_FILTER = 26 // socket.h:47:1: + SO_INCOMING_CPU = 49 // socket.h:80:1: + SO_INCOMING_NAPI_ID = 56 // socket.h:94:1: + SO_KEEPALIVE = 9 // socket.h:21:1: + SO_LINGER = 13 // socket.h:25:1: + SO_LOCK_FILTER = 44 // socket.h:70:1: + SO_MARK = 36 // socket.h:56:1: + SO_MAX_PACING_RATE = 47 // socket.h:76:1: + SO_MEMINFO = 55 // socket.h:92:1: + SO_NOFCS = 43 // socket.h:68:1: + SO_NO_CHECK = 11 // socket.h:23:1: + SO_OOBINLINE = 10 // socket.h:22:1: + SO_PASSCRED = 16 // socket.h:29:1: + SO_PASSSEC = 34 // socket.h:54:1: + SO_PEEK_OFF = 42 // socket.h:65:1: + SO_PEERCRED = 17 // socket.h:30:1: + SO_PEERGROUPS = 59 // socket.h:100:1: + SO_PEERNAME = 28 // socket.h:49:1: + SO_PEERSEC = 31 // socket.h:53:1: + SO_PRIORITY = 12 // socket.h:24:1: + SO_PROTOCOL = 38 // socket.h:58:1: + SO_RCVBUF = 8 // socket.h:18:1: + SO_RCVBUFFORCE = 33 // socket.h:20:1: + SO_RCVLOWAT = 18 // socket.h:31:1: + SO_RCVTIMEO = 20 // socket.h:129:1: + SO_RCVTIMEO_NEW = 66 // socket.h:117:1: + SO_RCVTIMEO_OLD = 20 // socket.h:33:1: + SO_REUSEADDR = 2 // socket.h:12:1: + SO_REUSEPORT = 15 // socket.h:27:1: + SO_RXQ_OVFL = 40 // socket.h:61:1: + SO_SECURITY_AUTHENTICATION = 22 // socket.h:38:1: + SO_SECURITY_ENCRYPTION_NETWORK = 24 // socket.h:40:1: + SO_SECURITY_ENCRYPTION_TRANSPORT = 23 // socket.h:39:1: + SO_SELECT_ERR_QUEUE = 45 // socket.h:72:1: + SO_SNDBUF = 7 // socket.h:17:1: + SO_SNDBUFFORCE = 32 // socket.h:19:1: + SO_SNDLOWAT = 19 // socket.h:32:1: + SO_SNDTIMEO = 21 // socket.h:130:1: + SO_SNDTIMEO_NEW = 67 // socket.h:118:1: + SO_SNDTIMEO_OLD = 21 // socket.h:34:1: + SO_TIMESTAMP = 29 // socket.h:125:1: + SO_TIMESTAMPING = 37 // socket.h:127:1: + SO_TIMESTAMPING_NEW = 65 // socket.h:115:1: + SO_TIMESTAMPING_OLD = 37 // socket.h:111:1: + SO_TIMESTAMPNS = 35 // socket.h:126:1: + SO_TIMESTAMPNS_NEW = 64 // socket.h:114:1: + SO_TIMESTAMPNS_OLD = 35 // socket.h:110:1: + SO_TIMESTAMP_NEW = 63 // socket.h:113:1: + SO_TIMESTAMP_OLD = 29 // socket.h:109:1: + SO_TXTIME = 61 // socket.h:104:1: + SO_TYPE = 3 // socket.h:13:1: + SO_WIFI_STATUS = 41 // socket.h:63:1: + SO_ZEROCOPY = 60 // socket.h:102:1: + TRY_AGAIN = 2 // netdb.h:64:1: + X_ASM_X86_POSIX_TYPES_64_H = 0 // posix_types_64.h:3:1: + X_ATFILE_SOURCE = 1 // features.h:342:1: + X_BITS_BYTESWAP_H = 1 // byteswap.h:24:1: + X_BITS_ENDIANNESS_H = 1 // endianness.h:2:1: + X_BITS_ENDIAN_H = 1 // endian.h:20:1: + X_BITS_PTHREADTYPES_ARCH_H = 1 // pthreadtypes-arch.h:19:1: + X_BITS_PTHREADTYPES_COMMON_H = 1 // pthreadtypes.h:20:1: + X_BITS_SOCKADDR_H = 1 // sockaddr.h:24:1: + X_BITS_STDINT_INTN_H = 1 // stdint-intn.h:20:1: + X_BITS_STDINT_UINTN_H = 1 // stdint-uintn.h:20:1: + X_BITS_TIME64_H = 1 // time64.h:24:1: + X_BITS_TYPESIZES_H = 1 // typesizes.h:24:1: + X_BITS_TYPES_H = 1 // types.h:24:1: + X_BITS_UINTN_IDENTITY_H = 1 // uintn-identity.h:24:1: + X_BSD_SIZE_T_ = 0 // stddef.h:189:1: + X_BSD_SIZE_T_DEFINED_ = 0 // stddef.h:192:1: + X_DEFAULT_SOURCE = 1 // features.h:227:1: + X_ENDIAN_H = 1 // endian.h:19:1: + X_FEATURES_H = 1 // features.h:19:1: + X_FILE_OFFSET_BITS = 64 // <builtin>:25:1: + X_GCC_SIZE_T = 0 // stddef.h:195:1: + X_LINUX_POSIX_TYPES_H = 0 // posix_types.h:3:1: + X_LP64 = 1 // <predefined>:284:1: + X_NETDB_H = 1 // netdb.h:23:1: + X_NETINET_IN_H = 1 // in.h:19:1: + X_PATH_HEQUIV = "/etc/hosts.equiv" // netdb.h:43:1: + X_PATH_HOSTS = "/etc/hosts" // netdb.h:44:1: + X_PATH_NETWORKS = "/etc/networks" // netdb.h:45:1: + X_PATH_NSSWITCH_CONF = "/etc/nsswitch.conf" // netdb.h:46:1: + X_PATH_PROTOCOLS = "/etc/protocols" // netdb.h:47:1: + X_PATH_SERVICES = "/etc/services" // netdb.h:48:1: + X_POSIX_C_SOURCE = 200809 // features.h:281:1: + X_POSIX_SOURCE = 1 // features.h:279:1: + X_RPC_NETDB_H = 1 // netdb.h:37:1: + X_RWLOCK_INTERNAL_H = 0 // struct_rwlock.h:21:1: + X_SIZET_ = 0 // stddef.h:196:1: + X_SIZE_T = 0 // stddef.h:183:1: + X_SIZE_T_ = 0 // stddef.h:188:1: + X_SIZE_T_DECLARED = 0 // stddef.h:193:1: + X_SIZE_T_DEFINED = 0 // stddef.h:191:1: + X_SIZE_T_DEFINED_ = 0 // stddef.h:190:1: + X_SS_SIZE = 128 // sockaddr.h:40:1: + X_STDC_PREDEF_H = 1 // <predefined>:162:1: + X_STRUCT_TIMESPEC = 1 // struct_timespec.h:3:1: + X_SYS_CDEFS_H = 1 // cdefs.h:19:1: + X_SYS_SELECT_H = 1 // select.h:22:1: + X_SYS_SIZE_T_H = 0 // stddef.h:184:1: + X_SYS_SOCKET_H = 1 // socket.h:20:1: + X_SYS_TYPES_H = 1 // types.h:23:1: + X_THREAD_MUTEX_INTERNAL_H = 1 // struct_mutex.h:20:1: + X_THREAD_SHARED_TYPES_H = 1 // thread-shared-types.h:20:1: + X_T_SIZE = 0 // stddef.h:186:1: + X_T_SIZE_ = 0 // stddef.h:185:1: + Linux = 1 // <predefined>:231:1: + Unix = 1 // <predefined>:177:1: ) // Standard well-known ports. diff --git a/vendor/modernc.org/libc/netinet/in/capi_darwin_arm64.go b/vendor/modernc.org/libc/netinet/in/capi_darwin_arm64.go index 288850f1..b46f3a44 100644 --- a/vendor/modernc.org/libc/netinet/in/capi_darwin_arm64.go +++ b/vendor/modernc.org/libc/netinet/in/capi_darwin_arm64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo netinet/in/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o netinet/in/in_darwin_arm64.go -pkgname in', DO NOT EDIT. +// Code generated by 'ccgo netinet/in/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o netinet/in/in_darwin_arm64.go -pkgname in', DO NOT EDIT. package in diff --git a/vendor/modernc.org/libc/netinet/in/capi_linux_amd64.go b/vendor/modernc.org/libc/netinet/in/capi_linux_amd64.go index 53137ada..953ed094 100644 --- a/vendor/modernc.org/libc/netinet/in/capi_linux_amd64.go +++ b/vendor/modernc.org/libc/netinet/in/capi_linux_amd64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo netinet/in/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o netinet/in/in_linux_amd64.go -pkgname in', DO NOT EDIT. +// Code generated by 'ccgo netinet/in/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o netinet/in/in_linux_amd64.go -pkgname in', DO NOT EDIT. package in diff --git a/vendor/modernc.org/libc/netinet/in/in_darwin_arm64.go b/vendor/modernc.org/libc/netinet/in/in_darwin_arm64.go index 8347d9be..52e689ff 100644 --- a/vendor/modernc.org/libc/netinet/in/in_darwin_arm64.go +++ b/vendor/modernc.org/libc/netinet/in/in_darwin_arm64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo netinet/in/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o netinet/in/in_darwin_arm64.go -pkgname in', DO NOT EDIT. +// Code generated by 'ccgo netinet/in/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o netinet/in/in_darwin_arm64.go -pkgname in', DO NOT EDIT. package in @@ -15,730 +15,730 @@ var _ atomic.Value var _ unsafe.Pointer const ( - AF_APPLETALK = 16 - AF_CCITT = 10 - AF_CHAOS = 5 - AF_CNT = 21 - AF_COIP = 20 - AF_DATAKIT = 9 - AF_DECnet = 12 - AF_DLI = 13 - AF_E164 = 28 - AF_ECMA = 8 - AF_HYLINK = 15 - AF_IEEE80211 = 37 - AF_IMPLINK = 3 - AF_INET = 2 - AF_INET6 = 30 - AF_IPX = 23 - AF_ISDN = 28 - AF_ISO = 7 - AF_LAT = 14 - AF_LINK = 18 - AF_LOCAL = 1 - AF_MAX = 41 - AF_NATM = 31 - AF_NDRV = 27 - AF_NETBIOS = 33 - AF_NS = 6 - AF_OSI = 7 - AF_PPP = 34 - AF_PUP = 4 - AF_RESERVED_36 = 36 - AF_ROUTE = 17 - AF_SIP = 24 - AF_SNA = 11 - AF_SYSTEM = 32 - AF_UNIX = 1 - AF_UNSPEC = 0 - AF_UTUN = 38 - AF_VSOCK = 40 - BIG_ENDIAN = 4321 - BYTE_ORDER = 1234 - CONNECT_DATA_AUTHENTICATED = 0x4 - CONNECT_DATA_IDEMPOTENT = 0x2 - CONNECT_RESUME_ON_READ_WRITE = 0x1 - FD_SETSIZE = 1024 - ICMP6_FILTER = 18 - ICMPV6CTL_ND6_ONLINKNSRFC4861 = 50 - INADDR_NONE = 0xffffffff - INET6_ADDRSTRLEN = 46 - INET_ADDRSTRLEN = 16 - INT16_MAX = 32767 - INT16_MIN = -32768 - INT32_MAX = 2147483647 - INT32_MIN = -2147483648 - INT64_MAX = 9223372036854775807 - INT64_MIN = -9223372036854775808 - INT8_MAX = 127 - INT8_MIN = -128 - INTMAX_MAX = 9223372036854775807 - INTMAX_MIN = -9223372036854775808 - INTPTR_MAX = 9223372036854775807 - INTPTR_MIN = -9223372036854775808 - INT_FAST16_MAX = 32767 - INT_FAST16_MIN = -32768 - INT_FAST32_MAX = 2147483647 - INT_FAST32_MIN = -2147483648 - INT_FAST64_MAX = 9223372036854775807 - INT_FAST64_MIN = -9223372036854775808 - INT_FAST8_MAX = 127 - INT_FAST8_MIN = -128 - INT_LEAST16_MAX = 32767 - INT_LEAST16_MIN = -32768 - INT_LEAST32_MAX = 2147483647 - INT_LEAST32_MIN = -2147483648 - INT_LEAST64_MAX = 9223372036854775807 - INT_LEAST64_MIN = -9223372036854775808 - INT_LEAST8_MAX = 127 - INT_LEAST8_MIN = -128 - IN_CLASSA_HOST = 0x00ffffff - IN_CLASSA_MAX = 128 - IN_CLASSA_NET = 0xff000000 - IN_CLASSA_NSHIFT = 24 - IN_CLASSB_HOST = 0x0000ffff - IN_CLASSB_MAX = 65536 - IN_CLASSB_NET = 0xffff0000 - IN_CLASSB_NSHIFT = 16 - IN_CLASSC_HOST = 0x000000ff - IN_CLASSC_NET = 0xffffff00 - IN_CLASSC_NSHIFT = 8 - IN_CLASSD_HOST = 0x0fffffff - IN_CLASSD_NET = 0xf0000000 - IN_CLASSD_NSHIFT = 28 - IN_LOOPBACKNET = 127 - IPCTL_ACCEPTSOURCEROUTE = 13 - IPCTL_DEFTTL = 3 - IPCTL_DIRECTEDBROADCAST = 9 - IPCTL_FASTFORWARDING = 14 - IPCTL_FORWARDING = 1 - IPCTL_GIF_TTL = 16 - IPCTL_INTRQDROPS = 11 - IPCTL_INTRQMAXLEN = 10 - IPCTL_KEEPFAITH = 15 - IPCTL_MAXID = 17 - IPCTL_RTEXPIRE = 5 - IPCTL_RTMAXCACHE = 7 - IPCTL_RTMINEXPIRE = 6 - IPCTL_SENDREDIRECTS = 2 - IPCTL_SOURCEROUTE = 8 - IPCTL_STATS = 12 - IPPORT_HIFIRSTAUTO = 49152 - IPPORT_HILASTAUTO = 65535 - IPPORT_RESERVED = 1024 - IPPORT_RESERVEDSTART = 600 - IPPORT_USERRESERVED = 5000 - IPPROTO_3PC = 34 - IPPROTO_ADFS = 68 - IPPROTO_AH = 51 - IPPROTO_AHIP = 61 - IPPROTO_APES = 99 - IPPROTO_ARGUS = 13 - IPPROTO_AX25 = 93 - IPPROTO_BHA = 49 - IPPROTO_BLT = 30 - IPPROTO_BRSATMON = 76 - IPPROTO_CFTP = 62 - IPPROTO_CHAOS = 16 - IPPROTO_CMTP = 38 - IPPROTO_CPHB = 73 - IPPROTO_CPNX = 72 - IPPROTO_DDP = 37 - IPPROTO_DGP = 86 - IPPROTO_DIVERT = 254 - IPPROTO_DONE = 257 - IPPROTO_DSTOPTS = 60 - IPPROTO_EGP = 8 - IPPROTO_EMCON = 14 - IPPROTO_ENCAP = 98 - IPPROTO_EON = 80 - IPPROTO_ESP = 50 - IPPROTO_ETHERIP = 97 - IPPROTO_FRAGMENT = 44 - IPPROTO_GGP = 3 - IPPROTO_GMTP = 100 - IPPROTO_GRE = 47 - IPPROTO_HELLO = 63 - IPPROTO_HMP = 20 - IPPROTO_HOPOPTS = 0 - IPPROTO_ICMP = 1 - IPPROTO_ICMPV6 = 58 - IPPROTO_IDP = 22 - IPPROTO_IDPR = 35 - IPPROTO_IDRP = 45 - IPPROTO_IGMP = 2 - IPPROTO_IGP = 85 - IPPROTO_IGRP = 88 - IPPROTO_IL = 40 - IPPROTO_INLSP = 52 - IPPROTO_INP = 32 - IPPROTO_IP = 0 - IPPROTO_IPCOMP = 108 - IPPROTO_IPCV = 71 - IPPROTO_IPEIP = 94 - IPPROTO_IPIP = 4 - IPPROTO_IPPC = 67 - IPPROTO_IPV4 = 4 - IPPROTO_IPV6 = 41 - IPPROTO_IRTP = 28 - IPPROTO_KRYPTOLAN = 65 - IPPROTO_LARP = 91 - IPPROTO_LEAF1 = 25 - IPPROTO_LEAF2 = 26 - IPPROTO_MAX = 256 - IPPROTO_MAXID = 52 - IPPROTO_MEAS = 19 - IPPROTO_MHRP = 48 - IPPROTO_MICP = 95 - IPPROTO_MTP = 92 - IPPROTO_MUX = 18 - IPPROTO_ND = 77 - IPPROTO_NHRP = 54 - IPPROTO_NONE = 59 - IPPROTO_NSP = 31 - IPPROTO_NVPII = 11 - IPPROTO_OSPFIGP = 89 - IPPROTO_PGM = 113 - IPPROTO_PIGP = 9 - IPPROTO_PIM = 103 - IPPROTO_PRM = 21 - IPPROTO_PUP = 12 - IPPROTO_PVP = 75 - IPPROTO_RAW = 255 - IPPROTO_RCCMON = 10 - IPPROTO_RDP = 27 - IPPROTO_ROUTING = 43 - IPPROTO_RSVP = 46 - IPPROTO_RVD = 66 - IPPROTO_SATEXPAK = 64 - IPPROTO_SATMON = 69 - IPPROTO_SCCSP = 96 - IPPROTO_SCTP = 132 - IPPROTO_SDRP = 42 - IPPROTO_SEP = 33 - IPPROTO_SRPC = 90 - IPPROTO_ST = 7 - IPPROTO_SVMTP = 82 - IPPROTO_SWIPE = 53 - IPPROTO_TCF = 87 - IPPROTO_TCP = 6 - IPPROTO_TP = 29 - IPPROTO_TPXX = 39 - IPPROTO_TRUNK1 = 23 - IPPROTO_TRUNK2 = 24 - IPPROTO_TTP = 84 - IPPROTO_UDP = 17 - IPPROTO_VINES = 83 - IPPROTO_VISA = 70 - IPPROTO_VMTP = 81 - IPPROTO_WBEXPAK = 79 - IPPROTO_WBMON = 78 - IPPROTO_WSN = 74 - IPPROTO_XNET = 15 - IPPROTO_XTP = 36 - IPV6CTL_ACCEPT_RTADV = 12 - IPV6CTL_ADDRCTLPOLICY = 38 - IPV6CTL_AUTO_FLOWLABEL = 17 - IPV6CTL_AUTO_LINKLOCAL = 35 - IPV6CTL_DAD_COUNT = 16 - IPV6CTL_DEFHLIM = 3 - IPV6CTL_DEFMCASTHLIM = 18 - IPV6CTL_FORWARDING = 1 - IPV6CTL_FORWSRCRT = 5 - IPV6CTL_GIF_HLIM = 19 - IPV6CTL_HDRNESTLIMIT = 15 - IPV6CTL_KAME_VERSION = 20 - IPV6CTL_KEEPFAITH = 13 - IPV6CTL_LOG_INTERVAL = 14 - IPV6CTL_MAXDYNROUTES = 49 - IPV6CTL_MAXFRAGPACKETS = 9 - IPV6CTL_MAXFRAGS = 41 - IPV6CTL_MAXID = 51 - IPV6CTL_MAXIFDEFROUTERS = 48 - IPV6CTL_MAXIFPREFIXES = 47 - IPV6CTL_MCAST_PMTU = 44 - IPV6CTL_MRTPROTO = 8 - IPV6CTL_MRTSTATS = 7 - IPV6CTL_NEIGHBORGCTHRESH = 46 - IPV6CTL_PREFER_TEMPADDR = 37 - IPV6CTL_RIP6STATS = 36 - IPV6CTL_RR_PRUNE = 22 - IPV6CTL_RTEXPIRE = 25 - IPV6CTL_RTMAXCACHE = 27 - IPV6CTL_RTMINEXPIRE = 26 - IPV6CTL_SENDREDIRECTS = 2 - IPV6CTL_SOURCECHECK = 10 - IPV6CTL_SOURCECHECK_LOGINT = 11 - IPV6CTL_STATS = 6 - IPV6CTL_TEMPPLTIME = 33 - IPV6CTL_TEMPVLTIME = 34 - IPV6CTL_ULA_USETEMPADDR = 51 - IPV6CTL_USETEMPADDR = 32 - IPV6CTL_USE_DEFAULTZONE = 39 - IPV6CTL_USE_DEPRECATED = 21 - IPV6CTL_V6ONLY = 24 - IPV6PORT_ANONMAX = 65535 - IPV6PORT_ANONMIN = 49152 - IPV6PORT_RESERVED = 1024 - IPV6PORT_RESERVEDMAX = 1023 - IPV6PORT_RESERVEDMIN = 600 - IPV6PROTO_MAXID = 104 - IPV6_2292DSTOPTS = 23 - IPV6_2292HOPLIMIT = 20 - IPV6_2292HOPOPTS = 22 - IPV6_2292NEXTHOP = 21 - IPV6_2292PKTINFO = 19 - IPV6_2292PKTOPTIONS = 25 - IPV6_2292RTHDR = 24 - IPV6_ADDR_MC_FLAGS_PREFIX = 0x20 - IPV6_ADDR_MC_FLAGS_TRANSIENT = 0x10 - IPV6_ADDR_MC_FLAGS_UNICAST_BASED = 48 - IPV6_BINDV6ONLY = 27 - IPV6_BOUND_IF = 125 - IPV6_CHECKSUM = 26 - IPV6_DEFAULT_MULTICAST_HOPS = 1 - IPV6_DEFAULT_MULTICAST_LOOP = 1 - IPV6_FAITH = 29 - IPV6_FW_ADD = 30 - IPV6_FW_DEL = 31 - IPV6_FW_FLUSH = 32 - IPV6_FW_GET = 34 - IPV6_FW_ZERO = 33 - IPV6_IPSEC_POLICY = 28 - IPV6_JOIN_GROUP = 12 - IPV6_LEAVE_GROUP = 13 - IPV6_MAX_GROUP_SRC_FILTER = 512 - IPV6_MAX_MEMBERSHIPS = 4095 - IPV6_MAX_SOCK_SRC_FILTER = 128 - IPV6_MIN_MEMBERSHIPS = 31 - IPV6_MULTICAST_HOPS = 10 - IPV6_MULTICAST_IF = 9 - IPV6_MULTICAST_LOOP = 11 - IPV6_PORTRANGE = 14 - IPV6_PORTRANGE_DEFAULT = 0 - IPV6_PORTRANGE_HIGH = 1 - IPV6_PORTRANGE_LOW = 2 - IPV6_RECVTCLASS = 35 - IPV6_RTHDR_LOOSE = 0 - IPV6_RTHDR_STRICT = 1 - IPV6_RTHDR_TYPE_0 = 0 - IPV6_SOCKOPT_RESERVED1 = 3 - IPV6_TCLASS = 36 - IPV6_UNICAST_HOPS = 4 - IPV6_V6ONLY = 27 - IP_ADD_MEMBERSHIP = 12 - IP_ADD_SOURCE_MEMBERSHIP = 70 - IP_BLOCK_SOURCE = 72 - IP_BOUND_IF = 25 - IP_DEFAULT_MULTICAST_LOOP = 1 - IP_DEFAULT_MULTICAST_TTL = 1 - IP_DONTFRAG = 28 - IP_DROP_MEMBERSHIP = 13 - IP_DROP_SOURCE_MEMBERSHIP = 71 - IP_DUMMYNET_CONFIGURE = 60 - IP_DUMMYNET_DEL = 61 - IP_DUMMYNET_FLUSH = 62 - IP_DUMMYNET_GET = 64 - IP_FAITH = 22 - IP_FW_ADD = 40 - IP_FW_DEL = 41 - IP_FW_FLUSH = 42 - IP_FW_GET = 44 - IP_FW_RESETLOG = 45 - IP_FW_ZERO = 43 - IP_HDRINCL = 2 - IP_IPSEC_POLICY = 21 - IP_MAX_GROUP_SRC_FILTER = 512 - IP_MAX_MEMBERSHIPS = 4095 - IP_MAX_SOCK_MUTE_FILTER = 128 - IP_MAX_SOCK_SRC_FILTER = 128 - IP_MIN_MEMBERSHIPS = 31 - IP_MSFILTER = 74 - IP_MULTICAST_IF = 9 - IP_MULTICAST_IFINDEX = 66 - IP_MULTICAST_LOOP = 11 - IP_MULTICAST_TTL = 10 - IP_MULTICAST_VIF = 14 - IP_NAT__XXX = 55 - IP_OLD_FW_ADD = 50 - IP_OLD_FW_DEL = 51 - IP_OLD_FW_FLUSH = 52 - IP_OLD_FW_GET = 54 - IP_OLD_FW_RESETLOG = 56 - IP_OLD_FW_ZERO = 53 - IP_OPTIONS = 1 - IP_PKTINFO = 26 - IP_PORTRANGE = 19 - IP_PORTRANGE_DEFAULT = 0 - IP_PORTRANGE_HIGH = 1 - IP_PORTRANGE_LOW = 2 - IP_RECVDSTADDR = 7 - IP_RECVIF = 20 - IP_RECVOPTS = 5 - IP_RECVPKTINFO = 26 - IP_RECVRETOPTS = 6 - IP_RECVTOS = 27 - IP_RECVTTL = 24 - IP_RETOPTS = 8 - IP_RSVP_OFF = 16 - IP_RSVP_ON = 15 - IP_RSVP_VIF_OFF = 18 - IP_RSVP_VIF_ON = 17 - IP_STRIPHDR = 23 - IP_TOS = 3 - IP_TRAFFIC_MGT_BACKGROUND = 65 - IP_TTL = 4 - IP_UNBLOCK_SOURCE = 73 - KEV_DL_ADDMULTI = 7 - KEV_DL_AWDL_RESTRICTED = 26 - KEV_DL_AWDL_UNRESTRICTED = 27 - KEV_DL_DELMULTI = 8 - KEV_DL_IFCAP_CHANGED = 19 - KEV_DL_IFDELEGATE_CHANGED = 25 - KEV_DL_IF_ATTACHED = 9 - KEV_DL_IF_DETACHED = 11 - KEV_DL_IF_DETACHING = 10 - KEV_DL_IF_IDLE_ROUTE_REFCNT = 18 - KEV_DL_ISSUES = 24 - KEV_DL_LINK_ADDRESS_CHANGED = 16 - KEV_DL_LINK_OFF = 12 - KEV_DL_LINK_ON = 13 - KEV_DL_LINK_QUALITY_METRIC_CHANGED = 20 - KEV_DL_LOW_POWER_MODE_CHANGED = 30 - KEV_DL_NODE_ABSENCE = 22 - KEV_DL_NODE_PRESENCE = 21 - KEV_DL_PRIMARY_ELECTED = 23 - KEV_DL_PROTO_ATTACHED = 14 - KEV_DL_PROTO_DETACHED = 15 - KEV_DL_QOS_MODE_CHANGED = 29 - KEV_DL_RRC_STATE_CHANGED = 28 - KEV_DL_SIFFLAGS = 1 - KEV_DL_SIFGENERIC = 6 - KEV_DL_SIFMEDIA = 5 - KEV_DL_SIFMETRICS = 2 - KEV_DL_SIFMTU = 3 - KEV_DL_SIFPHYS = 4 - KEV_DL_SUBCLASS = 2 - KEV_DL_WAKEFLAGS_CHANGED = 17 - KEV_INET6_ADDR_DELETED = 3 - KEV_INET6_CHANGED_ADDR = 2 - KEV_INET6_DEFROUTER = 6 - KEV_INET6_NEW_LL_ADDR = 4 - KEV_INET6_NEW_RTADV_ADDR = 5 - KEV_INET6_NEW_USER_ADDR = 1 - KEV_INET6_REQUEST_NAT64_PREFIX = 7 - KEV_INET6_SUBCLASS = 6 - KEV_INET_ADDR_DELETED = 3 - KEV_INET_ARPCOLLISION = 7 - KEV_INET_ARPRTRALIVE = 10 - KEV_INET_ARPRTRFAILURE = 9 - KEV_INET_CHANGED_ADDR = 2 - KEV_INET_NEW_ADDR = 1 - KEV_INET_PORTINUSE = 8 - KEV_INET_SIFBRDADDR = 5 - KEV_INET_SIFDSTADDR = 4 - KEV_INET_SIFNETMASK = 6 - KEV_INET_SUBCLASS = 1 - LITTLE_ENDIAN = 1234 - MAC_OS_VERSION_11_0 = 110000 - MAC_OS_VERSION_12_0 = 120000 - MAC_OS_X_VERSION_10_0 = 1000 - MAC_OS_X_VERSION_10_1 = 1010 - MAC_OS_X_VERSION_10_10 = 101000 - MAC_OS_X_VERSION_10_10_2 = 101002 - MAC_OS_X_VERSION_10_10_3 = 101003 - MAC_OS_X_VERSION_10_11 = 101100 - MAC_OS_X_VERSION_10_11_2 = 101102 - MAC_OS_X_VERSION_10_11_3 = 101103 - MAC_OS_X_VERSION_10_11_4 = 101104 - MAC_OS_X_VERSION_10_12 = 101200 - MAC_OS_X_VERSION_10_12_1 = 101201 - MAC_OS_X_VERSION_10_12_2 = 101202 - MAC_OS_X_VERSION_10_12_4 = 101204 - MAC_OS_X_VERSION_10_13 = 101300 - MAC_OS_X_VERSION_10_13_1 = 101301 - MAC_OS_X_VERSION_10_13_2 = 101302 - MAC_OS_X_VERSION_10_13_4 = 101304 - MAC_OS_X_VERSION_10_14 = 101400 - MAC_OS_X_VERSION_10_14_1 = 101401 - MAC_OS_X_VERSION_10_14_4 = 101404 - MAC_OS_X_VERSION_10_14_6 = 101406 - MAC_OS_X_VERSION_10_15 = 101500 - MAC_OS_X_VERSION_10_15_1 = 101501 - MAC_OS_X_VERSION_10_16 = 101600 - MAC_OS_X_VERSION_10_2 = 1020 - MAC_OS_X_VERSION_10_3 = 1030 - MAC_OS_X_VERSION_10_4 = 1040 - MAC_OS_X_VERSION_10_5 = 1050 - MAC_OS_X_VERSION_10_6 = 1060 - MAC_OS_X_VERSION_10_7 = 1070 - MAC_OS_X_VERSION_10_8 = 1080 - MAC_OS_X_VERSION_10_9 = 1090 - MCAST_BLOCK_SOURCE = 84 - MCAST_EXCLUDE = 2 - MCAST_INCLUDE = 1 - MCAST_JOIN_GROUP = 80 - MCAST_JOIN_SOURCE_GROUP = 82 - MCAST_LEAVE_GROUP = 81 - MCAST_LEAVE_SOURCE_GROUP = 83 - MCAST_UNBLOCK_SOURCE = 85 - MCAST_UNDEFINED = 0 - MSG_CTRUNC = 0x20 - MSG_DONTROUTE = 0x4 - MSG_DONTWAIT = 0x80 - MSG_EOF = 0x100 - MSG_EOR = 0x8 - MSG_FLUSH = 0x400 - MSG_HAVEMORE = 0x2000 - MSG_HOLD = 0x800 - MSG_NEEDSA = 0x10000 - MSG_NOSIGNAL = 0x80000 - MSG_OOB = 0x1 - MSG_PEEK = 0x2 - MSG_RCVMORE = 0x4000 - MSG_SEND = 0x1000 - MSG_TRUNC = 0x10 - MSG_WAITALL = 0x40 - MSG_WAITSTREAM = 0x200 - NBBY = 8 - NETSVC_MRKNG_LVL_L2 = 1 - NETSVC_MRKNG_LVL_L3L2_ALL = 2 - NETSVC_MRKNG_LVL_L3L2_BK = 3 - NETSVC_MRKNG_UNKNOWN = 0 - NET_MAXID = 41 - NET_RT_DUMP = 1 - NET_RT_DUMP2 = 7 - NET_RT_FLAGS = 2 - NET_RT_FLAGS_PRIV = 10 - NET_RT_IFLIST = 3 - NET_RT_IFLIST2 = 6 - NET_RT_MAXID = 11 - NET_RT_STAT = 4 - NET_RT_TRASH = 5 - NET_SERVICE_TYPE_AV = 6 - NET_SERVICE_TYPE_BE = 0 - NET_SERVICE_TYPE_BK = 1 - NET_SERVICE_TYPE_OAM = 7 - NET_SERVICE_TYPE_RD = 8 - NET_SERVICE_TYPE_RV = 5 - NET_SERVICE_TYPE_SIG = 2 - NET_SERVICE_TYPE_VI = 3 - NET_SERVICE_TYPE_VO = 4 - PDP_ENDIAN = 3412 - PF_APPLETALK = 16 - PF_CCITT = 10 - PF_CHAOS = 5 - PF_CNT = 21 - PF_COIP = 20 - PF_DATAKIT = 9 - PF_DECnet = 12 - PF_DLI = 13 - PF_ECMA = 8 - PF_HYLINK = 15 - PF_IMPLINK = 3 - PF_INET = 2 - PF_INET6 = 30 - PF_IPX = 23 - PF_ISDN = 28 - PF_ISO = 7 - PF_KEY = 29 - PF_LAT = 14 - PF_LINK = 18 - PF_LOCAL = 1 - PF_MAX = 41 - PF_NATM = 31 - PF_NDRV = 27 - PF_NETBIOS = 33 - PF_NS = 6 - PF_OSI = 7 - PF_PIP = 25 - PF_PPP = 34 - PF_PUP = 4 - PF_RESERVED_36 = 36 - PF_ROUTE = 17 - PF_RTIP = 22 - PF_SIP = 24 - PF_SNA = 11 - PF_SYSTEM = 32 - PF_UNIX = 1 - PF_UNSPEC = 0 - PF_UTUN = 38 - PF_VSOCK = 40 - PF_XTP = 19 - PTRDIFF_MAX = 9223372036854775807 - PTRDIFF_MIN = -9223372036854775808 - SAE_ASSOCID_ANY = 0 - SAE_CONNID_ANY = 0 - SCM_CREDS = 0x03 - SCM_RIGHTS = 0x01 - SCM_TIMESTAMP = 0x02 - SCM_TIMESTAMP_MONOTONIC = 0x04 - SHUT_RD = 0 - SHUT_RDWR = 2 - SHUT_WR = 1 - SIG_ATOMIC_MAX = 2147483647 - SIG_ATOMIC_MIN = -2147483648 - SIN6_LEN = 0 - SIZE_MAX = 18446744073709551615 - SOCK_DGRAM = 2 - SOCK_MAXADDRLEN = 255 - SOCK_RAW = 3 - SOCK_RDM = 4 - SOCK_SEQPACKET = 5 - SOCK_STREAM = 1 - SOL_SOCKET = 0xffff - SOMAXCONN = 128 - SONPX_SETOPTSHUT = 0x000000001 - SO_ACCEPTCONN = 0x0002 - SO_BROADCAST = 0x0020 - SO_DEBUG = 0x0001 - SO_DONTROUTE = 0x0010 - SO_DONTTRUNC = 0x2000 - SO_ERROR = 0x1007 - SO_KEEPALIVE = 0x0008 - SO_LABEL = 0x1010 - SO_LINGER = 0x0080 - SO_LINGER_SEC = 0x1080 - SO_NETSVC_MARKING_LEVEL = 0x1119 - SO_NET_SERVICE_TYPE = 0x1116 - SO_NKE = 0x1021 - SO_NOADDRERR = 0x1023 - SO_NOSIGPIPE = 0x1022 - SO_NOTIFYCONFLICT = 0x1026 - SO_NP_EXTENSIONS = 0x1083 - SO_NREAD = 0x1020 - SO_NUMRCVPKT = 0x1112 - SO_NWRITE = 0x1024 - SO_OOBINLINE = 0x0100 - SO_PEERLABEL = 0x1011 - SO_RANDOMPORT = 0x1082 - SO_RCVBUF = 0x1002 - SO_RCVLOWAT = 0x1004 - SO_RCVTIMEO = 0x1006 - SO_REUSEADDR = 0x0004 - SO_REUSEPORT = 0x0200 - SO_REUSESHAREUID = 0x1025 - SO_SNDBUF = 0x1001 - SO_SNDLOWAT = 0x1003 - SO_SNDTIMEO = 0x1005 - SO_TIMESTAMP = 0x0400 - SO_TIMESTAMP_MONOTONIC = 0x0800 - SO_TYPE = 0x1008 - SO_UPCALLCLOSEWAIT = 0x1027 - SO_USELOOPBACK = 0x0040 - SO_WANTMORE = 0x4000 - SO_WANTOOBFLAG = 0x8000 - UINT16_MAX = 65535 - UINT32_MAX = 4294967295 - UINT64_MAX = 18446744073709551615 - UINT8_MAX = 255 - UINTMAX_MAX = 18446744073709551615 - UINTPTR_MAX = 18446744073709551615 - UINT_FAST16_MAX = 65535 - UINT_FAST32_MAX = 4294967295 - UINT_FAST64_MAX = 18446744073709551615 - UINT_FAST8_MAX = 255 - UINT_LEAST16_MAX = 65535 - UINT_LEAST32_MAX = 4294967295 - UINT_LEAST64_MAX = 18446744073709551615 - UINT_LEAST8_MAX = 255 - WCHAR_MAX = 2147483647 - WCHAR_MIN = -2147483648 - WINT_MAX = 2147483647 - WINT_MIN = -2147483648 - X_ARM_ARCH_H = 0 - X_ARM_MACHTYPES_H_ = 0 - X_ARM__ENDIAN_H_ = 0 - X_ARM__PARAM_H_ = 0 - X_BLKCNT_T = 0 - X_BLKSIZE_T = 0 - X_BSD_ARM__TYPES_H_ = 0 - X_BSD_MACHINE_ENDIAN_H_ = 0 - X_BSD_MACHINE_TYPES_H_ = 0 - X_BSD_MACHINE__PARAM_H_ = 0 - X_BSD_MACHINE__TYPES_H_ = 0 - X_CADDR_T = 0 - X_CDEFS_H_ = 0 - X_CLOCK_T = 0 - X_DARWIN_FEATURE_64_BIT_INODE = 1 - X_DARWIN_FEATURE_ONLY_64_BIT_INODE = 1 - X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1 - X_DARWIN_FEATURE_ONLY_VERS_1050 = 1 - X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3 - X_DEV_T = 0 - X_ERRNO_T = 0 - X_FD_SET = 0 - X_FILE_OFFSET_BITS = 64 - X_FSBLKCNT_T = 0 - X_FSFILCNT_T = 0 - X_GID_T = 0 - X_ID_T = 0 - X_INO64_T = 0 - X_INO_T = 0 - X_INT16_T = 0 - X_INT32_T = 0 - X_INT64_T = 0 - X_INT8_T = 0 - X_INTPTR_T = 0 - X_IN_ADDR_T = 0 - X_IN_PORT_T = 0 - X_KEY_T = 0 - X_LP64 = 1 - X_MACHTYPES_H_ = 0 - X_MODE_T = 0 - X_NETINET6_IN6_H_ = 0 - X_NETINET_IN_H_ = 0 - X_NET_NETKEV_H_ = 0 - X_NLINK_T = 0 - X_Nonnull = 0 - X_Null_unspecified = 0 - X_Nullable = 0 - X_OFF_T = 0 - X_OS_OSBYTEORDERARM_H = 0 - X_OS__OSBYTEORDER_H = 0 - X_PID_T = 0 - X_PTHREAD_ATTR_T = 0 - X_PTHREAD_CONDATTR_T = 0 - X_PTHREAD_COND_T = 0 - X_PTHREAD_KEY_T = 0 - X_PTHREAD_MUTEXATTR_T = 0 - X_PTHREAD_MUTEX_T = 0 - X_PTHREAD_ONCE_T = 0 - X_PTHREAD_RWLOCKATTR_T = 0 - X_PTHREAD_RWLOCK_T = 0 - X_PTHREAD_T = 0 - X_QUAD_HIGHWORD = 1 - X_QUAD_LOWWORD = 0 - X_RSIZE_T = 0 - X_SA_FAMILY_T = 0 - X_SIZE_T = 0 - X_SOCKLEN_T = 0 - X_SSIZE_T = 0 - X_SS_MAXSIZE = 128 - X_STRUCT_IOVEC = 0 - X_SUSECONDS_T = 0 - X_SYS_SOCKET_H_ = 0 - X_SYS_TYPES_H_ = 0 - X_SYS__ENDIAN_H_ = 0 - X_SYS__PTHREAD_TYPES_H_ = 0 - X_SYS__TYPES_H_ = 0 - X_TIME_T = 0 - X_UID_T = 0 - X_UINTPTR_T = 0 - X_USECONDS_T = 0 - X_U_CHAR = 0 - X_U_INT = 0 - X_U_INT16_T = 0 - X_U_INT32_T = 0 - X_U_INT64_T = 0 - X_U_INT8_T = 0 - X_U_LONG = 0 - X_U_SHORT = 0 - Pseudo_AF_HDRCMPLT = 35 - Pseudo_AF_KEY = 29 - Pseudo_AF_PIP = 25 - Pseudo_AF_RTIP = 22 - Pseudo_AF_XTP = 19 + AF_APPLETALK = 16 // socket.h:379:1: + AF_CCITT = 10 // socket.h:373:1: + AF_CHAOS = 5 // socket.h:367:1: + AF_CNT = 21 // socket.h:384:1: + AF_COIP = 20 // socket.h:383:1: + AF_DATAKIT = 9 // socket.h:372:1: + AF_DECnet = 12 // socket.h:375:1: + AF_DLI = 13 // socket.h:376:1: + AF_E164 = 28 // socket.h:391:1: + AF_ECMA = 8 // socket.h:371:1: + AF_HYLINK = 15 // socket.h:378:1: + AF_IEEE80211 = 37 // socket.h:403:1: + AF_IMPLINK = 3 // socket.h:365:1: + AF_INET = 2 // socket.h:363:1: + AF_INET6 = 30 // socket.h:394:1: + AF_IPX = 23 // socket.h:386:1: + AF_ISDN = 28 // socket.h:390:1: + AF_ISO = 7 // socket.h:369:1: + AF_LAT = 14 // socket.h:377:1: + AF_LINK = 18 // socket.h:381:1: + AF_LOCAL = 1 // socket.h:361:1: + AF_MAX = 41 // socket.h:406:1: + AF_NATM = 31 // socket.h:396:1: + AF_NDRV = 27 // socket.h:389:1: + AF_NETBIOS = 33 // socket.h:398:1: + AF_NS = 6 // socket.h:368:1: + AF_OSI = 7 // socket.h:370:1: + AF_PPP = 34 // socket.h:399:1: + AF_PUP = 4 // socket.h:366:1: + AF_RESERVED_36 = 36 // socket.h:402:1: + AF_ROUTE = 17 // socket.h:380:1: + AF_SIP = 24 // socket.h:387:1: + AF_SNA = 11 // socket.h:374:1: + AF_SYSTEM = 32 // socket.h:397:1: + AF_UNIX = 1 // socket.h:359:1: + AF_UNSPEC = 0 // socket.h:358:1: + AF_UTUN = 38 // socket.h:404:1: + AF_VSOCK = 40 // socket.h:405:1: + BIG_ENDIAN = 4321 // endian.h:72:1: + BYTE_ORDER = 1234 // endian.h:75:1: + CONNECT_DATA_AUTHENTICATED = 0x4 // socket.h:304:1: + CONNECT_DATA_IDEMPOTENT = 0x2 // socket.h:303:1: + CONNECT_RESUME_ON_READ_WRITE = 0x1 // socket.h:302:1: + FD_SETSIZE = 1024 // _fd_setsize.h:29:1: + ICMP6_FILTER = 18 // in6.h:394:1: + ICMPV6CTL_ND6_ONLINKNSRFC4861 = 50 // in6.h:629:1: + INADDR_NONE = 0xffffffff // in.h:342:1: + INET6_ADDRSTRLEN = 46 // in6.h:162:1: + INET_ADDRSTRLEN = 16 // in.h:388:1: + INT16_MAX = 32767 // stdint.h:599:1: + INT16_MIN = -32768 // stdint.h:600:1: + INT32_MAX = 2147483647 // stdint.h:555:1: + INT32_MIN = -2147483648 // stdint.h:556:1: + INT64_MAX = 9223372036854775807 // stdint.h:461:1: + INT64_MIN = -9223372036854775808 // stdint.h:462:1: + INT8_MAX = 127 // stdint.h:621:1: + INT8_MIN = -128 // stdint.h:622:1: + INTMAX_MAX = 9223372036854775807 // stdint.h:663:1: + INTMAX_MIN = -9223372036854775808 // stdint.h:662:1: + INTPTR_MAX = 9223372036854775807 // stdint.h:649:1: + INTPTR_MIN = -9223372036854775808 // stdint.h:648:1: + INT_FAST16_MAX = 32767 // stdint.h:615:1: + INT_FAST16_MIN = -32768 // stdint.h:614:1: + INT_FAST32_MAX = 2147483647 // stdint.h:574:1: + INT_FAST32_MIN = -2147483648 // stdint.h:573:1: + INT_FAST64_MAX = 9223372036854775807 // stdint.h:483:1: + INT_FAST64_MIN = -9223372036854775808 // stdint.h:482:1: + INT_FAST8_MAX = 127 // stdint.h:634:1: + INT_FAST8_MIN = -128 // stdint.h:633:1: + INT_LEAST16_MAX = 32767 // stdint.h:612:1: + INT_LEAST16_MIN = -32768 // stdint.h:611:1: + INT_LEAST32_MAX = 2147483647 // stdint.h:571:1: + INT_LEAST32_MIN = -2147483648 // stdint.h:570:1: + INT_LEAST64_MAX = 9223372036854775807 // stdint.h:480:1: + INT_LEAST64_MIN = -9223372036854775808 // stdint.h:479:1: + INT_LEAST8_MAX = 127 // stdint.h:631:1: + INT_LEAST8_MIN = -128 // stdint.h:630:1: + IN_CLASSA_HOST = 0x00ffffff // in.h:317:1: + IN_CLASSA_MAX = 128 // in.h:318:1: + IN_CLASSA_NET = 0xff000000 // in.h:315:1: + IN_CLASSA_NSHIFT = 24 // in.h:316:1: + IN_CLASSB_HOST = 0x0000ffff // in.h:323:1: + IN_CLASSB_MAX = 65536 // in.h:324:1: + IN_CLASSB_NET = 0xffff0000 // in.h:321:1: + IN_CLASSB_NSHIFT = 16 // in.h:322:1: + IN_CLASSC_HOST = 0x000000ff // in.h:329:1: + IN_CLASSC_NET = 0xffffff00 // in.h:327:1: + IN_CLASSC_NSHIFT = 8 // in.h:328:1: + IN_CLASSD_HOST = 0x0fffffff // in.h:334:1: + IN_CLASSD_NET = 0xf0000000 // in.h:332:1: + IN_CLASSD_NSHIFT = 28 // in.h:333:1: + IN_LOOPBACKNET = 127 // in.h:369:1: + IPCTL_ACCEPTSOURCEROUTE = 13 // in.h:650:1: + IPCTL_DEFTTL = 3 // in.h:638:1: + IPCTL_DIRECTEDBROADCAST = 9 // in.h:646:1: + IPCTL_FASTFORWARDING = 14 // in.h:651:1: + IPCTL_FORWARDING = 1 // in.h:636:1: + IPCTL_GIF_TTL = 16 // in.h:653:1: + IPCTL_INTRQDROPS = 11 // in.h:648:1: + IPCTL_INTRQMAXLEN = 10 // in.h:647:1: + IPCTL_KEEPFAITH = 15 // in.h:652:1: + IPCTL_MAXID = 17 // in.h:654:1: + IPCTL_RTEXPIRE = 5 // in.h:642:1: + IPCTL_RTMAXCACHE = 7 // in.h:644:1: + IPCTL_RTMINEXPIRE = 6 // in.h:643:1: + IPCTL_SENDREDIRECTS = 2 // in.h:637:1: + IPCTL_SOURCEROUTE = 8 // in.h:645:1: + IPCTL_STATS = 12 // in.h:649:1: + IPPORT_HIFIRSTAUTO = 49152 // in.h:286:1: + IPPORT_HILASTAUTO = 65535 // in.h:287:1: + IPPORT_RESERVED = 1024 // in.h:279:1: + IPPORT_RESERVEDSTART = 600 // in.h:295:1: + IPPORT_USERRESERVED = 5000 // in.h:281:1: + IPPROTO_3PC = 34 // in.h:139:1: + IPPROTO_ADFS = 68 // in.h:173:1: + IPPROTO_AH = 51 // in.h:158:1: + IPPROTO_AHIP = 61 // in.h:166:1: + IPPROTO_APES = 99 // in.h:204:1: + IPPROTO_ARGUS = 13 // in.h:116:1: + IPPROTO_AX25 = 93 // in.h:198:1: + IPPROTO_BHA = 49 // in.h:156:1: + IPPROTO_BLT = 30 // in.h:135:1: + IPPROTO_BRSATMON = 76 // in.h:181:1: + IPPROTO_CFTP = 62 // in.h:167:1: + IPPROTO_CHAOS = 16 // in.h:119:1: + IPPROTO_CMTP = 38 // in.h:143:1: + IPPROTO_CPHB = 73 // in.h:178:1: + IPPROTO_CPNX = 72 // in.h:177:1: + IPPROTO_DDP = 37 // in.h:142:1: + IPPROTO_DGP = 86 // in.h:191:1: + IPPROTO_DIVERT = 254 // in.h:213:1: + IPPROTO_DONE = 257 // in.h:221:1: + IPPROTO_DSTOPTS = 60 // in.h:165:1: + IPPROTO_EGP = 8 // in.h:111:1: + IPPROTO_EMCON = 14 // in.h:117:1: + IPPROTO_ENCAP = 98 // in.h:203:1: + IPPROTO_EON = 80 // in.h:185:1: + IPPROTO_ESP = 50 // in.h:157:1: + IPPROTO_ETHERIP = 97 // in.h:202:1: + IPPROTO_FRAGMENT = 44 // in.h:151:1: + IPPROTO_GGP = 3 // in.h:104:1: + IPPROTO_GMTP = 100 // in.h:205:1: + IPPROTO_GRE = 47 // in.h:154:1: + IPPROTO_HELLO = 63 // in.h:168:1: + IPPROTO_HMP = 20 // in.h:125:1: + IPPROTO_HOPOPTS = 0 // in.h:99:1: + IPPROTO_ICMP = 1 // in.h:101:1: + IPPROTO_ICMPV6 = 58 // in.h:163:1: + IPPROTO_IDP = 22 // in.h:127:1: + IPPROTO_IDPR = 35 // in.h:140:1: + IPPROTO_IDRP = 45 // in.h:152:1: + IPPROTO_IGMP = 2 // in.h:103:1: + IPPROTO_IGP = 85 // in.h:190:1: + IPPROTO_IGRP = 88 // in.h:193:1: + IPPROTO_IL = 40 // in.h:145:1: + IPPROTO_INLSP = 52 // in.h:159:1: + IPPROTO_INP = 32 // in.h:137:1: + IPPROTO_IP = 0 // in.h:97:1: + IPPROTO_IPCOMP = 108 // in.h:208:1: + IPPROTO_IPCV = 71 // in.h:176:1: + IPPROTO_IPEIP = 94 // in.h:199:1: + IPPROTO_IPIP = 4 // in.h:106:1: + IPPROTO_IPPC = 67 // in.h:172:1: + IPPROTO_IPV4 = 4 // in.h:105:1: + IPPROTO_IPV6 = 41 // in.h:147:1: + IPPROTO_IRTP = 28 // in.h:133:1: + IPPROTO_KRYPTOLAN = 65 // in.h:170:1: + IPPROTO_LARP = 91 // in.h:196:1: + IPPROTO_LEAF1 = 25 // in.h:130:1: + IPPROTO_LEAF2 = 26 // in.h:131:1: + IPPROTO_MAX = 256 // in.h:218:1: + IPPROTO_MAXID = 52 // in.h:630:1: + IPPROTO_MEAS = 19 // in.h:124:1: + IPPROTO_MHRP = 48 // in.h:155:1: + IPPROTO_MICP = 95 // in.h:200:1: + IPPROTO_MTP = 92 // in.h:197:1: + IPPROTO_MUX = 18 // in.h:123:1: + IPPROTO_ND = 77 // in.h:182:1: + IPPROTO_NHRP = 54 // in.h:161:1: + IPPROTO_NONE = 59 // in.h:164:1: + IPPROTO_NSP = 31 // in.h:136:1: + IPPROTO_NVPII = 11 // in.h:114:1: + IPPROTO_OSPFIGP = 89 // in.h:194:1: + IPPROTO_PGM = 113 // in.h:209:1: + IPPROTO_PIGP = 9 // in.h:112:1: + IPPROTO_PIM = 103 // in.h:207:1: + IPPROTO_PRM = 21 // in.h:126:1: + IPPROTO_PUP = 12 // in.h:115:1: + IPPROTO_PVP = 75 // in.h:180:1: + IPPROTO_RAW = 255 // in.h:215:1: + IPPROTO_RCCMON = 10 // in.h:113:1: + IPPROTO_RDP = 27 // in.h:132:1: + IPPROTO_ROUTING = 43 // in.h:150:1: + IPPROTO_RSVP = 46 // in.h:153:1: + IPPROTO_RVD = 66 // in.h:171:1: + IPPROTO_SATEXPAK = 64 // in.h:169:1: + IPPROTO_SATMON = 69 // in.h:174:1: + IPPROTO_SCCSP = 96 // in.h:201:1: + IPPROTO_SCTP = 132 // in.h:210:1: + IPPROTO_SDRP = 42 // in.h:149:1: + IPPROTO_SEP = 33 // in.h:138:1: + IPPROTO_SRPC = 90 // in.h:195:1: + IPPROTO_ST = 7 // in.h:110:1: + IPPROTO_SVMTP = 82 // in.h:187:1: + IPPROTO_SWIPE = 53 // in.h:160:1: + IPPROTO_TCF = 87 // in.h:192:1: + IPPROTO_TCP = 6 // in.h:108:1: + IPPROTO_TP = 29 // in.h:134:1: + IPPROTO_TPXX = 39 // in.h:144:1: + IPPROTO_TRUNK1 = 23 // in.h:128:1: + IPPROTO_TRUNK2 = 24 // in.h:129:1: + IPPROTO_TTP = 84 // in.h:189:1: + IPPROTO_UDP = 17 // in.h:121:1: + IPPROTO_VINES = 83 // in.h:188:1: + IPPROTO_VISA = 70 // in.h:175:1: + IPPROTO_VMTP = 81 // in.h:186:1: + IPPROTO_WBEXPAK = 79 // in.h:184:1: + IPPROTO_WBMON = 78 // in.h:183:1: + IPPROTO_WSN = 74 // in.h:179:1: + IPPROTO_XNET = 15 // in.h:118:1: + IPPROTO_XTP = 36 // in.h:141:1: + IPV6CTL_ACCEPT_RTADV = 12 // in6.h:594:1: + IPV6CTL_ADDRCTLPOLICY = 38 // in6.h:619:1: + IPV6CTL_AUTO_FLOWLABEL = 17 // in6.h:599:1: + IPV6CTL_AUTO_LINKLOCAL = 35 // in6.h:616:1: + IPV6CTL_DAD_COUNT = 16 // in6.h:598:1: + IPV6CTL_DEFHLIM = 3 // in6.h:583:1: + IPV6CTL_DEFMCASTHLIM = 18 // in6.h:600:1: + IPV6CTL_FORWARDING = 1 // in6.h:581:1: + IPV6CTL_FORWSRCRT = 5 // in6.h:587:1: + IPV6CTL_GIF_HLIM = 19 // in6.h:601:1: + IPV6CTL_HDRNESTLIMIT = 15 // in6.h:597:1: + IPV6CTL_KAME_VERSION = 20 // in6.h:602:1: + IPV6CTL_KEEPFAITH = 13 // in6.h:595:1: + IPV6CTL_LOG_INTERVAL = 14 // in6.h:596:1: + IPV6CTL_MAXDYNROUTES = 49 // in6.h:628:1: + IPV6CTL_MAXFRAGPACKETS = 9 // in6.h:591:1: + IPV6CTL_MAXFRAGS = 41 // in6.h:622:1: + IPV6CTL_MAXID = 51 // in6.h:635:1: + IPV6CTL_MAXIFDEFROUTERS = 48 // in6.h:627:1: + IPV6CTL_MAXIFPREFIXES = 47 // in6.h:626:1: + IPV6CTL_MCAST_PMTU = 44 // in6.h:623:1: + IPV6CTL_MRTPROTO = 8 // in6.h:590:1: + IPV6CTL_MRTSTATS = 7 // in6.h:589:1: + IPV6CTL_NEIGHBORGCTHRESH = 46 // in6.h:625:1: + IPV6CTL_PREFER_TEMPADDR = 37 // in6.h:618:1: + IPV6CTL_RIP6STATS = 36 // in6.h:617:1: + IPV6CTL_RR_PRUNE = 22 // in6.h:604:1: + IPV6CTL_RTEXPIRE = 25 // in6.h:609:1: + IPV6CTL_RTMAXCACHE = 27 // in6.h:611:1: + IPV6CTL_RTMINEXPIRE = 26 // in6.h:610:1: + IPV6CTL_SENDREDIRECTS = 2 // in6.h:582:1: + IPV6CTL_SOURCECHECK = 10 // in6.h:592:1: + IPV6CTL_SOURCECHECK_LOGINT = 11 // in6.h:593:1: + IPV6CTL_STATS = 6 // in6.h:588:1: + IPV6CTL_TEMPPLTIME = 33 // in6.h:614:1: + IPV6CTL_TEMPVLTIME = 34 // in6.h:615:1: + IPV6CTL_ULA_USETEMPADDR = 51 // in6.h:630:1: + IPV6CTL_USETEMPADDR = 32 // in6.h:613:1: + IPV6CTL_USE_DEFAULTZONE = 39 // in6.h:620:1: + IPV6CTL_USE_DEPRECATED = 21 // in6.h:603:1: + IPV6CTL_V6ONLY = 24 // in6.h:608:1: + IPV6PORT_ANONMAX = 65535 // in6.h:144:1: + IPV6PORT_ANONMIN = 49152 // in6.h:143:1: + IPV6PORT_RESERVED = 1024 // in6.h:142:1: + IPV6PORT_RESERVEDMAX = 1023 // in6.h:146:1: + IPV6PORT_RESERVEDMIN = 600 // in6.h:145:1: + IPV6PROTO_MAXID = 104 // in6.h:576:1: + IPV6_2292DSTOPTS = 23 // in6.h:399:1: + IPV6_2292HOPLIMIT = 20 // in6.h:396:1: + IPV6_2292HOPOPTS = 22 // in6.h:398:1: + IPV6_2292NEXTHOP = 21 // in6.h:397:1: + IPV6_2292PKTINFO = 19 // in6.h:395:1: + IPV6_2292PKTOPTIONS = 25 // in6.h:403:1: + IPV6_2292RTHDR = 24 // in6.h:400:1: + IPV6_ADDR_MC_FLAGS_PREFIX = 0x20 // in6.h:306:1: + IPV6_ADDR_MC_FLAGS_TRANSIENT = 0x10 // in6.h:305:1: + IPV6_ADDR_MC_FLAGS_UNICAST_BASED = 48 // in6.h:307:1: + IPV6_BINDV6ONLY = 27 // in6.h:419:1: + IPV6_BOUND_IF = 125 // in6.h:508:1: + IPV6_CHECKSUM = 26 // in6.h:415:1: + IPV6_DEFAULT_MULTICAST_HOPS = 1 // in6.h:520:1: + IPV6_DEFAULT_MULTICAST_LOOP = 1 // in6.h:521:1: + IPV6_FAITH = 29 // in6.h:425:1: + IPV6_FW_ADD = 30 // in6.h:428:1: + IPV6_FW_DEL = 31 // in6.h:429:1: + IPV6_FW_FLUSH = 32 // in6.h:430:1: + IPV6_FW_GET = 34 // in6.h:432:1: + IPV6_FW_ZERO = 33 // in6.h:431:1: + IPV6_IPSEC_POLICY = 28 // in6.h:423:1: + IPV6_JOIN_GROUP = 12 // in6.h:389:1: + IPV6_LEAVE_GROUP = 13 // in6.h:390:1: + IPV6_MAX_GROUP_SRC_FILTER = 512 // in6.h:535:1: + IPV6_MAX_MEMBERSHIPS = 4095 // in6.h:529:1: + IPV6_MAX_SOCK_SRC_FILTER = 128 // in6.h:536:1: + IPV6_MIN_MEMBERSHIPS = 31 // in6.h:528:1: + IPV6_MULTICAST_HOPS = 10 // in6.h:387:1: + IPV6_MULTICAST_IF = 9 // in6.h:386:1: + IPV6_MULTICAST_LOOP = 11 // in6.h:388:1: + IPV6_PORTRANGE = 14 // in6.h:393:1: + IPV6_PORTRANGE_DEFAULT = 0 // in6.h:566:1: + IPV6_PORTRANGE_HIGH = 1 // in6.h:567:1: + IPV6_PORTRANGE_LOW = 2 // in6.h:568:1: + IPV6_RECVTCLASS = 35 // in6.h:440:1: + IPV6_RTHDR_LOOSE = 0 // in6.h:513:1: + IPV6_RTHDR_STRICT = 1 // in6.h:514:1: + IPV6_RTHDR_TYPE_0 = 0 // in6.h:515:1: + IPV6_SOCKOPT_RESERVED1 = 3 // in6.h:383:1: + IPV6_TCLASS = 36 // in6.h:441:1: + IPV6_UNICAST_HOPS = 4 // in6.h:385:1: + IPV6_V6ONLY = 27 // in6.h:417:1: + IP_ADD_MEMBERSHIP = 12 // in.h:418:1: + IP_ADD_SOURCE_MEMBERSHIP = 70 // in.h:465:1: + IP_BLOCK_SOURCE = 72 // in.h:467:1: + IP_BOUND_IF = 25 // in.h:434:1: + IP_DEFAULT_MULTICAST_LOOP = 1 // in.h:486:1: + IP_DEFAULT_MULTICAST_TTL = 1 // in.h:485:1: + IP_DONTFRAG = 28 // in.h:438:1: + IP_DROP_MEMBERSHIP = 13 // in.h:419:1: + IP_DROP_SOURCE_MEMBERSHIP = 71 // in.h:466:1: + IP_DUMMYNET_CONFIGURE = 60 // in.h:456:1: + IP_DUMMYNET_DEL = 61 // in.h:457:1: + IP_DUMMYNET_FLUSH = 62 // in.h:458:1: + IP_DUMMYNET_GET = 64 // in.h:459:1: + IP_FAITH = 22 // in.h:429:1: + IP_FW_ADD = 40 // in.h:440:1: + IP_FW_DEL = 41 // in.h:441:1: + IP_FW_FLUSH = 42 // in.h:442:1: + IP_FW_GET = 44 // in.h:444:1: + IP_FW_RESETLOG = 45 // in.h:445:1: + IP_FW_ZERO = 43 // in.h:443:1: + IP_HDRINCL = 2 // in.h:408:1: + IP_IPSEC_POLICY = 21 // in.h:428:1: + IP_MAX_GROUP_SRC_FILTER = 512 // in.h:500:1: + IP_MAX_MEMBERSHIPS = 4095 // in.h:494:1: + IP_MAX_SOCK_MUTE_FILTER = 128 // in.h:502:1: + IP_MAX_SOCK_SRC_FILTER = 128 // in.h:501:1: + IP_MIN_MEMBERSHIPS = 31 // in.h:493:1: + IP_MSFILTER = 74 // in.h:471:1: + IP_MULTICAST_IF = 9 // in.h:415:1: + IP_MULTICAST_IFINDEX = 66 // in.h:462:1: + IP_MULTICAST_LOOP = 11 // in.h:417:1: + IP_MULTICAST_TTL = 10 // in.h:416:1: + IP_MULTICAST_VIF = 14 // in.h:420:1: + IP_NAT__XXX = 55 // in.h:453:1: + IP_OLD_FW_ADD = 50 // in.h:448:1: + IP_OLD_FW_DEL = 51 // in.h:449:1: + IP_OLD_FW_FLUSH = 52 // in.h:450:1: + IP_OLD_FW_GET = 54 // in.h:452:1: + IP_OLD_FW_RESETLOG = 56 // in.h:454:1: + IP_OLD_FW_ZERO = 53 // in.h:451:1: + IP_OPTIONS = 1 // in.h:407:1: + IP_PKTINFO = 26 // in.h:435:1: + IP_PORTRANGE = 19 // in.h:425:1: + IP_PORTRANGE_DEFAULT = 0 // in.h:594:1: + IP_PORTRANGE_HIGH = 1 // in.h:595:1: + IP_PORTRANGE_LOW = 2 // in.h:596:1: + IP_RECVDSTADDR = 7 // in.h:413:1: + IP_RECVIF = 20 // in.h:426:1: + IP_RECVOPTS = 5 // in.h:411:1: + IP_RECVPKTINFO = 26 // in.h:436:1: + IP_RECVRETOPTS = 6 // in.h:412:1: + IP_RECVTOS = 27 // in.h:437:1: + IP_RECVTTL = 24 // in.h:433:1: + IP_RETOPTS = 8 // in.h:414:1: + IP_RSVP_OFF = 16 // in.h:422:1: + IP_RSVP_ON = 15 // in.h:421:1: + IP_RSVP_VIF_OFF = 18 // in.h:424:1: + IP_RSVP_VIF_ON = 17 // in.h:423:1: + IP_STRIPHDR = 23 // in.h:431:1: + IP_TOS = 3 // in.h:409:1: + IP_TRAFFIC_MGT_BACKGROUND = 65 // in.h:461:1: + IP_TTL = 4 // in.h:410:1: + IP_UNBLOCK_SOURCE = 73 // in.h:468:1: + KEV_DL_ADDMULTI = 7 // net_kev.h:61:1: + KEV_DL_AWDL_RESTRICTED = 26 // net_kev.h:80:1: + KEV_DL_AWDL_UNRESTRICTED = 27 // net_kev.h:81:1: + KEV_DL_DELMULTI = 8 // net_kev.h:62:1: + KEV_DL_IFCAP_CHANGED = 19 // net_kev.h:73:1: + KEV_DL_IFDELEGATE_CHANGED = 25 // net_kev.h:79:1: + KEV_DL_IF_ATTACHED = 9 // net_kev.h:63:1: + KEV_DL_IF_DETACHED = 11 // net_kev.h:65:1: + KEV_DL_IF_DETACHING = 10 // net_kev.h:64:1: + KEV_DL_IF_IDLE_ROUTE_REFCNT = 18 // net_kev.h:72:1: + KEV_DL_ISSUES = 24 // net_kev.h:78:1: + KEV_DL_LINK_ADDRESS_CHANGED = 16 // net_kev.h:70:1: + KEV_DL_LINK_OFF = 12 // net_kev.h:66:1: + KEV_DL_LINK_ON = 13 // net_kev.h:67:1: + KEV_DL_LINK_QUALITY_METRIC_CHANGED = 20 // net_kev.h:74:1: + KEV_DL_LOW_POWER_MODE_CHANGED = 30 // net_kev.h:84:1: + KEV_DL_NODE_ABSENCE = 22 // net_kev.h:76:1: + KEV_DL_NODE_PRESENCE = 21 // net_kev.h:75:1: + KEV_DL_PRIMARY_ELECTED = 23 // net_kev.h:77:1: + KEV_DL_PROTO_ATTACHED = 14 // net_kev.h:68:1: + KEV_DL_PROTO_DETACHED = 15 // net_kev.h:69:1: + KEV_DL_QOS_MODE_CHANGED = 29 // net_kev.h:83:1: + KEV_DL_RRC_STATE_CHANGED = 28 // net_kev.h:82:1: + KEV_DL_SIFFLAGS = 1 // net_kev.h:55:1: + KEV_DL_SIFGENERIC = 6 // net_kev.h:60:1: + KEV_DL_SIFMEDIA = 5 // net_kev.h:59:1: + KEV_DL_SIFMETRICS = 2 // net_kev.h:56:1: + KEV_DL_SIFMTU = 3 // net_kev.h:57:1: + KEV_DL_SIFPHYS = 4 // net_kev.h:58:1: + KEV_DL_SUBCLASS = 2 // net_kev.h:50:1: + KEV_DL_WAKEFLAGS_CHANGED = 17 // net_kev.h:71:1: + KEV_INET6_ADDR_DELETED = 3 // net_kev.h:93:1: + KEV_INET6_CHANGED_ADDR = 2 // net_kev.h:92:1: + KEV_INET6_DEFROUTER = 6 // net_kev.h:96:1: + KEV_INET6_NEW_LL_ADDR = 4 // net_kev.h:94:1: + KEV_INET6_NEW_RTADV_ADDR = 5 // net_kev.h:95:1: + KEV_INET6_NEW_USER_ADDR = 1 // net_kev.h:91:1: + KEV_INET6_REQUEST_NAT64_PREFIX = 7 // net_kev.h:97:1: + KEV_INET6_SUBCLASS = 6 // net_kev.h:89:1: + KEV_INET_ADDR_DELETED = 3 // net_kev.h:39:1: + KEV_INET_ARPCOLLISION = 7 // net_kev.h:43:1: + KEV_INET_ARPRTRALIVE = 10 // net_kev.h:48:1: + KEV_INET_ARPRTRFAILURE = 9 // net_kev.h:47:1: + KEV_INET_CHANGED_ADDR = 2 // net_kev.h:38:1: + KEV_INET_NEW_ADDR = 1 // net_kev.h:37:1: + KEV_INET_PORTINUSE = 8 // net_kev.h:45:1: + KEV_INET_SIFBRDADDR = 5 // net_kev.h:41:1: + KEV_INET_SIFDSTADDR = 4 // net_kev.h:40:1: + KEV_INET_SIFNETMASK = 6 // net_kev.h:42:1: + KEV_INET_SUBCLASS = 1 // net_kev.h:35:1: + LITTLE_ENDIAN = 1234 // endian.h:71:1: + MAC_OS_VERSION_11_0 = 110000 // AvailabilityVersions.h:238:1: + MAC_OS_VERSION_12_0 = 120000 // AvailabilityVersions.h:239:1: + MAC_OS_X_VERSION_10_0 = 1000 // AvailabilityVersions.h:206:1: + MAC_OS_X_VERSION_10_1 = 1010 // AvailabilityVersions.h:207:1: + MAC_OS_X_VERSION_10_10 = 101000 // AvailabilityVersions.h:216:1: + MAC_OS_X_VERSION_10_10_2 = 101002 // AvailabilityVersions.h:217:1: + MAC_OS_X_VERSION_10_10_3 = 101003 // AvailabilityVersions.h:218:1: + MAC_OS_X_VERSION_10_11 = 101100 // AvailabilityVersions.h:219:1: + MAC_OS_X_VERSION_10_11_2 = 101102 // AvailabilityVersions.h:220:1: + MAC_OS_X_VERSION_10_11_3 = 101103 // AvailabilityVersions.h:221:1: + MAC_OS_X_VERSION_10_11_4 = 101104 // AvailabilityVersions.h:222:1: + MAC_OS_X_VERSION_10_12 = 101200 // AvailabilityVersions.h:223:1: + MAC_OS_X_VERSION_10_12_1 = 101201 // AvailabilityVersions.h:224:1: + MAC_OS_X_VERSION_10_12_2 = 101202 // AvailabilityVersions.h:225:1: + MAC_OS_X_VERSION_10_12_4 = 101204 // AvailabilityVersions.h:226:1: + MAC_OS_X_VERSION_10_13 = 101300 // AvailabilityVersions.h:227:1: + MAC_OS_X_VERSION_10_13_1 = 101301 // AvailabilityVersions.h:228:1: + MAC_OS_X_VERSION_10_13_2 = 101302 // AvailabilityVersions.h:229:1: + MAC_OS_X_VERSION_10_13_4 = 101304 // AvailabilityVersions.h:230:1: + MAC_OS_X_VERSION_10_14 = 101400 // AvailabilityVersions.h:231:1: + MAC_OS_X_VERSION_10_14_1 = 101401 // AvailabilityVersions.h:232:1: + MAC_OS_X_VERSION_10_14_4 = 101404 // AvailabilityVersions.h:233:1: + MAC_OS_X_VERSION_10_14_6 = 101406 // AvailabilityVersions.h:234:1: + MAC_OS_X_VERSION_10_15 = 101500 // AvailabilityVersions.h:235:1: + MAC_OS_X_VERSION_10_15_1 = 101501 // AvailabilityVersions.h:236:1: + MAC_OS_X_VERSION_10_16 = 101600 // AvailabilityVersions.h:237:1: + MAC_OS_X_VERSION_10_2 = 1020 // AvailabilityVersions.h:208:1: + MAC_OS_X_VERSION_10_3 = 1030 // AvailabilityVersions.h:209:1: + MAC_OS_X_VERSION_10_4 = 1040 // AvailabilityVersions.h:210:1: + MAC_OS_X_VERSION_10_5 = 1050 // AvailabilityVersions.h:211:1: + MAC_OS_X_VERSION_10_6 = 1060 // AvailabilityVersions.h:212:1: + MAC_OS_X_VERSION_10_7 = 1070 // AvailabilityVersions.h:213:1: + MAC_OS_X_VERSION_10_8 = 1080 // AvailabilityVersions.h:214:1: + MAC_OS_X_VERSION_10_9 = 1090 // AvailabilityVersions.h:215:1: + MCAST_BLOCK_SOURCE = 84 // in.h:478:1: + MCAST_EXCLUDE = 2 // in.h:588:1: + MCAST_INCLUDE = 1 // in.h:587:1: + MCAST_JOIN_GROUP = 80 // in.h:474:1: + MCAST_JOIN_SOURCE_GROUP = 82 // in.h:476:1: + MCAST_LEAVE_GROUP = 81 // in.h:475:1: + MCAST_LEAVE_SOURCE_GROUP = 83 // in.h:477:1: + MCAST_UNBLOCK_SOURCE = 85 // in.h:479:1: + MCAST_UNDEFINED = 0 // in.h:586:1: + MSG_CTRUNC = 0x20 // socket.h:569:1: + MSG_DONTROUTE = 0x4 // socket.h:566:1: + MSG_DONTWAIT = 0x80 // socket.h:572:1: + MSG_EOF = 0x100 // socket.h:573:1: + MSG_EOR = 0x8 // socket.h:567:1: + MSG_FLUSH = 0x400 // socket.h:578:1: + MSG_HAVEMORE = 0x2000 // socket.h:581:1: + MSG_HOLD = 0x800 // socket.h:579:1: + MSG_NEEDSA = 0x10000 // socket.h:584:1: + MSG_NOSIGNAL = 0x80000 // socket.h:588:1: + MSG_OOB = 0x1 // socket.h:564:1: + MSG_PEEK = 0x2 // socket.h:565:1: + MSG_RCVMORE = 0x4000 // socket.h:582:1: + MSG_SEND = 0x1000 // socket.h:580:1: + MSG_TRUNC = 0x10 // socket.h:568:1: + MSG_WAITALL = 0x40 // socket.h:570:1: + MSG_WAITSTREAM = 0x200 // socket.h:576:1: + NBBY = 8 // types.h:186:1: + NETSVC_MRKNG_LVL_L2 = 1 // socket.h:287:1: + NETSVC_MRKNG_LVL_L3L2_ALL = 2 // socket.h:288:1: + NETSVC_MRKNG_LVL_L3L2_BK = 3 // socket.h:289:1: + NETSVC_MRKNG_UNKNOWN = 0 // socket.h:286:1: + NET_MAXID = 41 // socket.h:512:1: + NET_RT_DUMP = 1 // socket.h:525:1: + NET_RT_DUMP2 = 7 // socket.h:531:1: + NET_RT_FLAGS = 2 // socket.h:526:1: + NET_RT_FLAGS_PRIV = 10 // socket.h:536:1: + NET_RT_IFLIST = 3 // socket.h:527:1: + NET_RT_IFLIST2 = 6 // socket.h:530:1: + NET_RT_MAXID = 11 // socket.h:537:1: + NET_RT_STAT = 4 // socket.h:528:1: + NET_RT_TRASH = 5 // socket.h:529:1: + NET_SERVICE_TYPE_AV = 6 // socket.h:280:1: + NET_SERVICE_TYPE_BE = 0 // socket.h:274:1: + NET_SERVICE_TYPE_BK = 1 // socket.h:275:1: + NET_SERVICE_TYPE_OAM = 7 // socket.h:281:1: + NET_SERVICE_TYPE_RD = 8 // socket.h:282:1: + NET_SERVICE_TYPE_RV = 5 // socket.h:279:1: + NET_SERVICE_TYPE_SIG = 2 // socket.h:276:1: + NET_SERVICE_TYPE_VI = 3 // socket.h:277:1: + NET_SERVICE_TYPE_VO = 4 // socket.h:278:1: + PDP_ENDIAN = 3412 // endian.h:73:1: + PF_APPLETALK = 16 // socket.h:474:1: + PF_CCITT = 10 // socket.h:468:1: + PF_CHAOS = 5 // socket.h:462:1: + PF_CNT = 21 // socket.h:479:1: + PF_COIP = 20 // socket.h:478:1: + PF_DATAKIT = 9 // socket.h:467:1: + PF_DECnet = 12 // socket.h:470:1: + PF_DLI = 13 // socket.h:471:1: + PF_ECMA = 8 // socket.h:466:1: + PF_HYLINK = 15 // socket.h:473:1: + PF_IMPLINK = 3 // socket.h:460:1: + PF_INET = 2 // socket.h:459:1: + PF_INET6 = 30 // socket.h:487:1: + PF_IPX = 23 // socket.h:481:1: + PF_ISDN = 28 // socket.h:485:1: + PF_ISO = 7 // socket.h:464:1: + PF_KEY = 29 // socket.h:486:1: + PF_LAT = 14 // socket.h:472:1: + PF_LINK = 18 // socket.h:476:1: + PF_LOCAL = 1 // socket.h:457:1: + PF_MAX = 41 // socket.h:495:1: + PF_NATM = 31 // socket.h:488:1: + PF_NDRV = 27 // socket.h:484:1: + PF_NETBIOS = 33 // socket.h:490:1: + PF_NS = 6 // socket.h:463:1: + PF_OSI = 7 // socket.h:465:1: + PF_PIP = 25 // socket.h:483:1: + PF_PPP = 34 // socket.h:491:1: + PF_PUP = 4 // socket.h:461:1: + PF_RESERVED_36 = 36 // socket.h:492:1: + PF_ROUTE = 17 // socket.h:475:1: + PF_RTIP = 22 // socket.h:482:1: + PF_SIP = 24 // socket.h:480:1: + PF_SNA = 11 // socket.h:469:1: + PF_SYSTEM = 32 // socket.h:489:1: + PF_UNIX = 1 // socket.h:458:1: + PF_UNSPEC = 0 // socket.h:456:1: + PF_UTUN = 38 // socket.h:493:1: + PF_VSOCK = 40 // socket.h:494:1: + PF_XTP = 19 // socket.h:477:1: + PTRDIFF_MAX = 9223372036854775807 // stdint.h:652:1: + PTRDIFF_MIN = -9223372036854775808 // stdint.h:651:1: + SAE_ASSOCID_ANY = 0 // socket.h:294:1: + SAE_CONNID_ANY = 0 // socket.h:298:1: + SCM_CREDS = 0x03 // socket.h:674:1: + SCM_RIGHTS = 0x01 // socket.h:671:1: + SCM_TIMESTAMP = 0x02 // socket.h:673:1: + SCM_TIMESTAMP_MONOTONIC = 0x04 // socket.h:675:1: + SHUT_RD = 0 // socket.h:683:1: + SHUT_RDWR = 2 // socket.h:685:1: + SHUT_WR = 1 // socket.h:684:1: + SIG_ATOMIC_MAX = 2147483647 // stdint.h:668:1: + SIG_ATOMIC_MIN = -2147483648 // stdint.h:667:1: + SIN6_LEN = 0 // in6.h:168:1: + SIZE_MAX = 18446744073709551615 // stdint.h:653:1: + SOCK_DGRAM = 2 // socket.h:113:1: + SOCK_MAXADDRLEN = 255 // socket.h:419:1: + SOCK_RAW = 3 // socket.h:114:1: + SOCK_RDM = 4 // socket.h:116:1: + SOCK_SEQPACKET = 5 // socket.h:118:1: + SOCK_STREAM = 1 // socket.h:112:1: + SOL_SOCKET = 0xffff // socket.h:352:1: + SOMAXCONN = 128 // socket.h:546:1: + SONPX_SETOPTSHUT = 0x000000001 // socket.h:342:1: + SO_ACCEPTCONN = 0x0002 // socket.h:124:1: + SO_BROADCAST = 0x0020 // socket.h:128:1: + SO_DEBUG = 0x0001 // socket.h:123:1: + SO_DONTROUTE = 0x0010 // socket.h:127:1: + SO_DONTTRUNC = 0x2000 // socket.h:143:1: + SO_ERROR = 0x1007 // socket.h:161:1: + SO_KEEPALIVE = 0x0008 // socket.h:126:1: + SO_LABEL = 0x1010 // socket.h:164:1: + SO_LINGER = 0x0080 // socket.h:131:1: + SO_LINGER_SEC = 0x1080 // socket.h:177:1: + SO_NETSVC_MARKING_LEVEL = 0x1119 // socket.h:186:1: + SO_NET_SERVICE_TYPE = 0x1116 // socket.h:183:1: + SO_NKE = 0x1021 // socket.h:168:1: + SO_NOADDRERR = 0x1023 // socket.h:170:1: + SO_NOSIGPIPE = 0x1022 // socket.h:169:1: + SO_NOTIFYCONFLICT = 0x1026 // socket.h:174:1: + SO_NP_EXTENSIONS = 0x1083 // socket.h:179:1: + SO_NREAD = 0x1020 // socket.h:167:1: + SO_NUMRCVPKT = 0x1112 // socket.h:182:1: + SO_NWRITE = 0x1024 // socket.h:171:1: + SO_OOBINLINE = 0x0100 // socket.h:135:1: + SO_PEERLABEL = 0x1011 // socket.h:165:1: + SO_RANDOMPORT = 0x1082 // socket.h:178:1: + SO_RCVBUF = 0x1002 // socket.h:156:1: + SO_RCVLOWAT = 0x1004 // socket.h:158:1: + SO_RCVTIMEO = 0x1006 // socket.h:160:1: + SO_REUSEADDR = 0x0004 // socket.h:125:1: + SO_REUSEPORT = 0x0200 // socket.h:137:1: + SO_REUSESHAREUID = 0x1025 // socket.h:172:1: + SO_SNDBUF = 0x1001 // socket.h:155:1: + SO_SNDLOWAT = 0x1003 // socket.h:157:1: + SO_SNDTIMEO = 0x1005 // socket.h:159:1: + SO_TIMESTAMP = 0x0400 // socket.h:138:1: + SO_TIMESTAMP_MONOTONIC = 0x0800 // socket.h:139:1: + SO_TYPE = 0x1008 // socket.h:162:1: + SO_UPCALLCLOSEWAIT = 0x1027 // socket.h:175:1: + SO_USELOOPBACK = 0x0040 // socket.h:130:1: + SO_WANTMORE = 0x4000 // socket.h:145:1: + SO_WANTOOBFLAG = 0x8000 // socket.h:146:1: + UINT16_MAX = 65535 // stdint.h:601:1: + UINT32_MAX = 4294967295 // stdint.h:557:1: + UINT64_MAX = 18446744073709551615 // stdint.h:463:1: + UINT8_MAX = 255 // stdint.h:623:1: + UINTMAX_MAX = 18446744073709551615 // stdint.h:664:1: + UINTPTR_MAX = 18446744073709551615 // stdint.h:650:1: + UINT_FAST16_MAX = 65535 // stdint.h:616:1: + UINT_FAST32_MAX = 4294967295 // stdint.h:575:1: + UINT_FAST64_MAX = 18446744073709551615 // stdint.h:484:1: + UINT_FAST8_MAX = 255 // stdint.h:635:1: + UINT_LEAST16_MAX = 65535 // stdint.h:613:1: + UINT_LEAST32_MAX = 4294967295 // stdint.h:572:1: + UINT_LEAST64_MAX = 18446744073709551615 // stdint.h:481:1: + UINT_LEAST8_MAX = 255 // stdint.h:632:1: + WCHAR_MAX = 2147483647 // stdint.h:678:1: + WCHAR_MIN = -2147483648 // stdint.h:682:1: + WINT_MAX = 2147483647 // stdint.h:674:1: + WINT_MIN = -2147483648 // stdint.h:673:1: + X_ARM_ARCH_H = 0 // arch.h:29:1: + X_ARM_MACHTYPES_H_ = 0 // types.h:43:1: + X_ARM__ENDIAN_H_ = 0 // endian.h:43:1: + X_ARM__PARAM_H_ = 0 // _param.h:6:1: + X_BLKCNT_T = 0 // _blkcnt_t.h:29:1: + X_BLKSIZE_T = 0 // _blksize_t.h:29:1: + X_BSD_ARM__TYPES_H_ = 0 // _types.h:5:1: + X_BSD_MACHINE_ENDIAN_H_ = 0 // endian.h:32:1: + X_BSD_MACHINE_TYPES_H_ = 0 // types.h:32:1: + X_BSD_MACHINE__PARAM_H_ = 0 // _param.h:29:1: + X_BSD_MACHINE__TYPES_H_ = 0 // _types.h:29:1: + X_CADDR_T = 0 // _caddr_t.h:29:1: + X_CDEFS_H_ = 0 // cdefs.h:68:1: + X_CLOCK_T = 0 // _clock_t.h:29:1: + X_DARWIN_FEATURE_64_BIT_INODE = 1 // cdefs.h:774:1: + X_DARWIN_FEATURE_ONLY_64_BIT_INODE = 1 // cdefs.h:784:1: + X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1 // cdefs.h:800:1: + X_DARWIN_FEATURE_ONLY_VERS_1050 = 1 // cdefs.h:792:1: + X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3 // cdefs.h:808:1: + X_DEV_T = 0 // _dev_t.h:29:1: + X_ERRNO_T = 0 // _errno_t.h:29:1: + X_FD_SET = 0 // _fd_def.h:29:1: + X_FILE_OFFSET_BITS = 64 // <builtin>:25:1: + X_FSBLKCNT_T = 0 // _fsblkcnt_t.h:29:1: + X_FSFILCNT_T = 0 // _fsfilcnt_t.h:29:1: + X_GID_T = 0 // _gid_t.h:29:1: + X_ID_T = 0 // _id_t.h:29:1: + X_INO64_T = 0 // _ino64_t.h:29:1: + X_INO_T = 0 // _ino_t.h:29:1: + X_INT16_T = 0 // _int16_t.h:29:1: + X_INT32_T = 0 // _int32_t.h:29:1: + X_INT64_T = 0 // _int64_t.h:29:1: + X_INT8_T = 0 // _int8_t.h:29:1: + X_INTPTR_T = 0 // stdint.h:251:1: + X_IN_ADDR_T = 0 // _in_addr_t.h:29:1: + X_IN_PORT_T = 0 // _in_port_t.h:29:1: + X_KEY_T = 0 // _key_t.h:29:1: + X_LP64 = 1 // <predefined>:1:1: + X_MACHTYPES_H_ = 0 // types.h:44:1: + X_MODE_T = 0 // _mode_t.h:29:1: + X_NETINET6_IN6_H_ = 0 // in6.h:99:1: + X_NETINET_IN_H_ = 0 // in.h:65:1: + X_NET_NETKEV_H_ = 0 // net_kev.h:30:1: + X_NLINK_T = 0 // _nlink_t.h:29:1: + X_Nonnull = 0 // cdefs.h:268:1: + X_Null_unspecified = 0 // cdefs.h:271:1: + X_Nullable = 0 // cdefs.h:265:1: + X_OFF_T = 0 // _off_t.h:29:1: + X_OS_OSBYTEORDERARM_H = 0 // OSByteOrder.h:6:1: + X_OS__OSBYTEORDER_H = 0 // _OSByteOrder.h:30:1: + X_PID_T = 0 // _pid_t.h:29:1: + X_PTHREAD_ATTR_T = 0 // _pthread_attr_t.h:29:1: + X_PTHREAD_CONDATTR_T = 0 // _pthread_condattr_t.h:29:1: + X_PTHREAD_COND_T = 0 // _pthread_cond_t.h:29:1: + X_PTHREAD_KEY_T = 0 // _pthread_key_t.h:29:1: + X_PTHREAD_MUTEXATTR_T = 0 // _pthread_mutexattr_t.h:29:1: + X_PTHREAD_MUTEX_T = 0 // _pthread_mutex_t.h:29:1: + X_PTHREAD_ONCE_T = 0 // _pthread_once_t.h:29:1: + X_PTHREAD_RWLOCKATTR_T = 0 // _pthread_rwlockattr_t.h:29:1: + X_PTHREAD_RWLOCK_T = 0 // _pthread_rwlock_t.h:29:1: + X_PTHREAD_T = 0 // _pthread_t.h:29:1: + X_QUAD_HIGHWORD = 1 // endian.h:56:1: + X_QUAD_LOWWORD = 0 // endian.h:57:1: + X_RSIZE_T = 0 // _rsize_t.h:29:1: + X_SA_FAMILY_T = 0 // _sa_family_t.h:29:1: + X_SIZE_T = 0 // _size_t.h:29:1: + X_SOCKLEN_T = 0 // _socklen_t.h:29:1: + X_SSIZE_T = 0 // _ssize_t.h:29:1: + X_SS_MAXSIZE = 128 // socket.h:434:1: + X_STRUCT_IOVEC = 0 // _iovec_t.h:29:1: + X_SUSECONDS_T = 0 // _suseconds_t.h:29:1: + X_SYS_SOCKET_H_ = 0 // socket.h:73:1: + X_SYS_TYPES_H_ = 0 // types.h:70:1: + X_SYS__ENDIAN_H_ = 0 // _endian.h:91:1: + X_SYS__PTHREAD_TYPES_H_ = 0 // _pthread_types.h:30:1: + X_SYS__TYPES_H_ = 0 // _types.h:30:1: + X_TIME_T = 0 // _time_t.h:29:1: + X_UID_T = 0 // _uid_t.h:29:1: + X_UINTPTR_T = 0 // stdint.h:257:1: + X_USECONDS_T = 0 // _useconds_t.h:29:1: + X_U_CHAR = 0 // _u_char.h:29:1: + X_U_INT = 0 // _u_int.h:29:1: + X_U_INT16_T = 0 // _u_int16_t.h:29:1: + X_U_INT32_T = 0 // _u_int32_t.h:29:1: + X_U_INT64_T = 0 // _u_int64_t.h:29:1: + X_U_INT8_T = 0 // _u_int8_t.h:29:1: + X_U_LONG = 0 // types.h:89:1: + X_U_SHORT = 0 // _u_short.h:29:1: + Pseudo_AF_HDRCMPLT = 35 // socket.h:400:1: + Pseudo_AF_KEY = 29 // socket.h:392:1: + Pseudo_AF_PIP = 25 // socket.h:388:1: + Pseudo_AF_RTIP = 22 // socket.h:385:1: + Pseudo_AF_XTP = 19 // socket.h:382:1: ) type Ptrdiff_t = int64 /* <builtin>:3:26 */ diff --git a/vendor/modernc.org/libc/netinet/in/in_linux_amd64.go b/vendor/modernc.org/libc/netinet/in/in_linux_amd64.go index 9bf70350..765334d4 100644 --- a/vendor/modernc.org/libc/netinet/in/in_linux_amd64.go +++ b/vendor/modernc.org/libc/netinet/in/in_linux_amd64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo netinet/in/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o netinet/in/in_linux_amd64.go -pkgname in', DO NOT EDIT. +// Code generated by 'ccgo netinet/in/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o netinet/in/in_linux_amd64.go -pkgname in', DO NOT EDIT. package in @@ -15,410 +15,410 @@ var _ atomic.Value var _ unsafe.Pointer const ( - AF_ALG = 38 - AF_APPLETALK = 5 - AF_ASH = 18 - AF_ATMPVC = 8 - AF_ATMSVC = 20 - AF_AX25 = 3 - AF_BLUETOOTH = 31 - AF_BRIDGE = 7 - AF_CAIF = 37 - AF_CAN = 29 - AF_DECnet = 12 - AF_ECONET = 19 - AF_FILE = 1 - AF_IB = 27 - AF_IEEE802154 = 36 - AF_INET = 2 - AF_INET6 = 10 - AF_IPX = 4 - AF_IRDA = 23 - AF_ISDN = 34 - AF_IUCV = 32 - AF_KCM = 41 - AF_KEY = 15 - AF_LLC = 26 - AF_LOCAL = 1 - AF_MAX = 45 - AF_MPLS = 28 - AF_NETBEUI = 13 - AF_NETLINK = 16 - AF_NETROM = 6 - AF_NFC = 39 - AF_PACKET = 17 - AF_PHONET = 35 - AF_PPPOX = 24 - AF_QIPCRTR = 42 - AF_RDS = 21 - AF_ROSE = 11 - AF_ROUTE = 16 - AF_RXRPC = 33 - AF_SECURITY = 14 - AF_SMC = 43 - AF_SNA = 22 - AF_TIPC = 30 - AF_UNIX = 1 - AF_UNSPEC = 0 - AF_VSOCK = 40 - AF_WANPIPE = 25 - AF_X25 = 9 - AF_XDP = 44 - BIG_ENDIAN = 4321 - BYTE_ORDER = 1234 - FD_SETSIZE = 1024 - FIOGETOWN = 0x8903 - FIOSETOWN = 0x8901 - INET6_ADDRSTRLEN = 46 - INET_ADDRSTRLEN = 16 - IN_CLASSA_HOST = 16777215 - IN_CLASSA_MAX = 128 - IN_CLASSA_NET = 0xff000000 - IN_CLASSA_NSHIFT = 24 - IN_CLASSB_HOST = 65535 - IN_CLASSB_MAX = 65536 - IN_CLASSB_NET = 0xffff0000 - IN_CLASSB_NSHIFT = 16 - IN_CLASSC_HOST = 255 - IN_CLASSC_NET = 0xffffff00 - IN_CLASSC_NSHIFT = 8 - IN_LOOPBACKNET = 127 - IPV6_2292DSTOPTS = 4 - IPV6_2292HOPLIMIT = 8 - IPV6_2292HOPOPTS = 3 - IPV6_2292PKTINFO = 2 - IPV6_2292PKTOPTIONS = 6 - IPV6_2292RTHDR = 5 - IPV6_ADDRFORM = 1 - IPV6_ADDR_PREFERENCES = 72 - IPV6_ADD_MEMBERSHIP = 20 - IPV6_AUTHHDR = 10 - IPV6_AUTOFLOWLABEL = 70 - IPV6_CHECKSUM = 7 - IPV6_DONTFRAG = 62 - IPV6_DROP_MEMBERSHIP = 21 - IPV6_DSTOPTS = 59 - IPV6_FREEBIND = 78 - IPV6_HDRINCL = 36 - IPV6_HOPLIMIT = 52 - IPV6_HOPOPTS = 54 - IPV6_IPSEC_POLICY = 34 - IPV6_JOIN_ANYCAST = 27 - IPV6_JOIN_GROUP = 20 - IPV6_LEAVE_ANYCAST = 28 - IPV6_LEAVE_GROUP = 21 - IPV6_MINHOPCOUNT = 73 - IPV6_MTU = 24 - IPV6_MTU_DISCOVER = 23 - IPV6_MULTICAST_ALL = 29 - IPV6_MULTICAST_HOPS = 18 - IPV6_MULTICAST_IF = 17 - IPV6_MULTICAST_LOOP = 19 - IPV6_NEXTHOP = 9 - IPV6_ORIGDSTADDR = 74 - IPV6_PATHMTU = 61 - IPV6_PKTINFO = 50 - IPV6_PMTUDISC_DO = 2 - IPV6_PMTUDISC_DONT = 0 - IPV6_PMTUDISC_INTERFACE = 4 - IPV6_PMTUDISC_OMIT = 5 - IPV6_PMTUDISC_PROBE = 3 - IPV6_PMTUDISC_WANT = 1 - IPV6_RECVDSTOPTS = 58 - IPV6_RECVERR = 25 - IPV6_RECVFRAGSIZE = 77 - IPV6_RECVHOPLIMIT = 51 - IPV6_RECVHOPOPTS = 53 - IPV6_RECVORIGDSTADDR = 74 - IPV6_RECVPATHMTU = 60 - IPV6_RECVPKTINFO = 49 - IPV6_RECVRTHDR = 56 - IPV6_RECVTCLASS = 66 - IPV6_ROUTER_ALERT = 22 - IPV6_ROUTER_ALERT_ISOLATE = 30 - IPV6_RTHDR = 57 - IPV6_RTHDRDSTOPTS = 55 - IPV6_RTHDR_LOOSE = 0 - IPV6_RTHDR_STRICT = 1 - IPV6_RTHDR_TYPE_0 = 0 - IPV6_RXDSTOPTS = 59 - IPV6_RXHOPOPTS = 54 - IPV6_TCLASS = 67 - IPV6_TRANSPARENT = 75 - IPV6_UNICAST_HOPS = 16 - IPV6_UNICAST_IF = 76 - IPV6_V6ONLY = 26 - IPV6_XFRM_POLICY = 35 - IP_ADD_MEMBERSHIP = 35 - IP_ADD_SOURCE_MEMBERSHIP = 39 - IP_BIND_ADDRESS_NO_PORT = 24 - IP_BLOCK_SOURCE = 38 - IP_CHECKSUM = 23 - IP_DEFAULT_MULTICAST_LOOP = 1 - IP_DEFAULT_MULTICAST_TTL = 1 - IP_DROP_MEMBERSHIP = 36 - IP_DROP_SOURCE_MEMBERSHIP = 40 - IP_FREEBIND = 15 - IP_HDRINCL = 3 - IP_IPSEC_POLICY = 16 - IP_MAX_MEMBERSHIPS = 20 - IP_MINTTL = 21 - IP_MSFILTER = 41 - IP_MTU = 14 - IP_MTU_DISCOVER = 10 - IP_MULTICAST_ALL = 49 - IP_MULTICAST_IF = 32 - IP_MULTICAST_LOOP = 34 - IP_MULTICAST_TTL = 33 - IP_NODEFRAG = 22 - IP_OPTIONS = 4 - IP_ORIGDSTADDR = 20 - IP_PASSSEC = 18 - IP_PKTINFO = 8 - IP_PKTOPTIONS = 9 - IP_PMTUDISC = 10 - IP_PMTUDISC_DO = 2 - IP_PMTUDISC_DONT = 0 - IP_PMTUDISC_INTERFACE = 4 - IP_PMTUDISC_OMIT = 5 - IP_PMTUDISC_PROBE = 3 - IP_PMTUDISC_WANT = 1 - IP_RECVERR = 11 - IP_RECVFRAGSIZE = 25 - IP_RECVOPTS = 6 - IP_RECVORIGDSTADDR = 20 - IP_RECVRETOPTS = 7 - IP_RECVTOS = 13 - IP_RECVTTL = 12 - IP_RETOPTS = 7 - IP_ROUTER_ALERT = 5 - IP_TOS = 1 - IP_TRANSPARENT = 19 - IP_TTL = 2 - IP_UNBLOCK_SOURCE = 37 - IP_UNICAST_IF = 50 - IP_XFRM_POLICY = 17 - LITTLE_ENDIAN = 1234 - MCAST_BLOCK_SOURCE = 43 - MCAST_EXCLUDE = 0 - MCAST_INCLUDE = 1 - MCAST_JOIN_GROUP = 42 - MCAST_JOIN_SOURCE_GROUP = 46 - MCAST_LEAVE_GROUP = 45 - MCAST_LEAVE_SOURCE_GROUP = 47 - MCAST_MSFILTER = 48 - MCAST_UNBLOCK_SOURCE = 44 - PDP_ENDIAN = 3412 - PF_ALG = 38 - PF_APPLETALK = 5 - PF_ASH = 18 - PF_ATMPVC = 8 - PF_ATMSVC = 20 - PF_AX25 = 3 - PF_BLUETOOTH = 31 - PF_BRIDGE = 7 - PF_CAIF = 37 - PF_CAN = 29 - PF_DECnet = 12 - PF_ECONET = 19 - PF_FILE = 1 - PF_IB = 27 - PF_IEEE802154 = 36 - PF_INET = 2 - PF_INET6 = 10 - PF_IPX = 4 - PF_IRDA = 23 - PF_ISDN = 34 - PF_IUCV = 32 - PF_KCM = 41 - PF_KEY = 15 - PF_LLC = 26 - PF_LOCAL = 1 - PF_MAX = 45 - PF_MPLS = 28 - PF_NETBEUI = 13 - PF_NETLINK = 16 - PF_NETROM = 6 - PF_NFC = 39 - PF_PACKET = 17 - PF_PHONET = 35 - PF_PPPOX = 24 - PF_QIPCRTR = 42 - PF_RDS = 21 - PF_ROSE = 11 - PF_ROUTE = 16 - PF_RXRPC = 33 - PF_SECURITY = 14 - PF_SMC = 43 - PF_SNA = 22 - PF_TIPC = 30 - PF_UNIX = 1 - PF_UNSPEC = 0 - PF_VSOCK = 40 - PF_WANPIPE = 25 - PF_X25 = 9 - PF_XDP = 44 - SCM_TIMESTAMP = 29 - SCM_TIMESTAMPING = 37 - SCM_TIMESTAMPING_OPT_STATS = 54 - SCM_TIMESTAMPING_PKTINFO = 58 - SCM_TIMESTAMPNS = 35 - SCM_TXTIME = 61 - SCM_WIFI_STATUS = 41 - SIOCATMARK = 0x8905 - SIOCGPGRP = 0x8904 - SIOCGSTAMP = 0x8906 - SIOCGSTAMPNS = 0x8907 - SIOCSPGRP = 0x8902 - SOL_AAL = 265 - SOL_ALG = 279 - SOL_ATM = 264 - SOL_BLUETOOTH = 274 - SOL_CAIF = 278 - SOL_DCCP = 269 - SOL_DECNET = 261 - SOL_ICMPV6 = 58 - SOL_IP = 0 - SOL_IPV6 = 41 - SOL_IRDA = 266 - SOL_IUCV = 277 - SOL_KCM = 281 - SOL_LLC = 268 - SOL_NETBEUI = 267 - SOL_NETLINK = 270 - SOL_NFC = 280 - SOL_PACKET = 263 - SOL_PNPIPE = 275 - SOL_PPPOL2TP = 273 - SOL_RAW = 255 - SOL_RDS = 276 - SOL_RXRPC = 272 - SOL_SOCKET = 1 - SOL_TIPC = 271 - SOL_TLS = 282 - SOL_X25 = 262 - SOL_XDP = 283 - SOMAXCONN = 4096 - SO_ACCEPTCONN = 30 - SO_ATTACH_BPF = 50 - SO_ATTACH_FILTER = 26 - SO_ATTACH_REUSEPORT_CBPF = 51 - SO_ATTACH_REUSEPORT_EBPF = 52 - SO_BINDTODEVICE = 25 - SO_BINDTOIFINDEX = 62 - SO_BPF_EXTENSIONS = 48 - SO_BROADCAST = 6 - SO_BSDCOMPAT = 14 - SO_BUSY_POLL = 46 - SO_CNX_ADVICE = 53 - SO_COOKIE = 57 - SO_DEBUG = 1 - SO_DETACH_BPF = 27 - SO_DETACH_FILTER = 27 - SO_DETACH_REUSEPORT_BPF = 68 - SO_DOMAIN = 39 - SO_DONTROUTE = 5 - SO_ERROR = 4 - SO_GET_FILTER = 26 - SO_INCOMING_CPU = 49 - SO_INCOMING_NAPI_ID = 56 - SO_KEEPALIVE = 9 - SO_LINGER = 13 - SO_LOCK_FILTER = 44 - SO_MARK = 36 - SO_MAX_PACING_RATE = 47 - SO_MEMINFO = 55 - SO_NOFCS = 43 - SO_NO_CHECK = 11 - SO_OOBINLINE = 10 - SO_PASSCRED = 16 - SO_PASSSEC = 34 - SO_PEEK_OFF = 42 - SO_PEERCRED = 17 - SO_PEERGROUPS = 59 - SO_PEERNAME = 28 - SO_PEERSEC = 31 - SO_PRIORITY = 12 - SO_PROTOCOL = 38 - SO_RCVBUF = 8 - SO_RCVBUFFORCE = 33 - SO_RCVLOWAT = 18 - SO_RCVTIMEO = 20 - SO_RCVTIMEO_NEW = 66 - SO_RCVTIMEO_OLD = 20 - SO_REUSEADDR = 2 - SO_REUSEPORT = 15 - SO_RXQ_OVFL = 40 - SO_SECURITY_AUTHENTICATION = 22 - SO_SECURITY_ENCRYPTION_NETWORK = 24 - SO_SECURITY_ENCRYPTION_TRANSPORT = 23 - SO_SELECT_ERR_QUEUE = 45 - SO_SNDBUF = 7 - SO_SNDBUFFORCE = 32 - SO_SNDLOWAT = 19 - SO_SNDTIMEO = 21 - SO_SNDTIMEO_NEW = 67 - SO_SNDTIMEO_OLD = 21 - SO_TIMESTAMP = 29 - SO_TIMESTAMPING = 37 - SO_TIMESTAMPING_NEW = 65 - SO_TIMESTAMPING_OLD = 37 - SO_TIMESTAMPNS = 35 - SO_TIMESTAMPNS_NEW = 64 - SO_TIMESTAMPNS_OLD = 35 - SO_TIMESTAMP_NEW = 63 - SO_TIMESTAMP_OLD = 29 - SO_TXTIME = 61 - SO_TYPE = 3 - SO_WIFI_STATUS = 41 - SO_ZEROCOPY = 60 - X_ASM_X86_POSIX_TYPES_64_H = 0 - X_ATFILE_SOURCE = 1 - X_BITS_BYTESWAP_H = 1 - X_BITS_ENDIANNESS_H = 1 - X_BITS_ENDIAN_H = 1 - X_BITS_PTHREADTYPES_ARCH_H = 1 - X_BITS_PTHREADTYPES_COMMON_H = 1 - X_BITS_SOCKADDR_H = 1 - X_BITS_STDINT_INTN_H = 1 - X_BITS_STDINT_UINTN_H = 1 - X_BITS_TIME64_H = 1 - X_BITS_TYPESIZES_H = 1 - X_BITS_TYPES_H = 1 - X_BITS_UINTN_IDENTITY_H = 1 - X_BSD_SIZE_T_ = 0 - X_BSD_SIZE_T_DEFINED_ = 0 - X_DEFAULT_SOURCE = 1 - X_ENDIAN_H = 1 - X_FEATURES_H = 1 - X_FILE_OFFSET_BITS = 64 - X_GCC_SIZE_T = 0 - X_LINUX_POSIX_TYPES_H = 0 - X_LP64 = 1 - X_NETINET_IN_H = 1 - X_POSIX_C_SOURCE = 200809 - X_POSIX_SOURCE = 1 - X_RWLOCK_INTERNAL_H = 0 - X_SIZET_ = 0 - X_SIZE_T = 0 - X_SIZE_T_ = 0 - X_SIZE_T_DECLARED = 0 - X_SIZE_T_DEFINED = 0 - X_SIZE_T_DEFINED_ = 0 - X_SS_SIZE = 128 - X_STDC_PREDEF_H = 1 - X_STRUCT_TIMESPEC = 1 - X_SYS_CDEFS_H = 1 - X_SYS_SELECT_H = 1 - X_SYS_SIZE_T_H = 0 - X_SYS_SOCKET_H = 1 - X_SYS_TYPES_H = 1 - X_THREAD_MUTEX_INTERNAL_H = 1 - X_THREAD_SHARED_TYPES_H = 1 - X_T_SIZE = 0 - X_T_SIZE_ = 0 - Linux = 1 - Unix = 1 + AF_ALG = 38 // socket.h:133:1: + AF_APPLETALK = 5 // socket.h:99:1: + AF_ASH = 18 // socket.h:113:1: + AF_ATMPVC = 8 // socket.h:102:1: + AF_ATMSVC = 20 // socket.h:115:1: + AF_AX25 = 3 // socket.h:97:1: + AF_BLUETOOTH = 31 // socket.h:126:1: + AF_BRIDGE = 7 // socket.h:101:1: + AF_CAIF = 37 // socket.h:132:1: + AF_CAN = 29 // socket.h:124:1: + AF_DECnet = 12 // socket.h:106:1: + AF_ECONET = 19 // socket.h:114:1: + AF_FILE = 1 // socket.h:95:1: + AF_IB = 27 // socket.h:122:1: + AF_IEEE802154 = 36 // socket.h:131:1: + AF_INET = 2 // socket.h:96:1: + AF_INET6 = 10 // socket.h:104:1: + AF_IPX = 4 // socket.h:98:1: + AF_IRDA = 23 // socket.h:118:1: + AF_ISDN = 34 // socket.h:129:1: + AF_IUCV = 32 // socket.h:127:1: + AF_KCM = 41 // socket.h:136:1: + AF_KEY = 15 // socket.h:109:1: + AF_LLC = 26 // socket.h:121:1: + AF_LOCAL = 1 // socket.h:93:1: + AF_MAX = 45 // socket.h:140:1: + AF_MPLS = 28 // socket.h:123:1: + AF_NETBEUI = 13 // socket.h:107:1: + AF_NETLINK = 16 // socket.h:110:1: + AF_NETROM = 6 // socket.h:100:1: + AF_NFC = 39 // socket.h:134:1: + AF_PACKET = 17 // socket.h:112:1: + AF_PHONET = 35 // socket.h:130:1: + AF_PPPOX = 24 // socket.h:119:1: + AF_QIPCRTR = 42 // socket.h:137:1: + AF_RDS = 21 // socket.h:116:1: + AF_ROSE = 11 // socket.h:105:1: + AF_ROUTE = 16 // socket.h:111:1: + AF_RXRPC = 33 // socket.h:128:1: + AF_SECURITY = 14 // socket.h:108:1: + AF_SMC = 43 // socket.h:138:1: + AF_SNA = 22 // socket.h:117:1: + AF_TIPC = 30 // socket.h:125:1: + AF_UNIX = 1 // socket.h:94:1: + AF_UNSPEC = 0 // socket.h:92:1: + AF_VSOCK = 40 // socket.h:135:1: + AF_WANPIPE = 25 // socket.h:120:1: + AF_X25 = 9 // socket.h:103:1: + AF_XDP = 44 // socket.h:139:1: + BIG_ENDIAN = 4321 // endian.h:28:1: + BYTE_ORDER = 1234 // endian.h:30:1: + FD_SETSIZE = 1024 // select.h:73:1: + FIOGETOWN = 0x8903 // sockios.h:8:1: + FIOSETOWN = 0x8901 // sockios.h:6:1: + INET6_ADDRSTRLEN = 46 // in.h:234:1: + INET_ADDRSTRLEN = 16 // in.h:233:1: + IN_CLASSA_HOST = 16777215 // in.h:169:1: + IN_CLASSA_MAX = 128 // in.h:170:1: + IN_CLASSA_NET = 0xff000000 // in.h:167:1: + IN_CLASSA_NSHIFT = 24 // in.h:168:1: + IN_CLASSB_HOST = 65535 // in.h:175:1: + IN_CLASSB_MAX = 65536 // in.h:176:1: + IN_CLASSB_NET = 0xffff0000 // in.h:173:1: + IN_CLASSB_NSHIFT = 16 // in.h:174:1: + IN_CLASSC_HOST = 255 // in.h:181:1: + IN_CLASSC_NET = 0xffffff00 // in.h:179:1: + IN_CLASSC_NSHIFT = 8 // in.h:180:1: + IN_LOOPBACKNET = 127 // in.h:197:1: + IPV6_2292DSTOPTS = 4 // in.h:171:1: + IPV6_2292HOPLIMIT = 8 // in.h:175:1: + IPV6_2292HOPOPTS = 3 // in.h:170:1: + IPV6_2292PKTINFO = 2 // in.h:169:1: + IPV6_2292PKTOPTIONS = 6 // in.h:173:1: + IPV6_2292RTHDR = 5 // in.h:172:1: + IPV6_ADDRFORM = 1 // in.h:168:1: + IPV6_ADDR_PREFERENCES = 72 // in.h:223:1: + IPV6_ADD_MEMBERSHIP = 20 // in.h:237:1: + IPV6_AUTHHDR = 10 // in.h:180:1: + IPV6_AUTOFLOWLABEL = 70 // in.h:220:1: + IPV6_CHECKSUM = 7 // in.h:174:1: + IPV6_DONTFRAG = 62 // in.h:214:1: + IPV6_DROP_MEMBERSHIP = 21 // in.h:238:1: + IPV6_DSTOPTS = 59 // in.h:211:1: + IPV6_FREEBIND = 78 // in.h:233:1: + IPV6_HDRINCL = 36 // in.h:198:1: + IPV6_HOPLIMIT = 52 // in.h:204:1: + IPV6_HOPOPTS = 54 // in.h:206:1: + IPV6_IPSEC_POLICY = 34 // in.h:196:1: + IPV6_JOIN_ANYCAST = 27 // in.h:192:1: + IPV6_JOIN_GROUP = 20 // in.h:185:1: + IPV6_LEAVE_ANYCAST = 28 // in.h:193:1: + IPV6_LEAVE_GROUP = 21 // in.h:186:1: + IPV6_MINHOPCOUNT = 73 // in.h:226:1: + IPV6_MTU = 24 // in.h:189:1: + IPV6_MTU_DISCOVER = 23 // in.h:188:1: + IPV6_MULTICAST_ALL = 29 // in.h:194:1: + IPV6_MULTICAST_HOPS = 18 // in.h:183:1: + IPV6_MULTICAST_IF = 17 // in.h:182:1: + IPV6_MULTICAST_LOOP = 19 // in.h:184:1: + IPV6_NEXTHOP = 9 // in.h:179:1: + IPV6_ORIGDSTADDR = 74 // in.h:228:1: + IPV6_PATHMTU = 61 // in.h:213:1: + IPV6_PKTINFO = 50 // in.h:202:1: + IPV6_PMTUDISC_DO = 2 // in.h:246:1: + IPV6_PMTUDISC_DONT = 0 // in.h:244:1: + IPV6_PMTUDISC_INTERFACE = 4 // in.h:248:1: + IPV6_PMTUDISC_OMIT = 5 // in.h:249:1: + IPV6_PMTUDISC_PROBE = 3 // in.h:247:1: + IPV6_PMTUDISC_WANT = 1 // in.h:245:1: + IPV6_RECVDSTOPTS = 58 // in.h:210:1: + IPV6_RECVERR = 25 // in.h:190:1: + IPV6_RECVFRAGSIZE = 77 // in.h:232:1: + IPV6_RECVHOPLIMIT = 51 // in.h:203:1: + IPV6_RECVHOPOPTS = 53 // in.h:205:1: + IPV6_RECVORIGDSTADDR = 74 // in.h:229:1: + IPV6_RECVPATHMTU = 60 // in.h:212:1: + IPV6_RECVPKTINFO = 49 // in.h:201:1: + IPV6_RECVRTHDR = 56 // in.h:208:1: + IPV6_RECVTCLASS = 66 // in.h:217:1: + IPV6_ROUTER_ALERT = 22 // in.h:187:1: + IPV6_ROUTER_ALERT_ISOLATE = 30 // in.h:195:1: + IPV6_RTHDR = 57 // in.h:209:1: + IPV6_RTHDRDSTOPTS = 55 // in.h:207:1: + IPV6_RTHDR_LOOSE = 0 // in.h:256:1: + IPV6_RTHDR_STRICT = 1 // in.h:257:1: + IPV6_RTHDR_TYPE_0 = 0 // in.h:259:1: + IPV6_RXDSTOPTS = 59 // in.h:241:1: + IPV6_RXHOPOPTS = 54 // in.h:240:1: + IPV6_TCLASS = 67 // in.h:218:1: + IPV6_TRANSPARENT = 75 // in.h:230:1: + IPV6_UNICAST_HOPS = 16 // in.h:181:1: + IPV6_UNICAST_IF = 76 // in.h:231:1: + IPV6_V6ONLY = 26 // in.h:191:1: + IPV6_XFRM_POLICY = 35 // in.h:197:1: + IP_ADD_MEMBERSHIP = 35 // in.h:121:1: + IP_ADD_SOURCE_MEMBERSHIP = 39 // in.h:125:1: + IP_BIND_ADDRESS_NO_PORT = 24 // in.h:103:1: + IP_BLOCK_SOURCE = 38 // in.h:124:1: + IP_CHECKSUM = 23 // in.h:102:1: + IP_DEFAULT_MULTICAST_LOOP = 1 // in.h:135:1: + IP_DEFAULT_MULTICAST_TTL = 1 // in.h:134:1: + IP_DROP_MEMBERSHIP = 36 // in.h:122:1: + IP_DROP_SOURCE_MEMBERSHIP = 40 // in.h:126:1: + IP_FREEBIND = 15 // in.h:89:1: + IP_HDRINCL = 3 // in.h:48:1: + IP_IPSEC_POLICY = 16 // in.h:90:1: + IP_MAX_MEMBERSHIPS = 20 // in.h:136:1: + IP_MINTTL = 21 // in.h:100:1: + IP_MSFILTER = 41 // in.h:127:1: + IP_MTU = 14 // in.h:88:1: + IP_MTU_DISCOVER = 10 // in.h:84:1: + IP_MULTICAST_ALL = 49 // in.h:128:1: + IP_MULTICAST_IF = 32 // in.h:118:1: + IP_MULTICAST_LOOP = 34 // in.h:120:1: + IP_MULTICAST_TTL = 33 // in.h:119:1: + IP_NODEFRAG = 22 // in.h:101:1: + IP_OPTIONS = 4 // in.h:47:1: + IP_ORIGDSTADDR = 20 // in.h:97:1: + IP_PASSSEC = 18 // in.h:92:1: + IP_PKTINFO = 8 // in.h:81:1: + IP_PKTOPTIONS = 9 // in.h:82:1: + IP_PMTUDISC = 10 // in.h:83:1: + IP_PMTUDISC_DO = 2 // in.h:109:1: + IP_PMTUDISC_DONT = 0 // in.h:107:1: + IP_PMTUDISC_INTERFACE = 4 // in.h:114:1: + IP_PMTUDISC_OMIT = 5 // in.h:116:1: + IP_PMTUDISC_PROBE = 3 // in.h:110:1: + IP_PMTUDISC_WANT = 1 // in.h:108:1: + IP_RECVERR = 11 // in.h:85:1: + IP_RECVFRAGSIZE = 25 // in.h:104:1: + IP_RECVOPTS = 6 // in.h:51:1: + IP_RECVORIGDSTADDR = 20 // in.h:98:1: + IP_RECVRETOPTS = 7 // in.h:53:1: + IP_RECVTOS = 13 // in.h:87:1: + IP_RECVTTL = 12 // in.h:86:1: + IP_RETOPTS = 7 // in.h:54:1: + IP_ROUTER_ALERT = 5 // in.h:80:1: + IP_TOS = 1 // in.h:49:1: + IP_TRANSPARENT = 19 // in.h:93:1: + IP_TTL = 2 // in.h:50:1: + IP_UNBLOCK_SOURCE = 37 // in.h:123:1: + IP_UNICAST_IF = 50 // in.h:129:1: + IP_XFRM_POLICY = 17 // in.h:91:1: + LITTLE_ENDIAN = 1234 // endian.h:27:1: + MCAST_BLOCK_SOURCE = 43 // in.h:67:1: + MCAST_EXCLUDE = 0 // in.h:76:1: + MCAST_INCLUDE = 1 // in.h:77:1: + MCAST_JOIN_GROUP = 42 // in.h:66:1: + MCAST_JOIN_SOURCE_GROUP = 46 // in.h:70:1: + MCAST_LEAVE_GROUP = 45 // in.h:69:1: + MCAST_LEAVE_SOURCE_GROUP = 47 // in.h:71:1: + MCAST_MSFILTER = 48 // in.h:72:1: + MCAST_UNBLOCK_SOURCE = 44 // in.h:68:1: + PDP_ENDIAN = 3412 // endian.h:29:1: + PF_ALG = 38 // socket.h:82:1: + PF_APPLETALK = 5 // socket.h:48:1: + PF_ASH = 18 // socket.h:62:1: + PF_ATMPVC = 8 // socket.h:51:1: + PF_ATMSVC = 20 // socket.h:64:1: + PF_AX25 = 3 // socket.h:46:1: + PF_BLUETOOTH = 31 // socket.h:75:1: + PF_BRIDGE = 7 // socket.h:50:1: + PF_CAIF = 37 // socket.h:81:1: + PF_CAN = 29 // socket.h:73:1: + PF_DECnet = 12 // socket.h:55:1: + PF_ECONET = 19 // socket.h:63:1: + PF_FILE = 1 // socket.h:44:1: + PF_IB = 27 // socket.h:71:1: + PF_IEEE802154 = 36 // socket.h:80:1: + PF_INET = 2 // socket.h:45:1: + PF_INET6 = 10 // socket.h:53:1: + PF_IPX = 4 // socket.h:47:1: + PF_IRDA = 23 // socket.h:67:1: + PF_ISDN = 34 // socket.h:78:1: + PF_IUCV = 32 // socket.h:76:1: + PF_KCM = 41 // socket.h:85:1: + PF_KEY = 15 // socket.h:58:1: + PF_LLC = 26 // socket.h:70:1: + PF_LOCAL = 1 // socket.h:42:1: + PF_MAX = 45 // socket.h:89:1: + PF_MPLS = 28 // socket.h:72:1: + PF_NETBEUI = 13 // socket.h:56:1: + PF_NETLINK = 16 // socket.h:59:1: + PF_NETROM = 6 // socket.h:49:1: + PF_NFC = 39 // socket.h:83:1: + PF_PACKET = 17 // socket.h:61:1: + PF_PHONET = 35 // socket.h:79:1: + PF_PPPOX = 24 // socket.h:68:1: + PF_QIPCRTR = 42 // socket.h:86:1: + PF_RDS = 21 // socket.h:65:1: + PF_ROSE = 11 // socket.h:54:1: + PF_ROUTE = 16 // socket.h:60:1: + PF_RXRPC = 33 // socket.h:77:1: + PF_SECURITY = 14 // socket.h:57:1: + PF_SMC = 43 // socket.h:87:1: + PF_SNA = 22 // socket.h:66:1: + PF_TIPC = 30 // socket.h:74:1: + PF_UNIX = 1 // socket.h:43:1: + PF_UNSPEC = 0 // socket.h:41:1: + PF_VSOCK = 40 // socket.h:84:1: + PF_WANPIPE = 25 // socket.h:69:1: + PF_X25 = 9 // socket.h:52:1: + PF_XDP = 44 // socket.h:88:1: + SCM_TIMESTAMP = 29 // socket.h:140:1: + SCM_TIMESTAMPING = 37 // socket.h:142:1: + SCM_TIMESTAMPING_OPT_STATS = 54 // socket.h:90:1: + SCM_TIMESTAMPING_PKTINFO = 58 // socket.h:98:1: + SCM_TIMESTAMPNS = 35 // socket.h:141:1: + SCM_TXTIME = 61 // socket.h:105:1: + SCM_WIFI_STATUS = 41 // socket.h:64:1: + SIOCATMARK = 0x8905 // sockios.h:10:1: + SIOCGPGRP = 0x8904 // sockios.h:9:1: + SIOCGSTAMP = 0x8906 // sockios.h:11:1: + SIOCGSTAMPNS = 0x8907 // sockios.h:12:1: + SIOCSPGRP = 0x8902 // sockios.h:7:1: + SOL_AAL = 265 // socket.h:151:1: + SOL_ALG = 279 // socket.h:165:1: + SOL_ATM = 264 // socket.h:150:1: + SOL_BLUETOOTH = 274 // socket.h:160:1: + SOL_CAIF = 278 // socket.h:164:1: + SOL_DCCP = 269 // socket.h:155:1: + SOL_DECNET = 261 // socket.h:147:1: + SOL_ICMPV6 = 58 // in.h:253:1: + SOL_IP = 0 // in.h:132:1: + SOL_IPV6 = 41 // in.h:252:1: + SOL_IRDA = 266 // socket.h:152:1: + SOL_IUCV = 277 // socket.h:163:1: + SOL_KCM = 281 // socket.h:167:1: + SOL_LLC = 268 // socket.h:154:1: + SOL_NETBEUI = 267 // socket.h:153:1: + SOL_NETLINK = 270 // socket.h:156:1: + SOL_NFC = 280 // socket.h:166:1: + SOL_PACKET = 263 // socket.h:149:1: + SOL_PNPIPE = 275 // socket.h:161:1: + SOL_PPPOL2TP = 273 // socket.h:159:1: + SOL_RAW = 255 // socket.h:146:1: + SOL_RDS = 276 // socket.h:162:1: + SOL_RXRPC = 272 // socket.h:158:1: + SOL_SOCKET = 1 // socket.h:9:1: + SOL_TIPC = 271 // socket.h:157:1: + SOL_TLS = 282 // socket.h:168:1: + SOL_X25 = 262 // socket.h:148:1: + SOL_XDP = 283 // socket.h:169:1: + SOMAXCONN = 4096 // socket.h:172:1: + SO_ACCEPTCONN = 30 // socket.h:51:1: + SO_ATTACH_BPF = 50 // socket.h:82:1: + SO_ATTACH_FILTER = 26 // socket.h:45:1: + SO_ATTACH_REUSEPORT_CBPF = 51 // socket.h:85:1: + SO_ATTACH_REUSEPORT_EBPF = 52 // socket.h:86:1: + SO_BINDTODEVICE = 25 // socket.h:42:1: + SO_BINDTOIFINDEX = 62 // socket.h:107:1: + SO_BPF_EXTENSIONS = 48 // socket.h:78:1: + SO_BROADCAST = 6 // socket.h:16:1: + SO_BSDCOMPAT = 14 // socket.h:26:1: + SO_BUSY_POLL = 46 // socket.h:74:1: + SO_CNX_ADVICE = 53 // socket.h:88:1: + SO_COOKIE = 57 // socket.h:96:1: + SO_DEBUG = 1 // socket.h:11:1: + SO_DETACH_BPF = 27 // socket.h:83:1: + SO_DETACH_FILTER = 27 // socket.h:46:1: + SO_DETACH_REUSEPORT_BPF = 68 // socket.h:120:1: + SO_DOMAIN = 39 // socket.h:59:1: + SO_DONTROUTE = 5 // socket.h:15:1: + SO_ERROR = 4 // socket.h:14:1: + SO_GET_FILTER = 26 // socket.h:47:1: + SO_INCOMING_CPU = 49 // socket.h:80:1: + SO_INCOMING_NAPI_ID = 56 // socket.h:94:1: + SO_KEEPALIVE = 9 // socket.h:21:1: + SO_LINGER = 13 // socket.h:25:1: + SO_LOCK_FILTER = 44 // socket.h:70:1: + SO_MARK = 36 // socket.h:56:1: + SO_MAX_PACING_RATE = 47 // socket.h:76:1: + SO_MEMINFO = 55 // socket.h:92:1: + SO_NOFCS = 43 // socket.h:68:1: + SO_NO_CHECK = 11 // socket.h:23:1: + SO_OOBINLINE = 10 // socket.h:22:1: + SO_PASSCRED = 16 // socket.h:29:1: + SO_PASSSEC = 34 // socket.h:54:1: + SO_PEEK_OFF = 42 // socket.h:65:1: + SO_PEERCRED = 17 // socket.h:30:1: + SO_PEERGROUPS = 59 // socket.h:100:1: + SO_PEERNAME = 28 // socket.h:49:1: + SO_PEERSEC = 31 // socket.h:53:1: + SO_PRIORITY = 12 // socket.h:24:1: + SO_PROTOCOL = 38 // socket.h:58:1: + SO_RCVBUF = 8 // socket.h:18:1: + SO_RCVBUFFORCE = 33 // socket.h:20:1: + SO_RCVLOWAT = 18 // socket.h:31:1: + SO_RCVTIMEO = 20 // socket.h:129:1: + SO_RCVTIMEO_NEW = 66 // socket.h:117:1: + SO_RCVTIMEO_OLD = 20 // socket.h:33:1: + SO_REUSEADDR = 2 // socket.h:12:1: + SO_REUSEPORT = 15 // socket.h:27:1: + SO_RXQ_OVFL = 40 // socket.h:61:1: + SO_SECURITY_AUTHENTICATION = 22 // socket.h:38:1: + SO_SECURITY_ENCRYPTION_NETWORK = 24 // socket.h:40:1: + SO_SECURITY_ENCRYPTION_TRANSPORT = 23 // socket.h:39:1: + SO_SELECT_ERR_QUEUE = 45 // socket.h:72:1: + SO_SNDBUF = 7 // socket.h:17:1: + SO_SNDBUFFORCE = 32 // socket.h:19:1: + SO_SNDLOWAT = 19 // socket.h:32:1: + SO_SNDTIMEO = 21 // socket.h:130:1: + SO_SNDTIMEO_NEW = 67 // socket.h:118:1: + SO_SNDTIMEO_OLD = 21 // socket.h:34:1: + SO_TIMESTAMP = 29 // socket.h:125:1: + SO_TIMESTAMPING = 37 // socket.h:127:1: + SO_TIMESTAMPING_NEW = 65 // socket.h:115:1: + SO_TIMESTAMPING_OLD = 37 // socket.h:111:1: + SO_TIMESTAMPNS = 35 // socket.h:126:1: + SO_TIMESTAMPNS_NEW = 64 // socket.h:114:1: + SO_TIMESTAMPNS_OLD = 35 // socket.h:110:1: + SO_TIMESTAMP_NEW = 63 // socket.h:113:1: + SO_TIMESTAMP_OLD = 29 // socket.h:109:1: + SO_TXTIME = 61 // socket.h:104:1: + SO_TYPE = 3 // socket.h:13:1: + SO_WIFI_STATUS = 41 // socket.h:63:1: + SO_ZEROCOPY = 60 // socket.h:102:1: + X_ASM_X86_POSIX_TYPES_64_H = 0 // posix_types_64.h:3:1: + X_ATFILE_SOURCE = 1 // features.h:342:1: + X_BITS_BYTESWAP_H = 1 // byteswap.h:24:1: + X_BITS_ENDIANNESS_H = 1 // endianness.h:2:1: + X_BITS_ENDIAN_H = 1 // endian.h:20:1: + X_BITS_PTHREADTYPES_ARCH_H = 1 // pthreadtypes-arch.h:19:1: + X_BITS_PTHREADTYPES_COMMON_H = 1 // pthreadtypes.h:20:1: + X_BITS_SOCKADDR_H = 1 // sockaddr.h:24:1: + X_BITS_STDINT_INTN_H = 1 // stdint-intn.h:20:1: + X_BITS_STDINT_UINTN_H = 1 // stdint-uintn.h:20:1: + X_BITS_TIME64_H = 1 // time64.h:24:1: + X_BITS_TYPESIZES_H = 1 // typesizes.h:24:1: + X_BITS_TYPES_H = 1 // types.h:24:1: + X_BITS_UINTN_IDENTITY_H = 1 // uintn-identity.h:24:1: + X_BSD_SIZE_T_ = 0 // stddef.h:189:1: + X_BSD_SIZE_T_DEFINED_ = 0 // stddef.h:192:1: + X_DEFAULT_SOURCE = 1 // features.h:227:1: + X_ENDIAN_H = 1 // endian.h:19:1: + X_FEATURES_H = 1 // features.h:19:1: + X_FILE_OFFSET_BITS = 64 // <builtin>:25:1: + X_GCC_SIZE_T = 0 // stddef.h:195:1: + X_LINUX_POSIX_TYPES_H = 0 // posix_types.h:3:1: + X_LP64 = 1 // <predefined>:284:1: + X_NETINET_IN_H = 1 // in.h:19:1: + X_POSIX_C_SOURCE = 200809 // features.h:281:1: + X_POSIX_SOURCE = 1 // features.h:279:1: + X_RWLOCK_INTERNAL_H = 0 // struct_rwlock.h:21:1: + X_SIZET_ = 0 // stddef.h:196:1: + X_SIZE_T = 0 // stddef.h:183:1: + X_SIZE_T_ = 0 // stddef.h:188:1: + X_SIZE_T_DECLARED = 0 // stddef.h:193:1: + X_SIZE_T_DEFINED = 0 // stddef.h:191:1: + X_SIZE_T_DEFINED_ = 0 // stddef.h:190:1: + X_SS_SIZE = 128 // sockaddr.h:40:1: + X_STDC_PREDEF_H = 1 // <predefined>:162:1: + X_STRUCT_TIMESPEC = 1 // struct_timespec.h:3:1: + X_SYS_CDEFS_H = 1 // cdefs.h:19:1: + X_SYS_SELECT_H = 1 // select.h:22:1: + X_SYS_SIZE_T_H = 0 // stddef.h:184:1: + X_SYS_SOCKET_H = 1 // socket.h:20:1: + X_SYS_TYPES_H = 1 // types.h:23:1: + X_THREAD_MUTEX_INTERNAL_H = 1 // struct_mutex.h:20:1: + X_THREAD_SHARED_TYPES_H = 1 // thread-shared-types.h:20:1: + X_T_SIZE = 0 // stddef.h:186:1: + X_T_SIZE_ = 0 // stddef.h:185:1: + Linux = 1 // <predefined>:231:1: + Unix = 1 // <predefined>:177:1: ) // Standard well-known ports. diff --git a/vendor/modernc.org/libc/poll/capi_darwin_arm64.go b/vendor/modernc.org/libc/poll/capi_darwin_arm64.go index 89d2d189..b80fe99a 100644 --- a/vendor/modernc.org/libc/poll/capi_darwin_arm64.go +++ b/vendor/modernc.org/libc/poll/capi_darwin_arm64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo poll/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o poll/poll_darwin_arm64.go -pkgname poll', DO NOT EDIT. +// Code generated by 'ccgo poll/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o poll/poll_darwin_arm64.go -pkgname poll', DO NOT EDIT. package poll diff --git a/vendor/modernc.org/libc/poll/capi_linux_amd64.go b/vendor/modernc.org/libc/poll/capi_linux_amd64.go index d5990792..52c3f3a2 100644 --- a/vendor/modernc.org/libc/poll/capi_linux_amd64.go +++ b/vendor/modernc.org/libc/poll/capi_linux_amd64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo poll/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o poll/poll_linux_amd64.go -pkgname poll', DO NOT EDIT. +// Code generated by 'ccgo poll/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o poll/poll_linux_amd64.go -pkgname poll', DO NOT EDIT. package poll diff --git a/vendor/modernc.org/libc/poll/poll_darwin_arm64.go b/vendor/modernc.org/libc/poll/poll_darwin_arm64.go index 27d1110a..8c09550a 100644 --- a/vendor/modernc.org/libc/poll/poll_darwin_arm64.go +++ b/vendor/modernc.org/libc/poll/poll_darwin_arm64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo poll/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o poll/poll_darwin_arm64.go -pkgname poll', DO NOT EDIT. +// Code generated by 'ccgo poll/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o poll/poll_darwin_arm64.go -pkgname poll', DO NOT EDIT. package poll @@ -15,33 +15,33 @@ var _ atomic.Value var _ unsafe.Pointer const ( - POLLATTRIB = 0x0400 - POLLERR = 0x0008 - POLLEXTEND = 0x0200 - POLLHUP = 0x0010 - POLLIN = 0x0001 - POLLNLINK = 0x0800 - POLLNVAL = 0x0020 - POLLOUT = 0x0004 - POLLPRI = 0x0002 - POLLRDBAND = 0x0080 - POLLRDNORM = 0x0040 - POLLSTANDARD = 511 - POLLWRBAND = 0x0100 - POLLWRITE = 0x1000 - POLLWRNORM = 4 - X_CDEFS_H_ = 0 - X_DARWIN_FEATURE_64_BIT_INODE = 1 - X_DARWIN_FEATURE_ONLY_64_BIT_INODE = 1 - X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1 - X_DARWIN_FEATURE_ONLY_VERS_1050 = 1 - X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3 - X_FILE_OFFSET_BITS = 64 - X_LP64 = 1 - X_Nonnull = 0 - X_Null_unspecified = 0 - X_Nullable = 0 - X_SYS_POLL_H_ = 0 + POLLATTRIB = 0x0400 // poll.h:81:1: + POLLERR = 0x0008 // poll.h:89:1: + POLLEXTEND = 0x0200 // poll.h:80:1: + POLLHUP = 0x0010 // poll.h:90:1: + POLLIN = 0x0001 // poll.h:68:1: + POLLNLINK = 0x0800 // poll.h:82:1: + POLLNVAL = 0x0020 // poll.h:91:1: + POLLOUT = 0x0004 // poll.h:70:1: + POLLPRI = 0x0002 // poll.h:69:1: + POLLRDBAND = 0x0080 // poll.h:73:1: + POLLRDNORM = 0x0040 // poll.h:71:1: + POLLSTANDARD = 511 // poll.h:93:1: + POLLWRBAND = 0x0100 // poll.h:74:1: + POLLWRITE = 0x1000 // poll.h:83:1: + POLLWRNORM = 4 // poll.h:72:1: + X_CDEFS_H_ = 0 // cdefs.h:68:1: + X_DARWIN_FEATURE_64_BIT_INODE = 1 // cdefs.h:774:1: + X_DARWIN_FEATURE_ONLY_64_BIT_INODE = 1 // cdefs.h:784:1: + X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1 // cdefs.h:800:1: + X_DARWIN_FEATURE_ONLY_VERS_1050 = 1 // cdefs.h:792:1: + X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3 // cdefs.h:808:1: + X_FILE_OFFSET_BITS = 64 // <builtin>:25:1: + X_LP64 = 1 // <predefined>:1:1: + X_Nonnull = 0 // cdefs.h:268:1: + X_Null_unspecified = 0 // cdefs.h:271:1: + X_Nullable = 0 // cdefs.h:265:1: + X_SYS_POLL_H_ = 0 // poll.h:58:1: ) type Ptrdiff_t = int64 /* <builtin>:3:26 */ diff --git a/vendor/modernc.org/libc/poll/poll_linux_amd64.go b/vendor/modernc.org/libc/poll/poll_linux_amd64.go index 104c76d6..83aca0f2 100644 --- a/vendor/modernc.org/libc/poll/poll_linux_amd64.go +++ b/vendor/modernc.org/libc/poll/poll_linux_amd64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo poll/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o poll/poll_linux_amd64.go -pkgname poll', DO NOT EDIT. +// Code generated by 'ccgo poll/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o poll/poll_linux_amd64.go -pkgname poll', DO NOT EDIT. package poll @@ -15,28 +15,28 @@ var _ atomic.Value var _ unsafe.Pointer const ( - POLLERR = 0x008 - POLLHUP = 0x010 - POLLIN = 0x001 - POLLNVAL = 0x020 - POLLOUT = 0x004 - POLLPRI = 0x002 - POLLRDBAND = 0x080 - POLLRDNORM = 0x040 - POLLWRBAND = 0x200 - POLLWRNORM = 0x100 - X_ATFILE_SOURCE = 1 - X_DEFAULT_SOURCE = 1 - X_FEATURES_H = 1 - X_FILE_OFFSET_BITS = 64 - X_LP64 = 1 - X_POSIX_C_SOURCE = 200809 - X_POSIX_SOURCE = 1 - X_STDC_PREDEF_H = 1 - X_SYS_CDEFS_H = 1 - X_SYS_POLL_H = 1 - Linux = 1 - Unix = 1 + POLLERR = 0x008 // poll.h:47:1: + POLLHUP = 0x010 // poll.h:48:1: + POLLIN = 0x001 // poll.h:25:1: + POLLNVAL = 0x020 // poll.h:49:1: + POLLOUT = 0x004 // poll.h:27:1: + POLLPRI = 0x002 // poll.h:26:1: + POLLRDBAND = 0x080 // poll.h:32:1: + POLLRDNORM = 0x040 // poll.h:31:1: + POLLWRBAND = 0x200 // poll.h:34:1: + POLLWRNORM = 0x100 // poll.h:33:1: + X_ATFILE_SOURCE = 1 // features.h:342:1: + X_DEFAULT_SOURCE = 1 // features.h:227:1: + X_FEATURES_H = 1 // features.h:19:1: + X_FILE_OFFSET_BITS = 64 // <builtin>:25:1: + X_LP64 = 1 // <predefined>:284:1: + X_POSIX_C_SOURCE = 200809 // features.h:281:1: + X_POSIX_SOURCE = 1 // features.h:279:1: + X_STDC_PREDEF_H = 1 // <predefined>:162:1: + X_SYS_CDEFS_H = 1 // cdefs.h:19:1: + X_SYS_POLL_H = 1 // poll.h:20:1: + Linux = 1 // <predefined>:231:1: + Unix = 1 // <predefined>:177:1: ) type Ptrdiff_t = int64 /* <builtin>:3:26 */ diff --git a/vendor/modernc.org/libc/printf.go b/vendor/modernc.org/libc/printf.go index ce580daf..b8200add 100644 --- a/vendor/modernc.org/libc/printf.go +++ b/vendor/modernc.org/libc/printf.go @@ -18,6 +18,7 @@ const ( modH modL modLL + modLD modQ modCapitalL modJ @@ -167,7 +168,9 @@ more: format++ var arg uint64 switch mod { - case modNone, modL, modLL, mod64: + case modNone: + arg = uint64(VaUint32(args)) + case modL, modLL, mod64: arg = VaUint64(args) case modH: arg = uint64(uint16(VaInt32(args))) @@ -198,7 +201,9 @@ more: format++ var arg uint64 switch mod { - case modNone, modL, modLL, mod64: + case modNone: + arg = uint64(VaUint32(args)) + case modL, modLL, mod64: arg = VaUint64(args) case modH: arg = uint64(uint16(VaInt32(args))) @@ -280,7 +285,9 @@ more: format++ var arg uint64 switch mod { - case modNone, modL, modLL, mod64: + case modNone: + arg = uint64(VaUint32(args)) + case modL, modLL, mod64: arg = VaUint64(args) case modH: arg = uint64(uint16(VaInt32(args))) @@ -335,7 +342,7 @@ more: prec = 6 } f := fmt.Sprintf("%s.%d%c", spec, prec, c) - str = fmt.Sprintf(f, arg) + str = fixNanInf(fmt.Sprintf(f, arg)) case 'G': fallthrough case 'g': @@ -356,7 +363,7 @@ more: } f := fmt.Sprintf("%s.%d%c", spec, prec, c) - str = fmt.Sprintf(f, arg) + str = fixNanInf(fmt.Sprintf(f, arg)) case 's': // If no l modifier is present: the const char * argument is expected to be a // pointer to an array of character type (pointer to a string). Characters @@ -577,7 +584,9 @@ func parseLengthModifier(format uintptr) (_ uintptr, n int) { case 'q': panic(todo("")) case 'L': - panic(todo("")) + format++ + n = modLD + return format, n case 'j': panic(todo("")) case 'z': @@ -590,3 +599,14 @@ func parseLengthModifier(format uintptr) (_ uintptr, n int) { return format, 0 } } + +func fixNanInf(s string) string { + switch s { + case "NaN": + return "nan" + case "+Inf", "-Inf": + return "inf" + default: + return s + } +} diff --git a/vendor/modernc.org/libc/pthread.go b/vendor/modernc.org/libc/pthread.go index 67b32ac0..565086ec 100644 --- a/vendor/modernc.org/libc/pthread.go +++ b/vendor/modernc.org/libc/pthread.go @@ -527,7 +527,7 @@ func Xpthread_detach(t *TLS, thread pthread.Pthread_t) int32 { // int pthread_equal(pthread_t t1, pthread_t t2); func Xpthread_equal(t *TLS, t1, t2 pthread.Pthread_t) int32 { - return Bool32(t1 == t1) + return Bool32(t1 == t2) } // void pthread_exit(void *value_ptr); diff --git a/vendor/modernc.org/libc/pthread/capi_darwin_arm64.go b/vendor/modernc.org/libc/pthread/capi_darwin_arm64.go index b7c71969..e1e2a70c 100644 --- a/vendor/modernc.org/libc/pthread/capi_darwin_arm64.go +++ b/vendor/modernc.org/libc/pthread/capi_darwin_arm64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo pthread/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o pthread/pthread_darwin_arm64.go -pkgname pthread', DO NOT EDIT. +// Code generated by 'ccgo pthread/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o pthread/pthread_darwin_arm64.go -pkgname pthread', DO NOT EDIT. package pthread diff --git a/vendor/modernc.org/libc/pthread/capi_linux_amd64.go b/vendor/modernc.org/libc/pthread/capi_linux_amd64.go index ba3474e0..fd760fda 100644 --- a/vendor/modernc.org/libc/pthread/capi_linux_amd64.go +++ b/vendor/modernc.org/libc/pthread/capi_linux_amd64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo pthread/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o pthread/pthread_linux_amd64.go -pkgname pthread', DO NOT EDIT. +// Code generated by 'ccgo pthread/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o pthread/pthread_linux_amd64.go -pkgname pthread', DO NOT EDIT. package pthread diff --git a/vendor/modernc.org/libc/pthread/pthread_darwin_arm64.go b/vendor/modernc.org/libc/pthread/pthread_darwin_arm64.go index ad851e8b..b721feae 100644 --- a/vendor/modernc.org/libc/pthread/pthread_darwin_arm64.go +++ b/vendor/modernc.org/libc/pthread/pthread_darwin_arm64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo pthread/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o pthread/pthread_darwin_arm64.go -pkgname pthread', DO NOT EDIT. +// Code generated by 'ccgo pthread/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o pthread/pthread_darwin_arm64.go -pkgname pthread', DO NOT EDIT. package pthread @@ -15,124 +15,123 @@ var _ atomic.Value var _ unsafe.Pointer const ( - CLOCKS_PER_SEC = 1000000 - MAC_OS_VERSION_11_0 = 110000 - MAC_OS_VERSION_12_0 = 120000 - MAC_OS_X_VERSION_10_0 = 1000 - MAC_OS_X_VERSION_10_1 = 1010 - MAC_OS_X_VERSION_10_10 = 101000 - MAC_OS_X_VERSION_10_10_2 = 101002 - MAC_OS_X_VERSION_10_10_3 = 101003 - MAC_OS_X_VERSION_10_11 = 101100 - MAC_OS_X_VERSION_10_11_2 = 101102 - MAC_OS_X_VERSION_10_11_3 = 101103 - MAC_OS_X_VERSION_10_11_4 = 101104 - MAC_OS_X_VERSION_10_12 = 101200 - MAC_OS_X_VERSION_10_12_1 = 101201 - MAC_OS_X_VERSION_10_12_2 = 101202 - MAC_OS_X_VERSION_10_12_4 = 101204 - MAC_OS_X_VERSION_10_13 = 101300 - MAC_OS_X_VERSION_10_13_1 = 101301 - MAC_OS_X_VERSION_10_13_2 = 101302 - MAC_OS_X_VERSION_10_13_4 = 101304 - MAC_OS_X_VERSION_10_14 = 101400 - MAC_OS_X_VERSION_10_14_1 = 101401 - MAC_OS_X_VERSION_10_14_4 = 101404 - MAC_OS_X_VERSION_10_14_6 = 101406 - MAC_OS_X_VERSION_10_15 = 101500 - MAC_OS_X_VERSION_10_15_1 = 101501 - MAC_OS_X_VERSION_10_16 = 101600 - MAC_OS_X_VERSION_10_2 = 1020 - MAC_OS_X_VERSION_10_3 = 1030 - MAC_OS_X_VERSION_10_4 = 1040 - MAC_OS_X_VERSION_10_5 = 1050 - MAC_OS_X_VERSION_10_6 = 1060 - MAC_OS_X_VERSION_10_7 = 1070 - MAC_OS_X_VERSION_10_8 = 1080 - MAC_OS_X_VERSION_10_9 = 1090 - PTHREAD_CANCEL_ASYNCHRONOUS = 0x00 - PTHREAD_CANCEL_DEFERRED = 0x02 - PTHREAD_CANCEL_DISABLE = 0x00 - PTHREAD_CANCEL_ENABLE = 0x01 - PTHREAD_CREATE_DETACHED = 2 - PTHREAD_CREATE_JOINABLE = 1 - PTHREAD_EXPLICIT_SCHED = 2 - PTHREAD_INHERIT_SCHED = 1 - PTHREAD_MUTEX_DEFAULT = 0 - PTHREAD_MUTEX_ERRORCHECK = 1 - PTHREAD_MUTEX_NORMAL = 0 - PTHREAD_MUTEX_POLICY_FAIRSHARE_NP = 1 - PTHREAD_MUTEX_POLICY_FIRSTFIT_NP = 3 - PTHREAD_MUTEX_RECURSIVE = 2 - PTHREAD_PRIO_INHERIT = 1 - PTHREAD_PRIO_NONE = 0 - PTHREAD_PRIO_PROTECT = 2 - PTHREAD_PROCESS_PRIVATE = 2 - PTHREAD_PROCESS_SHARED = 1 - PTHREAD_SCOPE_PROCESS = 2 - PTHREAD_SCOPE_SYSTEM = 1 - QOS_MIN_RELATIVE_PRIORITY = -15 - SCHED_FIFO = 4 - SCHED_OTHER = 1 - SCHED_RR = 2 - TIME_UTC = 1 - X_ARM_MACHTYPES_H_ = 0 - X_BSD_ARM__TYPES_H_ = 0 - X_BSD_MACHINE_TYPES_H_ = 0 - X_BSD_MACHINE__TYPES_H_ = 0 - X_CDEFS_H_ = 0 - X_CLOCK_T = 0 - X_DARWIN_FEATURE_64_BIT_INODE = 1 - X_DARWIN_FEATURE_ONLY_64_BIT_INODE = 1 - X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1 - X_DARWIN_FEATURE_ONLY_VERS_1050 = 1 - X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3 - X_FILE_OFFSET_BITS = 64 - X_FORTIFY_SOURCE = 2 - X_INT16_T = 0 - X_INT32_T = 0 - X_INT64_T = 0 - X_INT8_T = 0 - X_INTPTR_T = 0 - X_LP64 = 1 - X_MACHTYPES_H_ = 0 - X_MACH_PORT_T = 0 - X_Nonnull = 0 - X_Null_unspecified = 0 - X_Nullable = 0 - X_PTHREAD_ATTR_T = 0 - X_PTHREAD_CONDATTR_T = 0 - X_PTHREAD_COND_SIG_init = 0x3CB0B1BB - X_PTHREAD_COND_T = 0 - X_PTHREAD_ERRORCHECK_MUTEX_SIG_init = 0x32AAABA1 - X_PTHREAD_FIRSTFIT_MUTEX_SIG_init = 0x32AAABA3 - X_PTHREAD_H = 0 - X_PTHREAD_IMPL_H_ = 0 - X_PTHREAD_KEY_T = 0 - X_PTHREAD_MUTEXATTR_T = 0 - X_PTHREAD_MUTEX_SIG_init = 0x32AAABA7 - X_PTHREAD_MUTEX_T = 0 - X_PTHREAD_ONCE_SIG_init = 0x30B1BCBA - X_PTHREAD_ONCE_T = 0 - X_PTHREAD_QOS_H = 0 - X_PTHREAD_RECURSIVE_MUTEX_SIG_init = 0x32AAABA2 - X_PTHREAD_RWLOCKATTR_T = 0 - X_PTHREAD_RWLOCK_SIG_init = 0x2DA8B3B4 - X_PTHREAD_RWLOCK_T = 0 - X_PTHREAD_T = 0 - X_SCHED_H_ = 0 - X_SIGSET_T = 0 - X_SIZE_T = 0 - X_SYS_QOS_H = 0 - X_SYS__PTHREAD_TYPES_H_ = 0 - X_SYS__TYPES_H_ = 0 - X_TIME_H_ = 0 - X_TIME_T = 0 - X_UINTPTR_T = 0 - X_U_INT16_T = 0 - X_U_INT32_T = 0 - X_U_INT64_T = 0 - X_U_INT8_T = 0 + MAC_OS_VERSION_11_0 = 110000 // AvailabilityVersions.h:238:1: + MAC_OS_VERSION_12_0 = 120000 // AvailabilityVersions.h:239:1: + MAC_OS_X_VERSION_10_0 = 1000 // AvailabilityVersions.h:206:1: + MAC_OS_X_VERSION_10_1 = 1010 // AvailabilityVersions.h:207:1: + MAC_OS_X_VERSION_10_10 = 101000 // AvailabilityVersions.h:216:1: + MAC_OS_X_VERSION_10_10_2 = 101002 // AvailabilityVersions.h:217:1: + MAC_OS_X_VERSION_10_10_3 = 101003 // AvailabilityVersions.h:218:1: + MAC_OS_X_VERSION_10_11 = 101100 // AvailabilityVersions.h:219:1: + MAC_OS_X_VERSION_10_11_2 = 101102 // AvailabilityVersions.h:220:1: + MAC_OS_X_VERSION_10_11_3 = 101103 // AvailabilityVersions.h:221:1: + MAC_OS_X_VERSION_10_11_4 = 101104 // AvailabilityVersions.h:222:1: + MAC_OS_X_VERSION_10_12 = 101200 // AvailabilityVersions.h:223:1: + MAC_OS_X_VERSION_10_12_1 = 101201 // AvailabilityVersions.h:224:1: + MAC_OS_X_VERSION_10_12_2 = 101202 // AvailabilityVersions.h:225:1: + MAC_OS_X_VERSION_10_12_4 = 101204 // AvailabilityVersions.h:226:1: + MAC_OS_X_VERSION_10_13 = 101300 // AvailabilityVersions.h:227:1: + MAC_OS_X_VERSION_10_13_1 = 101301 // AvailabilityVersions.h:228:1: + MAC_OS_X_VERSION_10_13_2 = 101302 // AvailabilityVersions.h:229:1: + MAC_OS_X_VERSION_10_13_4 = 101304 // AvailabilityVersions.h:230:1: + MAC_OS_X_VERSION_10_14 = 101400 // AvailabilityVersions.h:231:1: + MAC_OS_X_VERSION_10_14_1 = 101401 // AvailabilityVersions.h:232:1: + MAC_OS_X_VERSION_10_14_4 = 101404 // AvailabilityVersions.h:233:1: + MAC_OS_X_VERSION_10_14_6 = 101406 // AvailabilityVersions.h:234:1: + MAC_OS_X_VERSION_10_15 = 101500 // AvailabilityVersions.h:235:1: + MAC_OS_X_VERSION_10_15_1 = 101501 // AvailabilityVersions.h:236:1: + MAC_OS_X_VERSION_10_16 = 101600 // AvailabilityVersions.h:237:1: + MAC_OS_X_VERSION_10_2 = 1020 // AvailabilityVersions.h:208:1: + MAC_OS_X_VERSION_10_3 = 1030 // AvailabilityVersions.h:209:1: + MAC_OS_X_VERSION_10_4 = 1040 // AvailabilityVersions.h:210:1: + MAC_OS_X_VERSION_10_5 = 1050 // AvailabilityVersions.h:211:1: + MAC_OS_X_VERSION_10_6 = 1060 // AvailabilityVersions.h:212:1: + MAC_OS_X_VERSION_10_7 = 1070 // AvailabilityVersions.h:213:1: + MAC_OS_X_VERSION_10_8 = 1080 // AvailabilityVersions.h:214:1: + MAC_OS_X_VERSION_10_9 = 1090 // AvailabilityVersions.h:215:1: + PTHREAD_CANCEL_ASYNCHRONOUS = 0x00 // pthread.h:144:1: + PTHREAD_CANCEL_DEFERRED = 0x02 // pthread.h:143:1: + PTHREAD_CANCEL_DISABLE = 0x00 // pthread.h:142:1: + PTHREAD_CANCEL_ENABLE = 0x01 // pthread.h:141:1: + PTHREAD_CREATE_DETACHED = 2 // pthread.h:136:1: + PTHREAD_CREATE_JOINABLE = 1 // pthread.h:135:1: + PTHREAD_EXPLICIT_SCHED = 2 // pthread.h:139:1: + PTHREAD_INHERIT_SCHED = 1 // pthread.h:138:1: + PTHREAD_MUTEX_DEFAULT = 0 // pthread.h:169:1: + PTHREAD_MUTEX_ERRORCHECK = 1 // pthread.h:167:1: + PTHREAD_MUTEX_NORMAL = 0 // pthread.h:166:1: + PTHREAD_MUTEX_POLICY_FAIRSHARE_NP = 1 // pthread.h:174:1: + PTHREAD_MUTEX_POLICY_FIRSTFIT_NP = 3 // pthread.h:175:1: + PTHREAD_MUTEX_RECURSIVE = 2 // pthread.h:168:1: + PTHREAD_PRIO_INHERIT = 1 // pthread.h:160:1: + PTHREAD_PRIO_NONE = 0 // pthread.h:159:1: + PTHREAD_PRIO_PROTECT = 2 // pthread.h:161:1: + PTHREAD_PROCESS_PRIVATE = 2 // pthread.h:154:1: + PTHREAD_PROCESS_SHARED = 1 // pthread.h:153:1: + PTHREAD_SCOPE_PROCESS = 2 // pthread.h:151:1: + PTHREAD_SCOPE_SYSTEM = 1 // pthread.h:150:1: + QOS_MIN_RELATIVE_PRIORITY = -15 // qos.h:153:1: + SCHED_FIFO = 4 // pthread_impl.h:55:1: + SCHED_OTHER = 1 // pthread_impl.h:54:1: + SCHED_RR = 2 // pthread_impl.h:56:1: + TIME_UTC = 1 // time.h:197:1: + X_ARM_MACHTYPES_H_ = 0 // types.h:43:1: + X_BSD_ARM__TYPES_H_ = 0 // _types.h:5:1: + X_BSD_MACHINE_TYPES_H_ = 0 // types.h:32:1: + X_BSD_MACHINE__TYPES_H_ = 0 // _types.h:29:1: + X_CDEFS_H_ = 0 // cdefs.h:68:1: + X_CLOCK_T = 0 // _clock_t.h:29:1: + X_DARWIN_FEATURE_64_BIT_INODE = 1 // cdefs.h:774:1: + X_DARWIN_FEATURE_ONLY_64_BIT_INODE = 1 // cdefs.h:784:1: + X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1 // cdefs.h:800:1: + X_DARWIN_FEATURE_ONLY_VERS_1050 = 1 // cdefs.h:792:1: + X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3 // cdefs.h:808:1: + X_FILE_OFFSET_BITS = 64 // <builtin>:25:1: + X_FORTIFY_SOURCE = 2 // _types.h:65:1: + X_INT16_T = 0 // _int16_t.h:29:1: + X_INT32_T = 0 // _int32_t.h:29:1: + X_INT64_T = 0 // _int64_t.h:29:1: + X_INT8_T = 0 // _int8_t.h:29:1: + X_INTPTR_T = 0 // _intptr_t.h:29:1: + X_LP64 = 1 // <predefined>:1:1: + X_MACHTYPES_H_ = 0 // types.h:44:1: + X_MACH_PORT_T = 0 // _mach_port_t.h:48:1: + X_Nonnull = 0 // cdefs.h:268:1: + X_Null_unspecified = 0 // cdefs.h:271:1: + X_Nullable = 0 // cdefs.h:265:1: + X_PTHREAD_ATTR_T = 0 // _pthread_attr_t.h:29:1: + X_PTHREAD_CONDATTR_T = 0 // _pthread_condattr_t.h:29:1: + X_PTHREAD_COND_SIG_init = 0x3CB0B1BB // pthread_impl.h:47:1: + X_PTHREAD_COND_T = 0 // _pthread_cond_t.h:29:1: + X_PTHREAD_ERRORCHECK_MUTEX_SIG_init = 0x32AAABA1 // pthread_impl.h:43:1: + X_PTHREAD_FIRSTFIT_MUTEX_SIG_init = 0x32AAABA3 // pthread_impl.h:45:1: + X_PTHREAD_H = 0 // pthread.h:53:1: + X_PTHREAD_IMPL_H_ = 0 // pthread_impl.h:25:1: + X_PTHREAD_KEY_T = 0 // _pthread_key_t.h:29:1: + X_PTHREAD_MUTEXATTR_T = 0 // _pthread_mutexattr_t.h:29:1: + X_PTHREAD_MUTEX_SIG_init = 0x32AAABA7 // pthread_impl.h:41:1: + X_PTHREAD_MUTEX_T = 0 // _pthread_mutex_t.h:29:1: + X_PTHREAD_ONCE_SIG_init = 0x30B1BCBA // pthread_impl.h:48:1: + X_PTHREAD_ONCE_T = 0 // _pthread_once_t.h:29:1: + X_PTHREAD_QOS_H = 0 // qos.h:25:1: + X_PTHREAD_RECURSIVE_MUTEX_SIG_init = 0x32AAABA2 // pthread_impl.h:44:1: + X_PTHREAD_RWLOCKATTR_T = 0 // _pthread_rwlockattr_t.h:29:1: + X_PTHREAD_RWLOCK_SIG_init = 0x2DA8B3B4 // pthread_impl.h:49:1: + X_PTHREAD_RWLOCK_T = 0 // _pthread_rwlock_t.h:29:1: + X_PTHREAD_T = 0 // _pthread_t.h:29:1: + X_SCHED_H_ = 0 // sched.h:25:1: + X_SIGSET_T = 0 // _sigset_t.h:29:1: + X_SIZE_T = 0 // _size_t.h:29:1: + X_SYS_QOS_H = 0 // qos.h:25:1: + X_SYS__PTHREAD_TYPES_H_ = 0 // _pthread_types.h:30:1: + X_SYS__TYPES_H_ = 0 // _types.h:30:1: + X_TIME_H_ = 0 // time.h:64:1: + X_TIME_T = 0 // _time_t.h:29:1: + X_UINTPTR_T = 0 // _uintptr_t.h:29:1: + X_U_INT16_T = 0 // _u_int16_t.h:29:1: + X_U_INT32_T = 0 // _u_int32_t.h:29:1: + X_U_INT64_T = 0 // _u_int64_t.h:29:1: + X_U_INT8_T = 0 // _u_int8_t.h:29:1: ) // Copyright (c) 2013-2014 Apple Inc. All rights reserved. @@ -968,6 +967,20 @@ var X__darwin_check_fd_set_overflow uintptr /* <builtin>:146:5: */ // __XNU_PRIVATE_EXTERN is a linkage decoration indicating that a symbol can be // used from other compilation units, but not other libraries or executables. +// We intentionally define to nothing pointer attributes which do not have an +// impact on the ABI. __indexable and __bidi_indexable are not defined because +// of the ABI incompatibility that makes the diagnostic preferable. + +// Similarly, we intentionally define to nothing the +// __ptrcheck_abi_assume_single and __ptrcheck_abi_assume_unsafe_indexable +// macros because they do not lead to an ABI incompatibility. However, we do not +// define the indexable and unsafe_indexable ones because the diagnostic is +// better than the silent ABI break. + +// __unsafe_forge intrinsics are defined as regular C casts. + +// decay operates normally; attribute is meaningless without pointer checks. + // Architecture validation for current SDK // Similar to OS_ENUM/OS_CLOSED_ENUM/OS_OPTIONS/OS_CLOSED_OPTIONS diff --git a/vendor/modernc.org/libc/pthread/pthread_linux_amd64.go b/vendor/modernc.org/libc/pthread/pthread_linux_amd64.go index fcff0c8a..0e3f14a9 100644 --- a/vendor/modernc.org/libc/pthread/pthread_linux_amd64.go +++ b/vendor/modernc.org/libc/pthread/pthread_linux_amd64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo pthread/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o pthread/pthread_linux_amd64.go -pkgname pthread', DO NOT EDIT. +// Code generated by 'ccgo pthread/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o pthread/pthread_linux_amd64.go -pkgname pthread', DO NOT EDIT. package pthread @@ -15,68 +15,68 @@ var _ atomic.Value var _ unsafe.Pointer const ( - CLOCK_BOOTTIME = 7 - CLOCK_BOOTTIME_ALARM = 9 - CLOCK_MONOTONIC = 1 - CLOCK_MONOTONIC_COARSE = 6 - CLOCK_MONOTONIC_RAW = 4 - CLOCK_PROCESS_CPUTIME_ID = 2 - CLOCK_REALTIME = 0 - CLOCK_REALTIME_ALARM = 8 - CLOCK_REALTIME_COARSE = 5 - CLOCK_TAI = 11 - CLOCK_THREAD_CPUTIME_ID = 3 - PTHREAD_BARRIER_SERIAL_THREAD = -1 - PTHREAD_ONCE_INIT = 0 - SCHED_FIFO = 1 - SCHED_OTHER = 0 - SCHED_RR = 2 - TIMER_ABSTIME = 1 - TIME_UTC = 1 - X_ATFILE_SOURCE = 1 - X_BITS_CPU_SET_H = 1 - X_BITS_ENDIANNESS_H = 1 - X_BITS_ENDIAN_H = 1 - X_BITS_PTHREADTYPES_ARCH_H = 1 - X_BITS_PTHREADTYPES_COMMON_H = 1 - X_BITS_SCHED_H = 1 - X_BITS_SETJMP_H = 1 - X_BITS_TIME64_H = 1 - X_BITS_TIME_H = 1 - X_BITS_TYPESIZES_H = 1 - X_BITS_TYPES_H = 1 - X_BITS_TYPES_LOCALE_T_H = 1 - X_BITS_TYPES_STRUCT_SCHED_PARAM = 1 - X_BITS_TYPES___LOCALE_T_H = 1 - X_BSD_SIZE_T_ = 0 - X_BSD_SIZE_T_DEFINED_ = 0 - X_DEFAULT_SOURCE = 1 - X_FEATURES_H = 1 - X_FILE_OFFSET_BITS = 64 - X_GCC_SIZE_T = 0 - X_LP64 = 1 - X_POSIX_C_SOURCE = 200809 - X_POSIX_SOURCE = 1 - X_PTHREAD_H = 1 - X_RWLOCK_INTERNAL_H = 0 - X_SCHED_H = 1 - X_SIZET_ = 0 - X_SIZE_T = 0 - X_SIZE_T_ = 0 - X_SIZE_T_DECLARED = 0 - X_SIZE_T_DEFINED = 0 - X_SIZE_T_DEFINED_ = 0 - X_STDC_PREDEF_H = 1 - X_STRUCT_TIMESPEC = 1 - X_SYS_CDEFS_H = 1 - X_SYS_SIZE_T_H = 0 - X_THREAD_MUTEX_INTERNAL_H = 1 - X_THREAD_SHARED_TYPES_H = 1 - X_TIME_H = 1 - X_T_SIZE = 0 - X_T_SIZE_ = 0 - Linux = 1 - Unix = 1 + CLOCK_BOOTTIME = 7 // time.h:60:1: + CLOCK_BOOTTIME_ALARM = 9 // time.h:64:1: + CLOCK_MONOTONIC = 1 // time.h:48:1: + CLOCK_MONOTONIC_COARSE = 6 // time.h:58:1: + CLOCK_MONOTONIC_RAW = 4 // time.h:54:1: + CLOCK_PROCESS_CPUTIME_ID = 2 // time.h:50:1: + CLOCK_REALTIME = 0 // time.h:46:1: + CLOCK_REALTIME_ALARM = 8 // time.h:62:1: + CLOCK_REALTIME_COARSE = 5 // time.h:56:1: + CLOCK_TAI = 11 // time.h:66:1: + CLOCK_THREAD_CPUTIME_ID = 3 // time.h:52:1: + PTHREAD_BARRIER_SERIAL_THREAD = -1 // pthread.h:189:1: + PTHREAD_ONCE_INIT = 0 // pthread.h:182:1: + SCHED_FIFO = 1 // sched.h:29:1: + SCHED_OTHER = 0 // sched.h:28:1: + SCHED_RR = 2 // sched.h:30:1: + TIMER_ABSTIME = 1 // time.h:69:1: + TIME_UTC = 1 // time.h:65:1: + X_ATFILE_SOURCE = 1 // features.h:342:1: + X_BITS_CPU_SET_H = 1 // cpu-set.h:21:1: + X_BITS_ENDIANNESS_H = 1 // endianness.h:2:1: + X_BITS_ENDIAN_H = 1 // endian.h:20:1: + X_BITS_PTHREADTYPES_ARCH_H = 1 // pthreadtypes-arch.h:19:1: + X_BITS_PTHREADTYPES_COMMON_H = 1 // pthreadtypes.h:20:1: + X_BITS_SCHED_H = 1 // sched.h:21:1: + X_BITS_SETJMP_H = 1 // setjmp.h:20:1: + X_BITS_TIME64_H = 1 // time64.h:24:1: + X_BITS_TIME_H = 1 // time.h:24:1: + X_BITS_TYPESIZES_H = 1 // typesizes.h:24:1: + X_BITS_TYPES_H = 1 // types.h:24:1: + X_BITS_TYPES_LOCALE_T_H = 1 // locale_t.h:20:1: + X_BITS_TYPES_STRUCT_SCHED_PARAM = 1 // struct_sched_param.h:20:1: + X_BITS_TYPES___LOCALE_T_H = 1 // __locale_t.h:21:1: + X_BSD_SIZE_T_ = 0 // stddef.h:189:1: + X_BSD_SIZE_T_DEFINED_ = 0 // stddef.h:192:1: + X_DEFAULT_SOURCE = 1 // features.h:227:1: + X_FEATURES_H = 1 // features.h:19:1: + X_FILE_OFFSET_BITS = 64 // <builtin>:25:1: + X_GCC_SIZE_T = 0 // stddef.h:195:1: + X_LP64 = 1 // <predefined>:284:1: + X_POSIX_C_SOURCE = 200809 // features.h:281:1: + X_POSIX_SOURCE = 1 // features.h:279:1: + X_PTHREAD_H = 1 // pthread.h:19:1: + X_RWLOCK_INTERNAL_H = 0 // struct_rwlock.h:21:1: + X_SCHED_H = 1 // sched.h:20:1: + X_SIZET_ = 0 // stddef.h:196:1: + X_SIZE_T = 0 // stddef.h:183:1: + X_SIZE_T_ = 0 // stddef.h:188:1: + X_SIZE_T_DECLARED = 0 // stddef.h:193:1: + X_SIZE_T_DEFINED = 0 // stddef.h:191:1: + X_SIZE_T_DEFINED_ = 0 // stddef.h:190:1: + X_STDC_PREDEF_H = 1 // <predefined>:162:1: + X_STRUCT_TIMESPEC = 1 // struct_timespec.h:3:1: + X_SYS_CDEFS_H = 1 // cdefs.h:19:1: + X_SYS_SIZE_T_H = 0 // stddef.h:184:1: + X_THREAD_MUTEX_INTERNAL_H = 1 // struct_mutex.h:20:1: + X_THREAD_SHARED_TYPES_H = 1 // thread-shared-types.h:20:1: + X_TIME_H = 1 // time.h:23:1: + X_T_SIZE = 0 // stddef.h:186:1: + X_T_SIZE_ = 0 // stddef.h:185:1: + Linux = 1 // <predefined>:231:1: + Unix = 1 // <predefined>:177:1: ) // Read-write lock types. diff --git a/vendor/modernc.org/libc/pwd/capi_darwin_arm64.go b/vendor/modernc.org/libc/pwd/capi_darwin_arm64.go index 4ce4663e..53936762 100644 --- a/vendor/modernc.org/libc/pwd/capi_darwin_arm64.go +++ b/vendor/modernc.org/libc/pwd/capi_darwin_arm64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo pwd/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o pwd/pwd_darwin_arm64.go -pkgname pwd', DO NOT EDIT. +// Code generated by 'ccgo pwd/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o pwd/pwd_darwin_arm64.go -pkgname pwd', DO NOT EDIT. package pwd diff --git a/vendor/modernc.org/libc/pwd/capi_linux_amd64.go b/vendor/modernc.org/libc/pwd/capi_linux_amd64.go index cbc2f115..2a479f58 100644 --- a/vendor/modernc.org/libc/pwd/capi_linux_amd64.go +++ b/vendor/modernc.org/libc/pwd/capi_linux_amd64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo pwd/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o pwd/pwd_linux_amd64.go -pkgname pwd', DO NOT EDIT. +// Code generated by 'ccgo pwd/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o pwd/pwd_linux_amd64.go -pkgname pwd', DO NOT EDIT. package pwd diff --git a/vendor/modernc.org/libc/pwd/pwd_darwin_arm64.go b/vendor/modernc.org/libc/pwd/pwd_darwin_arm64.go index cc5a1b2b..4b43abc0 100644 --- a/vendor/modernc.org/libc/pwd/pwd_darwin_arm64.go +++ b/vendor/modernc.org/libc/pwd/pwd_darwin_arm64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo pwd/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o pwd/pwd_darwin_arm64.go -pkgname pwd', DO NOT EDIT. +// Code generated by 'ccgo pwd/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o pwd/pwd_darwin_arm64.go -pkgname pwd', DO NOT EDIT. package pwd @@ -15,51 +15,51 @@ var _ atomic.Value var _ unsafe.Pointer const ( - X_BSD_ARM__TYPES_H_ = 0 - X_BSD_MACHINE__TYPES_H_ = 0 - X_CDEFS_H_ = 0 - X_DARWIN_FEATURE_64_BIT_INODE = 1 - X_DARWIN_FEATURE_ONLY_64_BIT_INODE = 1 - X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1 - X_DARWIN_FEATURE_ONLY_VERS_1050 = 1 - X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3 - X_FILE_OFFSET_BITS = 64 - X_FORTIFY_SOURCE = 2 - X_GID_T = 0 - X_LP64 = 1 - X_MASTERPASSWD = "master.passwd" - X_MP_DB = "pwd.db" - X_Nonnull = 0 - X_Null_unspecified = 0 - X_Nullable = 0 - X_PASSWD = "passwd" - X_PASSWORD_CHGNOW = -1 - X_PASSWORD_EFMT1 = 95 - X_PASSWORD_LEN = 128 - X_PASSWORD_NOCHG = 0x04 - X_PASSWORD_NOEXP = 0x08 - X_PASSWORD_NOGID = 0x02 - X_PASSWORD_NOUID = 0x01 - X_PASSWORD_WARNDAYS = 14 - X_PATH_MASTERPASSWD = "/etc/master.passwd" - X_PATH_MASTERPASSWD_LOCK = "/etc/ptmp" - X_PATH_MP_DB = "/etc/pwd.db" - X_PATH_PASSWD = "/etc/passwd" - X_PATH_PWD = "/etc" - X_PATH_PWD_MKDB = "/usr/sbin/pwd_mkdb" - X_PATH_SMP_DB = "/etc/spwd.db" - X_PWD_H_ = 0 - X_PW_KEYBYNAME = 49 - X_PW_KEYBYNUM = 50 - X_PW_KEYBYUID = 51 - X_SIZE_T = 0 - X_SMP_DB = "spwd.db" - X_SYS__PTHREAD_TYPES_H_ = 0 - X_SYS__TYPES_H_ = 0 - X_UID_T = 0 - X_UUID_STRING_T = 0 - X_UUID_T = 0 - X_UUID_UUID_H = 0 + X_BSD_ARM__TYPES_H_ = 0 // _types.h:5:1: + X_BSD_MACHINE__TYPES_H_ = 0 // _types.h:29:1: + X_CDEFS_H_ = 0 // cdefs.h:68:1: + X_DARWIN_FEATURE_64_BIT_INODE = 1 // cdefs.h:774:1: + X_DARWIN_FEATURE_ONLY_64_BIT_INODE = 1 // cdefs.h:784:1: + X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1 // cdefs.h:800:1: + X_DARWIN_FEATURE_ONLY_VERS_1050 = 1 // cdefs.h:792:1: + X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3 // cdefs.h:808:1: + X_FILE_OFFSET_BITS = 64 // <builtin>:25:1: + X_FORTIFY_SOURCE = 2 // _types.h:65:1: + X_GID_T = 0 // _gid_t.h:29:1: + X_LP64 = 1 // <predefined>:1:1: + X_MASTERPASSWD = "master.passwd" // pwd.h:57:1: + X_MP_DB = "pwd.db" // pwd.h:60:1: + X_Nonnull = 0 // cdefs.h:268:1: + X_Null_unspecified = 0 // cdefs.h:271:1: + X_Nullable = 0 // cdefs.h:265:1: + X_PASSWD = "passwd" // pwd.h:54:1: + X_PASSWORD_CHGNOW = -1 // pwd.h:80:1: + X_PASSWORD_EFMT1 = 95 // pwd.h:70:1: + X_PASSWORD_LEN = 128 // pwd.h:72:1: + X_PASSWORD_NOCHG = 0x04 // pwd.h:76:1: + X_PASSWORD_NOEXP = 0x08 // pwd.h:77:1: + X_PASSWORD_NOGID = 0x02 // pwd.h:75:1: + X_PASSWORD_NOUID = 0x01 // pwd.h:74:1: + X_PASSWORD_WARNDAYS = 14 // pwd.h:79:1: + X_PATH_MASTERPASSWD = "/etc/master.passwd" // pwd.h:55:1: + X_PATH_MASTERPASSWD_LOCK = "/etc/ptmp" // pwd.h:56:1: + X_PATH_MP_DB = "/etc/pwd.db" // pwd.h:59:1: + X_PATH_PASSWD = "/etc/passwd" // pwd.h:53:1: + X_PATH_PWD = "/etc" // pwd.h:52:1: + X_PATH_PWD_MKDB = "/usr/sbin/pwd_mkdb" // pwd.h:64:1: + X_PATH_SMP_DB = "/etc/spwd.db" // pwd.h:61:1: + X_PWD_H_ = 0 // pwd.h:44:1: + X_PW_KEYBYNAME = 49 // pwd.h:66:1: + X_PW_KEYBYNUM = 50 // pwd.h:67:1: + X_PW_KEYBYUID = 51 // pwd.h:68:1: + X_SIZE_T = 0 // _size_t.h:29:1: + X_SMP_DB = "spwd.db" // pwd.h:62:1: + X_SYS__PTHREAD_TYPES_H_ = 0 // _pthread_types.h:30:1: + X_SYS__TYPES_H_ = 0 // _types.h:30:1: + X_UID_T = 0 // _uid_t.h:29:1: + X_UUID_STRING_T = 0 // uuid.h:42:1: + X_UUID_T = 0 // _uuid_t.h:29:1: + X_UUID_UUID_H = 0 // uuid.h:36:1: ) type Ptrdiff_t = int64 /* <builtin>:3:26 */ @@ -533,6 +533,20 @@ var X__darwin_check_fd_set_overflow uintptr /* <builtin>:146:5: */ // __XNU_PRIVATE_EXTERN is a linkage decoration indicating that a symbol can be // used from other compilation units, but not other libraries or executables. +// We intentionally define to nothing pointer attributes which do not have an +// impact on the ABI. __indexable and __bidi_indexable are not defined because +// of the ABI incompatibility that makes the diagnostic preferable. + +// Similarly, we intentionally define to nothing the +// __ptrcheck_abi_assume_single and __ptrcheck_abi_assume_unsafe_indexable +// macros because they do not lead to an ABI incompatibility. However, we do not +// define the indexable and unsafe_indexable ones because the diagnostic is +// better than the silent ABI break. + +// __unsafe_forge intrinsics are defined as regular C casts. + +// decay operates normally; attribute is meaningless without pointer checks. + // Architecture validation for current SDK // Similar to OS_ENUM/OS_CLOSED_ENUM/OS_OPTIONS/OS_CLOSED_OPTIONS diff --git a/vendor/modernc.org/libc/pwd/pwd_linux_amd64.go b/vendor/modernc.org/libc/pwd/pwd_linux_amd64.go index 2f553a21..af537b48 100644 --- a/vendor/modernc.org/libc/pwd/pwd_linux_amd64.go +++ b/vendor/modernc.org/libc/pwd/pwd_linux_amd64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo pwd/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o pwd/pwd_linux_amd64.go -pkgname pwd', DO NOT EDIT. +// Code generated by 'ccgo pwd/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o pwd/pwd_linux_amd64.go -pkgname pwd', DO NOT EDIT. package pwd @@ -15,34 +15,34 @@ var _ atomic.Value var _ unsafe.Pointer const ( - NSS_BUFLEN_PASSWD = 1024 - X_ATFILE_SOURCE = 1 - X_BITS_TIME64_H = 1 - X_BITS_TYPESIZES_H = 1 - X_BITS_TYPES_H = 1 - X_BSD_SIZE_T_ = 0 - X_BSD_SIZE_T_DEFINED_ = 0 - X_DEFAULT_SOURCE = 1 - X_FEATURES_H = 1 - X_FILE_OFFSET_BITS = 64 - X_GCC_SIZE_T = 0 - X_LP64 = 1 - X_POSIX_C_SOURCE = 200809 - X_POSIX_SOURCE = 1 - X_PWD_H = 1 - X_SIZET_ = 0 - X_SIZE_T = 0 - X_SIZE_T_ = 0 - X_SIZE_T_DECLARED = 0 - X_SIZE_T_DEFINED = 0 - X_SIZE_T_DEFINED_ = 0 - X_STDC_PREDEF_H = 1 - X_SYS_CDEFS_H = 1 - X_SYS_SIZE_T_H = 0 - X_T_SIZE = 0 - X_T_SIZE_ = 0 - Linux = 1 - Unix = 1 + NSS_BUFLEN_PASSWD = 1024 // pwd.h:123:1: + X_ATFILE_SOURCE = 1 // features.h:342:1: + X_BITS_TIME64_H = 1 // time64.h:24:1: + X_BITS_TYPESIZES_H = 1 // typesizes.h:24:1: + X_BITS_TYPES_H = 1 // types.h:24:1: + X_BSD_SIZE_T_ = 0 // stddef.h:189:1: + X_BSD_SIZE_T_DEFINED_ = 0 // stddef.h:192:1: + X_DEFAULT_SOURCE = 1 // features.h:227:1: + X_FEATURES_H = 1 // features.h:19:1: + X_FILE_OFFSET_BITS = 64 // <builtin>:25:1: + X_GCC_SIZE_T = 0 // stddef.h:195:1: + X_LP64 = 1 // <predefined>:284:1: + X_POSIX_C_SOURCE = 200809 // features.h:281:1: + X_POSIX_SOURCE = 1 // features.h:279:1: + X_PWD_H = 1 // pwd.h:23:1: + X_SIZET_ = 0 // stddef.h:196:1: + X_SIZE_T = 0 // stddef.h:183:1: + X_SIZE_T_ = 0 // stddef.h:188:1: + X_SIZE_T_DECLARED = 0 // stddef.h:193:1: + X_SIZE_T_DEFINED = 0 // stddef.h:191:1: + X_SIZE_T_DEFINED_ = 0 // stddef.h:190:1: + X_STDC_PREDEF_H = 1 // <predefined>:162:1: + X_SYS_CDEFS_H = 1 // cdefs.h:19:1: + X_SYS_SIZE_T_H = 0 // stddef.h:184:1: + X_T_SIZE = 0 // stddef.h:186:1: + X_T_SIZE_ = 0 // stddef.h:185:1: + Linux = 1 // <predefined>:231:1: + Unix = 1 // <predefined>:177:1: ) type Ptrdiff_t = int64 /* <builtin>:3:26 */ diff --git a/vendor/modernc.org/libc/scanf.go b/vendor/modernc.org/libc/scanf.go index 955db04e..ead0830e 100644 --- a/vendor/modernc.org/libc/scanf.go +++ b/vendor/modernc.org/libc/scanf.go @@ -16,12 +16,12 @@ import ( // were unavailable, or matching failure, meaning that the input was // inappropriate. func scanf(r *strings.Reader, format, args uintptr) (nvalues int32) { - var src []byte //TODO- + // var src []byte //TODO- var ok bool out: for { c := *(*byte)(unsafe.Pointer(format)) - src = append(src, c) //TODO- + // src = append(src, c) //TODO- switch c { case '%': var n int diff --git a/vendor/modernc.org/libc/signal/capi_darwin_arm64.go b/vendor/modernc.org/libc/signal/capi_darwin_arm64.go index c630a75e..e203423e 100644 --- a/vendor/modernc.org/libc/signal/capi_darwin_arm64.go +++ b/vendor/modernc.org/libc/signal/capi_darwin_arm64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo signal/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o signal/signal_darwin_arm64.go -pkgname signal', DO NOT EDIT. +// Code generated by 'ccgo signal/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o signal/signal_darwin_arm64.go -pkgname signal', DO NOT EDIT. package signal diff --git a/vendor/modernc.org/libc/signal/capi_linux_amd64.go b/vendor/modernc.org/libc/signal/capi_linux_amd64.go index 990d5bf9..20eeb2da 100644 --- a/vendor/modernc.org/libc/signal/capi_linux_amd64.go +++ b/vendor/modernc.org/libc/signal/capi_linux_amd64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo signal/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o signal/signal_linux_amd64.go -pkgname signal', DO NOT EDIT. +// Code generated by 'ccgo signal/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o signal/signal_linux_amd64.go -pkgname signal', DO NOT EDIT. package signal diff --git a/vendor/modernc.org/libc/signal/signal_darwin_arm64.go b/vendor/modernc.org/libc/signal/signal_darwin_arm64.go index 9a412b1d..2167de7e 100644 --- a/vendor/modernc.org/libc/signal/signal_darwin_arm64.go +++ b/vendor/modernc.org/libc/signal/signal_darwin_arm64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo signal/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o signal/signal_darwin_arm64.go -pkgname signal', DO NOT EDIT. +// Code generated by 'ccgo signal/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o signal/signal_darwin_arm64.go -pkgname signal', DO NOT EDIT. package signal @@ -15,187 +15,187 @@ var _ atomic.Value var _ unsafe.Pointer const ( - BUS_ADRALN = 1 - BUS_ADRERR = 2 - BUS_NOOP = 0 - BUS_OBJERR = 3 - CLD_CONTINUED = 6 - CLD_DUMPED = 3 - CLD_EXITED = 1 - CLD_KILLED = 2 - CLD_NOOP = 0 - CLD_STOPPED = 5 - CLD_TRAPPED = 4 - FPE_FLTDIV = 1 - FPE_FLTINV = 5 - FPE_FLTOVF = 2 - FPE_FLTRES = 4 - FPE_FLTSUB = 6 - FPE_FLTUND = 3 - FPE_INTDIV = 7 - FPE_INTOVF = 8 - FPE_NOOP = 0 - ILL_BADSTK = 8 - ILL_COPROC = 7 - ILL_ILLADR = 5 - ILL_ILLOPC = 1 - ILL_ILLOPN = 4 - ILL_ILLTRP = 2 - ILL_NOOP = 0 - ILL_PRVOPC = 3 - ILL_PRVREG = 6 - MAC_OS_VERSION_11_0 = 110000 - MAC_OS_VERSION_12_0 = 120000 - MAC_OS_X_VERSION_10_0 = 1000 - MAC_OS_X_VERSION_10_1 = 1010 - MAC_OS_X_VERSION_10_10 = 101000 - MAC_OS_X_VERSION_10_10_2 = 101002 - MAC_OS_X_VERSION_10_10_3 = 101003 - MAC_OS_X_VERSION_10_11 = 101100 - MAC_OS_X_VERSION_10_11_2 = 101102 - MAC_OS_X_VERSION_10_11_3 = 101103 - MAC_OS_X_VERSION_10_11_4 = 101104 - MAC_OS_X_VERSION_10_12 = 101200 - MAC_OS_X_VERSION_10_12_1 = 101201 - MAC_OS_X_VERSION_10_12_2 = 101202 - MAC_OS_X_VERSION_10_12_4 = 101204 - MAC_OS_X_VERSION_10_13 = 101300 - MAC_OS_X_VERSION_10_13_1 = 101301 - MAC_OS_X_VERSION_10_13_2 = 101302 - MAC_OS_X_VERSION_10_13_4 = 101304 - MAC_OS_X_VERSION_10_14 = 101400 - MAC_OS_X_VERSION_10_14_1 = 101401 - MAC_OS_X_VERSION_10_14_4 = 101404 - MAC_OS_X_VERSION_10_14_6 = 101406 - MAC_OS_X_VERSION_10_15 = 101500 - MAC_OS_X_VERSION_10_15_1 = 101501 - MAC_OS_X_VERSION_10_16 = 101600 - MAC_OS_X_VERSION_10_2 = 1020 - MAC_OS_X_VERSION_10_3 = 1030 - MAC_OS_X_VERSION_10_4 = 1040 - MAC_OS_X_VERSION_10_5 = 1050 - MAC_OS_X_VERSION_10_6 = 1060 - MAC_OS_X_VERSION_10_7 = 1070 - MAC_OS_X_VERSION_10_8 = 1080 - MAC_OS_X_VERSION_10_9 = 1090 - MINSIGSTKSZ = 32768 - NSIG = 32 - POLL_ERR = 4 - POLL_HUP = 6 - POLL_IN = 1 - POLL_MSG = 3 - POLL_OUT = 2 - POLL_PRI = 5 - SA_64REGSET = 0x0200 - SA_NOCLDSTOP = 0x0008 - SA_NOCLDWAIT = 0x0020 - SA_NODEFER = 0x0010 - SA_ONSTACK = 0x0001 - SA_RESETHAND = 0x0004 - SA_RESTART = 0x0002 - SA_SIGINFO = 0x0040 - SA_USERSPACE_MASK = 127 - SA_USERTRAMP = 0x0100 - SEGV_ACCERR = 2 - SEGV_MAPERR = 1 - SEGV_NOOP = 0 - SIGABRT = 6 - SIGALRM = 14 - SIGBUS = 10 - SIGCHLD = 20 - SIGCONT = 19 - SIGEMT = 7 - SIGEV_NONE = 0 - SIGEV_SIGNAL = 1 - SIGEV_THREAD = 3 - SIGFPE = 8 - SIGHUP = 1 - SIGILL = 4 - SIGINFO = 29 - SIGINT = 2 - SIGIO = 23 - SIGIOT = 6 - SIGKILL = 9 - SIGPIPE = 13 - SIGPROF = 27 - SIGQUIT = 3 - SIGSEGV = 11 - SIGSTKSZ = 131072 - SIGSTOP = 17 - SIGSYS = 12 - SIGTERM = 15 - SIGTRAP = 5 - SIGTSTP = 18 - SIGTTIN = 21 - SIGTTOU = 22 - SIGURG = 16 - SIGUSR1 = 30 - SIGUSR2 = 31 - SIGVTALRM = 26 - SIGWINCH = 28 - SIGXCPU = 24 - SIGXFSZ = 25 - SIG_BLOCK = 1 - SIG_SETMASK = 3 - SIG_UNBLOCK = 2 - SI_ASYNCIO = 0x10004 - SI_MESGQ = 0x10005 - SI_QUEUE = 0x10002 - SI_TIMER = 0x10003 - SI_USER = 0x10001 - SS_DISABLE = 0x0004 - SS_ONSTACK = 0x0001 - SV_INTERRUPT = 2 - SV_NOCLDSTOP = 8 - SV_NODEFER = 16 - SV_ONSTACK = 1 - SV_RESETHAND = 4 - SV_SIGINFO = 64 - TRAP_BRKPT = 1 - TRAP_TRACE = 2 - X_ARM_MACHTYPES_H_ = 0 - X_ARM_SIGNAL_ = 1 - X_BSD_ARM__TYPES_H_ = 0 - X_BSD_MACHINE_SIGNAL_H_ = 0 - X_BSD_MACHINE_TYPES_H_ = 0 - X_BSD_MACHINE__MCONTEXT_H_ = 0 - X_BSD_MACHINE__TYPES_H_ = 0 - X_CDEFS_H_ = 0 - X_DARWIN_FEATURE_64_BIT_INODE = 1 - X_DARWIN_FEATURE_ONLY_64_BIT_INODE = 1 - X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1 - X_DARWIN_FEATURE_ONLY_VERS_1050 = 1 - X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3 - X_FILE_OFFSET_BITS = 64 - X_FORTIFY_SOURCE = 2 - X_INT16_T = 0 - X_INT32_T = 0 - X_INT64_T = 0 - X_INT8_T = 0 - X_INTPTR_T = 0 - X_LP64 = 1 - X_MACHTYPES_H_ = 0 - X_MACH_ARM__STRUCTS_H_ = 0 - X_MACH_MACHINE__STRUCTS_H_ = 0 - X_MCONTEXT_T = 0 - X_Nonnull = 0 - X_Null_unspecified = 0 - X_Nullable = 0 - X_PID_T = 0 - X_PTHREAD_ATTR_T = 0 - X_PTHREAD_T = 0 - X_SIGSET_T = 0 - X_SIZE_T = 0 - X_SYS_SIGNAL_H_ = 0 - X_SYS__PTHREAD_TYPES_H_ = 0 - X_SYS__TYPES_H_ = 0 - X_UID_T = 0 - X_UINTPTR_T = 0 - X_USER_SIGNAL_H = 0 - X_U_INT16_T = 0 - X_U_INT32_T = 0 - X_U_INT64_T = 0 - X_U_INT8_T = 0 + BUS_ADRALN = 1 // signal.h:241:1: + BUS_ADRERR = 2 // signal.h:242:1: + BUS_NOOP = 0 // signal.h:239:1: + BUS_OBJERR = 3 // signal.h:243:1: + CLD_CONTINUED = 6 // signal.h:258:1: + CLD_DUMPED = 3 // signal.h:255:1: + CLD_EXITED = 1 // signal.h:253:1: + CLD_KILLED = 2 // signal.h:254:1: + CLD_NOOP = 0 // signal.h:251:1: + CLD_STOPPED = 5 // signal.h:257:1: + CLD_TRAPPED = 4 // signal.h:256:1: + FPE_FLTDIV = 1 // signal.h:221:1: + FPE_FLTINV = 5 // signal.h:225:1: + FPE_FLTOVF = 2 // signal.h:222:1: + FPE_FLTRES = 4 // signal.h:224:1: + FPE_FLTSUB = 6 // signal.h:226:1: + FPE_FLTUND = 3 // signal.h:223:1: + FPE_INTDIV = 7 // signal.h:227:1: + FPE_INTOVF = 8 // signal.h:228:1: + FPE_NOOP = 0 // signal.h:219:1: + ILL_BADSTK = 8 // signal.h:215:1: + ILL_COPROC = 7 // signal.h:214:1: + ILL_ILLADR = 5 // signal.h:212:1: + ILL_ILLOPC = 1 // signal.h:208:1: + ILL_ILLOPN = 4 // signal.h:211:1: + ILL_ILLTRP = 2 // signal.h:209:1: + ILL_NOOP = 0 // signal.h:206:1: + ILL_PRVOPC = 3 // signal.h:210:1: + ILL_PRVREG = 6 // signal.h:213:1: + MAC_OS_VERSION_11_0 = 110000 // AvailabilityVersions.h:238:1: + MAC_OS_VERSION_12_0 = 120000 // AvailabilityVersions.h:239:1: + MAC_OS_X_VERSION_10_0 = 1000 // AvailabilityVersions.h:206:1: + MAC_OS_X_VERSION_10_1 = 1010 // AvailabilityVersions.h:207:1: + MAC_OS_X_VERSION_10_10 = 101000 // AvailabilityVersions.h:216:1: + MAC_OS_X_VERSION_10_10_2 = 101002 // AvailabilityVersions.h:217:1: + MAC_OS_X_VERSION_10_10_3 = 101003 // AvailabilityVersions.h:218:1: + MAC_OS_X_VERSION_10_11 = 101100 // AvailabilityVersions.h:219:1: + MAC_OS_X_VERSION_10_11_2 = 101102 // AvailabilityVersions.h:220:1: + MAC_OS_X_VERSION_10_11_3 = 101103 // AvailabilityVersions.h:221:1: + MAC_OS_X_VERSION_10_11_4 = 101104 // AvailabilityVersions.h:222:1: + MAC_OS_X_VERSION_10_12 = 101200 // AvailabilityVersions.h:223:1: + MAC_OS_X_VERSION_10_12_1 = 101201 // AvailabilityVersions.h:224:1: + MAC_OS_X_VERSION_10_12_2 = 101202 // AvailabilityVersions.h:225:1: + MAC_OS_X_VERSION_10_12_4 = 101204 // AvailabilityVersions.h:226:1: + MAC_OS_X_VERSION_10_13 = 101300 // AvailabilityVersions.h:227:1: + MAC_OS_X_VERSION_10_13_1 = 101301 // AvailabilityVersions.h:228:1: + MAC_OS_X_VERSION_10_13_2 = 101302 // AvailabilityVersions.h:229:1: + MAC_OS_X_VERSION_10_13_4 = 101304 // AvailabilityVersions.h:230:1: + MAC_OS_X_VERSION_10_14 = 101400 // AvailabilityVersions.h:231:1: + MAC_OS_X_VERSION_10_14_1 = 101401 // AvailabilityVersions.h:232:1: + MAC_OS_X_VERSION_10_14_4 = 101404 // AvailabilityVersions.h:233:1: + MAC_OS_X_VERSION_10_14_6 = 101406 // AvailabilityVersions.h:234:1: + MAC_OS_X_VERSION_10_15 = 101500 // AvailabilityVersions.h:235:1: + MAC_OS_X_VERSION_10_15_1 = 101501 // AvailabilityVersions.h:236:1: + MAC_OS_X_VERSION_10_16 = 101600 // AvailabilityVersions.h:237:1: + MAC_OS_X_VERSION_10_2 = 1020 // AvailabilityVersions.h:208:1: + MAC_OS_X_VERSION_10_3 = 1030 // AvailabilityVersions.h:209:1: + MAC_OS_X_VERSION_10_4 = 1040 // AvailabilityVersions.h:210:1: + MAC_OS_X_VERSION_10_5 = 1050 // AvailabilityVersions.h:211:1: + MAC_OS_X_VERSION_10_6 = 1060 // AvailabilityVersions.h:212:1: + MAC_OS_X_VERSION_10_7 = 1070 // AvailabilityVersions.h:213:1: + MAC_OS_X_VERSION_10_8 = 1080 // AvailabilityVersions.h:214:1: + MAC_OS_X_VERSION_10_9 = 1090 // AvailabilityVersions.h:215:1: + MINSIGSTKSZ = 32768 // signal.h:340:1: + NSIG = 32 // signal.h:79:1: + POLL_ERR = 4 // signal.h:264:1: + POLL_HUP = 6 // signal.h:266:1: + POLL_IN = 1 // signal.h:261:1: + POLL_MSG = 3 // signal.h:263:1: + POLL_OUT = 2 // signal.h:262:1: + POLL_PRI = 5 // signal.h:265:1: + SA_64REGSET = 0x0200 // signal.h:308:1: + SA_NOCLDSTOP = 0x0008 // signal.h:301:1: + SA_NOCLDWAIT = 0x0020 // signal.h:303:1: + SA_NODEFER = 0x0010 // signal.h:302:1: + SA_ONSTACK = 0x0001 // signal.h:298:1: + SA_RESETHAND = 0x0004 // signal.h:300:1: + SA_RESTART = 0x0002 // signal.h:299:1: + SA_SIGINFO = 0x0040 // signal.h:304:1: + SA_USERSPACE_MASK = 127 // signal.h:314:1: + SA_USERTRAMP = 0x0100 // signal.h:306:1: + SEGV_ACCERR = 2 // signal.h:235:1: + SEGV_MAPERR = 1 // signal.h:234:1: + SEGV_NOOP = 0 // signal.h:232:1: + SIGABRT = 6 // signal.h:89:1: + SIGALRM = 14 // signal.h:102:1: + SIGBUS = 10 // signal.h:98:1: + SIGCHLD = 20 // signal.h:108:1: + SIGCONT = 19 // signal.h:107:1: + SIGEMT = 7 // signal.h:94:1: + SIGEV_NONE = 0 // signal.h:164:1: + SIGEV_SIGNAL = 1 // signal.h:165:1: + SIGEV_THREAD = 3 // signal.h:166:1: + SIGFPE = 8 // signal.h:96:1: + SIGHUP = 1 // signal.h:84:1: + SIGILL = 4 // signal.h:87:1: + SIGINFO = 29 // signal.h:120:1: + SIGINT = 2 // signal.h:85:1: + SIGIO = 23 // signal.h:112:1: + SIGIOT = 6 // signal.h:93:1: + SIGKILL = 9 // signal.h:97:1: + SIGPIPE = 13 // signal.h:101:1: + SIGPROF = 27 // signal.h:117:1: + SIGQUIT = 3 // signal.h:86:1: + SIGSEGV = 11 // signal.h:99:1: + SIGSTKSZ = 131072 // signal.h:341:1: + SIGSTOP = 17 // signal.h:105:1: + SIGSYS = 12 // signal.h:100:1: + SIGTERM = 15 // signal.h:103:1: + SIGTRAP = 5 // signal.h:88:1: + SIGTSTP = 18 // signal.h:106:1: + SIGTTIN = 21 // signal.h:109:1: + SIGTTOU = 22 // signal.h:110:1: + SIGURG = 16 // signal.h:104:1: + SIGUSR1 = 30 // signal.h:122:1: + SIGUSR2 = 31 // signal.h:123:1: + SIGVTALRM = 26 // signal.h:116:1: + SIGWINCH = 28 // signal.h:119:1: + SIGXCPU = 24 // signal.h:114:1: + SIGXFSZ = 25 // signal.h:115:1: + SIG_BLOCK = 1 // signal.h:319:1: + SIG_SETMASK = 3 // signal.h:321:1: + SIG_UNBLOCK = 2 // signal.h:320:1: + SI_ASYNCIO = 0x10004 // signal.h:327:1: + SI_MESGQ = 0x10005 // signal.h:328:1: + SI_QUEUE = 0x10002 // signal.h:325:1: + SI_TIMER = 0x10003 // signal.h:326:1: + SI_USER = 0x10001 // signal.h:324:1: + SS_DISABLE = 0x0004 // signal.h:339:1: + SS_ONSTACK = 0x0001 // signal.h:338:1: + SV_INTERRUPT = 2 // signal.h:355:1: + SV_NOCLDSTOP = 8 // signal.h:358:1: + SV_NODEFER = 16 // signal.h:357:1: + SV_ONSTACK = 1 // signal.h:354:1: + SV_RESETHAND = 4 // signal.h:356:1: + SV_SIGINFO = 64 // signal.h:359:1: + TRAP_BRKPT = 1 // signal.h:246:1: + TRAP_TRACE = 2 // signal.h:247:1: + X_ARM_MACHTYPES_H_ = 0 // types.h:43:1: + X_ARM_SIGNAL_ = 1 // signal.h:10:1: + X_BSD_ARM__TYPES_H_ = 0 // _types.h:5:1: + X_BSD_MACHINE_SIGNAL_H_ = 0 // signal.h:29:1: + X_BSD_MACHINE_TYPES_H_ = 0 // types.h:32:1: + X_BSD_MACHINE__MCONTEXT_H_ = 0 // _mcontext.h:29:1: + X_BSD_MACHINE__TYPES_H_ = 0 // _types.h:29:1: + X_CDEFS_H_ = 0 // cdefs.h:68:1: + X_DARWIN_FEATURE_64_BIT_INODE = 1 // cdefs.h:774:1: + X_DARWIN_FEATURE_ONLY_64_BIT_INODE = 1 // cdefs.h:784:1: + X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1 // cdefs.h:800:1: + X_DARWIN_FEATURE_ONLY_VERS_1050 = 1 // cdefs.h:792:1: + X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3 // cdefs.h:808:1: + X_FILE_OFFSET_BITS = 64 // <builtin>:25:1: + X_FORTIFY_SOURCE = 2 // _types.h:65:1: + X_INT16_T = 0 // _int16_t.h:29:1: + X_INT32_T = 0 // _int32_t.h:29:1: + X_INT64_T = 0 // _int64_t.h:29:1: + X_INT8_T = 0 // _int8_t.h:29:1: + X_INTPTR_T = 0 // _intptr_t.h:29:1: + X_LP64 = 1 // <predefined>:1:1: + X_MACHTYPES_H_ = 0 // types.h:44:1: + X_MACH_ARM__STRUCTS_H_ = 0 // _structs.h:32:1: + X_MACH_MACHINE__STRUCTS_H_ = 0 // _structs.h:30:1: + X_MCONTEXT_T = 0 // _mcontext.h:83:1: + X_Nonnull = 0 // cdefs.h:268:1: + X_Null_unspecified = 0 // cdefs.h:271:1: + X_Nullable = 0 // cdefs.h:265:1: + X_PID_T = 0 // _pid_t.h:29:1: + X_PTHREAD_ATTR_T = 0 // _pthread_attr_t.h:29:1: + X_PTHREAD_T = 0 // _pthread_t.h:29:1: + X_SIGSET_T = 0 // _sigset_t.h:29:1: + X_SIZE_T = 0 // _size_t.h:29:1: + X_SYS_SIGNAL_H_ = 0 // signal.h:70:1: + X_SYS__PTHREAD_TYPES_H_ = 0 // _pthread_types.h:30:1: + X_SYS__TYPES_H_ = 0 // _types.h:30:1: + X_UID_T = 0 // _uid_t.h:29:1: + X_UINTPTR_T = 0 // _uintptr_t.h:29:1: + X_USER_SIGNAL_H = 0 // signal.h:59:1: + X_U_INT16_T = 0 // _u_int16_t.h:29:1: + X_U_INT32_T = 0 // _u_int32_t.h:29:1: + X_U_INT64_T = 0 // _u_int64_t.h:29:1: + X_U_INT8_T = 0 // _u_int8_t.h:29:1: ) type Ptrdiff_t = int64 /* <builtin>:3:26 */ @@ -635,6 +635,20 @@ var X__darwin_check_fd_set_overflow uintptr /* <builtin>:146:5: */ // __XNU_PRIVATE_EXTERN is a linkage decoration indicating that a symbol can be // used from other compilation units, but not other libraries or executables. +// We intentionally define to nothing pointer attributes which do not have an +// impact on the ABI. __indexable and __bidi_indexable are not defined because +// of the ABI incompatibility that makes the diagnostic preferable. + +// Similarly, we intentionally define to nothing the +// __ptrcheck_abi_assume_single and __ptrcheck_abi_assume_unsafe_indexable +// macros because they do not lead to an ABI incompatibility. However, we do not +// define the indexable and unsafe_indexable ones because the diagnostic is +// better than the silent ABI break. + +// __unsafe_forge intrinsics are defined as regular C casts. + +// decay operates normally; attribute is meaningless without pointer checks. + // Architecture validation for current SDK // Similar to OS_ENUM/OS_CLOSED_ENUM/OS_OPTIONS/OS_CLOSED_OPTIONS @@ -2292,21 +2306,21 @@ type X__darwin_arm_thread_state64 = struct { type X__darwin_arm_vfp_state = struct { F__r [64]X__uint32_t F__fpscr X__uint32_t -} /* _structs.h:424:1 */ +} /* _structs.h:433:1 */ type X__darwin_arm_neon_state64 = struct { F__v [32]X__uint128_t F__fpsr X__uint32_t F__fpcr X__uint32_t -} /* _structs.h:443:1 */ +} /* _structs.h:452:1 */ type X__darwin_arm_neon_state = struct { F__v [16]X__uint128_t F__fpsr X__uint32_t F__fpcr X__uint32_t -} /* _structs.h:450:1 */ +} /* _structs.h:459:1 */ -type X__arm_pagein_state = struct{ F__pagein_error int32 } /* _structs.h:514:1 */ +type X__arm_pagein_state = struct{ F__pagein_error int32 } /* _structs.h:523:1 */ // Debug State @@ -2317,7 +2331,7 @@ type X__arm_legacy_debug_state = struct { F__bcr [16]X__uint32_t F__wvr [16]X__uint32_t F__wcr [16]X__uint32_t -} /* _structs.h:551:1 */ +} /* _structs.h:560:1 */ type X__darwin_arm_debug_state32 = struct { F__bvr [16]X__uint32_t @@ -2325,7 +2339,7 @@ type X__darwin_arm_debug_state32 = struct { F__wvr [16]X__uint32_t F__wcr [16]X__uint32_t F__mdscr_el1 X__uint64_t -} /* _structs.h:574:1 */ +} /* _structs.h:583:1 */ type X__darwin_arm_debug_state64 = struct { F__bvr [16]X__uint64_t @@ -2333,9 +2347,9 @@ type X__darwin_arm_debug_state64 = struct { F__wvr [16]X__uint64_t F__wcr [16]X__uint64_t F__mdscr_el1 X__uint64_t -} /* _structs.h:584:1 */ +} /* _structs.h:593:1 */ -type X__darwin_arm_cpmu_state64 = struct{ F__ctrs [16]X__uint64_t } /* _structs.h:616:1 */ +type X__darwin_arm_cpmu_state64 = struct{ F__ctrs [16]X__uint64_t } /* _structs.h:625:1 */ type X__darwin_mcontext32 = struct { F__es struct { diff --git a/vendor/modernc.org/libc/signal/signal_linux_amd64.go b/vendor/modernc.org/libc/signal/signal_linux_amd64.go index 0212ae92..ada50c83 100644 --- a/vendor/modernc.org/libc/signal/signal_linux_amd64.go +++ b/vendor/modernc.org/libc/signal/signal_linux_amd64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo signal/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o signal/signal_linux_amd64.go -pkgname signal', DO NOT EDIT. +// Code generated by 'ccgo signal/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o signal/signal_linux_amd64.go -pkgname signal', DO NOT EDIT. package signal @@ -15,107 +15,107 @@ var _ atomic.Value var _ unsafe.Pointer const ( - FP_XSTATE_MAGIC1 = 0x46505853 - FP_XSTATE_MAGIC2 = 0x46505845 - MINSIGSTKSZ = 2048 - NGREG = 23 - NSIG = 65 - SA_INTERRUPT = 0x20000000 - SA_NOCLDSTOP = 1 - SA_NOCLDWAIT = 2 - SA_NODEFER = 0x40000000 - SA_NOMASK = 1073741824 - SA_ONESHOT = 2147483648 - SA_ONSTACK = 0x08000000 - SA_RESETHAND = 0x80000000 - SA_RESTART = 0x10000000 - SA_SIGINFO = 4 - SA_STACK = 134217728 - SIGABRT = 6 - SIGALRM = 14 - SIGBUS = 7 - SIGCHLD = 17 - SIGCLD = 17 - SIGCONT = 18 - SIGFPE = 8 - SIGHUP = 1 - SIGILL = 4 - SIGINT = 2 - SIGIO = 29 - SIGIOT = 6 - SIGKILL = 9 - SIGPIPE = 13 - SIGPOLL = 29 - SIGPROF = 27 - SIGPWR = 30 - SIGQUIT = 3 - SIGSEGV = 11 - SIGSTKFLT = 16 - SIGSTKSZ = 8192 - SIGSTOP = 19 - SIGSYS = 31 - SIGTERM = 15 - SIGTRAP = 5 - SIGTSTP = 20 - SIGTTIN = 21 - SIGTTOU = 22 - SIGURG = 23 - SIGUSR1 = 10 - SIGUSR2 = 12 - SIGVTALRM = 26 - SIGWINCH = 28 - SIGXCPU = 24 - SIGXFSZ = 25 - SIG_BLOCK = 0 - SIG_SETMASK = 2 - SIG_UNBLOCK = 1 - X_ATFILE_SOURCE = 1 - X_BITS_ENDIANNESS_H = 1 - X_BITS_ENDIAN_H = 1 - X_BITS_PTHREADTYPES_ARCH_H = 1 - X_BITS_PTHREADTYPES_COMMON_H = 1 - X_BITS_SIGACTION_H = 1 - X_BITS_SIGCONTEXT_H = 1 - X_BITS_SIGEVENT_CONSTS_H = 1 - X_BITS_SIGINFO_ARCH_H = 1 - X_BITS_SIGINFO_CONSTS_H = 1 - X_BITS_SIGNUM_GENERIC_H = 1 - X_BITS_SIGNUM_H = 1 - X_BITS_SIGSTACK_H = 1 - X_BITS_SIGTHREAD_H = 1 - X_BITS_SS_FLAGS_H = 1 - X_BITS_TIME64_H = 1 - X_BITS_TYPESIZES_H = 1 - X_BITS_TYPES_H = 1 - X_BSD_SIZE_T_ = 0 - X_BSD_SIZE_T_DEFINED_ = 0 - X_DEFAULT_SOURCE = 1 - X_FEATURES_H = 1 - X_FILE_OFFSET_BITS = 64 - X_GCC_SIZE_T = 0 - X_LP64 = 1 - X_NSIG = 65 - X_POSIX_C_SOURCE = 200809 - X_POSIX_SOURCE = 1 - X_RWLOCK_INTERNAL_H = 0 - X_SIGNAL_H = 0 - X_SIZET_ = 0 - X_SIZE_T = 0 - X_SIZE_T_ = 0 - X_SIZE_T_DECLARED = 0 - X_SIZE_T_DEFINED = 0 - X_SIZE_T_DEFINED_ = 0 - X_STDC_PREDEF_H = 1 - X_STRUCT_TIMESPEC = 1 - X_SYS_CDEFS_H = 1 - X_SYS_SIZE_T_H = 0 - X_SYS_UCONTEXT_H = 1 - X_THREAD_MUTEX_INTERNAL_H = 1 - X_THREAD_SHARED_TYPES_H = 1 - X_T_SIZE = 0 - X_T_SIZE_ = 0 - Linux = 1 - Unix = 1 + FP_XSTATE_MAGIC1 = 0x46505853 // sigcontext.h:27:1: + FP_XSTATE_MAGIC2 = 0x46505845 // sigcontext.h:28:1: + MINSIGSTKSZ = 2048 // sigstack.h:27:1: + NGREG = 23 // ucontext.h:42:1: + NSIG = 65 // signal.h:181:1: + SA_INTERRUPT = 0x20000000 // sigaction.h:70:1: + SA_NOCLDSTOP = 1 // sigaction.h:56:1: + SA_NOCLDWAIT = 2 // sigaction.h:57:1: + SA_NODEFER = 0x40000000 // sigaction.h:65:1: + SA_NOMASK = 1073741824 // sigaction.h:73:1: + SA_ONESHOT = 2147483648 // sigaction.h:74:1: + SA_ONSTACK = 0x08000000 // sigaction.h:61:1: + SA_RESETHAND = 0x80000000 // sigaction.h:67:1: + SA_RESTART = 0x10000000 // sigaction.h:64:1: + SA_SIGINFO = 4 // sigaction.h:58:1: + SA_STACK = 134217728 // sigaction.h:75:1: + SIGABRT = 6 // signum-generic.h:50:1: + SIGALRM = 14 // signum-generic.h:63:1: + SIGBUS = 7 // signum.h:35:1: + SIGCHLD = 17 // signum.h:41:1: + SIGCLD = 17 // signum-generic.h:88:1: + SIGCONT = 18 // signum.h:43:1: + SIGFPE = 8 // signum-generic.h:51:1: + SIGHUP = 1 // signum-generic.h:56:1: + SIGILL = 4 // signum-generic.h:49:1: + SIGINT = 2 // signum-generic.h:48:1: + SIGIO = 29 // signum-generic.h:86:1: + SIGIOT = 6 // signum-generic.h:87:1: + SIGKILL = 9 // signum-generic.h:59:1: + SIGPIPE = 13 // signum-generic.h:62:1: + SIGPOLL = 29 // signum.h:51:1: + SIGPROF = 27 // signum-generic.h:77:1: + SIGPWR = 30 // signum.h:32:1: + SIGQUIT = 3 // signum-generic.h:57:1: + SIGSEGV = 11 // signum-generic.h:52:1: + SIGSTKFLT = 16 // signum.h:31:1: + SIGSTKSZ = 8192 // sigstack.h:30:1: + SIGSTOP = 19 // signum.h:45:1: + SIGSYS = 31 // signum.h:53:1: + SIGTERM = 15 // signum-generic.h:53:1: + SIGTRAP = 5 // signum-generic.h:58:1: + SIGTSTP = 20 // signum.h:47:1: + SIGTTIN = 21 // signum-generic.h:71:1: + SIGTTOU = 22 // signum-generic.h:72:1: + SIGURG = 23 // signum.h:49:1: + SIGUSR1 = 10 // signum.h:37:1: + SIGUSR2 = 12 // signum.h:39:1: + SIGVTALRM = 26 // signum-generic.h:76:1: + SIGWINCH = 28 // signum-generic.h:83:1: + SIGXCPU = 24 // signum-generic.h:74:1: + SIGXFSZ = 25 // signum-generic.h:75:1: + SIG_BLOCK = 0 // sigaction.h:79:1: + SIG_SETMASK = 2 // sigaction.h:81:1: + SIG_UNBLOCK = 1 // sigaction.h:80:1: + X_ATFILE_SOURCE = 1 // features.h:342:1: + X_BITS_ENDIANNESS_H = 1 // endianness.h:2:1: + X_BITS_ENDIAN_H = 1 // endian.h:20:1: + X_BITS_PTHREADTYPES_ARCH_H = 1 // pthreadtypes-arch.h:19:1: + X_BITS_PTHREADTYPES_COMMON_H = 1 // pthreadtypes.h:20:1: + X_BITS_SIGACTION_H = 1 // sigaction.h:20:1: + X_BITS_SIGCONTEXT_H = 1 // sigcontext.h:19:1: + X_BITS_SIGEVENT_CONSTS_H = 1 // sigevent-consts.h:20:1: + X_BITS_SIGINFO_ARCH_H = 1 // siginfo-arch.h:3:1: + X_BITS_SIGINFO_CONSTS_H = 1 // siginfo-consts.h:20:1: + X_BITS_SIGNUM_GENERIC_H = 1 // signum-generic.h:20:1: + X_BITS_SIGNUM_H = 1 // signum.h:20:1: + X_BITS_SIGSTACK_H = 1 // sigstack.h:20:1: + X_BITS_SIGTHREAD_H = 1 // sigthread.h:20:1: + X_BITS_SS_FLAGS_H = 1 // ss_flags.h:20:1: + X_BITS_TIME64_H = 1 // time64.h:24:1: + X_BITS_TYPESIZES_H = 1 // typesizes.h:24:1: + X_BITS_TYPES_H = 1 // types.h:24:1: + X_BSD_SIZE_T_ = 0 // stddef.h:189:1: + X_BSD_SIZE_T_DEFINED_ = 0 // stddef.h:192:1: + X_DEFAULT_SOURCE = 1 // features.h:227:1: + X_FEATURES_H = 1 // features.h:19:1: + X_FILE_OFFSET_BITS = 64 // <builtin>:25:1: + X_GCC_SIZE_T = 0 // stddef.h:195:1: + X_LP64 = 1 // <predefined>:284:1: + X_NSIG = 65 // signum-generic.h:100:1: + X_POSIX_C_SOURCE = 200809 // features.h:281:1: + X_POSIX_SOURCE = 1 // features.h:279:1: + X_RWLOCK_INTERNAL_H = 0 // struct_rwlock.h:21:1: + X_SIGNAL_H = 0 // signal.h:23:1: + X_SIZET_ = 0 // stddef.h:196:1: + X_SIZE_T = 0 // stddef.h:183:1: + X_SIZE_T_ = 0 // stddef.h:188:1: + X_SIZE_T_DECLARED = 0 // stddef.h:193:1: + X_SIZE_T_DEFINED = 0 // stddef.h:191:1: + X_SIZE_T_DEFINED_ = 0 // stddef.h:190:1: + X_STDC_PREDEF_H = 1 // <predefined>:162:1: + X_STRUCT_TIMESPEC = 1 // struct_timespec.h:3:1: + X_SYS_CDEFS_H = 1 // cdefs.h:19:1: + X_SYS_SIZE_T_H = 0 // stddef.h:184:1: + X_SYS_UCONTEXT_H = 1 // ucontext.h:19:1: + X_THREAD_MUTEX_INTERNAL_H = 1 // struct_mutex.h:20:1: + X_THREAD_SHARED_TYPES_H = 1 // thread-shared-types.h:20:1: + X_T_SIZE = 0 // stddef.h:186:1: + X_T_SIZE_ = 0 // stddef.h:185:1: + Linux = 1 // <predefined>:231:1: + Unix = 1 // <predefined>:177:1: ) // POSIX names to access some of the members. diff --git a/vendor/modernc.org/libc/stdio/capi_darwin_arm64.go b/vendor/modernc.org/libc/stdio/capi_darwin_arm64.go index 7e98026e..fdc60c5e 100644 --- a/vendor/modernc.org/libc/stdio/capi_darwin_arm64.go +++ b/vendor/modernc.org/libc/stdio/capi_darwin_arm64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo stdio/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o stdio/stdio_darwin_arm64.go -pkgname stdio', DO NOT EDIT. +// Code generated by 'ccgo stdio/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o stdio/stdio_darwin_arm64.go -pkgname stdio', DO NOT EDIT. package stdio diff --git a/vendor/modernc.org/libc/stdio/capi_linux_amd64.go b/vendor/modernc.org/libc/stdio/capi_linux_amd64.go index c9969ca4..e327db42 100644 --- a/vendor/modernc.org/libc/stdio/capi_linux_amd64.go +++ b/vendor/modernc.org/libc/stdio/capi_linux_amd64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo stdio/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o stdio/stdio_linux_amd64.go -pkgname stdio', DO NOT EDIT. +// Code generated by 'ccgo stdio/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o stdio/stdio_linux_amd64.go -pkgname stdio', DO NOT EDIT. package stdio diff --git a/vendor/modernc.org/libc/stdio/stdio_darwin_arm64.go b/vendor/modernc.org/libc/stdio/stdio_darwin_arm64.go index 76157f5f..f0896f0c 100644 --- a/vendor/modernc.org/libc/stdio/stdio_darwin_arm64.go +++ b/vendor/modernc.org/libc/stdio/stdio_darwin_arm64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo stdio/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o stdio/stdio_darwin_arm64.go -pkgname stdio', DO NOT EDIT. +// Code generated by 'ccgo stdio/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o stdio/stdio_darwin_arm64.go -pkgname stdio', DO NOT EDIT. package stdio @@ -15,97 +15,99 @@ var _ atomic.Value var _ unsafe.Pointer const ( - BUFSIZ = 1024 - EOF = -1 - FILENAME_MAX = 1024 - FOPEN_MAX = 20 - L_ctermid = 1024 - L_tmpnam = 1024 - MAC_OS_VERSION_11_0 = 110000 - MAC_OS_VERSION_12_0 = 120000 - MAC_OS_X_VERSION_10_0 = 1000 - MAC_OS_X_VERSION_10_1 = 1010 - MAC_OS_X_VERSION_10_10 = 101000 - MAC_OS_X_VERSION_10_10_2 = 101002 - MAC_OS_X_VERSION_10_10_3 = 101003 - MAC_OS_X_VERSION_10_11 = 101100 - MAC_OS_X_VERSION_10_11_2 = 101102 - MAC_OS_X_VERSION_10_11_3 = 101103 - MAC_OS_X_VERSION_10_11_4 = 101104 - MAC_OS_X_VERSION_10_12 = 101200 - MAC_OS_X_VERSION_10_12_1 = 101201 - MAC_OS_X_VERSION_10_12_2 = 101202 - MAC_OS_X_VERSION_10_12_4 = 101204 - MAC_OS_X_VERSION_10_13 = 101300 - MAC_OS_X_VERSION_10_13_1 = 101301 - MAC_OS_X_VERSION_10_13_2 = 101302 - MAC_OS_X_VERSION_10_13_4 = 101304 - MAC_OS_X_VERSION_10_14 = 101400 - MAC_OS_X_VERSION_10_14_1 = 101401 - MAC_OS_X_VERSION_10_14_4 = 101404 - MAC_OS_X_VERSION_10_14_6 = 101406 - MAC_OS_X_VERSION_10_15 = 101500 - MAC_OS_X_VERSION_10_15_1 = 101501 - MAC_OS_X_VERSION_10_16 = 101600 - MAC_OS_X_VERSION_10_2 = 1020 - MAC_OS_X_VERSION_10_3 = 1030 - MAC_OS_X_VERSION_10_4 = 1040 - MAC_OS_X_VERSION_10_5 = 1050 - MAC_OS_X_VERSION_10_6 = 1060 - MAC_OS_X_VERSION_10_7 = 1070 - MAC_OS_X_VERSION_10_8 = 1080 - MAC_OS_X_VERSION_10_9 = 1090 - P_tmpdir = "/var/tmp/" - RENAME_EXCL = 0x00000004 - RENAME_SECLUDE = 0x00000001 - RENAME_SWAP = 0x00000002 - SEEK_CUR = 1 - SEEK_END = 2 - SEEK_SET = 0 - TMP_MAX = 308915776 - X_ARM_MACHTYPES_H_ = 0 - X_BSD_ARM__TYPES_H_ = 0 - X_BSD_MACHINE_TYPES_H_ = 0 - X_BSD_MACHINE__TYPES_H_ = 0 - X_CDEFS_H_ = 0 - X_CTERMID_H_ = 0 - X_DARWIN_FEATURE_64_BIT_INODE = 1 - X_DARWIN_FEATURE_ONLY_64_BIT_INODE = 1 - X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1 - X_DARWIN_FEATURE_ONLY_VERS_1050 = 1 - X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3 - X_FILE_OFFSET_BITS = 64 - X_FORTIFY_SOURCE = 2 - X_FSTDIO = 0 - X_INT16_T = 0 - X_INT32_T = 0 - X_INT64_T = 0 - X_INT8_T = 0 - X_INTPTR_T = 0 - X_IOFBF = 0 - X_IOLBF = 1 - X_IONBF = 2 - X_LP64 = 1 - X_MACHTYPES_H_ = 0 - X_Nonnull = 0 - X_Null_unspecified = 0 - X_Nullable = 0 - X_OFF_T = 0 - X_SECURE__COMMON_H_ = 0 - X_SECURE__STDIO_H_ = 0 - X_SIZE_T = 0 - X_SSIZE_T = 0 - X_STDIO_H_ = 0 - X_SYS_STDIO_H_ = 0 - X_SYS__PTHREAD_TYPES_H_ = 0 - X_SYS__TYPES_H_ = 0 - X_UINTPTR_T = 0 - X_USE_FORTIFY_LEVEL = 2 - X_U_INT16_T = 0 - X_U_INT32_T = 0 - X_U_INT64_T = 0 - X_U_INT8_T = 0 - X_VA_LIST_T = 0 + BUFSIZ = 1024 // stdio.h:103:1: + EOF = -1 // stdio.h:104:1: + FILENAME_MAX = 1024 // stdio.h:108:1: + FOPEN_MAX = 20 // stdio.h:107:1: + L_ctermid = 1024 // stdio.h:202:1: + L_tmpnam = 1024 // stdio.h:114:1: + MAC_OS_VERSION_11_0 = 110000 // AvailabilityVersions.h:238:1: + MAC_OS_VERSION_12_0 = 120000 // AvailabilityVersions.h:239:1: + MAC_OS_X_VERSION_10_0 = 1000 // AvailabilityVersions.h:206:1: + MAC_OS_X_VERSION_10_1 = 1010 // AvailabilityVersions.h:207:1: + MAC_OS_X_VERSION_10_10 = 101000 // AvailabilityVersions.h:216:1: + MAC_OS_X_VERSION_10_10_2 = 101002 // AvailabilityVersions.h:217:1: + MAC_OS_X_VERSION_10_10_3 = 101003 // AvailabilityVersions.h:218:1: + MAC_OS_X_VERSION_10_11 = 101100 // AvailabilityVersions.h:219:1: + MAC_OS_X_VERSION_10_11_2 = 101102 // AvailabilityVersions.h:220:1: + MAC_OS_X_VERSION_10_11_3 = 101103 // AvailabilityVersions.h:221:1: + MAC_OS_X_VERSION_10_11_4 = 101104 // AvailabilityVersions.h:222:1: + MAC_OS_X_VERSION_10_12 = 101200 // AvailabilityVersions.h:223:1: + MAC_OS_X_VERSION_10_12_1 = 101201 // AvailabilityVersions.h:224:1: + MAC_OS_X_VERSION_10_12_2 = 101202 // AvailabilityVersions.h:225:1: + MAC_OS_X_VERSION_10_12_4 = 101204 // AvailabilityVersions.h:226:1: + MAC_OS_X_VERSION_10_13 = 101300 // AvailabilityVersions.h:227:1: + MAC_OS_X_VERSION_10_13_1 = 101301 // AvailabilityVersions.h:228:1: + MAC_OS_X_VERSION_10_13_2 = 101302 // AvailabilityVersions.h:229:1: + MAC_OS_X_VERSION_10_13_4 = 101304 // AvailabilityVersions.h:230:1: + MAC_OS_X_VERSION_10_14 = 101400 // AvailabilityVersions.h:231:1: + MAC_OS_X_VERSION_10_14_1 = 101401 // AvailabilityVersions.h:232:1: + MAC_OS_X_VERSION_10_14_4 = 101404 // AvailabilityVersions.h:233:1: + MAC_OS_X_VERSION_10_14_6 = 101406 // AvailabilityVersions.h:234:1: + MAC_OS_X_VERSION_10_15 = 101500 // AvailabilityVersions.h:235:1: + MAC_OS_X_VERSION_10_15_1 = 101501 // AvailabilityVersions.h:236:1: + MAC_OS_X_VERSION_10_16 = 101600 // AvailabilityVersions.h:237:1: + MAC_OS_X_VERSION_10_2 = 1020 // AvailabilityVersions.h:208:1: + MAC_OS_X_VERSION_10_3 = 1030 // AvailabilityVersions.h:209:1: + MAC_OS_X_VERSION_10_4 = 1040 // AvailabilityVersions.h:210:1: + MAC_OS_X_VERSION_10_5 = 1050 // AvailabilityVersions.h:211:1: + MAC_OS_X_VERSION_10_6 = 1060 // AvailabilityVersions.h:212:1: + MAC_OS_X_VERSION_10_7 = 1070 // AvailabilityVersions.h:213:1: + MAC_OS_X_VERSION_10_8 = 1080 // AvailabilityVersions.h:214:1: + MAC_OS_X_VERSION_10_9 = 1090 // AvailabilityVersions.h:215:1: + P_tmpdir = "/var/tmp/" // stdio.h:112:1: + RENAME_EXCL = 0x00000004 // stdio.h:37:1: + RENAME_NOFOLLOW_ANY = 0x00000010 // stdio.h:39:1: + RENAME_RESERVED1 = 0x00000008 // stdio.h:38:1: + RENAME_SECLUDE = 0x00000001 // stdio.h:35:1: + RENAME_SWAP = 0x00000002 // stdio.h:36:1: + SEEK_CUR = 1 // stdio.h:121:1: + SEEK_END = 2 // stdio.h:124:1: + SEEK_SET = 0 // stdio.h:118:1: + TMP_MAX = 308915776 // stdio.h:115:1: + X_ARM_MACHTYPES_H_ = 0 // types.h:43:1: + X_BSD_ARM__TYPES_H_ = 0 // _types.h:5:1: + X_BSD_MACHINE_TYPES_H_ = 0 // types.h:32:1: + X_BSD_MACHINE__TYPES_H_ = 0 // _types.h:29:1: + X_CDEFS_H_ = 0 // cdefs.h:68:1: + X_CTERMID_H_ = 0 // _ctermid.h:25:1: + X_DARWIN_FEATURE_64_BIT_INODE = 1 // cdefs.h:774:1: + X_DARWIN_FEATURE_ONLY_64_BIT_INODE = 1 // cdefs.h:784:1: + X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1 // cdefs.h:800:1: + X_DARWIN_FEATURE_ONLY_VERS_1050 = 1 // cdefs.h:792:1: + X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3 // cdefs.h:808:1: + X_FILE_OFFSET_BITS = 64 // <builtin>:25:1: + X_FORTIFY_SOURCE = 2 // _types.h:65:1: + X_FSTDIO = 0 // _stdio.h:83:1: + X_INT16_T = 0 // _int16_t.h:29:1: + X_INT32_T = 0 // _int32_t.h:29:1: + X_INT64_T = 0 // _int64_t.h:29:1: + X_INT8_T = 0 // _int8_t.h:29:1: + X_INTPTR_T = 0 // _intptr_t.h:29:1: + X_IOFBF = 0 // stdio.h:99:1: + X_IOLBF = 1 // stdio.h:100:1: + X_IONBF = 2 // stdio.h:101:1: + X_LP64 = 1 // <predefined>:1:1: + X_MACHTYPES_H_ = 0 // types.h:44:1: + X_Nonnull = 0 // cdefs.h:268:1: + X_Null_unspecified = 0 // cdefs.h:271:1: + X_Nullable = 0 // cdefs.h:265:1: + X_OFF_T = 0 // _off_t.h:29:1: + X_SECURE__COMMON_H_ = 0 // _common.h:25:1: + X_SECURE__STDIO_H_ = 0 // _stdio.h:29:1: + X_SIZE_T = 0 // _size_t.h:29:1: + X_SSIZE_T = 0 // _ssize_t.h:29:1: + X_STDIO_H_ = 0 // stdio.h:62:1: + X_SYS_STDIO_H_ = 0 // stdio.h:30:1: + X_SYS__PTHREAD_TYPES_H_ = 0 // _pthread_types.h:30:1: + X_SYS__TYPES_H_ = 0 // _types.h:30:1: + X_UINTPTR_T = 0 // _uintptr_t.h:29:1: + X_USE_FORTIFY_LEVEL = 2 // _common.h:30:1: + X_U_INT16_T = 0 // _u_int16_t.h:29:1: + X_U_INT32_T = 0 // _u_int32_t.h:29:1: + X_U_INT64_T = 0 // _u_int64_t.h:29:1: + X_U_INT8_T = 0 // _u_int8_t.h:29:1: + X_VA_LIST_T = 0 // _va_list.h:30:1: ) type Ptrdiff_t = int64 /* <builtin>:3:26 */ @@ -607,6 +609,20 @@ var X__darwin_check_fd_set_overflow uintptr /* <builtin>:146:5: */ // __XNU_PRIVATE_EXTERN is a linkage decoration indicating that a symbol can be // used from other compilation units, but not other libraries or executables. +// We intentionally define to nothing pointer attributes which do not have an +// impact on the ABI. __indexable and __bidi_indexable are not defined because +// of the ABI incompatibility that makes the diagnostic preferable. + +// Similarly, we intentionally define to nothing the +// __ptrcheck_abi_assume_single and __ptrcheck_abi_assume_unsafe_indexable +// macros because they do not lead to an ABI incompatibility. However, we do not +// define the indexable and unsafe_indexable ones because the diagnostic is +// better than the silent ABI break. + +// __unsafe_forge intrinsics are defined as regular C casts. + +// decay operates normally; attribute is meaningless without pointer checks. + // Architecture validation for current SDK // Similar to OS_ENUM/OS_CLOSED_ENUM/OS_OPTIONS/OS_CLOSED_OPTIONS diff --git a/vendor/modernc.org/libc/stdio/stdio_linux_amd64.go b/vendor/modernc.org/libc/stdio/stdio_linux_amd64.go index e38676fe..2be5f7f6 100644 --- a/vendor/modernc.org/libc/stdio/stdio_linux_amd64.go +++ b/vendor/modernc.org/libc/stdio/stdio_linux_amd64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo stdio/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o stdio/stdio_linux_amd64.go -pkgname stdio', DO NOT EDIT. +// Code generated by 'ccgo stdio/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o stdio/stdio_linux_amd64.go -pkgname stdio', DO NOT EDIT. package stdio @@ -15,52 +15,52 @@ var _ atomic.Value var _ unsafe.Pointer const ( - BUFSIZ = 8192 - EOF = -1 - FILENAME_MAX = 4096 - FOPEN_MAX = 16 - L_ctermid = 9 - L_tmpnam = 20 - P_tmpdir = "/tmp" - SEEK_CUR = 1 - SEEK_END = 2 - SEEK_SET = 0 - TMP_MAX = 238328 - X_ATFILE_SOURCE = 1 - X_BITS_STDIO_LIM_H = 1 - X_BITS_TIME64_H = 1 - X_BITS_TYPESIZES_H = 1 - X_BITS_TYPES_H = 1 - X_BSD_SIZE_T_ = 0 - X_BSD_SIZE_T_DEFINED_ = 0 - X_DEFAULT_SOURCE = 1 - X_FEATURES_H = 1 - X_FILE_OFFSET_BITS = 64 - X_GCC_SIZE_T = 0 - X_IOFBF = 0 - X_IOLBF = 1 - X_IONBF = 2 - X_IO_EOF_SEEN = 0x0010 - X_IO_ERR_SEEN = 0x0020 - X_IO_USER_LOCK = 0x8000 - X_LP64 = 1 - X_POSIX_C_SOURCE = 200809 - X_POSIX_SOURCE = 1 - X_SIZET_ = 0 - X_SIZE_T = 0 - X_SIZE_T_ = 0 - X_SIZE_T_DECLARED = 0 - X_SIZE_T_DEFINED = 0 - X_SIZE_T_DEFINED_ = 0 - X_STDC_PREDEF_H = 1 - X_STDIO_H = 1 - X_SYS_CDEFS_H = 1 - X_SYS_SIZE_T_H = 0 - X_T_SIZE = 0 - X_T_SIZE_ = 0 - X_VA_LIST_DEFINED = 0 - Linux = 1 - Unix = 1 + BUFSIZ = 8192 // stdio.h:99:1: + EOF = -1 // stdio.h:104:1: + FILENAME_MAX = 4096 // stdio_lim.h:27:1: + FOPEN_MAX = 16 // stdio_lim.h:37:1: + L_ctermid = 9 // stdio_lim.h:30:1: + L_tmpnam = 20 // stdio_lim.h:25:1: + P_tmpdir = "/tmp" // stdio.h:120:1: + SEEK_CUR = 1 // stdio.h:110:1: + SEEK_END = 2 // stdio.h:111:1: + SEEK_SET = 0 // stdio.h:109:1: + TMP_MAX = 238328 // stdio_lim.h:26:1: + X_ATFILE_SOURCE = 1 // features.h:342:1: + X_BITS_STDIO_LIM_H = 1 // stdio_lim.h:19:1: + X_BITS_TIME64_H = 1 // time64.h:24:1: + X_BITS_TYPESIZES_H = 1 // typesizes.h:24:1: + X_BITS_TYPES_H = 1 // types.h:24:1: + X_BSD_SIZE_T_ = 0 // stddef.h:189:1: + X_BSD_SIZE_T_DEFINED_ = 0 // stddef.h:192:1: + X_DEFAULT_SOURCE = 1 // features.h:227:1: + X_FEATURES_H = 1 // features.h:19:1: + X_FILE_OFFSET_BITS = 64 // <builtin>:25:1: + X_GCC_SIZE_T = 0 // stddef.h:195:1: + X_IOFBF = 0 // stdio.h:93:1: + X_IOLBF = 1 // stdio.h:94:1: + X_IONBF = 2 // stdio.h:95:1: + X_IO_EOF_SEEN = 0x0010 // struct_FILE.h:111:1: + X_IO_ERR_SEEN = 0x0020 // struct_FILE.h:114:1: + X_IO_USER_LOCK = 0x8000 // struct_FILE.h:117:1: + X_LP64 = 1 // <predefined>:284:1: + X_POSIX_C_SOURCE = 200809 // features.h:281:1: + X_POSIX_SOURCE = 1 // features.h:279:1: + X_SIZET_ = 0 // stddef.h:196:1: + X_SIZE_T = 0 // stddef.h:183:1: + X_SIZE_T_ = 0 // stddef.h:188:1: + X_SIZE_T_DECLARED = 0 // stddef.h:193:1: + X_SIZE_T_DEFINED = 0 // stddef.h:191:1: + X_SIZE_T_DEFINED_ = 0 // stddef.h:190:1: + X_STDC_PREDEF_H = 1 // <predefined>:162:1: + X_STDIO_H = 1 // stdio.h:24:1: + X_SYS_CDEFS_H = 1 // cdefs.h:19:1: + X_SYS_SIZE_T_H = 0 // stddef.h:184:1: + X_T_SIZE = 0 // stddef.h:186:1: + X_T_SIZE_ = 0 // stddef.h:185:1: + X_VA_LIST_DEFINED = 0 // stdio.h:53:1: + Linux = 1 // <predefined>:231:1: + Unix = 1 // <predefined>:177:1: ) type Ptrdiff_t = int64 /* <builtin>:3:26 */ diff --git a/vendor/modernc.org/libc/stdlib/capi_darwin_arm64.go b/vendor/modernc.org/libc/stdlib/capi_darwin_arm64.go index 0371aa19..5a23d227 100644 --- a/vendor/modernc.org/libc/stdlib/capi_darwin_arm64.go +++ b/vendor/modernc.org/libc/stdlib/capi_darwin_arm64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo stdlib/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o stdlib/stdlib_darwin_arm64.go -pkgname stdlib', DO NOT EDIT. +// Code generated by 'ccgo stdlib/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o stdlib/stdlib_darwin_arm64.go -pkgname stdlib', DO NOT EDIT. package stdlib diff --git a/vendor/modernc.org/libc/stdlib/capi_linux_amd64.go b/vendor/modernc.org/libc/stdlib/capi_linux_amd64.go index 2c2233b1..bc0091ea 100644 --- a/vendor/modernc.org/libc/stdlib/capi_linux_amd64.go +++ b/vendor/modernc.org/libc/stdlib/capi_linux_amd64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo stdlib/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o stdlib/stdlib_linux_amd64.go -pkgname stdlib', DO NOT EDIT. +// Code generated by 'ccgo stdlib/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o stdlib/stdlib_linux_amd64.go -pkgname stdlib', DO NOT EDIT. package stdlib diff --git a/vendor/modernc.org/libc/stdlib/stdlib_darwin_arm64.go b/vendor/modernc.org/libc/stdlib/stdlib_darwin_arm64.go index 83e44d4e..8ba53c42 100644 --- a/vendor/modernc.org/libc/stdlib/stdlib_darwin_arm64.go +++ b/vendor/modernc.org/libc/stdlib/stdlib_darwin_arm64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo stdlib/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o stdlib/stdlib_darwin_arm64.go -pkgname stdlib', DO NOT EDIT. +// Code generated by 'ccgo stdlib/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o stdlib/stdlib_darwin_arm64.go -pkgname stdlib', DO NOT EDIT. package stdlib @@ -15,353 +15,353 @@ var _ atomic.Value var _ unsafe.Pointer const ( - BIG_ENDIAN = 4321 - BUS_ADRALN = 1 - BUS_ADRERR = 2 - BUS_NOOP = 0 - BUS_OBJERR = 3 - BYTE_ORDER = 1234 - CLD_CONTINUED = 6 - CLD_DUMPED = 3 - CLD_EXITED = 1 - CLD_KILLED = 2 - CLD_NOOP = 0 - CLD_STOPPED = 5 - CLD_TRAPPED = 4 - CPUMON_MAKE_FATAL = 0x1000 - EXIT_FAILURE = 1 - EXIT_SUCCESS = 0 - FOOTPRINT_INTERVAL_RESET = 0x1 - FPE_FLTDIV = 1 - FPE_FLTINV = 5 - FPE_FLTOVF = 2 - FPE_FLTRES = 4 - FPE_FLTSUB = 6 - FPE_FLTUND = 3 - FPE_INTDIV = 7 - FPE_INTOVF = 8 - FPE_NOOP = 0 - ILL_BADSTK = 8 - ILL_COPROC = 7 - ILL_ILLADR = 5 - ILL_ILLOPC = 1 - ILL_ILLOPN = 4 - ILL_ILLTRP = 2 - ILL_NOOP = 0 - ILL_PRVOPC = 3 - ILL_PRVREG = 6 - INT16_MAX = 32767 - INT16_MIN = -32768 - INT32_MAX = 2147483647 - INT32_MIN = -2147483648 - INT64_MAX = 9223372036854775807 - INT64_MIN = -9223372036854775808 - INT8_MAX = 127 - INT8_MIN = -128 - INTMAX_MAX = 9223372036854775807 - INTMAX_MIN = -9223372036854775808 - INTPTR_MAX = 9223372036854775807 - INTPTR_MIN = -9223372036854775808 - INT_FAST16_MAX = 32767 - INT_FAST16_MIN = -32768 - INT_FAST32_MAX = 2147483647 - INT_FAST32_MIN = -2147483648 - INT_FAST64_MAX = 9223372036854775807 - INT_FAST64_MIN = -9223372036854775808 - INT_FAST8_MAX = 127 - INT_FAST8_MIN = -128 - INT_LEAST16_MAX = 32767 - INT_LEAST16_MIN = -32768 - INT_LEAST32_MAX = 2147483647 - INT_LEAST32_MIN = -2147483648 - INT_LEAST64_MAX = 9223372036854775807 - INT_LEAST64_MIN = -9223372036854775808 - INT_LEAST8_MAX = 127 - INT_LEAST8_MIN = -128 - IOPOL_APPLICATION = 5 - IOPOL_ATIME_UPDATES_DEFAULT = 0 - IOPOL_ATIME_UPDATES_OFF = 1 - IOPOL_DEFAULT = 0 - IOPOL_IMPORTANT = 1 - IOPOL_MATERIALIZE_DATALESS_FILES_DEFAULT = 0 - IOPOL_MATERIALIZE_DATALESS_FILES_OFF = 1 - IOPOL_MATERIALIZE_DATALESS_FILES_ON = 2 - IOPOL_NORMAL = 1 - IOPOL_PASSIVE = 2 - IOPOL_SCOPE_DARWIN_BG = 2 - IOPOL_SCOPE_PROCESS = 0 - IOPOL_SCOPE_THREAD = 1 - IOPOL_STANDARD = 5 - IOPOL_THROTTLE = 3 - IOPOL_TYPE_DISK = 0 - IOPOL_TYPE_VFS_ALLOW_LOW_SPACE_WRITES = 9 - IOPOL_TYPE_VFS_ATIME_UPDATES = 2 - IOPOL_TYPE_VFS_IGNORE_CONTENT_PROTECTION = 6 - IOPOL_TYPE_VFS_IGNORE_PERMISSIONS = 7 - IOPOL_TYPE_VFS_MATERIALIZE_DATALESS_FILES = 3 - IOPOL_TYPE_VFS_SKIP_MTIME_UPDATE = 8 - IOPOL_TYPE_VFS_STATFS_NO_DATA_VOLUME = 4 - IOPOL_TYPE_VFS_TRIGGER_RESOLVE = 5 - IOPOL_UTILITY = 4 - IOPOL_VFS_ALLOW_LOW_SPACE_WRITES_OFF = 0 - IOPOL_VFS_ALLOW_LOW_SPACE_WRITES_ON = 1 - IOPOL_VFS_CONTENT_PROTECTION_DEFAULT = 0 - IOPOL_VFS_CONTENT_PROTECTION_IGNORE = 1 - IOPOL_VFS_IGNORE_PERMISSIONS_OFF = 0 - IOPOL_VFS_IGNORE_PERMISSIONS_ON = 1 - IOPOL_VFS_SKIP_MTIME_UPDATE_OFF = 0 - IOPOL_VFS_SKIP_MTIME_UPDATE_ON = 1 - IOPOL_VFS_STATFS_FORCE_NO_DATA_VOLUME = 1 - IOPOL_VFS_STATFS_NO_DATA_VOLUME_DEFAULT = 0 - IOPOL_VFS_TRIGGER_RESOLVE_DEFAULT = 0 - IOPOL_VFS_TRIGGER_RESOLVE_OFF = 1 - LITTLE_ENDIAN = 1234 - MAC_OS_VERSION_11_0 = 110000 - MAC_OS_VERSION_12_0 = 120000 - MAC_OS_X_VERSION_10_0 = 1000 - MAC_OS_X_VERSION_10_1 = 1010 - MAC_OS_X_VERSION_10_10 = 101000 - MAC_OS_X_VERSION_10_10_2 = 101002 - MAC_OS_X_VERSION_10_10_3 = 101003 - MAC_OS_X_VERSION_10_11 = 101100 - MAC_OS_X_VERSION_10_11_2 = 101102 - MAC_OS_X_VERSION_10_11_3 = 101103 - MAC_OS_X_VERSION_10_11_4 = 101104 - MAC_OS_X_VERSION_10_12 = 101200 - MAC_OS_X_VERSION_10_12_1 = 101201 - MAC_OS_X_VERSION_10_12_2 = 101202 - MAC_OS_X_VERSION_10_12_4 = 101204 - MAC_OS_X_VERSION_10_13 = 101300 - MAC_OS_X_VERSION_10_13_1 = 101301 - MAC_OS_X_VERSION_10_13_2 = 101302 - MAC_OS_X_VERSION_10_13_4 = 101304 - MAC_OS_X_VERSION_10_14 = 101400 - MAC_OS_X_VERSION_10_14_1 = 101401 - MAC_OS_X_VERSION_10_14_4 = 101404 - MAC_OS_X_VERSION_10_14_6 = 101406 - MAC_OS_X_VERSION_10_15 = 101500 - MAC_OS_X_VERSION_10_15_1 = 101501 - MAC_OS_X_VERSION_10_16 = 101600 - MAC_OS_X_VERSION_10_2 = 1020 - MAC_OS_X_VERSION_10_3 = 1030 - MAC_OS_X_VERSION_10_4 = 1040 - MAC_OS_X_VERSION_10_5 = 1050 - MAC_OS_X_VERSION_10_6 = 1060 - MAC_OS_X_VERSION_10_7 = 1070 - MAC_OS_X_VERSION_10_8 = 1080 - MAC_OS_X_VERSION_10_9 = 1090 - MINSIGSTKSZ = 32768 - NSIG = 32 - PDP_ENDIAN = 3412 - POLL_ERR = 4 - POLL_HUP = 6 - POLL_IN = 1 - POLL_MSG = 3 - POLL_OUT = 2 - POLL_PRI = 5 - PRIO_DARWIN_BG = 0x1000 - PRIO_DARWIN_NONUI = 0x1001 - PRIO_DARWIN_PROCESS = 4 - PRIO_DARWIN_THREAD = 3 - PRIO_MAX = 20 - PRIO_MIN = -20 - PRIO_PGRP = 1 - PRIO_PROCESS = 0 - PRIO_USER = 2 - PTRDIFF_MAX = 9223372036854775807 - PTRDIFF_MIN = -9223372036854775808 - RAND_MAX = 0x7fffffff - RLIMIT_AS = 5 - RLIMIT_CORE = 4 - RLIMIT_CPU = 0 - RLIMIT_CPU_USAGE_MONITOR = 0x2 - RLIMIT_DATA = 2 - RLIMIT_FOOTPRINT_INTERVAL = 0x4 - RLIMIT_FSIZE = 1 - RLIMIT_MEMLOCK = 6 - RLIMIT_NOFILE = 8 - RLIMIT_NPROC = 7 - RLIMIT_RSS = 5 - RLIMIT_STACK = 3 - RLIMIT_THREAD_CPULIMITS = 0x3 - RLIMIT_WAKEUPS_MONITOR = 0x1 - RLIM_NLIMITS = 9 - RSIZE_MAX = 9223372036854775807 - RUSAGE_CHILDREN = -1 - RUSAGE_INFO_CURRENT = 5 - RUSAGE_INFO_V0 = 0 - RUSAGE_INFO_V1 = 1 - RUSAGE_INFO_V2 = 2 - RUSAGE_INFO_V3 = 3 - RUSAGE_INFO_V4 = 4 - RUSAGE_INFO_V5 = 5 - RUSAGE_SELF = 0 - RU_PROC_RUNS_RESLIDE = 0x00000001 - SA_64REGSET = 0x0200 - SA_NOCLDSTOP = 0x0008 - SA_NOCLDWAIT = 0x0020 - SA_NODEFER = 0x0010 - SA_ONSTACK = 0x0001 - SA_RESETHAND = 0x0004 - SA_RESTART = 0x0002 - SA_SIGINFO = 0x0040 - SA_USERSPACE_MASK = 127 - SA_USERTRAMP = 0x0100 - SEGV_ACCERR = 2 - SEGV_MAPERR = 1 - SEGV_NOOP = 0 - SIGABRT = 6 - SIGALRM = 14 - SIGBUS = 10 - SIGCHLD = 20 - SIGCONT = 19 - SIGEMT = 7 - SIGEV_NONE = 0 - SIGEV_SIGNAL = 1 - SIGEV_THREAD = 3 - SIGFPE = 8 - SIGHUP = 1 - SIGILL = 4 - SIGINFO = 29 - SIGINT = 2 - SIGIO = 23 - SIGIOT = 6 - SIGKILL = 9 - SIGPIPE = 13 - SIGPROF = 27 - SIGQUIT = 3 - SIGSEGV = 11 - SIGSTKSZ = 131072 - SIGSTOP = 17 - SIGSYS = 12 - SIGTERM = 15 - SIGTRAP = 5 - SIGTSTP = 18 - SIGTTIN = 21 - SIGTTOU = 22 - SIGURG = 16 - SIGUSR1 = 30 - SIGUSR2 = 31 - SIGVTALRM = 26 - SIGWINCH = 28 - SIGXCPU = 24 - SIGXFSZ = 25 - SIG_ATOMIC_MAX = 2147483647 - SIG_ATOMIC_MIN = -2147483648 - SIG_BLOCK = 1 - SIG_SETMASK = 3 - SIG_UNBLOCK = 2 - SIZE_MAX = 18446744073709551615 - SI_ASYNCIO = 0x10004 - SI_MESGQ = 0x10005 - SI_QUEUE = 0x10002 - SI_TIMER = 0x10003 - SI_USER = 0x10001 - SS_DISABLE = 0x0004 - SS_ONSTACK = 0x0001 - SV_INTERRUPT = 2 - SV_NOCLDSTOP = 8 - SV_NODEFER = 16 - SV_ONSTACK = 1 - SV_RESETHAND = 4 - SV_SIGINFO = 64 - TRAP_BRKPT = 1 - TRAP_TRACE = 2 - UINT16_MAX = 65535 - UINT32_MAX = 4294967295 - UINT64_MAX = 18446744073709551615 - UINT8_MAX = 255 - UINTMAX_MAX = 18446744073709551615 - UINTPTR_MAX = 18446744073709551615 - UINT_FAST16_MAX = 65535 - UINT_FAST32_MAX = 4294967295 - UINT_FAST64_MAX = 18446744073709551615 - UINT_FAST8_MAX = 255 - UINT_LEAST16_MAX = 65535 - UINT_LEAST32_MAX = 4294967295 - UINT_LEAST64_MAX = 18446744073709551615 - UINT_LEAST8_MAX = 255 - WAIT_ANY = -1 - WAIT_MYPGRP = 0 - WAKEMON_DISABLE = 0x02 - WAKEMON_ENABLE = 0x01 - WAKEMON_GET_PARAMS = 0x04 - WAKEMON_MAKE_FATAL = 0x10 - WAKEMON_SET_DEFAULTS = 0x08 - WCHAR_MAX = 2147483647 - WCHAR_MIN = -2147483648 - WCONTINUED = 0x00000010 - WCOREFLAG = 0200 - WEXITED = 0x00000004 - WINT_MAX = 2147483647 - WINT_MIN = -2147483648 - WNOHANG = 0x00000001 - WNOWAIT = 0x00000020 - WSTOPPED = 0x00000008 - WUNTRACED = 0x00000002 - X_ALLOCA_H_ = 0 - X_ARM_ARCH_H = 0 - X_ARM_MACHTYPES_H_ = 0 - X_ARM_SIGNAL_ = 1 - X_ARM__ENDIAN_H_ = 0 - X_BSD_ARM__TYPES_H_ = 0 - X_BSD_MACHINE_ENDIAN_H_ = 0 - X_BSD_MACHINE_SIGNAL_H_ = 0 - X_BSD_MACHINE_TYPES_H_ = 0 - X_BSD_MACHINE__MCONTEXT_H_ = 0 - X_BSD_MACHINE__TYPES_H_ = 0 - X_CDEFS_H_ = 0 - X_CT_RUNE_T = 0 - X_DARWIN_FEATURE_64_BIT_INODE = 1 - X_DARWIN_FEATURE_ONLY_64_BIT_INODE = 1 - X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1 - X_DARWIN_FEATURE_ONLY_VERS_1050 = 1 - X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3 - X_DEV_T = 0 - X_FILE_OFFSET_BITS = 64 - X_FORTIFY_SOURCE = 2 - X_ID_T = 0 - X_INT16_T = 0 - X_INT32_T = 0 - X_INT64_T = 0 - X_INT8_T = 0 - X_INTPTR_T = 0 - X_LP64 = 1 - X_MACHTYPES_H_ = 0 - X_MACH_ARM__STRUCTS_H_ = 0 - X_MACH_MACHINE__STRUCTS_H_ = 0 - X_MALLOC_UNDERSCORE_MALLOC_H_ = 0 - X_MCONTEXT_T = 0 - X_MODE_T = 0 - X_Nonnull = 0 - X_Null_unspecified = 0 - X_Nullable = 0 - X_OS_OSBYTEORDERARM_H = 0 - X_OS__OSBYTEORDER_H = 0 - X_PID_T = 0 - X_PTHREAD_ATTR_T = 0 - X_QUAD_HIGHWORD = 1 - X_QUAD_LOWWORD = 0 - X_RLIMIT_POSIX_FLAG = 0x1000 - X_RUNE_T = 0 - X_SIGSET_T = 0 - X_SIZE_T = 0 - X_STDLIB_H_ = 0 - X_SYS_RESOURCE_H_ = 0 - X_SYS_SIGNAL_H_ = 0 - X_SYS_WAIT_H_ = 0 - X_SYS__ENDIAN_H_ = 0 - X_SYS__PTHREAD_TYPES_H_ = 0 - X_SYS__TYPES_H_ = 0 - X_UID_T = 0 - X_UINT32_T = 0 - X_UINTPTR_T = 0 - X_U_INT16_T = 0 - X_U_INT32_T = 0 - X_U_INT64_T = 0 - X_U_INT8_T = 0 - X_WCHAR_T = 0 - X_WSTOPPED = 0177 + BIG_ENDIAN = 4321 // endian.h:72:1: + BUS_ADRALN = 1 // signal.h:241:1: + BUS_ADRERR = 2 // signal.h:242:1: + BUS_NOOP = 0 // signal.h:239:1: + BUS_OBJERR = 3 // signal.h:243:1: + BYTE_ORDER = 1234 // endian.h:75:1: + CLD_CONTINUED = 6 // signal.h:258:1: + CLD_DUMPED = 3 // signal.h:255:1: + CLD_EXITED = 1 // signal.h:253:1: + CLD_KILLED = 2 // signal.h:254:1: + CLD_NOOP = 0 // signal.h:251:1: + CLD_STOPPED = 5 // signal.h:257:1: + CLD_TRAPPED = 4 // signal.h:256:1: + CPUMON_MAKE_FATAL = 0x1000 // resource.h:439:1: + EXIT_FAILURE = 1 // stdlib.h:102:1: + EXIT_SUCCESS = 0 // stdlib.h:103:1: + FOOTPRINT_INTERVAL_RESET = 0x1 // resource.h:444:1: + FPE_FLTDIV = 1 // signal.h:221:1: + FPE_FLTINV = 5 // signal.h:225:1: + FPE_FLTOVF = 2 // signal.h:222:1: + FPE_FLTRES = 4 // signal.h:224:1: + FPE_FLTSUB = 6 // signal.h:226:1: + FPE_FLTUND = 3 // signal.h:223:1: + FPE_INTDIV = 7 // signal.h:227:1: + FPE_INTOVF = 8 // signal.h:228:1: + FPE_NOOP = 0 // signal.h:219:1: + ILL_BADSTK = 8 // signal.h:215:1: + ILL_COPROC = 7 // signal.h:214:1: + ILL_ILLADR = 5 // signal.h:212:1: + ILL_ILLOPC = 1 // signal.h:208:1: + ILL_ILLOPN = 4 // signal.h:211:1: + ILL_ILLTRP = 2 // signal.h:209:1: + ILL_NOOP = 0 // signal.h:206:1: + ILL_PRVOPC = 3 // signal.h:210:1: + ILL_PRVREG = 6 // signal.h:213:1: + INT16_MAX = 32767 // stdint.h:599:1: + INT16_MIN = -32768 // stdint.h:600:1: + INT32_MAX = 2147483647 // stdint.h:555:1: + INT32_MIN = -2147483648 // stdint.h:556:1: + INT64_MAX = 9223372036854775807 // stdint.h:461:1: + INT64_MIN = -9223372036854775808 // stdint.h:462:1: + INT8_MAX = 127 // stdint.h:621:1: + INT8_MIN = -128 // stdint.h:622:1: + INTMAX_MAX = 9223372036854775807 // stdint.h:663:1: + INTMAX_MIN = -9223372036854775808 // stdint.h:662:1: + INTPTR_MAX = 9223372036854775807 // stdint.h:649:1: + INTPTR_MIN = -9223372036854775808 // stdint.h:648:1: + INT_FAST16_MAX = 32767 // stdint.h:615:1: + INT_FAST16_MIN = -32768 // stdint.h:614:1: + INT_FAST32_MAX = 2147483647 // stdint.h:574:1: + INT_FAST32_MIN = -2147483648 // stdint.h:573:1: + INT_FAST64_MAX = 9223372036854775807 // stdint.h:483:1: + INT_FAST64_MIN = -9223372036854775808 // stdint.h:482:1: + INT_FAST8_MAX = 127 // stdint.h:634:1: + INT_FAST8_MIN = -128 // stdint.h:633:1: + INT_LEAST16_MAX = 32767 // stdint.h:612:1: + INT_LEAST16_MIN = -32768 // stdint.h:611:1: + INT_LEAST32_MAX = 2147483647 // stdint.h:571:1: + INT_LEAST32_MIN = -2147483648 // stdint.h:570:1: + INT_LEAST64_MAX = 9223372036854775807 // stdint.h:480:1: + INT_LEAST64_MIN = -9223372036854775808 // stdint.h:479:1: + INT_LEAST8_MAX = 127 // stdint.h:631:1: + INT_LEAST8_MIN = -128 // stdint.h:630:1: + IOPOL_APPLICATION = 5 // resource.h:478:1: + IOPOL_ATIME_UPDATES_DEFAULT = 0 // resource.h:482:1: + IOPOL_ATIME_UPDATES_OFF = 1 // resource.h:483:1: + IOPOL_DEFAULT = 0 // resource.h:470:1: + IOPOL_IMPORTANT = 1 // resource.h:471:1: + IOPOL_MATERIALIZE_DATALESS_FILES_DEFAULT = 0 // resource.h:485:1: + IOPOL_MATERIALIZE_DATALESS_FILES_OFF = 1 // resource.h:486:1: + IOPOL_MATERIALIZE_DATALESS_FILES_ON = 2 // resource.h:487:1: + IOPOL_NORMAL = 1 // resource.h:479:1: + IOPOL_PASSIVE = 2 // resource.h:472:1: + IOPOL_SCOPE_DARWIN_BG = 2 // resource.h:467:1: + IOPOL_SCOPE_PROCESS = 0 // resource.h:465:1: + IOPOL_SCOPE_THREAD = 1 // resource.h:466:1: + IOPOL_STANDARD = 5 // resource.h:475:1: + IOPOL_THROTTLE = 3 // resource.h:473:1: + IOPOL_TYPE_DISK = 0 // resource.h:454:1: + IOPOL_TYPE_VFS_ALLOW_LOW_SPACE_WRITES = 9 // resource.h:462:1: + IOPOL_TYPE_VFS_ATIME_UPDATES = 2 // resource.h:455:1: + IOPOL_TYPE_VFS_IGNORE_CONTENT_PROTECTION = 6 // resource.h:459:1: + IOPOL_TYPE_VFS_IGNORE_PERMISSIONS = 7 // resource.h:460:1: + IOPOL_TYPE_VFS_MATERIALIZE_DATALESS_FILES = 3 // resource.h:456:1: + IOPOL_TYPE_VFS_SKIP_MTIME_UPDATE = 8 // resource.h:461:1: + IOPOL_TYPE_VFS_STATFS_NO_DATA_VOLUME = 4 // resource.h:457:1: + IOPOL_TYPE_VFS_TRIGGER_RESOLVE = 5 // resource.h:458:1: + IOPOL_UTILITY = 4 // resource.h:474:1: + IOPOL_VFS_ALLOW_LOW_SPACE_WRITES_OFF = 0 // resource.h:504:1: + IOPOL_VFS_ALLOW_LOW_SPACE_WRITES_ON = 1 // resource.h:505:1: + IOPOL_VFS_CONTENT_PROTECTION_DEFAULT = 0 // resource.h:495:1: + IOPOL_VFS_CONTENT_PROTECTION_IGNORE = 1 // resource.h:496:1: + IOPOL_VFS_IGNORE_PERMISSIONS_OFF = 0 // resource.h:498:1: + IOPOL_VFS_IGNORE_PERMISSIONS_ON = 1 // resource.h:499:1: + IOPOL_VFS_SKIP_MTIME_UPDATE_OFF = 0 // resource.h:501:1: + IOPOL_VFS_SKIP_MTIME_UPDATE_ON = 1 // resource.h:502:1: + IOPOL_VFS_STATFS_FORCE_NO_DATA_VOLUME = 1 // resource.h:490:1: + IOPOL_VFS_STATFS_NO_DATA_VOLUME_DEFAULT = 0 // resource.h:489:1: + IOPOL_VFS_TRIGGER_RESOLVE_DEFAULT = 0 // resource.h:492:1: + IOPOL_VFS_TRIGGER_RESOLVE_OFF = 1 // resource.h:493:1: + LITTLE_ENDIAN = 1234 // endian.h:71:1: + MAC_OS_VERSION_11_0 = 110000 // AvailabilityVersions.h:238:1: + MAC_OS_VERSION_12_0 = 120000 // AvailabilityVersions.h:239:1: + MAC_OS_X_VERSION_10_0 = 1000 // AvailabilityVersions.h:206:1: + MAC_OS_X_VERSION_10_1 = 1010 // AvailabilityVersions.h:207:1: + MAC_OS_X_VERSION_10_10 = 101000 // AvailabilityVersions.h:216:1: + MAC_OS_X_VERSION_10_10_2 = 101002 // AvailabilityVersions.h:217:1: + MAC_OS_X_VERSION_10_10_3 = 101003 // AvailabilityVersions.h:218:1: + MAC_OS_X_VERSION_10_11 = 101100 // AvailabilityVersions.h:219:1: + MAC_OS_X_VERSION_10_11_2 = 101102 // AvailabilityVersions.h:220:1: + MAC_OS_X_VERSION_10_11_3 = 101103 // AvailabilityVersions.h:221:1: + MAC_OS_X_VERSION_10_11_4 = 101104 // AvailabilityVersions.h:222:1: + MAC_OS_X_VERSION_10_12 = 101200 // AvailabilityVersions.h:223:1: + MAC_OS_X_VERSION_10_12_1 = 101201 // AvailabilityVersions.h:224:1: + MAC_OS_X_VERSION_10_12_2 = 101202 // AvailabilityVersions.h:225:1: + MAC_OS_X_VERSION_10_12_4 = 101204 // AvailabilityVersions.h:226:1: + MAC_OS_X_VERSION_10_13 = 101300 // AvailabilityVersions.h:227:1: + MAC_OS_X_VERSION_10_13_1 = 101301 // AvailabilityVersions.h:228:1: + MAC_OS_X_VERSION_10_13_2 = 101302 // AvailabilityVersions.h:229:1: + MAC_OS_X_VERSION_10_13_4 = 101304 // AvailabilityVersions.h:230:1: + MAC_OS_X_VERSION_10_14 = 101400 // AvailabilityVersions.h:231:1: + MAC_OS_X_VERSION_10_14_1 = 101401 // AvailabilityVersions.h:232:1: + MAC_OS_X_VERSION_10_14_4 = 101404 // AvailabilityVersions.h:233:1: + MAC_OS_X_VERSION_10_14_6 = 101406 // AvailabilityVersions.h:234:1: + MAC_OS_X_VERSION_10_15 = 101500 // AvailabilityVersions.h:235:1: + MAC_OS_X_VERSION_10_15_1 = 101501 // AvailabilityVersions.h:236:1: + MAC_OS_X_VERSION_10_16 = 101600 // AvailabilityVersions.h:237:1: + MAC_OS_X_VERSION_10_2 = 1020 // AvailabilityVersions.h:208:1: + MAC_OS_X_VERSION_10_3 = 1030 // AvailabilityVersions.h:209:1: + MAC_OS_X_VERSION_10_4 = 1040 // AvailabilityVersions.h:210:1: + MAC_OS_X_VERSION_10_5 = 1050 // AvailabilityVersions.h:211:1: + MAC_OS_X_VERSION_10_6 = 1060 // AvailabilityVersions.h:212:1: + MAC_OS_X_VERSION_10_7 = 1070 // AvailabilityVersions.h:213:1: + MAC_OS_X_VERSION_10_8 = 1080 // AvailabilityVersions.h:214:1: + MAC_OS_X_VERSION_10_9 = 1090 // AvailabilityVersions.h:215:1: + MINSIGSTKSZ = 32768 // signal.h:340:1: + NSIG = 32 // signal.h:79:1: + PDP_ENDIAN = 3412 // endian.h:73:1: + POLL_ERR = 4 // signal.h:264:1: + POLL_HUP = 6 // signal.h:266:1: + POLL_IN = 1 // signal.h:261:1: + POLL_MSG = 3 // signal.h:263:1: + POLL_OUT = 2 // signal.h:262:1: + POLL_PRI = 5 // signal.h:265:1: + PRIO_DARWIN_BG = 0x1000 // resource.h:120:1: + PRIO_DARWIN_NONUI = 0x1001 // resource.h:126:1: + PRIO_DARWIN_PROCESS = 4 // resource.h:106:1: + PRIO_DARWIN_THREAD = 3 // resource.h:105:1: + PRIO_MAX = 20 // resource.h:113:1: + PRIO_MIN = -20 // resource.h:112:1: + PRIO_PGRP = 1 // resource.h:101:1: + PRIO_PROCESS = 0 // resource.h:100:1: + PRIO_USER = 2 // resource.h:102:1: + PTRDIFF_MAX = 9223372036854775807 // stdint.h:652:1: + PTRDIFF_MIN = -9223372036854775808 // stdint.h:651:1: + RAND_MAX = 0x7fffffff // stdlib.h:105:1: + RLIMIT_AS = 5 // resource.h:395:1: + RLIMIT_CORE = 4 // resource.h:394:1: + RLIMIT_CPU = 0 // resource.h:390:1: + RLIMIT_CPU_USAGE_MONITOR = 0x2 // resource.h:423:1: + RLIMIT_DATA = 2 // resource.h:392:1: + RLIMIT_FOOTPRINT_INTERVAL = 0x4 // resource.h:425:1: + RLIMIT_FSIZE = 1 // resource.h:391:1: + RLIMIT_MEMLOCK = 6 // resource.h:398:1: + RLIMIT_NOFILE = 8 // resource.h:401:1: + RLIMIT_NPROC = 7 // resource.h:399:1: + RLIMIT_RSS = 5 // resource.h:397:1: + RLIMIT_STACK = 3 // resource.h:393:1: + RLIMIT_THREAD_CPULIMITS = 0x3 // resource.h:424:1: + RLIMIT_WAKEUPS_MONITOR = 0x1 // resource.h:422:1: + RLIM_NLIMITS = 9 // resource.h:403:1: + RSIZE_MAX = 9223372036854775807 // stdint.h:658:1: + RUSAGE_CHILDREN = -1 // resource.h:141:1: + RUSAGE_INFO_CURRENT = 5 // resource.h:192:1: + RUSAGE_INFO_V0 = 0 // resource.h:186:1: + RUSAGE_INFO_V1 = 1 // resource.h:187:1: + RUSAGE_INFO_V2 = 2 // resource.h:188:1: + RUSAGE_INFO_V3 = 3 // resource.h:189:1: + RUSAGE_INFO_V4 = 4 // resource.h:190:1: + RUSAGE_INFO_V5 = 5 // resource.h:191:1: + RUSAGE_SELF = 0 // resource.h:140:1: + RU_PROC_RUNS_RESLIDE = 0x00000001 // resource.h:197:1: + SA_64REGSET = 0x0200 // signal.h:308:1: + SA_NOCLDSTOP = 0x0008 // signal.h:301:1: + SA_NOCLDWAIT = 0x0020 // signal.h:303:1: + SA_NODEFER = 0x0010 // signal.h:302:1: + SA_ONSTACK = 0x0001 // signal.h:298:1: + SA_RESETHAND = 0x0004 // signal.h:300:1: + SA_RESTART = 0x0002 // signal.h:299:1: + SA_SIGINFO = 0x0040 // signal.h:304:1: + SA_USERSPACE_MASK = 127 // signal.h:314:1: + SA_USERTRAMP = 0x0100 // signal.h:306:1: + SEGV_ACCERR = 2 // signal.h:235:1: + SEGV_MAPERR = 1 // signal.h:234:1: + SEGV_NOOP = 0 // signal.h:232:1: + SIGABRT = 6 // signal.h:89:1: + SIGALRM = 14 // signal.h:102:1: + SIGBUS = 10 // signal.h:98:1: + SIGCHLD = 20 // signal.h:108:1: + SIGCONT = 19 // signal.h:107:1: + SIGEMT = 7 // signal.h:94:1: + SIGEV_NONE = 0 // signal.h:164:1: + SIGEV_SIGNAL = 1 // signal.h:165:1: + SIGEV_THREAD = 3 // signal.h:166:1: + SIGFPE = 8 // signal.h:96:1: + SIGHUP = 1 // signal.h:84:1: + SIGILL = 4 // signal.h:87:1: + SIGINFO = 29 // signal.h:120:1: + SIGINT = 2 // signal.h:85:1: + SIGIO = 23 // signal.h:112:1: + SIGIOT = 6 // signal.h:93:1: + SIGKILL = 9 // signal.h:97:1: + SIGPIPE = 13 // signal.h:101:1: + SIGPROF = 27 // signal.h:117:1: + SIGQUIT = 3 // signal.h:86:1: + SIGSEGV = 11 // signal.h:99:1: + SIGSTKSZ = 131072 // signal.h:341:1: + SIGSTOP = 17 // signal.h:105:1: + SIGSYS = 12 // signal.h:100:1: + SIGTERM = 15 // signal.h:103:1: + SIGTRAP = 5 // signal.h:88:1: + SIGTSTP = 18 // signal.h:106:1: + SIGTTIN = 21 // signal.h:109:1: + SIGTTOU = 22 // signal.h:110:1: + SIGURG = 16 // signal.h:104:1: + SIGUSR1 = 30 // signal.h:122:1: + SIGUSR2 = 31 // signal.h:123:1: + SIGVTALRM = 26 // signal.h:116:1: + SIGWINCH = 28 // signal.h:119:1: + SIGXCPU = 24 // signal.h:114:1: + SIGXFSZ = 25 // signal.h:115:1: + SIG_ATOMIC_MAX = 2147483647 // stdint.h:668:1: + SIG_ATOMIC_MIN = -2147483648 // stdint.h:667:1: + SIG_BLOCK = 1 // signal.h:319:1: + SIG_SETMASK = 3 // signal.h:321:1: + SIG_UNBLOCK = 2 // signal.h:320:1: + SIZE_MAX = 18446744073709551615 // stdint.h:653:1: + SI_ASYNCIO = 0x10004 // signal.h:327:1: + SI_MESGQ = 0x10005 // signal.h:328:1: + SI_QUEUE = 0x10002 // signal.h:325:1: + SI_TIMER = 0x10003 // signal.h:326:1: + SI_USER = 0x10001 // signal.h:324:1: + SS_DISABLE = 0x0004 // signal.h:339:1: + SS_ONSTACK = 0x0001 // signal.h:338:1: + SV_INTERRUPT = 2 // signal.h:355:1: + SV_NOCLDSTOP = 8 // signal.h:358:1: + SV_NODEFER = 16 // signal.h:357:1: + SV_ONSTACK = 1 // signal.h:354:1: + SV_RESETHAND = 4 // signal.h:356:1: + SV_SIGINFO = 64 // signal.h:359:1: + TRAP_BRKPT = 1 // signal.h:246:1: + TRAP_TRACE = 2 // signal.h:247:1: + UINT16_MAX = 65535 // stdint.h:601:1: + UINT32_MAX = 4294967295 // stdint.h:557:1: + UINT64_MAX = 18446744073709551615 // stdint.h:463:1: + UINT8_MAX = 255 // stdint.h:623:1: + UINTMAX_MAX = 18446744073709551615 // stdint.h:664:1: + UINTPTR_MAX = 18446744073709551615 // stdint.h:650:1: + UINT_FAST16_MAX = 65535 // stdint.h:616:1: + UINT_FAST32_MAX = 4294967295 // stdint.h:575:1: + UINT_FAST64_MAX = 18446744073709551615 // stdint.h:484:1: + UINT_FAST8_MAX = 255 // stdint.h:635:1: + UINT_LEAST16_MAX = 65535 // stdint.h:613:1: + UINT_LEAST32_MAX = 4294967295 // stdint.h:572:1: + UINT_LEAST64_MAX = 18446744073709551615 // stdint.h:481:1: + UINT_LEAST8_MAX = 255 // stdint.h:632:1: + WAIT_ANY = -1 // wait.h:183:1: + WAIT_MYPGRP = 0 // wait.h:184:1: + WAKEMON_DISABLE = 0x02 // resource.h:431:1: + WAKEMON_ENABLE = 0x01 // resource.h:430:1: + WAKEMON_GET_PARAMS = 0x04 // resource.h:432:1: + WAKEMON_MAKE_FATAL = 0x10 // resource.h:434:1: + WAKEMON_SET_DEFAULTS = 0x08 // resource.h:433:1: + WCHAR_MAX = 2147483647 // stdint.h:678:1: + WCHAR_MIN = -2147483648 // stdint.h:682:1: + WCONTINUED = 0x00000010 // wait.h:173:1: + WCOREFLAG = 0200 // wait.h:132:1: + WEXITED = 0x00000004 // wait.h:168:1: + WINT_MAX = 2147483647 // stdint.h:674:1: + WINT_MIN = -2147483648 // stdint.h:673:1: + WNOHANG = 0x00000001 // wait.h:121:1: + WNOWAIT = 0x00000020 // wait.h:174:1: + WSTOPPED = 0x00000008 // wait.h:171:1: + WUNTRACED = 0x00000002 // wait.h:122:1: + X_ALLOCA_H_ = 0 // alloca.h:25:1: + X_ARM_ARCH_H = 0 // arch.h:29:1: + X_ARM_MACHTYPES_H_ = 0 // types.h:43:1: + X_ARM_SIGNAL_ = 1 // signal.h:10:1: + X_ARM__ENDIAN_H_ = 0 // endian.h:43:1: + X_BSD_ARM__TYPES_H_ = 0 // _types.h:5:1: + X_BSD_MACHINE_ENDIAN_H_ = 0 // endian.h:32:1: + X_BSD_MACHINE_SIGNAL_H_ = 0 // signal.h:29:1: + X_BSD_MACHINE_TYPES_H_ = 0 // types.h:32:1: + X_BSD_MACHINE__MCONTEXT_H_ = 0 // _mcontext.h:29:1: + X_BSD_MACHINE__TYPES_H_ = 0 // _types.h:29:1: + X_CDEFS_H_ = 0 // cdefs.h:68:1: + X_CT_RUNE_T = 0 // _ct_rune_t.h:30:1: + X_DARWIN_FEATURE_64_BIT_INODE = 1 // cdefs.h:774:1: + X_DARWIN_FEATURE_ONLY_64_BIT_INODE = 1 // cdefs.h:784:1: + X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1 // cdefs.h:800:1: + X_DARWIN_FEATURE_ONLY_VERS_1050 = 1 // cdefs.h:792:1: + X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3 // cdefs.h:808:1: + X_DEV_T = 0 // _dev_t.h:29:1: + X_FILE_OFFSET_BITS = 64 // <builtin>:25:1: + X_FORTIFY_SOURCE = 2 // _types.h:65:1: + X_ID_T = 0 // _id_t.h:29:1: + X_INT16_T = 0 // _int16_t.h:29:1: + X_INT32_T = 0 // _int32_t.h:29:1: + X_INT64_T = 0 // _int64_t.h:29:1: + X_INT8_T = 0 // _int8_t.h:29:1: + X_INTPTR_T = 0 // _intptr_t.h:29:1: + X_LP64 = 1 // <predefined>:1:1: + X_MACHTYPES_H_ = 0 // types.h:44:1: + X_MACH_ARM__STRUCTS_H_ = 0 // _structs.h:32:1: + X_MACH_MACHINE__STRUCTS_H_ = 0 // _structs.h:30:1: + X_MALLOC_UNDERSCORE_MALLOC_H_ = 0 // _malloc.h:25:1: + X_MCONTEXT_T = 0 // _mcontext.h:83:1: + X_MODE_T = 0 // _mode_t.h:29:1: + X_Nonnull = 0 // cdefs.h:268:1: + X_Null_unspecified = 0 // cdefs.h:271:1: + X_Nullable = 0 // cdefs.h:265:1: + X_OS_OSBYTEORDERARM_H = 0 // OSByteOrder.h:6:1: + X_OS__OSBYTEORDER_H = 0 // _OSByteOrder.h:30:1: + X_PID_T = 0 // _pid_t.h:29:1: + X_PTHREAD_ATTR_T = 0 // _pthread_attr_t.h:29:1: + X_QUAD_HIGHWORD = 1 // endian.h:56:1: + X_QUAD_LOWWORD = 0 // endian.h:57:1: + X_RLIMIT_POSIX_FLAG = 0x1000 // resource.h:405:1: + X_RUNE_T = 0 // _rune_t.h:29:1: + X_SIGSET_T = 0 // _sigset_t.h:29:1: + X_SIZE_T = 0 // _size_t.h:29:1: + X_STDLIB_H_ = 0 // stdlib.h:59:1: + X_SYS_RESOURCE_H_ = 0 // resource.h:65:1: + X_SYS_SIGNAL_H_ = 0 // signal.h:70:1: + X_SYS_WAIT_H_ = 0 // wait.h:65:1: + X_SYS__ENDIAN_H_ = 0 // _endian.h:91:1: + X_SYS__PTHREAD_TYPES_H_ = 0 // _pthread_types.h:30:1: + X_SYS__TYPES_H_ = 0 // _types.h:30:1: + X_UID_T = 0 // _uid_t.h:29:1: + X_UINT32_T = 0 // _uint32_t.h:30:1: + X_UINTPTR_T = 0 // _uintptr_t.h:29:1: + X_U_INT16_T = 0 // _u_int16_t.h:29:1: + X_U_INT32_T = 0 // _u_int32_t.h:29:1: + X_U_INT64_T = 0 // _u_int64_t.h:29:1: + X_U_INT8_T = 0 // _u_int8_t.h:29:1: + X_WCHAR_T = 0 // _wchar_t.h:32:1: + X_WSTOPPED = 0177 // wait.h:137:1: ) // Copyright (c) 2000 Apple Computer, Inc. All rights reserved. @@ -1190,6 +1190,20 @@ var X__darwin_check_fd_set_overflow uintptr /* <builtin>:146:5: */ // __XNU_PRIVATE_EXTERN is a linkage decoration indicating that a symbol can be // used from other compilation units, but not other libraries or executables. +// We intentionally define to nothing pointer attributes which do not have an +// impact on the ABI. __indexable and __bidi_indexable are not defined because +// of the ABI incompatibility that makes the diagnostic preferable. + +// Similarly, we intentionally define to nothing the +// __ptrcheck_abi_assume_single and __ptrcheck_abi_assume_unsafe_indexable +// macros because they do not lead to an ABI incompatibility. However, we do not +// define the indexable and unsafe_indexable ones because the diagnostic is +// better than the silent ABI break. + +// __unsafe_forge intrinsics are defined as regular C casts. + +// decay operates normally; attribute is meaningless without pointer checks. + // Architecture validation for current SDK // Similar to OS_ENUM/OS_CLOSED_ENUM/OS_OPTIONS/OS_CLOSED_OPTIONS @@ -2913,21 +2927,21 @@ type X__darwin_arm_thread_state64 = struct { type X__darwin_arm_vfp_state = struct { F__r [64]X__uint32_t F__fpscr X__uint32_t -} /* _structs.h:424:1 */ +} /* _structs.h:433:1 */ type X__darwin_arm_neon_state64 = struct { F__v [32]X__uint128_t F__fpsr X__uint32_t F__fpcr X__uint32_t -} /* _structs.h:443:1 */ +} /* _structs.h:452:1 */ type X__darwin_arm_neon_state = struct { F__v [16]X__uint128_t F__fpsr X__uint32_t F__fpcr X__uint32_t -} /* _structs.h:450:1 */ +} /* _structs.h:459:1 */ -type X__arm_pagein_state = struct{ F__pagein_error int32 } /* _structs.h:514:1 */ +type X__arm_pagein_state = struct{ F__pagein_error int32 } /* _structs.h:523:1 */ // Debug State @@ -2938,7 +2952,7 @@ type X__arm_legacy_debug_state = struct { F__bcr [16]X__uint32_t F__wvr [16]X__uint32_t F__wcr [16]X__uint32_t -} /* _structs.h:551:1 */ +} /* _structs.h:560:1 */ type X__darwin_arm_debug_state32 = struct { F__bvr [16]X__uint32_t @@ -2946,7 +2960,7 @@ type X__darwin_arm_debug_state32 = struct { F__wvr [16]X__uint32_t F__wcr [16]X__uint32_t F__mdscr_el1 X__uint64_t -} /* _structs.h:574:1 */ +} /* _structs.h:583:1 */ type X__darwin_arm_debug_state64 = struct { F__bvr [16]X__uint64_t @@ -2954,9 +2968,9 @@ type X__darwin_arm_debug_state64 = struct { F__wvr [16]X__uint64_t F__wcr [16]X__uint64_t F__mdscr_el1 X__uint64_t -} /* _structs.h:584:1 */ +} /* _structs.h:593:1 */ -type X__darwin_arm_cpmu_state64 = struct{ F__ctrs [16]X__uint64_t } /* _structs.h:616:1 */ +type X__darwin_arm_cpmu_state64 = struct{ F__ctrs [16]X__uint64_t } /* _structs.h:625:1 */ type X__darwin_mcontext32 = struct { F__es struct { diff --git a/vendor/modernc.org/libc/stdlib/stdlib_linux_amd64.go b/vendor/modernc.org/libc/stdlib/stdlib_linux_amd64.go index 18dce1b4..4d27cee8 100644 --- a/vendor/modernc.org/libc/stdlib/stdlib_linux_amd64.go +++ b/vendor/modernc.org/libc/stdlib/stdlib_linux_amd64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo stdlib/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o stdlib/stdlib_linux_amd64.go -pkgname stdlib', DO NOT EDIT. +// Code generated by 'ccgo stdlib/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o stdlib/stdlib_linux_amd64.go -pkgname stdlib', DO NOT EDIT. package stdlib @@ -15,73 +15,73 @@ var _ atomic.Value var _ unsafe.Pointer const ( - BIG_ENDIAN = 4321 - BYTE_ORDER = 1234 - EXIT_FAILURE = 1 - EXIT_SUCCESS = 0 - FD_SETSIZE = 1024 - LITTLE_ENDIAN = 1234 - PDP_ENDIAN = 3412 - RAND_MAX = 2147483647 - WCONTINUED = 8 - WEXITED = 4 - WNOHANG = 1 - WNOWAIT = 0x01000000 - WSTOPPED = 2 - WUNTRACED = 2 - X_ALLOCA_H = 1 - X_ATFILE_SOURCE = 1 - X_BITS_BYTESWAP_H = 1 - X_BITS_ENDIANNESS_H = 1 - X_BITS_ENDIAN_H = 1 - X_BITS_FLOATN_COMMON_H = 0 - X_BITS_FLOATN_H = 0 - X_BITS_PTHREADTYPES_ARCH_H = 1 - X_BITS_PTHREADTYPES_COMMON_H = 1 - X_BITS_STDINT_INTN_H = 1 - X_BITS_TIME64_H = 1 - X_BITS_TYPESIZES_H = 1 - X_BITS_TYPES_H = 1 - X_BITS_UINTN_IDENTITY_H = 1 - X_BSD_SIZE_T_ = 0 - X_BSD_SIZE_T_DEFINED_ = 0 - X_DEFAULT_SOURCE = 1 - X_ENDIAN_H = 1 - X_FEATURES_H = 1 - X_FILE_OFFSET_BITS = 64 - X_GCC_SIZE_T = 0 - X_GCC_WCHAR_T = 0 - X_LP64 = 1 - X_POSIX_C_SOURCE = 200809 - X_POSIX_SOURCE = 1 - X_RWLOCK_INTERNAL_H = 0 - X_SIZET_ = 0 - X_SIZE_T = 0 - X_SIZE_T_ = 0 - X_SIZE_T_DECLARED = 0 - X_SIZE_T_DEFINED = 0 - X_SIZE_T_DEFINED_ = 0 - X_STDC_PREDEF_H = 1 - X_STDLIB_H = 1 - X_STRUCT_TIMESPEC = 1 - X_SYS_CDEFS_H = 1 - X_SYS_SELECT_H = 1 - X_SYS_SIZE_T_H = 0 - X_SYS_TYPES_H = 1 - X_THREAD_MUTEX_INTERNAL_H = 1 - X_THREAD_SHARED_TYPES_H = 1 - X_T_SIZE = 0 - X_T_SIZE_ = 0 - X_T_WCHAR = 0 - X_T_WCHAR_ = 0 - X_WCHAR_T = 0 - X_WCHAR_T_ = 0 - X_WCHAR_T_DECLARED = 0 - X_WCHAR_T_DEFINED = 0 - X_WCHAR_T_DEFINED_ = 0 - X_WCHAR_T_H = 0 - Linux = 1 - Unix = 1 + BIG_ENDIAN = 4321 // endian.h:28:1: + BYTE_ORDER = 1234 // endian.h:30:1: + EXIT_FAILURE = 1 // stdlib.h:91:1: + EXIT_SUCCESS = 0 // stdlib.h:92:1: + FD_SETSIZE = 1024 // select.h:73:1: + LITTLE_ENDIAN = 1234 // endian.h:27:1: + PDP_ENDIAN = 3412 // endian.h:29:1: + RAND_MAX = 2147483647 // stdlib.h:86:1: + WCONTINUED = 8 // waitflags.h:32:1: + WEXITED = 4 // waitflags.h:31:1: + WNOHANG = 1 // waitflags.h:25:1: + WNOWAIT = 0x01000000 // waitflags.h:33:1: + WSTOPPED = 2 // waitflags.h:30:1: + WUNTRACED = 2 // waitflags.h:26:1: + X_ALLOCA_H = 1 // alloca.h:19:1: + X_ATFILE_SOURCE = 1 // features.h:342:1: + X_BITS_BYTESWAP_H = 1 // byteswap.h:24:1: + X_BITS_ENDIANNESS_H = 1 // endianness.h:2:1: + X_BITS_ENDIAN_H = 1 // endian.h:20:1: + X_BITS_FLOATN_COMMON_H = 0 // floatn-common.h:21:1: + X_BITS_FLOATN_H = 0 // floatn.h:20:1: + X_BITS_PTHREADTYPES_ARCH_H = 1 // pthreadtypes-arch.h:19:1: + X_BITS_PTHREADTYPES_COMMON_H = 1 // pthreadtypes.h:20:1: + X_BITS_STDINT_INTN_H = 1 // stdint-intn.h:20:1: + X_BITS_TIME64_H = 1 // time64.h:24:1: + X_BITS_TYPESIZES_H = 1 // typesizes.h:24:1: + X_BITS_TYPES_H = 1 // types.h:24:1: + X_BITS_UINTN_IDENTITY_H = 1 // uintn-identity.h:24:1: + X_BSD_SIZE_T_ = 0 // stddef.h:189:1: + X_BSD_SIZE_T_DEFINED_ = 0 // stddef.h:192:1: + X_DEFAULT_SOURCE = 1 // features.h:227:1: + X_ENDIAN_H = 1 // endian.h:19:1: + X_FEATURES_H = 1 // features.h:19:1: + X_FILE_OFFSET_BITS = 64 // <builtin>:25:1: + X_GCC_SIZE_T = 0 // stddef.h:195:1: + X_GCC_WCHAR_T = 0 // stddef.h:273:1: + X_LP64 = 1 // <predefined>:284:1: + X_POSIX_C_SOURCE = 200809 // features.h:281:1: + X_POSIX_SOURCE = 1 // features.h:279:1: + X_RWLOCK_INTERNAL_H = 0 // struct_rwlock.h:21:1: + X_SIZET_ = 0 // stddef.h:196:1: + X_SIZE_T = 0 // stddef.h:183:1: + X_SIZE_T_ = 0 // stddef.h:188:1: + X_SIZE_T_DECLARED = 0 // stddef.h:193:1: + X_SIZE_T_DEFINED = 0 // stddef.h:191:1: + X_SIZE_T_DEFINED_ = 0 // stddef.h:190:1: + X_STDC_PREDEF_H = 1 // <predefined>:162:1: + X_STDLIB_H = 1 // stdlib.h:35:1: + X_STRUCT_TIMESPEC = 1 // struct_timespec.h:3:1: + X_SYS_CDEFS_H = 1 // cdefs.h:19:1: + X_SYS_SELECT_H = 1 // select.h:22:1: + X_SYS_SIZE_T_H = 0 // stddef.h:184:1: + X_SYS_TYPES_H = 1 // types.h:23:1: + X_THREAD_MUTEX_INTERNAL_H = 1 // struct_mutex.h:20:1: + X_THREAD_SHARED_TYPES_H = 1 // thread-shared-types.h:20:1: + X_T_SIZE = 0 // stddef.h:186:1: + X_T_SIZE_ = 0 // stddef.h:185:1: + X_T_WCHAR = 0 // stddef.h:264:1: + X_T_WCHAR_ = 0 // stddef.h:263:1: + X_WCHAR_T = 0 // stddef.h:262:1: + X_WCHAR_T_ = 0 // stddef.h:266:1: + X_WCHAR_T_DECLARED = 0 // stddef.h:274:1: + X_WCHAR_T_DEFINED = 0 // stddef.h:269:1: + X_WCHAR_T_DEFINED_ = 0 // stddef.h:268:1: + X_WCHAR_T_H = 0 // stddef.h:270:1: + Linux = 1 // <predefined>:231:1: + Unix = 1 // <predefined>:177:1: ) // A null pointer constant. diff --git a/vendor/modernc.org/libc/sys/socket/capi_darwin_arm64.go b/vendor/modernc.org/libc/sys/socket/capi_darwin_arm64.go index 6c11868b..3bc6f25a 100644 --- a/vendor/modernc.org/libc/sys/socket/capi_darwin_arm64.go +++ b/vendor/modernc.org/libc/sys/socket/capi_darwin_arm64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo sys/socket/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o sys/socket/socket_darwin_arm64.go -pkgname socket', DO NOT EDIT. +// Code generated by 'ccgo sys/socket/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o sys/socket/socket_darwin_arm64.go -pkgname socket', DO NOT EDIT. package socket diff --git a/vendor/modernc.org/libc/sys/socket/capi_linux_amd64.go b/vendor/modernc.org/libc/sys/socket/capi_linux_amd64.go index 57ceee42..41ea29c8 100644 --- a/vendor/modernc.org/libc/sys/socket/capi_linux_amd64.go +++ b/vendor/modernc.org/libc/sys/socket/capi_linux_amd64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo sys/socket/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o sys/socket/socket_linux_amd64.go -pkgname socket', DO NOT EDIT. +// Code generated by 'ccgo sys/socket/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o sys/socket/socket_linux_amd64.go -pkgname socket', DO NOT EDIT. package socket diff --git a/vendor/modernc.org/libc/sys/socket/socket_darwin_arm64.go b/vendor/modernc.org/libc/sys/socket/socket_darwin_arm64.go index 4468f19b..9db83731 100644 --- a/vendor/modernc.org/libc/sys/socket/socket_darwin_arm64.go +++ b/vendor/modernc.org/libc/sys/socket/socket_darwin_arm64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo sys/socket/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o sys/socket/socket_darwin_arm64.go -pkgname socket', DO NOT EDIT. +// Code generated by 'ccgo sys/socket/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o sys/socket/socket_darwin_arm64.go -pkgname socket', DO NOT EDIT. package socket @@ -15,417 +15,417 @@ var _ atomic.Value var _ unsafe.Pointer const ( - AF_APPLETALK = 16 - AF_CCITT = 10 - AF_CHAOS = 5 - AF_CNT = 21 - AF_COIP = 20 - AF_DATAKIT = 9 - AF_DECnet = 12 - AF_DLI = 13 - AF_E164 = 28 - AF_ECMA = 8 - AF_HYLINK = 15 - AF_IEEE80211 = 37 - AF_IMPLINK = 3 - AF_INET = 2 - AF_INET6 = 30 - AF_IPX = 23 - AF_ISDN = 28 - AF_ISO = 7 - AF_LAT = 14 - AF_LINK = 18 - AF_LOCAL = 1 - AF_MAX = 41 - AF_NATM = 31 - AF_NDRV = 27 - AF_NETBIOS = 33 - AF_NS = 6 - AF_OSI = 7 - AF_PPP = 34 - AF_PUP = 4 - AF_RESERVED_36 = 36 - AF_ROUTE = 17 - AF_SIP = 24 - AF_SNA = 11 - AF_SYSTEM = 32 - AF_UNIX = 1 - AF_UNSPEC = 0 - AF_UTUN = 38 - AF_VSOCK = 40 - BIG_ENDIAN = 4321 - BYTE_ORDER = 1234 - CONNECT_DATA_AUTHENTICATED = 0x4 - CONNECT_DATA_IDEMPOTENT = 0x2 - CONNECT_RESUME_ON_READ_WRITE = 0x1 - FD_SETSIZE = 1024 - INT16_MAX = 32767 - INT16_MIN = -32768 - INT32_MAX = 2147483647 - INT32_MIN = -2147483648 - INT64_MAX = 9223372036854775807 - INT64_MIN = -9223372036854775808 - INT8_MAX = 127 - INT8_MIN = -128 - INTMAX_MAX = 9223372036854775807 - INTMAX_MIN = -9223372036854775808 - INTPTR_MAX = 9223372036854775807 - INTPTR_MIN = -9223372036854775808 - INT_FAST16_MAX = 32767 - INT_FAST16_MIN = -32768 - INT_FAST32_MAX = 2147483647 - INT_FAST32_MIN = -2147483648 - INT_FAST64_MAX = 9223372036854775807 - INT_FAST64_MIN = -9223372036854775808 - INT_FAST8_MAX = 127 - INT_FAST8_MIN = -128 - INT_LEAST16_MAX = 32767 - INT_LEAST16_MIN = -32768 - INT_LEAST32_MAX = 2147483647 - INT_LEAST32_MIN = -2147483648 - INT_LEAST64_MAX = 9223372036854775807 - INT_LEAST64_MIN = -9223372036854775808 - INT_LEAST8_MAX = 127 - INT_LEAST8_MIN = -128 - KEV_DL_ADDMULTI = 7 - KEV_DL_AWDL_RESTRICTED = 26 - KEV_DL_AWDL_UNRESTRICTED = 27 - KEV_DL_DELMULTI = 8 - KEV_DL_IFCAP_CHANGED = 19 - KEV_DL_IFDELEGATE_CHANGED = 25 - KEV_DL_IF_ATTACHED = 9 - KEV_DL_IF_DETACHED = 11 - KEV_DL_IF_DETACHING = 10 - KEV_DL_IF_IDLE_ROUTE_REFCNT = 18 - KEV_DL_ISSUES = 24 - KEV_DL_LINK_ADDRESS_CHANGED = 16 - KEV_DL_LINK_OFF = 12 - KEV_DL_LINK_ON = 13 - KEV_DL_LINK_QUALITY_METRIC_CHANGED = 20 - KEV_DL_LOW_POWER_MODE_CHANGED = 30 - KEV_DL_NODE_ABSENCE = 22 - KEV_DL_NODE_PRESENCE = 21 - KEV_DL_PRIMARY_ELECTED = 23 - KEV_DL_PROTO_ATTACHED = 14 - KEV_DL_PROTO_DETACHED = 15 - KEV_DL_QOS_MODE_CHANGED = 29 - KEV_DL_RRC_STATE_CHANGED = 28 - KEV_DL_SIFFLAGS = 1 - KEV_DL_SIFGENERIC = 6 - KEV_DL_SIFMEDIA = 5 - KEV_DL_SIFMETRICS = 2 - KEV_DL_SIFMTU = 3 - KEV_DL_SIFPHYS = 4 - KEV_DL_SUBCLASS = 2 - KEV_DL_WAKEFLAGS_CHANGED = 17 - KEV_INET6_ADDR_DELETED = 3 - KEV_INET6_CHANGED_ADDR = 2 - KEV_INET6_DEFROUTER = 6 - KEV_INET6_NEW_LL_ADDR = 4 - KEV_INET6_NEW_RTADV_ADDR = 5 - KEV_INET6_NEW_USER_ADDR = 1 - KEV_INET6_REQUEST_NAT64_PREFIX = 7 - KEV_INET6_SUBCLASS = 6 - KEV_INET_ADDR_DELETED = 3 - KEV_INET_ARPCOLLISION = 7 - KEV_INET_ARPRTRALIVE = 10 - KEV_INET_ARPRTRFAILURE = 9 - KEV_INET_CHANGED_ADDR = 2 - KEV_INET_NEW_ADDR = 1 - KEV_INET_PORTINUSE = 8 - KEV_INET_SIFBRDADDR = 5 - KEV_INET_SIFDSTADDR = 4 - KEV_INET_SIFNETMASK = 6 - KEV_INET_SUBCLASS = 1 - LITTLE_ENDIAN = 1234 - MAC_OS_VERSION_11_0 = 110000 - MAC_OS_VERSION_12_0 = 120000 - MAC_OS_X_VERSION_10_0 = 1000 - MAC_OS_X_VERSION_10_1 = 1010 - MAC_OS_X_VERSION_10_10 = 101000 - MAC_OS_X_VERSION_10_10_2 = 101002 - MAC_OS_X_VERSION_10_10_3 = 101003 - MAC_OS_X_VERSION_10_11 = 101100 - MAC_OS_X_VERSION_10_11_2 = 101102 - MAC_OS_X_VERSION_10_11_3 = 101103 - MAC_OS_X_VERSION_10_11_4 = 101104 - MAC_OS_X_VERSION_10_12 = 101200 - MAC_OS_X_VERSION_10_12_1 = 101201 - MAC_OS_X_VERSION_10_12_2 = 101202 - MAC_OS_X_VERSION_10_12_4 = 101204 - MAC_OS_X_VERSION_10_13 = 101300 - MAC_OS_X_VERSION_10_13_1 = 101301 - MAC_OS_X_VERSION_10_13_2 = 101302 - MAC_OS_X_VERSION_10_13_4 = 101304 - MAC_OS_X_VERSION_10_14 = 101400 - MAC_OS_X_VERSION_10_14_1 = 101401 - MAC_OS_X_VERSION_10_14_4 = 101404 - MAC_OS_X_VERSION_10_14_6 = 101406 - MAC_OS_X_VERSION_10_15 = 101500 - MAC_OS_X_VERSION_10_15_1 = 101501 - MAC_OS_X_VERSION_10_16 = 101600 - MAC_OS_X_VERSION_10_2 = 1020 - MAC_OS_X_VERSION_10_3 = 1030 - MAC_OS_X_VERSION_10_4 = 1040 - MAC_OS_X_VERSION_10_5 = 1050 - MAC_OS_X_VERSION_10_6 = 1060 - MAC_OS_X_VERSION_10_7 = 1070 - MAC_OS_X_VERSION_10_8 = 1080 - MAC_OS_X_VERSION_10_9 = 1090 - MSG_CTRUNC = 0x20 - MSG_DONTROUTE = 0x4 - MSG_DONTWAIT = 0x80 - MSG_EOF = 0x100 - MSG_EOR = 0x8 - MSG_FLUSH = 0x400 - MSG_HAVEMORE = 0x2000 - MSG_HOLD = 0x800 - MSG_NEEDSA = 0x10000 - MSG_NOSIGNAL = 0x80000 - MSG_OOB = 0x1 - MSG_PEEK = 0x2 - MSG_RCVMORE = 0x4000 - MSG_SEND = 0x1000 - MSG_TRUNC = 0x10 - MSG_WAITALL = 0x40 - MSG_WAITSTREAM = 0x200 - NBBY = 8 - NETSVC_MRKNG_LVL_L2 = 1 - NETSVC_MRKNG_LVL_L3L2_ALL = 2 - NETSVC_MRKNG_LVL_L3L2_BK = 3 - NETSVC_MRKNG_UNKNOWN = 0 - NET_MAXID = 41 - NET_RT_DUMP = 1 - NET_RT_DUMP2 = 7 - NET_RT_FLAGS = 2 - NET_RT_FLAGS_PRIV = 10 - NET_RT_IFLIST = 3 - NET_RT_IFLIST2 = 6 - NET_RT_MAXID = 11 - NET_RT_STAT = 4 - NET_RT_TRASH = 5 - NET_SERVICE_TYPE_AV = 6 - NET_SERVICE_TYPE_BE = 0 - NET_SERVICE_TYPE_BK = 1 - NET_SERVICE_TYPE_OAM = 7 - NET_SERVICE_TYPE_RD = 8 - NET_SERVICE_TYPE_RV = 5 - NET_SERVICE_TYPE_SIG = 2 - NET_SERVICE_TYPE_VI = 3 - NET_SERVICE_TYPE_VO = 4 - PDP_ENDIAN = 3412 - PF_APPLETALK = 16 - PF_CCITT = 10 - PF_CHAOS = 5 - PF_CNT = 21 - PF_COIP = 20 - PF_DATAKIT = 9 - PF_DECnet = 12 - PF_DLI = 13 - PF_ECMA = 8 - PF_HYLINK = 15 - PF_IMPLINK = 3 - PF_INET = 2 - PF_INET6 = 30 - PF_IPX = 23 - PF_ISDN = 28 - PF_ISO = 7 - PF_KEY = 29 - PF_LAT = 14 - PF_LINK = 18 - PF_LOCAL = 1 - PF_MAX = 41 - PF_NATM = 31 - PF_NDRV = 27 - PF_NETBIOS = 33 - PF_NS = 6 - PF_OSI = 7 - PF_PIP = 25 - PF_PPP = 34 - PF_PUP = 4 - PF_RESERVED_36 = 36 - PF_ROUTE = 17 - PF_RTIP = 22 - PF_SIP = 24 - PF_SNA = 11 - PF_SYSTEM = 32 - PF_UNIX = 1 - PF_UNSPEC = 0 - PF_UTUN = 38 - PF_VSOCK = 40 - PF_XTP = 19 - PTRDIFF_MAX = 9223372036854775807 - PTRDIFF_MIN = -9223372036854775808 - RSIZE_MAX = 9223372036854775807 - SAE_ASSOCID_ANY = 0 - SAE_CONNID_ANY = 0 - SCM_CREDS = 0x03 - SCM_RIGHTS = 0x01 - SCM_TIMESTAMP = 0x02 - SCM_TIMESTAMP_MONOTONIC = 0x04 - SHUT_RD = 0 - SHUT_RDWR = 2 - SHUT_WR = 1 - SIG_ATOMIC_MAX = 2147483647 - SIG_ATOMIC_MIN = -2147483648 - SIZE_MAX = 18446744073709551615 - SOCK_DGRAM = 2 - SOCK_MAXADDRLEN = 255 - SOCK_RAW = 3 - SOCK_RDM = 4 - SOCK_SEQPACKET = 5 - SOCK_STREAM = 1 - SOL_SOCKET = 0xffff - SOMAXCONN = 128 - SONPX_SETOPTSHUT = 0x000000001 - SO_ACCEPTCONN = 0x0002 - SO_BROADCAST = 0x0020 - SO_DEBUG = 0x0001 - SO_DONTROUTE = 0x0010 - SO_DONTTRUNC = 0x2000 - SO_ERROR = 0x1007 - SO_KEEPALIVE = 0x0008 - SO_LABEL = 0x1010 - SO_LINGER = 0x0080 - SO_LINGER_SEC = 0x1080 - SO_NETSVC_MARKING_LEVEL = 0x1119 - SO_NET_SERVICE_TYPE = 0x1116 - SO_NKE = 0x1021 - SO_NOADDRERR = 0x1023 - SO_NOSIGPIPE = 0x1022 - SO_NOTIFYCONFLICT = 0x1026 - SO_NP_EXTENSIONS = 0x1083 - SO_NREAD = 0x1020 - SO_NUMRCVPKT = 0x1112 - SO_NWRITE = 0x1024 - SO_OOBINLINE = 0x0100 - SO_PEERLABEL = 0x1011 - SO_RANDOMPORT = 0x1082 - SO_RCVBUF = 0x1002 - SO_RCVLOWAT = 0x1004 - SO_RCVTIMEO = 0x1006 - SO_REUSEADDR = 0x0004 - SO_REUSEPORT = 0x0200 - SO_REUSESHAREUID = 0x1025 - SO_SNDBUF = 0x1001 - SO_SNDLOWAT = 0x1003 - SO_SNDTIMEO = 0x1005 - SO_TIMESTAMP = 0x0400 - SO_TIMESTAMP_MONOTONIC = 0x0800 - SO_TYPE = 0x1008 - SO_UPCALLCLOSEWAIT = 0x1027 - SO_USELOOPBACK = 0x0040 - SO_WANTMORE = 0x4000 - SO_WANTOOBFLAG = 0x8000 - UINT16_MAX = 65535 - UINT32_MAX = 4294967295 - UINT64_MAX = 18446744073709551615 - UINT8_MAX = 255 - UINTMAX_MAX = 18446744073709551615 - UINTPTR_MAX = 18446744073709551615 - UINT_FAST16_MAX = 65535 - UINT_FAST32_MAX = 4294967295 - UINT_FAST64_MAX = 18446744073709551615 - UINT_FAST8_MAX = 255 - UINT_LEAST16_MAX = 65535 - UINT_LEAST32_MAX = 4294967295 - UINT_LEAST64_MAX = 18446744073709551615 - UINT_LEAST8_MAX = 255 - WCHAR_MAX = 2147483647 - WCHAR_MIN = -2147483648 - WINT_MAX = 2147483647 - WINT_MIN = -2147483648 - X_ARM_ARCH_H = 0 - X_ARM_MACHTYPES_H_ = 0 - X_ARM__ENDIAN_H_ = 0 - X_ARM__PARAM_H_ = 0 - X_BLKCNT_T = 0 - X_BLKSIZE_T = 0 - X_BSD_ARM__TYPES_H_ = 0 - X_BSD_MACHINE_ENDIAN_H_ = 0 - X_BSD_MACHINE_TYPES_H_ = 0 - X_BSD_MACHINE__PARAM_H_ = 0 - X_BSD_MACHINE__TYPES_H_ = 0 - X_CADDR_T = 0 - X_CDEFS_H_ = 0 - X_CLOCK_T = 0 - X_DARWIN_FEATURE_64_BIT_INODE = 1 - X_DARWIN_FEATURE_ONLY_64_BIT_INODE = 1 - X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1 - X_DARWIN_FEATURE_ONLY_VERS_1050 = 1 - X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3 - X_DEV_T = 0 - X_ERRNO_T = 0 - X_FD_SET = 0 - X_FILE_OFFSET_BITS = 64 - X_FSBLKCNT_T = 0 - X_FSFILCNT_T = 0 - X_GID_T = 0 - X_ID_T = 0 - X_INO64_T = 0 - X_INO_T = 0 - X_INT16_T = 0 - X_INT32_T = 0 - X_INT64_T = 0 - X_INT8_T = 0 - X_INTPTR_T = 0 - X_IN_ADDR_T = 0 - X_IN_PORT_T = 0 - X_KEY_T = 0 - X_LP64 = 1 - X_MACHTYPES_H_ = 0 - X_MODE_T = 0 - X_NET_NETKEV_H_ = 0 - X_NLINK_T = 0 - X_Nonnull = 0 - X_Null_unspecified = 0 - X_Nullable = 0 - X_OFF_T = 0 - X_OS_OSBYTEORDERARM_H = 0 - X_OS__OSBYTEORDER_H = 0 - X_PID_T = 0 - X_PTHREAD_ATTR_T = 0 - X_PTHREAD_CONDATTR_T = 0 - X_PTHREAD_COND_T = 0 - X_PTHREAD_KEY_T = 0 - X_PTHREAD_MUTEXATTR_T = 0 - X_PTHREAD_MUTEX_T = 0 - X_PTHREAD_ONCE_T = 0 - X_PTHREAD_RWLOCKATTR_T = 0 - X_PTHREAD_RWLOCK_T = 0 - X_PTHREAD_T = 0 - X_QUAD_HIGHWORD = 1 - X_QUAD_LOWWORD = 0 - X_RSIZE_T = 0 - X_SA_FAMILY_T = 0 - X_SIZE_T = 0 - X_SOCKLEN_T = 0 - X_SSIZE_T = 0 - X_SS_MAXSIZE = 128 - X_STRUCT_IOVEC = 0 - X_SUSECONDS_T = 0 - X_SYS_SOCKET_H_ = 0 - X_SYS_TYPES_H_ = 0 - X_SYS__ENDIAN_H_ = 0 - X_SYS__PTHREAD_TYPES_H_ = 0 - X_SYS__TYPES_H_ = 0 - X_TIME_T = 0 - X_UID_T = 0 - X_UINTPTR_T = 0 - X_USECONDS_T = 0 - X_U_CHAR = 0 - X_U_INT = 0 - X_U_INT16_T = 0 - X_U_INT32_T = 0 - X_U_INT64_T = 0 - X_U_INT8_T = 0 - X_U_LONG = 0 - X_U_SHORT = 0 - Pseudo_AF_HDRCMPLT = 35 - Pseudo_AF_KEY = 29 - Pseudo_AF_PIP = 25 - Pseudo_AF_RTIP = 22 - Pseudo_AF_XTP = 19 + AF_APPLETALK = 16 // socket.h:379:1: + AF_CCITT = 10 // socket.h:373:1: + AF_CHAOS = 5 // socket.h:367:1: + AF_CNT = 21 // socket.h:384:1: + AF_COIP = 20 // socket.h:383:1: + AF_DATAKIT = 9 // socket.h:372:1: + AF_DECnet = 12 // socket.h:375:1: + AF_DLI = 13 // socket.h:376:1: + AF_E164 = 28 // socket.h:391:1: + AF_ECMA = 8 // socket.h:371:1: + AF_HYLINK = 15 // socket.h:378:1: + AF_IEEE80211 = 37 // socket.h:403:1: + AF_IMPLINK = 3 // socket.h:365:1: + AF_INET = 2 // socket.h:363:1: + AF_INET6 = 30 // socket.h:394:1: + AF_IPX = 23 // socket.h:386:1: + AF_ISDN = 28 // socket.h:390:1: + AF_ISO = 7 // socket.h:369:1: + AF_LAT = 14 // socket.h:377:1: + AF_LINK = 18 // socket.h:381:1: + AF_LOCAL = 1 // socket.h:361:1: + AF_MAX = 41 // socket.h:406:1: + AF_NATM = 31 // socket.h:396:1: + AF_NDRV = 27 // socket.h:389:1: + AF_NETBIOS = 33 // socket.h:398:1: + AF_NS = 6 // socket.h:368:1: + AF_OSI = 7 // socket.h:370:1: + AF_PPP = 34 // socket.h:399:1: + AF_PUP = 4 // socket.h:366:1: + AF_RESERVED_36 = 36 // socket.h:402:1: + AF_ROUTE = 17 // socket.h:380:1: + AF_SIP = 24 // socket.h:387:1: + AF_SNA = 11 // socket.h:374:1: + AF_SYSTEM = 32 // socket.h:397:1: + AF_UNIX = 1 // socket.h:359:1: + AF_UNSPEC = 0 // socket.h:358:1: + AF_UTUN = 38 // socket.h:404:1: + AF_VSOCK = 40 // socket.h:405:1: + BIG_ENDIAN = 4321 // endian.h:72:1: + BYTE_ORDER = 1234 // endian.h:75:1: + CONNECT_DATA_AUTHENTICATED = 0x4 // socket.h:304:1: + CONNECT_DATA_IDEMPOTENT = 0x2 // socket.h:303:1: + CONNECT_RESUME_ON_READ_WRITE = 0x1 // socket.h:302:1: + FD_SETSIZE = 1024 // _fd_setsize.h:29:1: + INT16_MAX = 32767 // stdint.h:599:1: + INT16_MIN = -32768 // stdint.h:600:1: + INT32_MAX = 2147483647 // stdint.h:555:1: + INT32_MIN = -2147483648 // stdint.h:556:1: + INT64_MAX = 9223372036854775807 // stdint.h:461:1: + INT64_MIN = -9223372036854775808 // stdint.h:462:1: + INT8_MAX = 127 // stdint.h:621:1: + INT8_MIN = -128 // stdint.h:622:1: + INTMAX_MAX = 9223372036854775807 // stdint.h:663:1: + INTMAX_MIN = -9223372036854775808 // stdint.h:662:1: + INTPTR_MAX = 9223372036854775807 // stdint.h:649:1: + INTPTR_MIN = -9223372036854775808 // stdint.h:648:1: + INT_FAST16_MAX = 32767 // stdint.h:615:1: + INT_FAST16_MIN = -32768 // stdint.h:614:1: + INT_FAST32_MAX = 2147483647 // stdint.h:574:1: + INT_FAST32_MIN = -2147483648 // stdint.h:573:1: + INT_FAST64_MAX = 9223372036854775807 // stdint.h:483:1: + INT_FAST64_MIN = -9223372036854775808 // stdint.h:482:1: + INT_FAST8_MAX = 127 // stdint.h:634:1: + INT_FAST8_MIN = -128 // stdint.h:633:1: + INT_LEAST16_MAX = 32767 // stdint.h:612:1: + INT_LEAST16_MIN = -32768 // stdint.h:611:1: + INT_LEAST32_MAX = 2147483647 // stdint.h:571:1: + INT_LEAST32_MIN = -2147483648 // stdint.h:570:1: + INT_LEAST64_MAX = 9223372036854775807 // stdint.h:480:1: + INT_LEAST64_MIN = -9223372036854775808 // stdint.h:479:1: + INT_LEAST8_MAX = 127 // stdint.h:631:1: + INT_LEAST8_MIN = -128 // stdint.h:630:1: + KEV_DL_ADDMULTI = 7 // net_kev.h:61:1: + KEV_DL_AWDL_RESTRICTED = 26 // net_kev.h:80:1: + KEV_DL_AWDL_UNRESTRICTED = 27 // net_kev.h:81:1: + KEV_DL_DELMULTI = 8 // net_kev.h:62:1: + KEV_DL_IFCAP_CHANGED = 19 // net_kev.h:73:1: + KEV_DL_IFDELEGATE_CHANGED = 25 // net_kev.h:79:1: + KEV_DL_IF_ATTACHED = 9 // net_kev.h:63:1: + KEV_DL_IF_DETACHED = 11 // net_kev.h:65:1: + KEV_DL_IF_DETACHING = 10 // net_kev.h:64:1: + KEV_DL_IF_IDLE_ROUTE_REFCNT = 18 // net_kev.h:72:1: + KEV_DL_ISSUES = 24 // net_kev.h:78:1: + KEV_DL_LINK_ADDRESS_CHANGED = 16 // net_kev.h:70:1: + KEV_DL_LINK_OFF = 12 // net_kev.h:66:1: + KEV_DL_LINK_ON = 13 // net_kev.h:67:1: + KEV_DL_LINK_QUALITY_METRIC_CHANGED = 20 // net_kev.h:74:1: + KEV_DL_LOW_POWER_MODE_CHANGED = 30 // net_kev.h:84:1: + KEV_DL_NODE_ABSENCE = 22 // net_kev.h:76:1: + KEV_DL_NODE_PRESENCE = 21 // net_kev.h:75:1: + KEV_DL_PRIMARY_ELECTED = 23 // net_kev.h:77:1: + KEV_DL_PROTO_ATTACHED = 14 // net_kev.h:68:1: + KEV_DL_PROTO_DETACHED = 15 // net_kev.h:69:1: + KEV_DL_QOS_MODE_CHANGED = 29 // net_kev.h:83:1: + KEV_DL_RRC_STATE_CHANGED = 28 // net_kev.h:82:1: + KEV_DL_SIFFLAGS = 1 // net_kev.h:55:1: + KEV_DL_SIFGENERIC = 6 // net_kev.h:60:1: + KEV_DL_SIFMEDIA = 5 // net_kev.h:59:1: + KEV_DL_SIFMETRICS = 2 // net_kev.h:56:1: + KEV_DL_SIFMTU = 3 // net_kev.h:57:1: + KEV_DL_SIFPHYS = 4 // net_kev.h:58:1: + KEV_DL_SUBCLASS = 2 // net_kev.h:50:1: + KEV_DL_WAKEFLAGS_CHANGED = 17 // net_kev.h:71:1: + KEV_INET6_ADDR_DELETED = 3 // net_kev.h:93:1: + KEV_INET6_CHANGED_ADDR = 2 // net_kev.h:92:1: + KEV_INET6_DEFROUTER = 6 // net_kev.h:96:1: + KEV_INET6_NEW_LL_ADDR = 4 // net_kev.h:94:1: + KEV_INET6_NEW_RTADV_ADDR = 5 // net_kev.h:95:1: + KEV_INET6_NEW_USER_ADDR = 1 // net_kev.h:91:1: + KEV_INET6_REQUEST_NAT64_PREFIX = 7 // net_kev.h:97:1: + KEV_INET6_SUBCLASS = 6 // net_kev.h:89:1: + KEV_INET_ADDR_DELETED = 3 // net_kev.h:39:1: + KEV_INET_ARPCOLLISION = 7 // net_kev.h:43:1: + KEV_INET_ARPRTRALIVE = 10 // net_kev.h:48:1: + KEV_INET_ARPRTRFAILURE = 9 // net_kev.h:47:1: + KEV_INET_CHANGED_ADDR = 2 // net_kev.h:38:1: + KEV_INET_NEW_ADDR = 1 // net_kev.h:37:1: + KEV_INET_PORTINUSE = 8 // net_kev.h:45:1: + KEV_INET_SIFBRDADDR = 5 // net_kev.h:41:1: + KEV_INET_SIFDSTADDR = 4 // net_kev.h:40:1: + KEV_INET_SIFNETMASK = 6 // net_kev.h:42:1: + KEV_INET_SUBCLASS = 1 // net_kev.h:35:1: + LITTLE_ENDIAN = 1234 // endian.h:71:1: + MAC_OS_VERSION_11_0 = 110000 // AvailabilityVersions.h:238:1: + MAC_OS_VERSION_12_0 = 120000 // AvailabilityVersions.h:239:1: + MAC_OS_X_VERSION_10_0 = 1000 // AvailabilityVersions.h:206:1: + MAC_OS_X_VERSION_10_1 = 1010 // AvailabilityVersions.h:207:1: + MAC_OS_X_VERSION_10_10 = 101000 // AvailabilityVersions.h:216:1: + MAC_OS_X_VERSION_10_10_2 = 101002 // AvailabilityVersions.h:217:1: + MAC_OS_X_VERSION_10_10_3 = 101003 // AvailabilityVersions.h:218:1: + MAC_OS_X_VERSION_10_11 = 101100 // AvailabilityVersions.h:219:1: + MAC_OS_X_VERSION_10_11_2 = 101102 // AvailabilityVersions.h:220:1: + MAC_OS_X_VERSION_10_11_3 = 101103 // AvailabilityVersions.h:221:1: + MAC_OS_X_VERSION_10_11_4 = 101104 // AvailabilityVersions.h:222:1: + MAC_OS_X_VERSION_10_12 = 101200 // AvailabilityVersions.h:223:1: + MAC_OS_X_VERSION_10_12_1 = 101201 // AvailabilityVersions.h:224:1: + MAC_OS_X_VERSION_10_12_2 = 101202 // AvailabilityVersions.h:225:1: + MAC_OS_X_VERSION_10_12_4 = 101204 // AvailabilityVersions.h:226:1: + MAC_OS_X_VERSION_10_13 = 101300 // AvailabilityVersions.h:227:1: + MAC_OS_X_VERSION_10_13_1 = 101301 // AvailabilityVersions.h:228:1: + MAC_OS_X_VERSION_10_13_2 = 101302 // AvailabilityVersions.h:229:1: + MAC_OS_X_VERSION_10_13_4 = 101304 // AvailabilityVersions.h:230:1: + MAC_OS_X_VERSION_10_14 = 101400 // AvailabilityVersions.h:231:1: + MAC_OS_X_VERSION_10_14_1 = 101401 // AvailabilityVersions.h:232:1: + MAC_OS_X_VERSION_10_14_4 = 101404 // AvailabilityVersions.h:233:1: + MAC_OS_X_VERSION_10_14_6 = 101406 // AvailabilityVersions.h:234:1: + MAC_OS_X_VERSION_10_15 = 101500 // AvailabilityVersions.h:235:1: + MAC_OS_X_VERSION_10_15_1 = 101501 // AvailabilityVersions.h:236:1: + MAC_OS_X_VERSION_10_16 = 101600 // AvailabilityVersions.h:237:1: + MAC_OS_X_VERSION_10_2 = 1020 // AvailabilityVersions.h:208:1: + MAC_OS_X_VERSION_10_3 = 1030 // AvailabilityVersions.h:209:1: + MAC_OS_X_VERSION_10_4 = 1040 // AvailabilityVersions.h:210:1: + MAC_OS_X_VERSION_10_5 = 1050 // AvailabilityVersions.h:211:1: + MAC_OS_X_VERSION_10_6 = 1060 // AvailabilityVersions.h:212:1: + MAC_OS_X_VERSION_10_7 = 1070 // AvailabilityVersions.h:213:1: + MAC_OS_X_VERSION_10_8 = 1080 // AvailabilityVersions.h:214:1: + MAC_OS_X_VERSION_10_9 = 1090 // AvailabilityVersions.h:215:1: + MSG_CTRUNC = 0x20 // socket.h:569:1: + MSG_DONTROUTE = 0x4 // socket.h:566:1: + MSG_DONTWAIT = 0x80 // socket.h:572:1: + MSG_EOF = 0x100 // socket.h:573:1: + MSG_EOR = 0x8 // socket.h:567:1: + MSG_FLUSH = 0x400 // socket.h:578:1: + MSG_HAVEMORE = 0x2000 // socket.h:581:1: + MSG_HOLD = 0x800 // socket.h:579:1: + MSG_NEEDSA = 0x10000 // socket.h:584:1: + MSG_NOSIGNAL = 0x80000 // socket.h:588:1: + MSG_OOB = 0x1 // socket.h:564:1: + MSG_PEEK = 0x2 // socket.h:565:1: + MSG_RCVMORE = 0x4000 // socket.h:582:1: + MSG_SEND = 0x1000 // socket.h:580:1: + MSG_TRUNC = 0x10 // socket.h:568:1: + MSG_WAITALL = 0x40 // socket.h:570:1: + MSG_WAITSTREAM = 0x200 // socket.h:576:1: + NBBY = 8 // types.h:186:1: + NETSVC_MRKNG_LVL_L2 = 1 // socket.h:287:1: + NETSVC_MRKNG_LVL_L3L2_ALL = 2 // socket.h:288:1: + NETSVC_MRKNG_LVL_L3L2_BK = 3 // socket.h:289:1: + NETSVC_MRKNG_UNKNOWN = 0 // socket.h:286:1: + NET_MAXID = 41 // socket.h:512:1: + NET_RT_DUMP = 1 // socket.h:525:1: + NET_RT_DUMP2 = 7 // socket.h:531:1: + NET_RT_FLAGS = 2 // socket.h:526:1: + NET_RT_FLAGS_PRIV = 10 // socket.h:536:1: + NET_RT_IFLIST = 3 // socket.h:527:1: + NET_RT_IFLIST2 = 6 // socket.h:530:1: + NET_RT_MAXID = 11 // socket.h:537:1: + NET_RT_STAT = 4 // socket.h:528:1: + NET_RT_TRASH = 5 // socket.h:529:1: + NET_SERVICE_TYPE_AV = 6 // socket.h:280:1: + NET_SERVICE_TYPE_BE = 0 // socket.h:274:1: + NET_SERVICE_TYPE_BK = 1 // socket.h:275:1: + NET_SERVICE_TYPE_OAM = 7 // socket.h:281:1: + NET_SERVICE_TYPE_RD = 8 // socket.h:282:1: + NET_SERVICE_TYPE_RV = 5 // socket.h:279:1: + NET_SERVICE_TYPE_SIG = 2 // socket.h:276:1: + NET_SERVICE_TYPE_VI = 3 // socket.h:277:1: + NET_SERVICE_TYPE_VO = 4 // socket.h:278:1: + PDP_ENDIAN = 3412 // endian.h:73:1: + PF_APPLETALK = 16 // socket.h:474:1: + PF_CCITT = 10 // socket.h:468:1: + PF_CHAOS = 5 // socket.h:462:1: + PF_CNT = 21 // socket.h:479:1: + PF_COIP = 20 // socket.h:478:1: + PF_DATAKIT = 9 // socket.h:467:1: + PF_DECnet = 12 // socket.h:470:1: + PF_DLI = 13 // socket.h:471:1: + PF_ECMA = 8 // socket.h:466:1: + PF_HYLINK = 15 // socket.h:473:1: + PF_IMPLINK = 3 // socket.h:460:1: + PF_INET = 2 // socket.h:459:1: + PF_INET6 = 30 // socket.h:487:1: + PF_IPX = 23 // socket.h:481:1: + PF_ISDN = 28 // socket.h:485:1: + PF_ISO = 7 // socket.h:464:1: + PF_KEY = 29 // socket.h:486:1: + PF_LAT = 14 // socket.h:472:1: + PF_LINK = 18 // socket.h:476:1: + PF_LOCAL = 1 // socket.h:457:1: + PF_MAX = 41 // socket.h:495:1: + PF_NATM = 31 // socket.h:488:1: + PF_NDRV = 27 // socket.h:484:1: + PF_NETBIOS = 33 // socket.h:490:1: + PF_NS = 6 // socket.h:463:1: + PF_OSI = 7 // socket.h:465:1: + PF_PIP = 25 // socket.h:483:1: + PF_PPP = 34 // socket.h:491:1: + PF_PUP = 4 // socket.h:461:1: + PF_RESERVED_36 = 36 // socket.h:492:1: + PF_ROUTE = 17 // socket.h:475:1: + PF_RTIP = 22 // socket.h:482:1: + PF_SIP = 24 // socket.h:480:1: + PF_SNA = 11 // socket.h:469:1: + PF_SYSTEM = 32 // socket.h:489:1: + PF_UNIX = 1 // socket.h:458:1: + PF_UNSPEC = 0 // socket.h:456:1: + PF_UTUN = 38 // socket.h:493:1: + PF_VSOCK = 40 // socket.h:494:1: + PF_XTP = 19 // socket.h:477:1: + PTRDIFF_MAX = 9223372036854775807 // stdint.h:652:1: + PTRDIFF_MIN = -9223372036854775808 // stdint.h:651:1: + RSIZE_MAX = 9223372036854775807 // stdint.h:658:1: + SAE_ASSOCID_ANY = 0 // socket.h:294:1: + SAE_CONNID_ANY = 0 // socket.h:298:1: + SCM_CREDS = 0x03 // socket.h:674:1: + SCM_RIGHTS = 0x01 // socket.h:671:1: + SCM_TIMESTAMP = 0x02 // socket.h:673:1: + SCM_TIMESTAMP_MONOTONIC = 0x04 // socket.h:675:1: + SHUT_RD = 0 // socket.h:683:1: + SHUT_RDWR = 2 // socket.h:685:1: + SHUT_WR = 1 // socket.h:684:1: + SIG_ATOMIC_MAX = 2147483647 // stdint.h:668:1: + SIG_ATOMIC_MIN = -2147483648 // stdint.h:667:1: + SIZE_MAX = 18446744073709551615 // stdint.h:653:1: + SOCK_DGRAM = 2 // socket.h:113:1: + SOCK_MAXADDRLEN = 255 // socket.h:419:1: + SOCK_RAW = 3 // socket.h:114:1: + SOCK_RDM = 4 // socket.h:116:1: + SOCK_SEQPACKET = 5 // socket.h:118:1: + SOCK_STREAM = 1 // socket.h:112:1: + SOL_SOCKET = 0xffff // socket.h:352:1: + SOMAXCONN = 128 // socket.h:546:1: + SONPX_SETOPTSHUT = 0x000000001 // socket.h:342:1: + SO_ACCEPTCONN = 0x0002 // socket.h:124:1: + SO_BROADCAST = 0x0020 // socket.h:128:1: + SO_DEBUG = 0x0001 // socket.h:123:1: + SO_DONTROUTE = 0x0010 // socket.h:127:1: + SO_DONTTRUNC = 0x2000 // socket.h:143:1: + SO_ERROR = 0x1007 // socket.h:161:1: + SO_KEEPALIVE = 0x0008 // socket.h:126:1: + SO_LABEL = 0x1010 // socket.h:164:1: + SO_LINGER = 0x0080 // socket.h:131:1: + SO_LINGER_SEC = 0x1080 // socket.h:177:1: + SO_NETSVC_MARKING_LEVEL = 0x1119 // socket.h:186:1: + SO_NET_SERVICE_TYPE = 0x1116 // socket.h:183:1: + SO_NKE = 0x1021 // socket.h:168:1: + SO_NOADDRERR = 0x1023 // socket.h:170:1: + SO_NOSIGPIPE = 0x1022 // socket.h:169:1: + SO_NOTIFYCONFLICT = 0x1026 // socket.h:174:1: + SO_NP_EXTENSIONS = 0x1083 // socket.h:179:1: + SO_NREAD = 0x1020 // socket.h:167:1: + SO_NUMRCVPKT = 0x1112 // socket.h:182:1: + SO_NWRITE = 0x1024 // socket.h:171:1: + SO_OOBINLINE = 0x0100 // socket.h:135:1: + SO_PEERLABEL = 0x1011 // socket.h:165:1: + SO_RANDOMPORT = 0x1082 // socket.h:178:1: + SO_RCVBUF = 0x1002 // socket.h:156:1: + SO_RCVLOWAT = 0x1004 // socket.h:158:1: + SO_RCVTIMEO = 0x1006 // socket.h:160:1: + SO_REUSEADDR = 0x0004 // socket.h:125:1: + SO_REUSEPORT = 0x0200 // socket.h:137:1: + SO_REUSESHAREUID = 0x1025 // socket.h:172:1: + SO_SNDBUF = 0x1001 // socket.h:155:1: + SO_SNDLOWAT = 0x1003 // socket.h:157:1: + SO_SNDTIMEO = 0x1005 // socket.h:159:1: + SO_TIMESTAMP = 0x0400 // socket.h:138:1: + SO_TIMESTAMP_MONOTONIC = 0x0800 // socket.h:139:1: + SO_TYPE = 0x1008 // socket.h:162:1: + SO_UPCALLCLOSEWAIT = 0x1027 // socket.h:175:1: + SO_USELOOPBACK = 0x0040 // socket.h:130:1: + SO_WANTMORE = 0x4000 // socket.h:145:1: + SO_WANTOOBFLAG = 0x8000 // socket.h:146:1: + UINT16_MAX = 65535 // stdint.h:601:1: + UINT32_MAX = 4294967295 // stdint.h:557:1: + UINT64_MAX = 18446744073709551615 // stdint.h:463:1: + UINT8_MAX = 255 // stdint.h:623:1: + UINTMAX_MAX = 18446744073709551615 // stdint.h:664:1: + UINTPTR_MAX = 18446744073709551615 // stdint.h:650:1: + UINT_FAST16_MAX = 65535 // stdint.h:616:1: + UINT_FAST32_MAX = 4294967295 // stdint.h:575:1: + UINT_FAST64_MAX = 18446744073709551615 // stdint.h:484:1: + UINT_FAST8_MAX = 255 // stdint.h:635:1: + UINT_LEAST16_MAX = 65535 // stdint.h:613:1: + UINT_LEAST32_MAX = 4294967295 // stdint.h:572:1: + UINT_LEAST64_MAX = 18446744073709551615 // stdint.h:481:1: + UINT_LEAST8_MAX = 255 // stdint.h:632:1: + WCHAR_MAX = 2147483647 // stdint.h:678:1: + WCHAR_MIN = -2147483648 // stdint.h:682:1: + WINT_MAX = 2147483647 // stdint.h:674:1: + WINT_MIN = -2147483648 // stdint.h:673:1: + X_ARM_ARCH_H = 0 // arch.h:29:1: + X_ARM_MACHTYPES_H_ = 0 // types.h:43:1: + X_ARM__ENDIAN_H_ = 0 // endian.h:43:1: + X_ARM__PARAM_H_ = 0 // _param.h:6:1: + X_BLKCNT_T = 0 // _blkcnt_t.h:29:1: + X_BLKSIZE_T = 0 // _blksize_t.h:29:1: + X_BSD_ARM__TYPES_H_ = 0 // _types.h:5:1: + X_BSD_MACHINE_ENDIAN_H_ = 0 // endian.h:32:1: + X_BSD_MACHINE_TYPES_H_ = 0 // types.h:32:1: + X_BSD_MACHINE__PARAM_H_ = 0 // _param.h:29:1: + X_BSD_MACHINE__TYPES_H_ = 0 // _types.h:29:1: + X_CADDR_T = 0 // _caddr_t.h:29:1: + X_CDEFS_H_ = 0 // cdefs.h:68:1: + X_CLOCK_T = 0 // _clock_t.h:29:1: + X_DARWIN_FEATURE_64_BIT_INODE = 1 // cdefs.h:774:1: + X_DARWIN_FEATURE_ONLY_64_BIT_INODE = 1 // cdefs.h:784:1: + X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1 // cdefs.h:800:1: + X_DARWIN_FEATURE_ONLY_VERS_1050 = 1 // cdefs.h:792:1: + X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3 // cdefs.h:808:1: + X_DEV_T = 0 // _dev_t.h:29:1: + X_ERRNO_T = 0 // _errno_t.h:29:1: + X_FD_SET = 0 // _fd_def.h:29:1: + X_FILE_OFFSET_BITS = 64 // <builtin>:25:1: + X_FSBLKCNT_T = 0 // _fsblkcnt_t.h:29:1: + X_FSFILCNT_T = 0 // _fsfilcnt_t.h:29:1: + X_GID_T = 0 // _gid_t.h:29:1: + X_ID_T = 0 // _id_t.h:29:1: + X_INO64_T = 0 // _ino64_t.h:29:1: + X_INO_T = 0 // _ino_t.h:29:1: + X_INT16_T = 0 // _int16_t.h:29:1: + X_INT32_T = 0 // _int32_t.h:29:1: + X_INT64_T = 0 // _int64_t.h:29:1: + X_INT8_T = 0 // _int8_t.h:29:1: + X_INTPTR_T = 0 // _intptr_t.h:29:1: + X_IN_ADDR_T = 0 // _in_addr_t.h:29:1: + X_IN_PORT_T = 0 // _in_port_t.h:29:1: + X_KEY_T = 0 // _key_t.h:29:1: + X_LP64 = 1 // <predefined>:1:1: + X_MACHTYPES_H_ = 0 // types.h:44:1: + X_MODE_T = 0 // _mode_t.h:29:1: + X_NET_NETKEV_H_ = 0 // net_kev.h:30:1: + X_NLINK_T = 0 // _nlink_t.h:29:1: + X_Nonnull = 0 // cdefs.h:268:1: + X_Null_unspecified = 0 // cdefs.h:271:1: + X_Nullable = 0 // cdefs.h:265:1: + X_OFF_T = 0 // _off_t.h:29:1: + X_OS_OSBYTEORDERARM_H = 0 // OSByteOrder.h:6:1: + X_OS__OSBYTEORDER_H = 0 // _OSByteOrder.h:30:1: + X_PID_T = 0 // _pid_t.h:29:1: + X_PTHREAD_ATTR_T = 0 // _pthread_attr_t.h:29:1: + X_PTHREAD_CONDATTR_T = 0 // _pthread_condattr_t.h:29:1: + X_PTHREAD_COND_T = 0 // _pthread_cond_t.h:29:1: + X_PTHREAD_KEY_T = 0 // _pthread_key_t.h:29:1: + X_PTHREAD_MUTEXATTR_T = 0 // _pthread_mutexattr_t.h:29:1: + X_PTHREAD_MUTEX_T = 0 // _pthread_mutex_t.h:29:1: + X_PTHREAD_ONCE_T = 0 // _pthread_once_t.h:29:1: + X_PTHREAD_RWLOCKATTR_T = 0 // _pthread_rwlockattr_t.h:29:1: + X_PTHREAD_RWLOCK_T = 0 // _pthread_rwlock_t.h:29:1: + X_PTHREAD_T = 0 // _pthread_t.h:29:1: + X_QUAD_HIGHWORD = 1 // endian.h:56:1: + X_QUAD_LOWWORD = 0 // endian.h:57:1: + X_RSIZE_T = 0 // _rsize_t.h:29:1: + X_SA_FAMILY_T = 0 // _sa_family_t.h:29:1: + X_SIZE_T = 0 // _size_t.h:29:1: + X_SOCKLEN_T = 0 // _socklen_t.h:29:1: + X_SSIZE_T = 0 // _ssize_t.h:29:1: + X_SS_MAXSIZE = 128 // socket.h:434:1: + X_STRUCT_IOVEC = 0 // _iovec_t.h:29:1: + X_SUSECONDS_T = 0 // _suseconds_t.h:29:1: + X_SYS_SOCKET_H_ = 0 // socket.h:73:1: + X_SYS_TYPES_H_ = 0 // types.h:70:1: + X_SYS__ENDIAN_H_ = 0 // _endian.h:91:1: + X_SYS__PTHREAD_TYPES_H_ = 0 // _pthread_types.h:30:1: + X_SYS__TYPES_H_ = 0 // _types.h:30:1: + X_TIME_T = 0 // _time_t.h:29:1: + X_UID_T = 0 // _uid_t.h:29:1: + X_UINTPTR_T = 0 // _uintptr_t.h:29:1: + X_USECONDS_T = 0 // _useconds_t.h:29:1: + X_U_CHAR = 0 // _u_char.h:29:1: + X_U_INT = 0 // _u_int.h:29:1: + X_U_INT16_T = 0 // _u_int16_t.h:29:1: + X_U_INT32_T = 0 // _u_int32_t.h:29:1: + X_U_INT64_T = 0 // _u_int64_t.h:29:1: + X_U_INT8_T = 0 // _u_int8_t.h:29:1: + X_U_LONG = 0 // types.h:89:1: + X_U_SHORT = 0 // _u_short.h:29:1: + Pseudo_AF_HDRCMPLT = 35 // socket.h:400:1: + Pseudo_AF_KEY = 29 // socket.h:392:1: + Pseudo_AF_PIP = 25 // socket.h:388:1: + Pseudo_AF_RTIP = 22 // socket.h:385:1: + Pseudo_AF_XTP = 19 // socket.h:382:1: ) type Ptrdiff_t = int64 /* <builtin>:3:26 */ @@ -966,6 +966,20 @@ var X__darwin_check_fd_set_overflow uintptr /* <builtin>:146:5: */ // __XNU_PRIVATE_EXTERN is a linkage decoration indicating that a symbol can be // used from other compilation units, but not other libraries or executables. +// We intentionally define to nothing pointer attributes which do not have an +// impact on the ABI. __indexable and __bidi_indexable are not defined because +// of the ABI incompatibility that makes the diagnostic preferable. + +// Similarly, we intentionally define to nothing the +// __ptrcheck_abi_assume_single and __ptrcheck_abi_assume_unsafe_indexable +// macros because they do not lead to an ABI incompatibility. However, we do not +// define the indexable and unsafe_indexable ones because the diagnostic is +// better than the silent ABI break. + +// __unsafe_forge intrinsics are defined as regular C casts. + +// decay operates normally; attribute is meaningless without pointer checks. + // Architecture validation for current SDK // Similar to OS_ENUM/OS_CLOSED_ENUM/OS_OPTIONS/OS_CLOSED_OPTIONS diff --git a/vendor/modernc.org/libc/sys/socket/socket_linux_amd64.go b/vendor/modernc.org/libc/sys/socket/socket_linux_amd64.go index eef52f84..aab68539 100644 --- a/vendor/modernc.org/libc/sys/socket/socket_linux_amd64.go +++ b/vendor/modernc.org/libc/sys/socket/socket_linux_amd64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo sys/socket/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o sys/socket/socket_linux_amd64.go -pkgname socket', DO NOT EDIT. +// Code generated by 'ccgo sys/socket/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o sys/socket/socket_linux_amd64.go -pkgname socket', DO NOT EDIT. package socket @@ -15,267 +15,267 @@ var _ atomic.Value var _ unsafe.Pointer const ( - AF_ALG = 38 - AF_APPLETALK = 5 - AF_ASH = 18 - AF_ATMPVC = 8 - AF_ATMSVC = 20 - AF_AX25 = 3 - AF_BLUETOOTH = 31 - AF_BRIDGE = 7 - AF_CAIF = 37 - AF_CAN = 29 - AF_DECnet = 12 - AF_ECONET = 19 - AF_FILE = 1 - AF_IB = 27 - AF_IEEE802154 = 36 - AF_INET = 2 - AF_INET6 = 10 - AF_IPX = 4 - AF_IRDA = 23 - AF_ISDN = 34 - AF_IUCV = 32 - AF_KCM = 41 - AF_KEY = 15 - AF_LLC = 26 - AF_LOCAL = 1 - AF_MAX = 45 - AF_MPLS = 28 - AF_NETBEUI = 13 - AF_NETLINK = 16 - AF_NETROM = 6 - AF_NFC = 39 - AF_PACKET = 17 - AF_PHONET = 35 - AF_PPPOX = 24 - AF_QIPCRTR = 42 - AF_RDS = 21 - AF_ROSE = 11 - AF_ROUTE = 16 - AF_RXRPC = 33 - AF_SECURITY = 14 - AF_SMC = 43 - AF_SNA = 22 - AF_TIPC = 30 - AF_UNIX = 1 - AF_UNSPEC = 0 - AF_VSOCK = 40 - AF_WANPIPE = 25 - AF_X25 = 9 - AF_XDP = 44 - BIG_ENDIAN = 4321 - BYTE_ORDER = 1234 - FD_SETSIZE = 1024 - FIOGETOWN = 0x8903 - FIOSETOWN = 0x8901 - LITTLE_ENDIAN = 1234 - PDP_ENDIAN = 3412 - PF_ALG = 38 - PF_APPLETALK = 5 - PF_ASH = 18 - PF_ATMPVC = 8 - PF_ATMSVC = 20 - PF_AX25 = 3 - PF_BLUETOOTH = 31 - PF_BRIDGE = 7 - PF_CAIF = 37 - PF_CAN = 29 - PF_DECnet = 12 - PF_ECONET = 19 - PF_FILE = 1 - PF_IB = 27 - PF_IEEE802154 = 36 - PF_INET = 2 - PF_INET6 = 10 - PF_IPX = 4 - PF_IRDA = 23 - PF_ISDN = 34 - PF_IUCV = 32 - PF_KCM = 41 - PF_KEY = 15 - PF_LLC = 26 - PF_LOCAL = 1 - PF_MAX = 45 - PF_MPLS = 28 - PF_NETBEUI = 13 - PF_NETLINK = 16 - PF_NETROM = 6 - PF_NFC = 39 - PF_PACKET = 17 - PF_PHONET = 35 - PF_PPPOX = 24 - PF_QIPCRTR = 42 - PF_RDS = 21 - PF_ROSE = 11 - PF_ROUTE = 16 - PF_RXRPC = 33 - PF_SECURITY = 14 - PF_SMC = 43 - PF_SNA = 22 - PF_TIPC = 30 - PF_UNIX = 1 - PF_UNSPEC = 0 - PF_VSOCK = 40 - PF_WANPIPE = 25 - PF_X25 = 9 - PF_XDP = 44 - SCM_TIMESTAMP = 29 - SCM_TIMESTAMPING = 37 - SCM_TIMESTAMPING_OPT_STATS = 54 - SCM_TIMESTAMPING_PKTINFO = 58 - SCM_TIMESTAMPNS = 35 - SCM_TXTIME = 61 - SCM_WIFI_STATUS = 41 - SIOCATMARK = 0x8905 - SIOCGPGRP = 0x8904 - SIOCGSTAMP = 0x8906 - SIOCGSTAMPNS = 0x8907 - SIOCSPGRP = 0x8902 - SOL_AAL = 265 - SOL_ALG = 279 - SOL_ATM = 264 - SOL_BLUETOOTH = 274 - SOL_CAIF = 278 - SOL_DCCP = 269 - SOL_DECNET = 261 - SOL_IRDA = 266 - SOL_IUCV = 277 - SOL_KCM = 281 - SOL_LLC = 268 - SOL_NETBEUI = 267 - SOL_NETLINK = 270 - SOL_NFC = 280 - SOL_PACKET = 263 - SOL_PNPIPE = 275 - SOL_PPPOL2TP = 273 - SOL_RAW = 255 - SOL_RDS = 276 - SOL_RXRPC = 272 - SOL_SOCKET = 1 - SOL_TIPC = 271 - SOL_TLS = 282 - SOL_X25 = 262 - SOL_XDP = 283 - SOMAXCONN = 4096 - SO_ACCEPTCONN = 30 - SO_ATTACH_BPF = 50 - SO_ATTACH_FILTER = 26 - SO_ATTACH_REUSEPORT_CBPF = 51 - SO_ATTACH_REUSEPORT_EBPF = 52 - SO_BINDTODEVICE = 25 - SO_BINDTOIFINDEX = 62 - SO_BPF_EXTENSIONS = 48 - SO_BROADCAST = 6 - SO_BSDCOMPAT = 14 - SO_BUSY_POLL = 46 - SO_CNX_ADVICE = 53 - SO_COOKIE = 57 - SO_DEBUG = 1 - SO_DETACH_BPF = 27 - SO_DETACH_FILTER = 27 - SO_DETACH_REUSEPORT_BPF = 68 - SO_DOMAIN = 39 - SO_DONTROUTE = 5 - SO_ERROR = 4 - SO_GET_FILTER = 26 - SO_INCOMING_CPU = 49 - SO_INCOMING_NAPI_ID = 56 - SO_KEEPALIVE = 9 - SO_LINGER = 13 - SO_LOCK_FILTER = 44 - SO_MARK = 36 - SO_MAX_PACING_RATE = 47 - SO_MEMINFO = 55 - SO_NOFCS = 43 - SO_NO_CHECK = 11 - SO_OOBINLINE = 10 - SO_PASSCRED = 16 - SO_PASSSEC = 34 - SO_PEEK_OFF = 42 - SO_PEERCRED = 17 - SO_PEERGROUPS = 59 - SO_PEERNAME = 28 - SO_PEERSEC = 31 - SO_PRIORITY = 12 - SO_PROTOCOL = 38 - SO_RCVBUF = 8 - SO_RCVBUFFORCE = 33 - SO_RCVLOWAT = 18 - SO_RCVTIMEO = 20 - SO_RCVTIMEO_NEW = 66 - SO_RCVTIMEO_OLD = 20 - SO_REUSEADDR = 2 - SO_REUSEPORT = 15 - SO_RXQ_OVFL = 40 - SO_SECURITY_AUTHENTICATION = 22 - SO_SECURITY_ENCRYPTION_NETWORK = 24 - SO_SECURITY_ENCRYPTION_TRANSPORT = 23 - SO_SELECT_ERR_QUEUE = 45 - SO_SNDBUF = 7 - SO_SNDBUFFORCE = 32 - SO_SNDLOWAT = 19 - SO_SNDTIMEO = 21 - SO_SNDTIMEO_NEW = 67 - SO_SNDTIMEO_OLD = 21 - SO_TIMESTAMP = 29 - SO_TIMESTAMPING = 37 - SO_TIMESTAMPING_NEW = 65 - SO_TIMESTAMPING_OLD = 37 - SO_TIMESTAMPNS = 35 - SO_TIMESTAMPNS_NEW = 64 - SO_TIMESTAMPNS_OLD = 35 - SO_TIMESTAMP_NEW = 63 - SO_TIMESTAMP_OLD = 29 - SO_TXTIME = 61 - SO_TYPE = 3 - SO_WIFI_STATUS = 41 - SO_ZEROCOPY = 60 - X_ASM_X86_POSIX_TYPES_64_H = 0 - X_ATFILE_SOURCE = 1 - X_BITS_BYTESWAP_H = 1 - X_BITS_ENDIANNESS_H = 1 - X_BITS_ENDIAN_H = 1 - X_BITS_PTHREADTYPES_ARCH_H = 1 - X_BITS_PTHREADTYPES_COMMON_H = 1 - X_BITS_SOCKADDR_H = 1 - X_BITS_STDINT_INTN_H = 1 - X_BITS_TIME64_H = 1 - X_BITS_TYPESIZES_H = 1 - X_BITS_TYPES_H = 1 - X_BITS_UINTN_IDENTITY_H = 1 - X_BSD_SIZE_T_ = 0 - X_BSD_SIZE_T_DEFINED_ = 0 - X_DEFAULT_SOURCE = 1 - X_ENDIAN_H = 1 - X_FEATURES_H = 1 - X_FILE_OFFSET_BITS = 64 - X_GCC_SIZE_T = 0 - X_LINUX_POSIX_TYPES_H = 0 - X_LP64 = 1 - X_POSIX_C_SOURCE = 200809 - X_POSIX_SOURCE = 1 - X_RWLOCK_INTERNAL_H = 0 - X_SIZET_ = 0 - X_SIZE_T = 0 - X_SIZE_T_ = 0 - X_SIZE_T_DECLARED = 0 - X_SIZE_T_DEFINED = 0 - X_SIZE_T_DEFINED_ = 0 - X_SS_SIZE = 128 - X_STDC_PREDEF_H = 1 - X_STRUCT_TIMESPEC = 1 - X_SYS_CDEFS_H = 1 - X_SYS_SELECT_H = 1 - X_SYS_SIZE_T_H = 0 - X_SYS_SOCKET_H = 1 - X_SYS_TYPES_H = 1 - X_THREAD_MUTEX_INTERNAL_H = 1 - X_THREAD_SHARED_TYPES_H = 1 - X_T_SIZE = 0 - X_T_SIZE_ = 0 - Linux = 1 - Unix = 1 + AF_ALG = 38 // socket.h:133:1: + AF_APPLETALK = 5 // socket.h:99:1: + AF_ASH = 18 // socket.h:113:1: + AF_ATMPVC = 8 // socket.h:102:1: + AF_ATMSVC = 20 // socket.h:115:1: + AF_AX25 = 3 // socket.h:97:1: + AF_BLUETOOTH = 31 // socket.h:126:1: + AF_BRIDGE = 7 // socket.h:101:1: + AF_CAIF = 37 // socket.h:132:1: + AF_CAN = 29 // socket.h:124:1: + AF_DECnet = 12 // socket.h:106:1: + AF_ECONET = 19 // socket.h:114:1: + AF_FILE = 1 // socket.h:95:1: + AF_IB = 27 // socket.h:122:1: + AF_IEEE802154 = 36 // socket.h:131:1: + AF_INET = 2 // socket.h:96:1: + AF_INET6 = 10 // socket.h:104:1: + AF_IPX = 4 // socket.h:98:1: + AF_IRDA = 23 // socket.h:118:1: + AF_ISDN = 34 // socket.h:129:1: + AF_IUCV = 32 // socket.h:127:1: + AF_KCM = 41 // socket.h:136:1: + AF_KEY = 15 // socket.h:109:1: + AF_LLC = 26 // socket.h:121:1: + AF_LOCAL = 1 // socket.h:93:1: + AF_MAX = 45 // socket.h:140:1: + AF_MPLS = 28 // socket.h:123:1: + AF_NETBEUI = 13 // socket.h:107:1: + AF_NETLINK = 16 // socket.h:110:1: + AF_NETROM = 6 // socket.h:100:1: + AF_NFC = 39 // socket.h:134:1: + AF_PACKET = 17 // socket.h:112:1: + AF_PHONET = 35 // socket.h:130:1: + AF_PPPOX = 24 // socket.h:119:1: + AF_QIPCRTR = 42 // socket.h:137:1: + AF_RDS = 21 // socket.h:116:1: + AF_ROSE = 11 // socket.h:105:1: + AF_ROUTE = 16 // socket.h:111:1: + AF_RXRPC = 33 // socket.h:128:1: + AF_SECURITY = 14 // socket.h:108:1: + AF_SMC = 43 // socket.h:138:1: + AF_SNA = 22 // socket.h:117:1: + AF_TIPC = 30 // socket.h:125:1: + AF_UNIX = 1 // socket.h:94:1: + AF_UNSPEC = 0 // socket.h:92:1: + AF_VSOCK = 40 // socket.h:135:1: + AF_WANPIPE = 25 // socket.h:120:1: + AF_X25 = 9 // socket.h:103:1: + AF_XDP = 44 // socket.h:139:1: + BIG_ENDIAN = 4321 // endian.h:28:1: + BYTE_ORDER = 1234 // endian.h:30:1: + FD_SETSIZE = 1024 // select.h:73:1: + FIOGETOWN = 0x8903 // sockios.h:8:1: + FIOSETOWN = 0x8901 // sockios.h:6:1: + LITTLE_ENDIAN = 1234 // endian.h:27:1: + PDP_ENDIAN = 3412 // endian.h:29:1: + PF_ALG = 38 // socket.h:82:1: + PF_APPLETALK = 5 // socket.h:48:1: + PF_ASH = 18 // socket.h:62:1: + PF_ATMPVC = 8 // socket.h:51:1: + PF_ATMSVC = 20 // socket.h:64:1: + PF_AX25 = 3 // socket.h:46:1: + PF_BLUETOOTH = 31 // socket.h:75:1: + PF_BRIDGE = 7 // socket.h:50:1: + PF_CAIF = 37 // socket.h:81:1: + PF_CAN = 29 // socket.h:73:1: + PF_DECnet = 12 // socket.h:55:1: + PF_ECONET = 19 // socket.h:63:1: + PF_FILE = 1 // socket.h:44:1: + PF_IB = 27 // socket.h:71:1: + PF_IEEE802154 = 36 // socket.h:80:1: + PF_INET = 2 // socket.h:45:1: + PF_INET6 = 10 // socket.h:53:1: + PF_IPX = 4 // socket.h:47:1: + PF_IRDA = 23 // socket.h:67:1: + PF_ISDN = 34 // socket.h:78:1: + PF_IUCV = 32 // socket.h:76:1: + PF_KCM = 41 // socket.h:85:1: + PF_KEY = 15 // socket.h:58:1: + PF_LLC = 26 // socket.h:70:1: + PF_LOCAL = 1 // socket.h:42:1: + PF_MAX = 45 // socket.h:89:1: + PF_MPLS = 28 // socket.h:72:1: + PF_NETBEUI = 13 // socket.h:56:1: + PF_NETLINK = 16 // socket.h:59:1: + PF_NETROM = 6 // socket.h:49:1: + PF_NFC = 39 // socket.h:83:1: + PF_PACKET = 17 // socket.h:61:1: + PF_PHONET = 35 // socket.h:79:1: + PF_PPPOX = 24 // socket.h:68:1: + PF_QIPCRTR = 42 // socket.h:86:1: + PF_RDS = 21 // socket.h:65:1: + PF_ROSE = 11 // socket.h:54:1: + PF_ROUTE = 16 // socket.h:60:1: + PF_RXRPC = 33 // socket.h:77:1: + PF_SECURITY = 14 // socket.h:57:1: + PF_SMC = 43 // socket.h:87:1: + PF_SNA = 22 // socket.h:66:1: + PF_TIPC = 30 // socket.h:74:1: + PF_UNIX = 1 // socket.h:43:1: + PF_UNSPEC = 0 // socket.h:41:1: + PF_VSOCK = 40 // socket.h:84:1: + PF_WANPIPE = 25 // socket.h:69:1: + PF_X25 = 9 // socket.h:52:1: + PF_XDP = 44 // socket.h:88:1: + SCM_TIMESTAMP = 29 // socket.h:140:1: + SCM_TIMESTAMPING = 37 // socket.h:142:1: + SCM_TIMESTAMPING_OPT_STATS = 54 // socket.h:90:1: + SCM_TIMESTAMPING_PKTINFO = 58 // socket.h:98:1: + SCM_TIMESTAMPNS = 35 // socket.h:141:1: + SCM_TXTIME = 61 // socket.h:105:1: + SCM_WIFI_STATUS = 41 // socket.h:64:1: + SIOCATMARK = 0x8905 // sockios.h:10:1: + SIOCGPGRP = 0x8904 // sockios.h:9:1: + SIOCGSTAMP = 0x8906 // sockios.h:11:1: + SIOCGSTAMPNS = 0x8907 // sockios.h:12:1: + SIOCSPGRP = 0x8902 // sockios.h:7:1: + SOL_AAL = 265 // socket.h:151:1: + SOL_ALG = 279 // socket.h:165:1: + SOL_ATM = 264 // socket.h:150:1: + SOL_BLUETOOTH = 274 // socket.h:160:1: + SOL_CAIF = 278 // socket.h:164:1: + SOL_DCCP = 269 // socket.h:155:1: + SOL_DECNET = 261 // socket.h:147:1: + SOL_IRDA = 266 // socket.h:152:1: + SOL_IUCV = 277 // socket.h:163:1: + SOL_KCM = 281 // socket.h:167:1: + SOL_LLC = 268 // socket.h:154:1: + SOL_NETBEUI = 267 // socket.h:153:1: + SOL_NETLINK = 270 // socket.h:156:1: + SOL_NFC = 280 // socket.h:166:1: + SOL_PACKET = 263 // socket.h:149:1: + SOL_PNPIPE = 275 // socket.h:161:1: + SOL_PPPOL2TP = 273 // socket.h:159:1: + SOL_RAW = 255 // socket.h:146:1: + SOL_RDS = 276 // socket.h:162:1: + SOL_RXRPC = 272 // socket.h:158:1: + SOL_SOCKET = 1 // socket.h:9:1: + SOL_TIPC = 271 // socket.h:157:1: + SOL_TLS = 282 // socket.h:168:1: + SOL_X25 = 262 // socket.h:148:1: + SOL_XDP = 283 // socket.h:169:1: + SOMAXCONN = 4096 // socket.h:172:1: + SO_ACCEPTCONN = 30 // socket.h:51:1: + SO_ATTACH_BPF = 50 // socket.h:82:1: + SO_ATTACH_FILTER = 26 // socket.h:45:1: + SO_ATTACH_REUSEPORT_CBPF = 51 // socket.h:85:1: + SO_ATTACH_REUSEPORT_EBPF = 52 // socket.h:86:1: + SO_BINDTODEVICE = 25 // socket.h:42:1: + SO_BINDTOIFINDEX = 62 // socket.h:107:1: + SO_BPF_EXTENSIONS = 48 // socket.h:78:1: + SO_BROADCAST = 6 // socket.h:16:1: + SO_BSDCOMPAT = 14 // socket.h:26:1: + SO_BUSY_POLL = 46 // socket.h:74:1: + SO_CNX_ADVICE = 53 // socket.h:88:1: + SO_COOKIE = 57 // socket.h:96:1: + SO_DEBUG = 1 // socket.h:11:1: + SO_DETACH_BPF = 27 // socket.h:83:1: + SO_DETACH_FILTER = 27 // socket.h:46:1: + SO_DETACH_REUSEPORT_BPF = 68 // socket.h:120:1: + SO_DOMAIN = 39 // socket.h:59:1: + SO_DONTROUTE = 5 // socket.h:15:1: + SO_ERROR = 4 // socket.h:14:1: + SO_GET_FILTER = 26 // socket.h:47:1: + SO_INCOMING_CPU = 49 // socket.h:80:1: + SO_INCOMING_NAPI_ID = 56 // socket.h:94:1: + SO_KEEPALIVE = 9 // socket.h:21:1: + SO_LINGER = 13 // socket.h:25:1: + SO_LOCK_FILTER = 44 // socket.h:70:1: + SO_MARK = 36 // socket.h:56:1: + SO_MAX_PACING_RATE = 47 // socket.h:76:1: + SO_MEMINFO = 55 // socket.h:92:1: + SO_NOFCS = 43 // socket.h:68:1: + SO_NO_CHECK = 11 // socket.h:23:1: + SO_OOBINLINE = 10 // socket.h:22:1: + SO_PASSCRED = 16 // socket.h:29:1: + SO_PASSSEC = 34 // socket.h:54:1: + SO_PEEK_OFF = 42 // socket.h:65:1: + SO_PEERCRED = 17 // socket.h:30:1: + SO_PEERGROUPS = 59 // socket.h:100:1: + SO_PEERNAME = 28 // socket.h:49:1: + SO_PEERSEC = 31 // socket.h:53:1: + SO_PRIORITY = 12 // socket.h:24:1: + SO_PROTOCOL = 38 // socket.h:58:1: + SO_RCVBUF = 8 // socket.h:18:1: + SO_RCVBUFFORCE = 33 // socket.h:20:1: + SO_RCVLOWAT = 18 // socket.h:31:1: + SO_RCVTIMEO = 20 // socket.h:129:1: + SO_RCVTIMEO_NEW = 66 // socket.h:117:1: + SO_RCVTIMEO_OLD = 20 // socket.h:33:1: + SO_REUSEADDR = 2 // socket.h:12:1: + SO_REUSEPORT = 15 // socket.h:27:1: + SO_RXQ_OVFL = 40 // socket.h:61:1: + SO_SECURITY_AUTHENTICATION = 22 // socket.h:38:1: + SO_SECURITY_ENCRYPTION_NETWORK = 24 // socket.h:40:1: + SO_SECURITY_ENCRYPTION_TRANSPORT = 23 // socket.h:39:1: + SO_SELECT_ERR_QUEUE = 45 // socket.h:72:1: + SO_SNDBUF = 7 // socket.h:17:1: + SO_SNDBUFFORCE = 32 // socket.h:19:1: + SO_SNDLOWAT = 19 // socket.h:32:1: + SO_SNDTIMEO = 21 // socket.h:130:1: + SO_SNDTIMEO_NEW = 67 // socket.h:118:1: + SO_SNDTIMEO_OLD = 21 // socket.h:34:1: + SO_TIMESTAMP = 29 // socket.h:125:1: + SO_TIMESTAMPING = 37 // socket.h:127:1: + SO_TIMESTAMPING_NEW = 65 // socket.h:115:1: + SO_TIMESTAMPING_OLD = 37 // socket.h:111:1: + SO_TIMESTAMPNS = 35 // socket.h:126:1: + SO_TIMESTAMPNS_NEW = 64 // socket.h:114:1: + SO_TIMESTAMPNS_OLD = 35 // socket.h:110:1: + SO_TIMESTAMP_NEW = 63 // socket.h:113:1: + SO_TIMESTAMP_OLD = 29 // socket.h:109:1: + SO_TXTIME = 61 // socket.h:104:1: + SO_TYPE = 3 // socket.h:13:1: + SO_WIFI_STATUS = 41 // socket.h:63:1: + SO_ZEROCOPY = 60 // socket.h:102:1: + X_ASM_X86_POSIX_TYPES_64_H = 0 // posix_types_64.h:3:1: + X_ATFILE_SOURCE = 1 // features.h:342:1: + X_BITS_BYTESWAP_H = 1 // byteswap.h:24:1: + X_BITS_ENDIANNESS_H = 1 // endianness.h:2:1: + X_BITS_ENDIAN_H = 1 // endian.h:20:1: + X_BITS_PTHREADTYPES_ARCH_H = 1 // pthreadtypes-arch.h:19:1: + X_BITS_PTHREADTYPES_COMMON_H = 1 // pthreadtypes.h:20:1: + X_BITS_SOCKADDR_H = 1 // sockaddr.h:24:1: + X_BITS_STDINT_INTN_H = 1 // stdint-intn.h:20:1: + X_BITS_TIME64_H = 1 // time64.h:24:1: + X_BITS_TYPESIZES_H = 1 // typesizes.h:24:1: + X_BITS_TYPES_H = 1 // types.h:24:1: + X_BITS_UINTN_IDENTITY_H = 1 // uintn-identity.h:24:1: + X_BSD_SIZE_T_ = 0 // stddef.h:189:1: + X_BSD_SIZE_T_DEFINED_ = 0 // stddef.h:192:1: + X_DEFAULT_SOURCE = 1 // features.h:227:1: + X_ENDIAN_H = 1 // endian.h:19:1: + X_FEATURES_H = 1 // features.h:19:1: + X_FILE_OFFSET_BITS = 64 // <builtin>:25:1: + X_GCC_SIZE_T = 0 // stddef.h:195:1: + X_LINUX_POSIX_TYPES_H = 0 // posix_types.h:3:1: + X_LP64 = 1 // <predefined>:284:1: + X_POSIX_C_SOURCE = 200809 // features.h:281:1: + X_POSIX_SOURCE = 1 // features.h:279:1: + X_RWLOCK_INTERNAL_H = 0 // struct_rwlock.h:21:1: + X_SIZET_ = 0 // stddef.h:196:1: + X_SIZE_T = 0 // stddef.h:183:1: + X_SIZE_T_ = 0 // stddef.h:188:1: + X_SIZE_T_DECLARED = 0 // stddef.h:193:1: + X_SIZE_T_DEFINED = 0 // stddef.h:191:1: + X_SIZE_T_DEFINED_ = 0 // stddef.h:190:1: + X_SS_SIZE = 128 // sockaddr.h:40:1: + X_STDC_PREDEF_H = 1 // <predefined>:162:1: + X_STRUCT_TIMESPEC = 1 // struct_timespec.h:3:1: + X_SYS_CDEFS_H = 1 // cdefs.h:19:1: + X_SYS_SELECT_H = 1 // select.h:22:1: + X_SYS_SIZE_T_H = 0 // stddef.h:184:1: + X_SYS_SOCKET_H = 1 // socket.h:20:1: + X_SYS_TYPES_H = 1 // types.h:23:1: + X_THREAD_MUTEX_INTERNAL_H = 1 // struct_mutex.h:20:1: + X_THREAD_SHARED_TYPES_H = 1 // thread-shared-types.h:20:1: + X_T_SIZE = 0 // stddef.h:186:1: + X_T_SIZE_ = 0 // stddef.h:185:1: + Linux = 1 // <predefined>:231:1: + Unix = 1 // <predefined>:177:1: ) // Bits in the FLAGS argument to `send', `recv', et al. diff --git a/vendor/modernc.org/libc/sys/stat/capi_darwin_arm64.go b/vendor/modernc.org/libc/sys/stat/capi_darwin_arm64.go index 1835b3b1..934d8ff4 100644 --- a/vendor/modernc.org/libc/sys/stat/capi_darwin_arm64.go +++ b/vendor/modernc.org/libc/sys/stat/capi_darwin_arm64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo sys/stat/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o sys/stat/stat_darwin_arm64.go -pkgname stat', DO NOT EDIT. +// Code generated by 'ccgo sys/stat/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o sys/stat/stat_darwin_arm64.go -pkgname stat', DO NOT EDIT. package stat diff --git a/vendor/modernc.org/libc/sys/stat/capi_linux_amd64.go b/vendor/modernc.org/libc/sys/stat/capi_linux_amd64.go index 4b376b5c..7ab15123 100644 --- a/vendor/modernc.org/libc/sys/stat/capi_linux_amd64.go +++ b/vendor/modernc.org/libc/sys/stat/capi_linux_amd64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo sys/stat/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o sys/stat/stat_linux_amd64.go -pkgname stat', DO NOT EDIT. +// Code generated by 'ccgo sys/stat/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o sys/stat/stat_linux_amd64.go -pkgname stat', DO NOT EDIT. package stat diff --git a/vendor/modernc.org/libc/sys/stat/stat_darwin_arm64.go b/vendor/modernc.org/libc/sys/stat/stat_darwin_arm64.go index ff41ae3e..450a42ac 100644 --- a/vendor/modernc.org/libc/sys/stat/stat_darwin_arm64.go +++ b/vendor/modernc.org/libc/sys/stat/stat_darwin_arm64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo sys/stat/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o sys/stat/stat_darwin_arm64.go -pkgname stat', DO NOT EDIT. +// Code generated by 'ccgo sys/stat/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o sys/stat/stat_darwin_arm64.go -pkgname stat', DO NOT EDIT. package stat @@ -15,140 +15,140 @@ var _ atomic.Value var _ unsafe.Pointer const ( - ACCESSPERMS = 511 - ALLPERMS = 4095 - DEFFILEMODE = 438 - EF_IS_PURGEABLE = 0x00000008 - EF_IS_SPARSE = 0x00000010 - EF_IS_SYNC_ROOT = 0x00000004 - EF_IS_SYNTHETIC = 0x00000020 - EF_MAY_SHARE_BLOCKS = 0x00000001 - EF_NO_XATTRS = 0x00000002 - MAC_OS_VERSION_11_0 = 110000 - MAC_OS_VERSION_12_0 = 120000 - MAC_OS_X_VERSION_10_0 = 1000 - MAC_OS_X_VERSION_10_1 = 1010 - MAC_OS_X_VERSION_10_10 = 101000 - MAC_OS_X_VERSION_10_10_2 = 101002 - MAC_OS_X_VERSION_10_10_3 = 101003 - MAC_OS_X_VERSION_10_11 = 101100 - MAC_OS_X_VERSION_10_11_2 = 101102 - MAC_OS_X_VERSION_10_11_3 = 101103 - MAC_OS_X_VERSION_10_11_4 = 101104 - MAC_OS_X_VERSION_10_12 = 101200 - MAC_OS_X_VERSION_10_12_1 = 101201 - MAC_OS_X_VERSION_10_12_2 = 101202 - MAC_OS_X_VERSION_10_12_4 = 101204 - MAC_OS_X_VERSION_10_13 = 101300 - MAC_OS_X_VERSION_10_13_1 = 101301 - MAC_OS_X_VERSION_10_13_2 = 101302 - MAC_OS_X_VERSION_10_13_4 = 101304 - MAC_OS_X_VERSION_10_14 = 101400 - MAC_OS_X_VERSION_10_14_1 = 101401 - MAC_OS_X_VERSION_10_14_4 = 101404 - MAC_OS_X_VERSION_10_14_6 = 101406 - MAC_OS_X_VERSION_10_15 = 101500 - MAC_OS_X_VERSION_10_15_1 = 101501 - MAC_OS_X_VERSION_10_16 = 101600 - MAC_OS_X_VERSION_10_2 = 1020 - MAC_OS_X_VERSION_10_3 = 1030 - MAC_OS_X_VERSION_10_4 = 1040 - MAC_OS_X_VERSION_10_5 = 1050 - MAC_OS_X_VERSION_10_6 = 1060 - MAC_OS_X_VERSION_10_7 = 1070 - MAC_OS_X_VERSION_10_8 = 1080 - MAC_OS_X_VERSION_10_9 = 1090 - SF_APPEND = 0x00040000 - SF_ARCHIVED = 0x00010000 - SF_DATALESS = 0x40000000 - SF_FIRMLINK = 0x00800000 - SF_IMMUTABLE = 0x00020000 - SF_NOUNLINK = 0x00100000 - SF_RESTRICTED = 0x00080000 - SF_SETTABLE = 0x3fff0000 - SF_SUPPORTED = 0x009f0000 - SF_SYNTHETIC = 0xc0000000 - S_BLKSIZE = 512 - S_IEXEC = 64 - S_IFBLK = 0060000 - S_IFCHR = 0020000 - S_IFDIR = 0040000 - S_IFIFO = 0010000 - S_IFLNK = 0120000 - S_IFMT = 0170000 - S_IFREG = 0100000 - S_IFSOCK = 0140000 - S_IFWHT = 0160000 - S_IREAD = 256 - S_IRGRP = 0000040 - S_IROTH = 0000004 - S_IRUSR = 0000400 - S_IRWXG = 0000070 - S_IRWXO = 0000007 - S_IRWXU = 0000700 - S_ISGID = 0002000 - S_ISTXT = 512 - S_ISUID = 0004000 - S_ISVTX = 0001000 - S_IWGRP = 0000020 - S_IWOTH = 0000002 - S_IWRITE = 128 - S_IWUSR = 0000200 - S_IXGRP = 0000010 - S_IXOTH = 0000001 - S_IXUSR = 0000100 - UF_APPEND = 0x00000004 - UF_COMPRESSED = 0x00000020 - UF_DATAVAULT = 0x00000080 - UF_HIDDEN = 0x00008000 - UF_IMMUTABLE = 0x00000002 - UF_NODUMP = 0x00000001 - UF_OPAQUE = 0x00000008 - UF_SETTABLE = 0x0000ffff - UF_TRACKED = 0x00000040 - UTIME_NOW = -1 - UTIME_OMIT = -2 - X_ARM_MACHTYPES_H_ = 0 - X_BLKCNT_T = 0 - X_BLKSIZE_T = 0 - X_BSD_ARM__TYPES_H_ = 0 - X_BSD_MACHINE_TYPES_H_ = 0 - X_BSD_MACHINE__TYPES_H_ = 0 - X_CDEFS_H_ = 0 - X_DARWIN_FEATURE_64_BIT_INODE = 1 - X_DARWIN_FEATURE_ONLY_64_BIT_INODE = 1 - X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1 - X_DARWIN_FEATURE_ONLY_VERS_1050 = 1 - X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3 - X_DEV_T = 0 - X_FILESEC_T = 0 - X_FILE_OFFSET_BITS = 64 - X_GID_T = 0 - X_INO64_T = 0 - X_INO_T = 0 - X_INT16_T = 0 - X_INT32_T = 0 - X_INT64_T = 0 - X_INT8_T = 0 - X_INTPTR_T = 0 - X_LP64 = 1 - X_MACHTYPES_H_ = 0 - X_MODE_T = 0 - X_NLINK_T = 0 - X_Nonnull = 0 - X_Null_unspecified = 0 - X_Nullable = 0 - X_OFF_T = 0 - X_SYS_STAT_H_ = 0 - X_SYS__PTHREAD_TYPES_H_ = 0 - X_SYS__TYPES_H_ = 0 - X_TIME_T = 0 - X_UID_T = 0 - X_UINTPTR_T = 0 - X_U_INT16_T = 0 - X_U_INT32_T = 0 - X_U_INT64_T = 0 - X_U_INT8_T = 0 + ACCESSPERMS = 511 // stat.h:297:1: + ALLPERMS = 4095 // stat.h:299:1: + DEFFILEMODE = 438 // stat.h:301:1: + EF_IS_PURGEABLE = 0x00000008 // stat.h:371:1: + EF_IS_SPARSE = 0x00000010 // stat.h:372:1: + EF_IS_SYNC_ROOT = 0x00000004 // stat.h:370:1: + EF_IS_SYNTHETIC = 0x00000020 // stat.h:373:1: + EF_MAY_SHARE_BLOCKS = 0x00000001 // stat.h:368:1: + EF_NO_XATTRS = 0x00000002 // stat.h:369:1: + MAC_OS_VERSION_11_0 = 110000 // AvailabilityVersions.h:238:1: + MAC_OS_VERSION_12_0 = 120000 // AvailabilityVersions.h:239:1: + MAC_OS_X_VERSION_10_0 = 1000 // AvailabilityVersions.h:206:1: + MAC_OS_X_VERSION_10_1 = 1010 // AvailabilityVersions.h:207:1: + MAC_OS_X_VERSION_10_10 = 101000 // AvailabilityVersions.h:216:1: + MAC_OS_X_VERSION_10_10_2 = 101002 // AvailabilityVersions.h:217:1: + MAC_OS_X_VERSION_10_10_3 = 101003 // AvailabilityVersions.h:218:1: + MAC_OS_X_VERSION_10_11 = 101100 // AvailabilityVersions.h:219:1: + MAC_OS_X_VERSION_10_11_2 = 101102 // AvailabilityVersions.h:220:1: + MAC_OS_X_VERSION_10_11_3 = 101103 // AvailabilityVersions.h:221:1: + MAC_OS_X_VERSION_10_11_4 = 101104 // AvailabilityVersions.h:222:1: + MAC_OS_X_VERSION_10_12 = 101200 // AvailabilityVersions.h:223:1: + MAC_OS_X_VERSION_10_12_1 = 101201 // AvailabilityVersions.h:224:1: + MAC_OS_X_VERSION_10_12_2 = 101202 // AvailabilityVersions.h:225:1: + MAC_OS_X_VERSION_10_12_4 = 101204 // AvailabilityVersions.h:226:1: + MAC_OS_X_VERSION_10_13 = 101300 // AvailabilityVersions.h:227:1: + MAC_OS_X_VERSION_10_13_1 = 101301 // AvailabilityVersions.h:228:1: + MAC_OS_X_VERSION_10_13_2 = 101302 // AvailabilityVersions.h:229:1: + MAC_OS_X_VERSION_10_13_4 = 101304 // AvailabilityVersions.h:230:1: + MAC_OS_X_VERSION_10_14 = 101400 // AvailabilityVersions.h:231:1: + MAC_OS_X_VERSION_10_14_1 = 101401 // AvailabilityVersions.h:232:1: + MAC_OS_X_VERSION_10_14_4 = 101404 // AvailabilityVersions.h:233:1: + MAC_OS_X_VERSION_10_14_6 = 101406 // AvailabilityVersions.h:234:1: + MAC_OS_X_VERSION_10_15 = 101500 // AvailabilityVersions.h:235:1: + MAC_OS_X_VERSION_10_15_1 = 101501 // AvailabilityVersions.h:236:1: + MAC_OS_X_VERSION_10_16 = 101600 // AvailabilityVersions.h:237:1: + MAC_OS_X_VERSION_10_2 = 1020 // AvailabilityVersions.h:208:1: + MAC_OS_X_VERSION_10_3 = 1030 // AvailabilityVersions.h:209:1: + MAC_OS_X_VERSION_10_4 = 1040 // AvailabilityVersions.h:210:1: + MAC_OS_X_VERSION_10_5 = 1050 // AvailabilityVersions.h:211:1: + MAC_OS_X_VERSION_10_6 = 1060 // AvailabilityVersions.h:212:1: + MAC_OS_X_VERSION_10_7 = 1070 // AvailabilityVersions.h:213:1: + MAC_OS_X_VERSION_10_8 = 1080 // AvailabilityVersions.h:214:1: + MAC_OS_X_VERSION_10_9 = 1090 // AvailabilityVersions.h:215:1: + SF_APPEND = 0x00040000 // stat.h:340:1: + SF_ARCHIVED = 0x00010000 // stat.h:338:1: + SF_DATALESS = 0x40000000 // stat.h:359:1: + SF_FIRMLINK = 0x00800000 // stat.h:351:1: + SF_IMMUTABLE = 0x00020000 // stat.h:339:1: + SF_NOUNLINK = 0x00100000 // stat.h:342:1: + SF_RESTRICTED = 0x00080000 // stat.h:341:1: + SF_SETTABLE = 0x3fff0000 // stat.h:336:1: + SF_SUPPORTED = 0x009f0000 // stat.h:335:1: + SF_SYNTHETIC = 0xc0000000 // stat.h:337:1: + S_BLKSIZE = 512 // stat.h:303:1: + S_IEXEC = 64 // _s_ifmt.h:72:1: + S_IFBLK = 0060000 // _s_ifmt.h:39:1: + S_IFCHR = 0020000 // _s_ifmt.h:37:1: + S_IFDIR = 0040000 // _s_ifmt.h:38:1: + S_IFIFO = 0010000 // _s_ifmt.h:36:1: + S_IFLNK = 0120000 // _s_ifmt.h:41:1: + S_IFMT = 0170000 // _s_ifmt.h:35:1: + S_IFREG = 0100000 // _s_ifmt.h:40:1: + S_IFSOCK = 0140000 // _s_ifmt.h:42:1: + S_IFWHT = 0160000 // _s_ifmt.h:44:1: + S_IREAD = 256 // _s_ifmt.h:70:1: + S_IRGRP = 0000040 // _s_ifmt.h:55:1: + S_IROTH = 0000004 // _s_ifmt.h:60:1: + S_IRUSR = 0000400 // _s_ifmt.h:50:1: + S_IRWXG = 0000070 // _s_ifmt.h:54:1: + S_IRWXO = 0000007 // _s_ifmt.h:59:1: + S_IRWXU = 0000700 // _s_ifmt.h:49:1: + S_ISGID = 0002000 // _s_ifmt.h:65:1: + S_ISTXT = 512 // _s_ifmt.h:69:1: + S_ISUID = 0004000 // _s_ifmt.h:64:1: + S_ISVTX = 0001000 // _s_ifmt.h:66:1: + S_IWGRP = 0000020 // _s_ifmt.h:56:1: + S_IWOTH = 0000002 // _s_ifmt.h:61:1: + S_IWRITE = 128 // _s_ifmt.h:71:1: + S_IWUSR = 0000200 // _s_ifmt.h:51:1: + S_IXGRP = 0000010 // _s_ifmt.h:57:1: + S_IXOTH = 0000001 // _s_ifmt.h:62:1: + S_IXUSR = 0000100 // _s_ifmt.h:52:1: + UF_APPEND = 0x00000004 // stat.h:313:1: + UF_COMPRESSED = 0x00000020 // stat.h:320:1: + UF_DATAVAULT = 0x00000080 // stat.h:326:1: + UF_HIDDEN = 0x00008000 // stat.h:330:1: + UF_IMMUTABLE = 0x00000002 // stat.h:312:1: + UF_NODUMP = 0x00000001 // stat.h:311:1: + UF_OPAQUE = 0x00000008 // stat.h:314:1: + UF_SETTABLE = 0x0000ffff // stat.h:310:1: + UF_TRACKED = 0x00000040 // stat.h:324:1: + UTIME_NOW = -1 // stat.h:395:1: + UTIME_OMIT = -2 // stat.h:396:1: + X_ARM_MACHTYPES_H_ = 0 // types.h:43:1: + X_BLKCNT_T = 0 // _blkcnt_t.h:29:1: + X_BLKSIZE_T = 0 // _blksize_t.h:29:1: + X_BSD_ARM__TYPES_H_ = 0 // _types.h:5:1: + X_BSD_MACHINE_TYPES_H_ = 0 // types.h:32:1: + X_BSD_MACHINE__TYPES_H_ = 0 // _types.h:29:1: + X_CDEFS_H_ = 0 // cdefs.h:68:1: + X_DARWIN_FEATURE_64_BIT_INODE = 1 // cdefs.h:774:1: + X_DARWIN_FEATURE_ONLY_64_BIT_INODE = 1 // cdefs.h:784:1: + X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1 // cdefs.h:800:1: + X_DARWIN_FEATURE_ONLY_VERS_1050 = 1 // cdefs.h:792:1: + X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3 // cdefs.h:808:1: + X_DEV_T = 0 // _dev_t.h:29:1: + X_FILESEC_T = 0 // _filesec_t.h:29:1: + X_FILE_OFFSET_BITS = 64 // <builtin>:25:1: + X_GID_T = 0 // _gid_t.h:29:1: + X_INO64_T = 0 // _ino64_t.h:29:1: + X_INO_T = 0 // _ino_t.h:29:1: + X_INT16_T = 0 // _int16_t.h:29:1: + X_INT32_T = 0 // _int32_t.h:29:1: + X_INT64_T = 0 // _int64_t.h:29:1: + X_INT8_T = 0 // _int8_t.h:29:1: + X_INTPTR_T = 0 // _intptr_t.h:29:1: + X_LP64 = 1 // <predefined>:1:1: + X_MACHTYPES_H_ = 0 // types.h:44:1: + X_MODE_T = 0 // _mode_t.h:29:1: + X_NLINK_T = 0 // _nlink_t.h:29:1: + X_Nonnull = 0 // cdefs.h:268:1: + X_Null_unspecified = 0 // cdefs.h:271:1: + X_Nullable = 0 // cdefs.h:265:1: + X_OFF_T = 0 // _off_t.h:29:1: + X_SYS_STAT_H_ = 0 // stat.h:71:1: + X_SYS__PTHREAD_TYPES_H_ = 0 // _pthread_types.h:30:1: + X_SYS__TYPES_H_ = 0 // _types.h:30:1: + X_TIME_T = 0 // _time_t.h:29:1: + X_UID_T = 0 // _uid_t.h:29:1: + X_UINTPTR_T = 0 // _uintptr_t.h:29:1: + X_U_INT16_T = 0 // _u_int16_t.h:29:1: + X_U_INT32_T = 0 // _u_int32_t.h:29:1: + X_U_INT64_T = 0 // _u_int64_t.h:29:1: + X_U_INT8_T = 0 // _u_int8_t.h:29:1: ) type Ptrdiff_t = int64 /* <builtin>:3:26 */ @@ -625,6 +625,20 @@ var X__darwin_check_fd_set_overflow uintptr /* <builtin>:146:5: */ // __XNU_PRIVATE_EXTERN is a linkage decoration indicating that a symbol can be // used from other compilation units, but not other libraries or executables. +// We intentionally define to nothing pointer attributes which do not have an +// impact on the ABI. __indexable and __bidi_indexable are not defined because +// of the ABI incompatibility that makes the diagnostic preferable. + +// Similarly, we intentionally define to nothing the +// __ptrcheck_abi_assume_single and __ptrcheck_abi_assume_unsafe_indexable +// macros because they do not lead to an ABI incompatibility. However, we do not +// define the indexable and unsafe_indexable ones because the diagnostic is +// better than the silent ABI break. + +// __unsafe_forge intrinsics are defined as regular C casts. + +// decay operates normally; attribute is meaningless without pointer checks. + // Architecture validation for current SDK // Similar to OS_ENUM/OS_CLOSED_ENUM/OS_OPTIONS/OS_CLOSED_OPTIONS diff --git a/vendor/modernc.org/libc/sys/stat/stat_linux_amd64.go b/vendor/modernc.org/libc/sys/stat/stat_linux_amd64.go index f4422a2d..5c33bdcc 100644 --- a/vendor/modernc.org/libc/sys/stat/stat_linux_amd64.go +++ b/vendor/modernc.org/libc/sys/stat/stat_linux_amd64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo sys/stat/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o sys/stat/stat_linux_amd64.go -pkgname stat', DO NOT EDIT. +// Code generated by 'ccgo sys/stat/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o sys/stat/stat_linux_amd64.go -pkgname stat', DO NOT EDIT. package stat @@ -15,65 +15,65 @@ var _ atomic.Value var _ unsafe.Pointer const ( - ACCESSPERMS = 511 - ALLPERMS = 4095 - DEFFILEMODE = 438 - S_BLKSIZE = 512 - S_IEXEC = 64 - S_IFBLK = 24576 - S_IFCHR = 8192 - S_IFDIR = 16384 - S_IFIFO = 4096 - S_IFLNK = 40960 - S_IFMT = 61440 - S_IFREG = 32768 - S_IFSOCK = 49152 - S_IREAD = 256 - S_IRGRP = 32 - S_IROTH = 4 - S_IRUSR = 256 - S_IRWXG = 56 - S_IRWXO = 7 - S_IRWXU = 448 - S_ISGID = 1024 - S_ISUID = 2048 - S_ISVTX = 512 - S_IWGRP = 16 - S_IWOTH = 2 - S_IWRITE = 128 - S_IWUSR = 128 - S_IXGRP = 8 - S_IXOTH = 1 - S_IXUSR = 64 - UTIME_NOW = 1073741823 - UTIME_OMIT = 1073741822 - X_ATFILE_SOURCE = 1 - X_BITS_ENDIANNESS_H = 1 - X_BITS_ENDIAN_H = 1 - X_BITS_STAT_H = 1 - X_BITS_TIME64_H = 1 - X_BITS_TYPESIZES_H = 1 - X_BITS_TYPES_H = 1 - X_DEFAULT_SOURCE = 1 - X_FEATURES_H = 1 - X_FILE_OFFSET_BITS = 64 - X_LP64 = 1 - X_MKNOD_VER = 0 - X_MKNOD_VER_LINUX = 0 - X_POSIX_C_SOURCE = 200809 - X_POSIX_SOURCE = 1 - X_STATBUF_ST_BLKSIZE = 0 - X_STATBUF_ST_NSEC = 0 - X_STATBUF_ST_RDEV = 0 - X_STAT_VER = 1 - X_STAT_VER_KERNEL = 0 - X_STAT_VER_LINUX = 1 - X_STDC_PREDEF_H = 1 - X_STRUCT_TIMESPEC = 1 - X_SYS_CDEFS_H = 1 - X_SYS_STAT_H = 1 - Linux = 1 - Unix = 1 + ACCESSPERMS = 511 // stat.h:195:1: + ALLPERMS = 4095 // stat.h:196:1: + DEFFILEMODE = 438 // stat.h:197:1: + S_BLKSIZE = 512 // stat.h:199:1: + S_IEXEC = 64 // stat.h:177:1: + S_IFBLK = 24576 // stat.h:107:1: + S_IFCHR = 8192 // stat.h:106:1: + S_IFDIR = 16384 // stat.h:105:1: + S_IFIFO = 4096 // stat.h:110:1: + S_IFLNK = 40960 // stat.h:113:1: + S_IFMT = 61440 // stat.h:104:1: + S_IFREG = 32768 // stat.h:108:1: + S_IFSOCK = 49152 // stat.h:117:1: + S_IREAD = 256 // stat.h:175:1: + S_IRGRP = 32 // stat.h:180:1: + S_IROTH = 4 // stat.h:186:1: + S_IRUSR = 256 // stat.h:168:1: + S_IRWXG = 56 // stat.h:184:1: + S_IRWXO = 7 // stat.h:190:1: + S_IRWXU = 448 // stat.h:172:1: + S_ISGID = 1024 // stat.h:161:1: + S_ISUID = 2048 // stat.h:160:1: + S_ISVTX = 512 // stat.h:165:1: + S_IWGRP = 16 // stat.h:181:1: + S_IWOTH = 2 // stat.h:187:1: + S_IWRITE = 128 // stat.h:176:1: + S_IWUSR = 128 // stat.h:169:1: + S_IXGRP = 8 // stat.h:182:1: + S_IXOTH = 1 // stat.h:188:1: + S_IXUSR = 64 // stat.h:170:1: + UTIME_NOW = 1073741823 // stat.h:206:1: + UTIME_OMIT = 1073741822 // stat.h:207:1: + X_ATFILE_SOURCE = 1 // features.h:342:1: + X_BITS_ENDIANNESS_H = 1 // endianness.h:2:1: + X_BITS_ENDIAN_H = 1 // endian.h:20:1: + X_BITS_STAT_H = 1 // stat.h:23:1: + X_BITS_TIME64_H = 1 // time64.h:24:1: + X_BITS_TYPESIZES_H = 1 // typesizes.h:24:1: + X_BITS_TYPES_H = 1 // types.h:24:1: + X_DEFAULT_SOURCE = 1 // features.h:227:1: + X_FEATURES_H = 1 // features.h:19:1: + X_FILE_OFFSET_BITS = 64 // <builtin>:25:1: + X_LP64 = 1 // <predefined>:284:1: + X_MKNOD_VER = 0 // stat.h:390:1: + X_MKNOD_VER_LINUX = 0 // stat.h:41:1: + X_POSIX_C_SOURCE = 200809 // features.h:281:1: + X_POSIX_SOURCE = 1 // features.h:279:1: + X_STATBUF_ST_BLKSIZE = 0 // stat.h:172:1: + X_STATBUF_ST_NSEC = 0 // stat.h:175:1: + X_STATBUF_ST_RDEV = 0 // stat.h:173:1: + X_STAT_VER = 1 // stat.h:44:1: + X_STAT_VER_KERNEL = 0 // stat.h:37:1: + X_STAT_VER_LINUX = 1 // stat.h:38:1: + X_STDC_PREDEF_H = 1 // <predefined>:162:1: + X_STRUCT_TIMESPEC = 1 // struct_timespec.h:3:1: + X_SYS_CDEFS_H = 1 // cdefs.h:19:1: + X_SYS_STAT_H = 1 // stat.h:23:1: + Linux = 1 // <predefined>:231:1: + Unix = 1 // <predefined>:177:1: ) type Ptrdiff_t = int64 /* <builtin>:3:26 */ diff --git a/vendor/modernc.org/libc/sys/types/capi_darwin_arm64.go b/vendor/modernc.org/libc/sys/types/capi_darwin_arm64.go index dfe6e426..a5626d11 100644 --- a/vendor/modernc.org/libc/sys/types/capi_darwin_arm64.go +++ b/vendor/modernc.org/libc/sys/types/capi_darwin_arm64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo sys/types/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o sys/types/types_darwin_arm64.go -pkgname types', DO NOT EDIT. +// Code generated by 'ccgo sys/types/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o sys/types/types_darwin_arm64.go -pkgname types', DO NOT EDIT. package types diff --git a/vendor/modernc.org/libc/sys/types/capi_linux_amd64.go b/vendor/modernc.org/libc/sys/types/capi_linux_amd64.go index bc337eed..76280065 100644 --- a/vendor/modernc.org/libc/sys/types/capi_linux_amd64.go +++ b/vendor/modernc.org/libc/sys/types/capi_linux_amd64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo sys/types/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o sys/types/types_linux_amd64.go -pkgname types', DO NOT EDIT. +// Code generated by 'ccgo sys/types/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o sys/types/types_linux_amd64.go -pkgname types', DO NOT EDIT. package types diff --git a/vendor/modernc.org/libc/sys/types/types_darwin_arm64.go b/vendor/modernc.org/libc/sys/types/types_darwin_arm64.go index e15506dc..02a8def1 100644 --- a/vendor/modernc.org/libc/sys/types/types_darwin_arm64.go +++ b/vendor/modernc.org/libc/sys/types/types_darwin_arm64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo sys/types/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o sys/types/types_darwin_arm64.go -pkgname types', DO NOT EDIT. +// Code generated by 'ccgo sys/types/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o sys/types/types_darwin_arm64.go -pkgname types', DO NOT EDIT. package types @@ -15,176 +15,176 @@ var _ atomic.Value var _ unsafe.Pointer const ( - BIG_ENDIAN = 4321 - BYTE_ORDER = 1234 - FD_SETSIZE = 1024 - INT16_MAX = 32767 - INT16_MIN = -32768 - INT32_MAX = 2147483647 - INT32_MIN = -2147483648 - INT64_MAX = 9223372036854775807 - INT64_MIN = -9223372036854775808 - INT8_MAX = 127 - INT8_MIN = -128 - INTMAX_MAX = 9223372036854775807 - INTMAX_MIN = -9223372036854775808 - INTPTR_MAX = 9223372036854775807 - INTPTR_MIN = -9223372036854775808 - INT_FAST16_MAX = 32767 - INT_FAST16_MIN = -32768 - INT_FAST32_MAX = 2147483647 - INT_FAST32_MIN = -2147483648 - INT_FAST64_MAX = 9223372036854775807 - INT_FAST64_MIN = -9223372036854775808 - INT_FAST8_MAX = 127 - INT_FAST8_MIN = -128 - INT_LEAST16_MAX = 32767 - INT_LEAST16_MIN = -32768 - INT_LEAST32_MAX = 2147483647 - INT_LEAST32_MIN = -2147483648 - INT_LEAST64_MAX = 9223372036854775807 - INT_LEAST64_MIN = -9223372036854775808 - INT_LEAST8_MAX = 127 - INT_LEAST8_MIN = -128 - LITTLE_ENDIAN = 1234 - MAC_OS_VERSION_11_0 = 110000 - MAC_OS_VERSION_12_0 = 120000 - MAC_OS_X_VERSION_10_0 = 1000 - MAC_OS_X_VERSION_10_1 = 1010 - MAC_OS_X_VERSION_10_10 = 101000 - MAC_OS_X_VERSION_10_10_2 = 101002 - MAC_OS_X_VERSION_10_10_3 = 101003 - MAC_OS_X_VERSION_10_11 = 101100 - MAC_OS_X_VERSION_10_11_2 = 101102 - MAC_OS_X_VERSION_10_11_3 = 101103 - MAC_OS_X_VERSION_10_11_4 = 101104 - MAC_OS_X_VERSION_10_12 = 101200 - MAC_OS_X_VERSION_10_12_1 = 101201 - MAC_OS_X_VERSION_10_12_2 = 101202 - MAC_OS_X_VERSION_10_12_4 = 101204 - MAC_OS_X_VERSION_10_13 = 101300 - MAC_OS_X_VERSION_10_13_1 = 101301 - MAC_OS_X_VERSION_10_13_2 = 101302 - MAC_OS_X_VERSION_10_13_4 = 101304 - MAC_OS_X_VERSION_10_14 = 101400 - MAC_OS_X_VERSION_10_14_1 = 101401 - MAC_OS_X_VERSION_10_14_4 = 101404 - MAC_OS_X_VERSION_10_14_6 = 101406 - MAC_OS_X_VERSION_10_15 = 101500 - MAC_OS_X_VERSION_10_15_1 = 101501 - MAC_OS_X_VERSION_10_16 = 101600 - MAC_OS_X_VERSION_10_2 = 1020 - MAC_OS_X_VERSION_10_3 = 1030 - MAC_OS_X_VERSION_10_4 = 1040 - MAC_OS_X_VERSION_10_5 = 1050 - MAC_OS_X_VERSION_10_6 = 1060 - MAC_OS_X_VERSION_10_7 = 1070 - MAC_OS_X_VERSION_10_8 = 1080 - MAC_OS_X_VERSION_10_9 = 1090 - NBBY = 8 - PDP_ENDIAN = 3412 - PTRDIFF_MAX = 9223372036854775807 - PTRDIFF_MIN = -9223372036854775808 - RSIZE_MAX = 9223372036854775807 - SIG_ATOMIC_MAX = 2147483647 - SIG_ATOMIC_MIN = -2147483648 - SIZE_MAX = 18446744073709551615 - UINT16_MAX = 65535 - UINT32_MAX = 4294967295 - UINT64_MAX = 18446744073709551615 - UINT8_MAX = 255 - UINTMAX_MAX = 18446744073709551615 - UINTPTR_MAX = 18446744073709551615 - UINT_FAST16_MAX = 65535 - UINT_FAST32_MAX = 4294967295 - UINT_FAST64_MAX = 18446744073709551615 - UINT_FAST8_MAX = 255 - UINT_LEAST16_MAX = 65535 - UINT_LEAST32_MAX = 4294967295 - UINT_LEAST64_MAX = 18446744073709551615 - UINT_LEAST8_MAX = 255 - WCHAR_MAX = 2147483647 - WCHAR_MIN = -2147483648 - WINT_MAX = 2147483647 - WINT_MIN = -2147483648 - X_ARM_ARCH_H = 0 - X_ARM_MACHTYPES_H_ = 0 - X_ARM__ENDIAN_H_ = 0 - X_BLKCNT_T = 0 - X_BLKSIZE_T = 0 - X_BSD_ARM__TYPES_H_ = 0 - X_BSD_MACHINE_ENDIAN_H_ = 0 - X_BSD_MACHINE_TYPES_H_ = 0 - X_BSD_MACHINE__TYPES_H_ = 0 - X_CADDR_T = 0 - X_CDEFS_H_ = 0 - X_CLOCK_T = 0 - X_DARWIN_FEATURE_64_BIT_INODE = 1 - X_DARWIN_FEATURE_ONLY_64_BIT_INODE = 1 - X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1 - X_DARWIN_FEATURE_ONLY_VERS_1050 = 1 - X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3 - X_DEV_T = 0 - X_ERRNO_T = 0 - X_FD_SET = 0 - X_FILE_OFFSET_BITS = 64 - X_FSBLKCNT_T = 0 - X_FSFILCNT_T = 0 - X_GID_T = 0 - X_ID_T = 0 - X_INO64_T = 0 - X_INO_T = 0 - X_INT16_T = 0 - X_INT32_T = 0 - X_INT64_T = 0 - X_INT8_T = 0 - X_INTPTR_T = 0 - X_IN_ADDR_T = 0 - X_IN_PORT_T = 0 - X_KEY_T = 0 - X_LP64 = 1 - X_MACHTYPES_H_ = 0 - X_MODE_T = 0 - X_NLINK_T = 0 - X_Nonnull = 0 - X_Null_unspecified = 0 - X_Nullable = 0 - X_OFF_T = 0 - X_OS_OSBYTEORDERARM_H = 0 - X_OS__OSBYTEORDER_H = 0 - X_PID_T = 0 - X_PTHREAD_ATTR_T = 0 - X_PTHREAD_CONDATTR_T = 0 - X_PTHREAD_COND_T = 0 - X_PTHREAD_KEY_T = 0 - X_PTHREAD_MUTEXATTR_T = 0 - X_PTHREAD_MUTEX_T = 0 - X_PTHREAD_ONCE_T = 0 - X_PTHREAD_RWLOCKATTR_T = 0 - X_PTHREAD_RWLOCK_T = 0 - X_PTHREAD_T = 0 - X_QUAD_HIGHWORD = 1 - X_QUAD_LOWWORD = 0 - X_RSIZE_T = 0 - X_SIZE_T = 0 - X_SSIZE_T = 0 - X_SUSECONDS_T = 0 - X_SYS_TYPES_H_ = 0 - X_SYS__ENDIAN_H_ = 0 - X_SYS__PTHREAD_TYPES_H_ = 0 - X_SYS__TYPES_H_ = 0 - X_TIME_T = 0 - X_UID_T = 0 - X_UINTPTR_T = 0 - X_USECONDS_T = 0 - X_U_CHAR = 0 - X_U_INT = 0 - X_U_INT16_T = 0 - X_U_INT32_T = 0 - X_U_INT64_T = 0 - X_U_INT8_T = 0 - X_U_LONG = 0 - X_U_SHORT = 0 + BIG_ENDIAN = 4321 // endian.h:72:1: + BYTE_ORDER = 1234 // endian.h:75:1: + FD_SETSIZE = 1024 // _fd_setsize.h:29:1: + INT16_MAX = 32767 // stdint.h:599:1: + INT16_MIN = -32768 // stdint.h:600:1: + INT32_MAX = 2147483647 // stdint.h:555:1: + INT32_MIN = -2147483648 // stdint.h:556:1: + INT64_MAX = 9223372036854775807 // stdint.h:461:1: + INT64_MIN = -9223372036854775808 // stdint.h:462:1: + INT8_MAX = 127 // stdint.h:621:1: + INT8_MIN = -128 // stdint.h:622:1: + INTMAX_MAX = 9223372036854775807 // stdint.h:663:1: + INTMAX_MIN = -9223372036854775808 // stdint.h:662:1: + INTPTR_MAX = 9223372036854775807 // stdint.h:649:1: + INTPTR_MIN = -9223372036854775808 // stdint.h:648:1: + INT_FAST16_MAX = 32767 // stdint.h:615:1: + INT_FAST16_MIN = -32768 // stdint.h:614:1: + INT_FAST32_MAX = 2147483647 // stdint.h:574:1: + INT_FAST32_MIN = -2147483648 // stdint.h:573:1: + INT_FAST64_MAX = 9223372036854775807 // stdint.h:483:1: + INT_FAST64_MIN = -9223372036854775808 // stdint.h:482:1: + INT_FAST8_MAX = 127 // stdint.h:634:1: + INT_FAST8_MIN = -128 // stdint.h:633:1: + INT_LEAST16_MAX = 32767 // stdint.h:612:1: + INT_LEAST16_MIN = -32768 // stdint.h:611:1: + INT_LEAST32_MAX = 2147483647 // stdint.h:571:1: + INT_LEAST32_MIN = -2147483648 // stdint.h:570:1: + INT_LEAST64_MAX = 9223372036854775807 // stdint.h:480:1: + INT_LEAST64_MIN = -9223372036854775808 // stdint.h:479:1: + INT_LEAST8_MAX = 127 // stdint.h:631:1: + INT_LEAST8_MIN = -128 // stdint.h:630:1: + LITTLE_ENDIAN = 1234 // endian.h:71:1: + MAC_OS_VERSION_11_0 = 110000 // AvailabilityVersions.h:238:1: + MAC_OS_VERSION_12_0 = 120000 // AvailabilityVersions.h:239:1: + MAC_OS_X_VERSION_10_0 = 1000 // AvailabilityVersions.h:206:1: + MAC_OS_X_VERSION_10_1 = 1010 // AvailabilityVersions.h:207:1: + MAC_OS_X_VERSION_10_10 = 101000 // AvailabilityVersions.h:216:1: + MAC_OS_X_VERSION_10_10_2 = 101002 // AvailabilityVersions.h:217:1: + MAC_OS_X_VERSION_10_10_3 = 101003 // AvailabilityVersions.h:218:1: + MAC_OS_X_VERSION_10_11 = 101100 // AvailabilityVersions.h:219:1: + MAC_OS_X_VERSION_10_11_2 = 101102 // AvailabilityVersions.h:220:1: + MAC_OS_X_VERSION_10_11_3 = 101103 // AvailabilityVersions.h:221:1: + MAC_OS_X_VERSION_10_11_4 = 101104 // AvailabilityVersions.h:222:1: + MAC_OS_X_VERSION_10_12 = 101200 // AvailabilityVersions.h:223:1: + MAC_OS_X_VERSION_10_12_1 = 101201 // AvailabilityVersions.h:224:1: + MAC_OS_X_VERSION_10_12_2 = 101202 // AvailabilityVersions.h:225:1: + MAC_OS_X_VERSION_10_12_4 = 101204 // AvailabilityVersions.h:226:1: + MAC_OS_X_VERSION_10_13 = 101300 // AvailabilityVersions.h:227:1: + MAC_OS_X_VERSION_10_13_1 = 101301 // AvailabilityVersions.h:228:1: + MAC_OS_X_VERSION_10_13_2 = 101302 // AvailabilityVersions.h:229:1: + MAC_OS_X_VERSION_10_13_4 = 101304 // AvailabilityVersions.h:230:1: + MAC_OS_X_VERSION_10_14 = 101400 // AvailabilityVersions.h:231:1: + MAC_OS_X_VERSION_10_14_1 = 101401 // AvailabilityVersions.h:232:1: + MAC_OS_X_VERSION_10_14_4 = 101404 // AvailabilityVersions.h:233:1: + MAC_OS_X_VERSION_10_14_6 = 101406 // AvailabilityVersions.h:234:1: + MAC_OS_X_VERSION_10_15 = 101500 // AvailabilityVersions.h:235:1: + MAC_OS_X_VERSION_10_15_1 = 101501 // AvailabilityVersions.h:236:1: + MAC_OS_X_VERSION_10_16 = 101600 // AvailabilityVersions.h:237:1: + MAC_OS_X_VERSION_10_2 = 1020 // AvailabilityVersions.h:208:1: + MAC_OS_X_VERSION_10_3 = 1030 // AvailabilityVersions.h:209:1: + MAC_OS_X_VERSION_10_4 = 1040 // AvailabilityVersions.h:210:1: + MAC_OS_X_VERSION_10_5 = 1050 // AvailabilityVersions.h:211:1: + MAC_OS_X_VERSION_10_6 = 1060 // AvailabilityVersions.h:212:1: + MAC_OS_X_VERSION_10_7 = 1070 // AvailabilityVersions.h:213:1: + MAC_OS_X_VERSION_10_8 = 1080 // AvailabilityVersions.h:214:1: + MAC_OS_X_VERSION_10_9 = 1090 // AvailabilityVersions.h:215:1: + NBBY = 8 // types.h:186:1: + PDP_ENDIAN = 3412 // endian.h:73:1: + PTRDIFF_MAX = 9223372036854775807 // stdint.h:652:1: + PTRDIFF_MIN = -9223372036854775808 // stdint.h:651:1: + RSIZE_MAX = 9223372036854775807 // stdint.h:658:1: + SIG_ATOMIC_MAX = 2147483647 // stdint.h:668:1: + SIG_ATOMIC_MIN = -2147483648 // stdint.h:667:1: + SIZE_MAX = 18446744073709551615 // stdint.h:653:1: + UINT16_MAX = 65535 // stdint.h:601:1: + UINT32_MAX = 4294967295 // stdint.h:557:1: + UINT64_MAX = 18446744073709551615 // stdint.h:463:1: + UINT8_MAX = 255 // stdint.h:623:1: + UINTMAX_MAX = 18446744073709551615 // stdint.h:664:1: + UINTPTR_MAX = 18446744073709551615 // stdint.h:650:1: + UINT_FAST16_MAX = 65535 // stdint.h:616:1: + UINT_FAST32_MAX = 4294967295 // stdint.h:575:1: + UINT_FAST64_MAX = 18446744073709551615 // stdint.h:484:1: + UINT_FAST8_MAX = 255 // stdint.h:635:1: + UINT_LEAST16_MAX = 65535 // stdint.h:613:1: + UINT_LEAST32_MAX = 4294967295 // stdint.h:572:1: + UINT_LEAST64_MAX = 18446744073709551615 // stdint.h:481:1: + UINT_LEAST8_MAX = 255 // stdint.h:632:1: + WCHAR_MAX = 2147483647 // stdint.h:678:1: + WCHAR_MIN = -2147483648 // stdint.h:682:1: + WINT_MAX = 2147483647 // stdint.h:674:1: + WINT_MIN = -2147483648 // stdint.h:673:1: + X_ARM_ARCH_H = 0 // arch.h:29:1: + X_ARM_MACHTYPES_H_ = 0 // types.h:43:1: + X_ARM__ENDIAN_H_ = 0 // endian.h:43:1: + X_BLKCNT_T = 0 // _blkcnt_t.h:29:1: + X_BLKSIZE_T = 0 // _blksize_t.h:29:1: + X_BSD_ARM__TYPES_H_ = 0 // _types.h:5:1: + X_BSD_MACHINE_ENDIAN_H_ = 0 // endian.h:32:1: + X_BSD_MACHINE_TYPES_H_ = 0 // types.h:32:1: + X_BSD_MACHINE__TYPES_H_ = 0 // _types.h:29:1: + X_CADDR_T = 0 // _caddr_t.h:29:1: + X_CDEFS_H_ = 0 // cdefs.h:68:1: + X_CLOCK_T = 0 // _clock_t.h:29:1: + X_DARWIN_FEATURE_64_BIT_INODE = 1 // cdefs.h:774:1: + X_DARWIN_FEATURE_ONLY_64_BIT_INODE = 1 // cdefs.h:784:1: + X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1 // cdefs.h:800:1: + X_DARWIN_FEATURE_ONLY_VERS_1050 = 1 // cdefs.h:792:1: + X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3 // cdefs.h:808:1: + X_DEV_T = 0 // _dev_t.h:29:1: + X_ERRNO_T = 0 // _errno_t.h:29:1: + X_FD_SET = 0 // _fd_def.h:29:1: + X_FILE_OFFSET_BITS = 64 // <builtin>:25:1: + X_FSBLKCNT_T = 0 // _fsblkcnt_t.h:29:1: + X_FSFILCNT_T = 0 // _fsfilcnt_t.h:29:1: + X_GID_T = 0 // _gid_t.h:29:1: + X_ID_T = 0 // _id_t.h:29:1: + X_INO64_T = 0 // _ino64_t.h:29:1: + X_INO_T = 0 // _ino_t.h:29:1: + X_INT16_T = 0 // _int16_t.h:29:1: + X_INT32_T = 0 // _int32_t.h:29:1: + X_INT64_T = 0 // _int64_t.h:29:1: + X_INT8_T = 0 // _int8_t.h:29:1: + X_INTPTR_T = 0 // _intptr_t.h:29:1: + X_IN_ADDR_T = 0 // _in_addr_t.h:29:1: + X_IN_PORT_T = 0 // _in_port_t.h:29:1: + X_KEY_T = 0 // _key_t.h:29:1: + X_LP64 = 1 // <predefined>:1:1: + X_MACHTYPES_H_ = 0 // types.h:44:1: + X_MODE_T = 0 // _mode_t.h:29:1: + X_NLINK_T = 0 // _nlink_t.h:29:1: + X_Nonnull = 0 // cdefs.h:268:1: + X_Null_unspecified = 0 // cdefs.h:271:1: + X_Nullable = 0 // cdefs.h:265:1: + X_OFF_T = 0 // _off_t.h:29:1: + X_OS_OSBYTEORDERARM_H = 0 // OSByteOrder.h:6:1: + X_OS__OSBYTEORDER_H = 0 // _OSByteOrder.h:30:1: + X_PID_T = 0 // _pid_t.h:29:1: + X_PTHREAD_ATTR_T = 0 // _pthread_attr_t.h:29:1: + X_PTHREAD_CONDATTR_T = 0 // _pthread_condattr_t.h:29:1: + X_PTHREAD_COND_T = 0 // _pthread_cond_t.h:29:1: + X_PTHREAD_KEY_T = 0 // _pthread_key_t.h:29:1: + X_PTHREAD_MUTEXATTR_T = 0 // _pthread_mutexattr_t.h:29:1: + X_PTHREAD_MUTEX_T = 0 // _pthread_mutex_t.h:29:1: + X_PTHREAD_ONCE_T = 0 // _pthread_once_t.h:29:1: + X_PTHREAD_RWLOCKATTR_T = 0 // _pthread_rwlockattr_t.h:29:1: + X_PTHREAD_RWLOCK_T = 0 // _pthread_rwlock_t.h:29:1: + X_PTHREAD_T = 0 // _pthread_t.h:29:1: + X_QUAD_HIGHWORD = 1 // endian.h:56:1: + X_QUAD_LOWWORD = 0 // endian.h:57:1: + X_RSIZE_T = 0 // _rsize_t.h:29:1: + X_SIZE_T = 0 // _size_t.h:29:1: + X_SSIZE_T = 0 // _ssize_t.h:29:1: + X_SUSECONDS_T = 0 // _suseconds_t.h:29:1: + X_SYS_TYPES_H_ = 0 // types.h:70:1: + X_SYS__ENDIAN_H_ = 0 // _endian.h:91:1: + X_SYS__PTHREAD_TYPES_H_ = 0 // _pthread_types.h:30:1: + X_SYS__TYPES_H_ = 0 // _types.h:30:1: + X_TIME_T = 0 // _time_t.h:29:1: + X_UID_T = 0 // _uid_t.h:29:1: + X_UINTPTR_T = 0 // _uintptr_t.h:29:1: + X_USECONDS_T = 0 // _useconds_t.h:29:1: + X_U_CHAR = 0 // _u_char.h:29:1: + X_U_INT = 0 // _u_int.h:29:1: + X_U_INT16_T = 0 // _u_int16_t.h:29:1: + X_U_INT32_T = 0 // _u_int32_t.h:29:1: + X_U_INT64_T = 0 // _u_int64_t.h:29:1: + X_U_INT8_T = 0 // _u_int8_t.h:29:1: + X_U_LONG = 0 // types.h:89:1: + X_U_SHORT = 0 // _u_short.h:29:1: ) type Ptrdiff_t = int64 /* <builtin>:3:26 */ @@ -660,6 +660,20 @@ var X__darwin_check_fd_set_overflow uintptr /* <builtin>:146:5: */ // __XNU_PRIVATE_EXTERN is a linkage decoration indicating that a symbol can be // used from other compilation units, but not other libraries or executables. +// We intentionally define to nothing pointer attributes which do not have an +// impact on the ABI. __indexable and __bidi_indexable are not defined because +// of the ABI incompatibility that makes the diagnostic preferable. + +// Similarly, we intentionally define to nothing the +// __ptrcheck_abi_assume_single and __ptrcheck_abi_assume_unsafe_indexable +// macros because they do not lead to an ABI incompatibility. However, we do not +// define the indexable and unsafe_indexable ones because the diagnostic is +// better than the silent ABI break. + +// __unsafe_forge intrinsics are defined as regular C casts. + +// decay operates normally; attribute is meaningless without pointer checks. + // Architecture validation for current SDK // Similar to OS_ENUM/OS_CLOSED_ENUM/OS_OPTIONS/OS_CLOSED_OPTIONS diff --git a/vendor/modernc.org/libc/sys/types/types_linux_amd64.go b/vendor/modernc.org/libc/sys/types/types_linux_amd64.go index 2aa62fe3..d44d25ee 100644 --- a/vendor/modernc.org/libc/sys/types/types_linux_amd64.go +++ b/vendor/modernc.org/libc/sys/types/types_linux_amd64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo sys/types/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o sys/types/types_linux_amd64.go -pkgname types', DO NOT EDIT. +// Code generated by 'ccgo sys/types/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o sys/types/types_linux_amd64.go -pkgname types', DO NOT EDIT. package types @@ -15,51 +15,51 @@ var _ atomic.Value var _ unsafe.Pointer const ( - BIG_ENDIAN = 4321 - BYTE_ORDER = 1234 - FD_SETSIZE = 1024 - LITTLE_ENDIAN = 1234 - PDP_ENDIAN = 3412 - X_ATFILE_SOURCE = 1 - X_BITS_BYTESWAP_H = 1 - X_BITS_ENDIANNESS_H = 1 - X_BITS_ENDIAN_H = 1 - X_BITS_PTHREADTYPES_ARCH_H = 1 - X_BITS_PTHREADTYPES_COMMON_H = 1 - X_BITS_STDINT_INTN_H = 1 - X_BITS_TIME64_H = 1 - X_BITS_TYPESIZES_H = 1 - X_BITS_TYPES_H = 1 - X_BITS_UINTN_IDENTITY_H = 1 - X_BSD_SIZE_T_ = 0 - X_BSD_SIZE_T_DEFINED_ = 0 - X_DEFAULT_SOURCE = 1 - X_ENDIAN_H = 1 - X_FEATURES_H = 1 - X_FILE_OFFSET_BITS = 64 - X_GCC_SIZE_T = 0 - X_LP64 = 1 - X_POSIX_C_SOURCE = 200809 - X_POSIX_SOURCE = 1 - X_RWLOCK_INTERNAL_H = 0 - X_SIZET_ = 0 - X_SIZE_T = 0 - X_SIZE_T_ = 0 - X_SIZE_T_DECLARED = 0 - X_SIZE_T_DEFINED = 0 - X_SIZE_T_DEFINED_ = 0 - X_STDC_PREDEF_H = 1 - X_STRUCT_TIMESPEC = 1 - X_SYS_CDEFS_H = 1 - X_SYS_SELECT_H = 1 - X_SYS_SIZE_T_H = 0 - X_SYS_TYPES_H = 1 - X_THREAD_MUTEX_INTERNAL_H = 1 - X_THREAD_SHARED_TYPES_H = 1 - X_T_SIZE = 0 - X_T_SIZE_ = 0 - Linux = 1 - Unix = 1 + BIG_ENDIAN = 4321 // endian.h:28:1: + BYTE_ORDER = 1234 // endian.h:30:1: + FD_SETSIZE = 1024 // select.h:73:1: + LITTLE_ENDIAN = 1234 // endian.h:27:1: + PDP_ENDIAN = 3412 // endian.h:29:1: + X_ATFILE_SOURCE = 1 // features.h:342:1: + X_BITS_BYTESWAP_H = 1 // byteswap.h:24:1: + X_BITS_ENDIANNESS_H = 1 // endianness.h:2:1: + X_BITS_ENDIAN_H = 1 // endian.h:20:1: + X_BITS_PTHREADTYPES_ARCH_H = 1 // pthreadtypes-arch.h:19:1: + X_BITS_PTHREADTYPES_COMMON_H = 1 // pthreadtypes.h:20:1: + X_BITS_STDINT_INTN_H = 1 // stdint-intn.h:20:1: + X_BITS_TIME64_H = 1 // time64.h:24:1: + X_BITS_TYPESIZES_H = 1 // typesizes.h:24:1: + X_BITS_TYPES_H = 1 // types.h:24:1: + X_BITS_UINTN_IDENTITY_H = 1 // uintn-identity.h:24:1: + X_BSD_SIZE_T_ = 0 // stddef.h:189:1: + X_BSD_SIZE_T_DEFINED_ = 0 // stddef.h:192:1: + X_DEFAULT_SOURCE = 1 // features.h:227:1: + X_ENDIAN_H = 1 // endian.h:19:1: + X_FEATURES_H = 1 // features.h:19:1: + X_FILE_OFFSET_BITS = 64 // <builtin>:25:1: + X_GCC_SIZE_T = 0 // stddef.h:195:1: + X_LP64 = 1 // <predefined>:284:1: + X_POSIX_C_SOURCE = 200809 // features.h:281:1: + X_POSIX_SOURCE = 1 // features.h:279:1: + X_RWLOCK_INTERNAL_H = 0 // struct_rwlock.h:21:1: + X_SIZET_ = 0 // stddef.h:196:1: + X_SIZE_T = 0 // stddef.h:183:1: + X_SIZE_T_ = 0 // stddef.h:188:1: + X_SIZE_T_DECLARED = 0 // stddef.h:193:1: + X_SIZE_T_DEFINED = 0 // stddef.h:191:1: + X_SIZE_T_DEFINED_ = 0 // stddef.h:190:1: + X_STDC_PREDEF_H = 1 // <predefined>:162:1: + X_STRUCT_TIMESPEC = 1 // struct_timespec.h:3:1: + X_SYS_CDEFS_H = 1 // cdefs.h:19:1: + X_SYS_SELECT_H = 1 // select.h:22:1: + X_SYS_SIZE_T_H = 0 // stddef.h:184:1: + X_SYS_TYPES_H = 1 // types.h:23:1: + X_THREAD_MUTEX_INTERNAL_H = 1 // struct_mutex.h:20:1: + X_THREAD_SHARED_TYPES_H = 1 // thread-shared-types.h:20:1: + X_T_SIZE = 0 // stddef.h:186:1: + X_T_SIZE_ = 0 // stddef.h:185:1: + Linux = 1 // <predefined>:231:1: + Unix = 1 // <predefined>:177:1: ) type Ptrdiff_t = int64 /* <builtin>:3:26 */ diff --git a/vendor/modernc.org/libc/termios/capi_darwin_arm64.go b/vendor/modernc.org/libc/termios/capi_darwin_arm64.go index cc3e84f5..f663be11 100644 --- a/vendor/modernc.org/libc/termios/capi_darwin_arm64.go +++ b/vendor/modernc.org/libc/termios/capi_darwin_arm64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo termios/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o termios/termios_darwin_arm64.go -pkgname termios', DO NOT EDIT. +// Code generated by 'ccgo termios/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o termios/termios_darwin_arm64.go -pkgname termios', DO NOT EDIT. package termios diff --git a/vendor/modernc.org/libc/termios/capi_linux_amd64.go b/vendor/modernc.org/libc/termios/capi_linux_amd64.go index 663db586..193dc60e 100644 --- a/vendor/modernc.org/libc/termios/capi_linux_amd64.go +++ b/vendor/modernc.org/libc/termios/capi_linux_amd64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo termios/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o termios/termios_linux_amd64.go -pkgname termios', DO NOT EDIT. +// Code generated by 'ccgo termios/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o termios/termios_linux_amd64.go -pkgname termios', DO NOT EDIT. package termios diff --git a/vendor/modernc.org/libc/termios/termios_darwin_arm64.go b/vendor/modernc.org/libc/termios/termios_darwin_arm64.go index 25fbac4b..9235fb46 100644 --- a/vendor/modernc.org/libc/termios/termios_darwin_arm64.go +++ b/vendor/modernc.org/libc/termios/termios_darwin_arm64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo termios/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o termios/termios_darwin_arm64.go -pkgname termios', DO NOT EDIT. +// Code generated by 'ccgo termios/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o termios/termios_darwin_arm64.go -pkgname termios', DO NOT EDIT. package termios @@ -15,216 +15,216 @@ var _ atomic.Value var _ unsafe.Pointer const ( - ALTWERASE = 0x00000200 - B0 = 0 - B110 = 110 - B115200 = 115200 - B1200 = 1200 - B134 = 134 - B14400 = 14400 - B150 = 150 - B1800 = 1800 - B19200 = 19200 - B200 = 200 - B230400 = 230400 - B2400 = 2400 - B28800 = 28800 - B300 = 300 - B38400 = 38400 - B4800 = 4800 - B50 = 50 - B57600 = 57600 - B600 = 600 - B7200 = 7200 - B75 = 75 - B76800 = 76800 - B9600 = 9600 - BRKINT = 0x00000002 - BS0 = 0x00000000 - BS1 = 0x00008000 - BSDLY = 0x00008000 - CBRK = 255 - CCAR_OFLOW = 0x00100000 - CCTS_OFLOW = 0x00010000 - CDISCARD = 15 - CDSR_OFLOW = 0x00080000 - CDSUSP = 25 - CDTR_IFLOW = 0x00040000 - CEOF = 4 - CEOL = 0xff - CEOT = 4 - CERASE = 0177 - CFLUSH = 15 - CIGNORE = 0x00000001 - CINTR = 3 - CKILL = 21 - CLNEXT = 22 - CLOCAL = 0x00008000 - CMIN = 1 - CQUIT = 034 - CR0 = 0x00000000 - CR1 = 0x00001000 - CR2 = 0x00002000 - CR3 = 0x00003000 - CRDLY = 0x00003000 - CREAD = 0x00000800 - CREPRINT = 18 - CRPRNT = 18 - CRTSCTS = 196608 - CRTS_IFLOW = 0x00020000 - CS5 = 0x00000000 - CS6 = 0x00000100 - CS7 = 0x00000200 - CS8 = 0x00000300 - CSIZE = 0x00000300 - CSTART = 17 - CSTATUS = 20 - CSTOP = 19 - CSTOPB = 0x00000400 - CSUSP = 26 - CTIME = 0 - CWERASE = 23 - ECHO = 0x00000008 - ECHOCTL = 0x00000040 - ECHOE = 0x00000002 - ECHOK = 0x00000004 - ECHOKE = 0x00000001 - ECHONL = 0x00000010 - ECHOPRT = 0x00000020 - EXTA = 19200 - EXTB = 38400 - EXTPROC = 0x00000800 - FF0 = 0x00000000 - FF1 = 0x00004000 - FFDLY = 0x00004000 - FLUSHO = 0x00800000 - HUPCL = 0x00004000 - ICANON = 0x00000100 - ICRNL = 0x00000100 - IEXTEN = 0x00000400 - IGNBRK = 0x00000001 - IGNCR = 0x00000080 - IGNPAR = 0x00000004 - IMAXBEL = 0x00002000 - INLCR = 0x00000040 - INPCK = 0x00000010 - IOCPARM_MASK = 0x1fff - IOCPARM_MAX = 8192 - ISIG = 0x00000080 - ISTRIP = 0x00000020 - IUTF8 = 0x00004000 - IXANY = 0x00000800 - IXOFF = 0x00000400 - IXON = 0x00000200 - MDMBUF = 0x00100000 - NCCS = 20 - NL0 = 0x00000000 - NL1 = 0x00000100 - NL2 = 0x00000200 - NL3 = 0x00000300 - NLDLY = 0x00000300 - NOFLSH = 0x80000000 - NOKERNINFO = 0x02000000 - OCRNL = 0x00000010 - OFDEL = 0x00020000 - OFILL = 0x00000080 - ONLCR = 0x00000002 - ONLRET = 0x00000040 - ONOCR = 0x00000020 - ONOEOT = 0x00000008 - OPOST = 0x00000001 - OXTABS = 0x00000004 - PARENB = 0x00001000 - PARMRK = 0x00000008 - PARODD = 0x00002000 - PENDIN = 0x20000000 - PPPDISC = 5 - SLIPDISC = 4 - TAB0 = 0x00000000 - TAB1 = 0x00000400 - TAB2 = 0x00000800 - TAB3 = 0x00000004 - TABDLY = 0x00000c04 - TABLDISC = 3 - TCIFLUSH = 1 - TCIOFF = 3 - TCIOFLUSH = 3 - TCION = 4 - TCOFLUSH = 2 - TCOOFF = 1 - TCOON = 2 - TCSADRAIN = 1 - TCSAFLUSH = 2 - TCSANOW = 0 - TCSASOFT = 0x10 - TIOCM_CAR = 0100 - TIOCM_CD = 64 - TIOCM_CTS = 0040 - TIOCM_DSR = 0400 - TIOCM_DTR = 0002 - TIOCM_LE = 0001 - TIOCM_RI = 128 - TIOCM_RNG = 0200 - TIOCM_RTS = 0004 - TIOCM_SR = 0020 - TIOCM_ST = 0010 - TIOCPKT_DATA = 0x00 - TIOCPKT_DOSTOP = 0x20 - TIOCPKT_FLUSHREAD = 0x01 - TIOCPKT_FLUSHWRITE = 0x02 - TIOCPKT_IOCTL = 0x40 - TIOCPKT_NOSTOP = 0x10 - TIOCPKT_START = 0x08 - TIOCPKT_STOP = 0x04 - TOSTOP = 0x00400000 - TTYDEF_CFLAG = 19200 - TTYDEF_IFLAG = 11010 - TTYDEF_LFLAG = 1483 - TTYDEF_OFLAG = 3 - TTYDEF_SPEED = 9600 - TTYDISC = 0 - VDISCARD = 15 - VDSUSP = 11 - VEOF = 0 - VEOL = 1 - VEOL2 = 2 - VERASE = 3 - VINTR = 8 - VKILL = 5 - VLNEXT = 14 - VMIN = 16 - VQUIT = 9 - VREPRINT = 6 - VSTART = 12 - VSTATUS = 18 - VSTOP = 13 - VSUSP = 10 - VT0 = 0x00000000 - VT1 = 0x00010000 - VTDLY = 0x00010000 - VTIME = 17 - VWERASE = 4 - X_BSD_ARM__TYPES_H_ = 0 - X_BSD_MACHINE__TYPES_H_ = 0 - X_CDEFS_H_ = 0 - X_DARWIN_FEATURE_64_BIT_INODE = 1 - X_DARWIN_FEATURE_ONLY_64_BIT_INODE = 1 - X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1 - X_DARWIN_FEATURE_ONLY_VERS_1050 = 1 - X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3 - X_FILE_OFFSET_BITS = 64 - X_FORTIFY_SOURCE = 2 - X_LP64 = 1 - X_Nonnull = 0 - X_Null_unspecified = 0 - X_Nullable = 0 - X_PID_T = 0 - X_SYS_IOCCOM_H_ = 0 - X_SYS_TERMIOS_H_ = 0 - X_SYS_TTYCOM_H_ = 0 - X_SYS_TTYDEFAULTS_H_ = 0 - X_SYS__PTHREAD_TYPES_H_ = 0 - X_SYS__TYPES_H_ = 0 + ALTWERASE = 0x00000200 // termios.h:249:1: + B0 = 0 // termios.h:291:1: + B110 = 110 // termios.h:294:1: + B115200 = 115200 // termios.h:313:1: + B1200 = 1200 // termios.h:300:1: + B134 = 134 // termios.h:295:1: + B14400 = 14400 // termios.h:309:1: + B150 = 150 // termios.h:296:1: + B1800 = 1800 // termios.h:301:1: + B19200 = 19200 // termios.h:305:1: + B200 = 200 // termios.h:297:1: + B230400 = 230400 // termios.h:314:1: + B2400 = 2400 // termios.h:302:1: + B28800 = 28800 // termios.h:310:1: + B300 = 300 // termios.h:298:1: + B38400 = 38400 // termios.h:306:1: + B4800 = 4800 // termios.h:303:1: + B50 = 50 // termios.h:292:1: + B57600 = 57600 // termios.h:311:1: + B600 = 600 // termios.h:299:1: + B7200 = 7200 // termios.h:308:1: + B75 = 75 // termios.h:293:1: + B76800 = 76800 // termios.h:312:1: + B9600 = 9600 // termios.h:304:1: + BRKINT = 0x00000002 // termios.h:120:1: + BS0 = 0x00000000 // termios.h:190:1: + BS1 = 0x00008000 // termios.h:191:1: + BSDLY = 0x00008000 // termios.h:159:1: + CBRK = 255 // ttydefaults.h:107:1: + CCAR_OFLOW = 0x00100000 // termios.h:222:1: + CCTS_OFLOW = 0x00010000 // termios.h:217:1: + CDISCARD = 15 // ttydefaults.h:102:1: + CDSR_OFLOW = 0x00080000 // termios.h:221:1: + CDSUSP = 25 // ttydefaults.h:98:1: + CDTR_IFLOW = 0x00040000 // termios.h:220:1: + CEOF = 4 // ttydefaults.h:88:1: + CEOL = 0xff // ttydefaults.h:89:1: + CEOT = 4 // ttydefaults.h:105:1: + CERASE = 0177 // ttydefaults.h:90:1: + CFLUSH = 15 // ttydefaults.h:109:1: + CIGNORE = 0x00000001 // termios.h:203:1: + CINTR = 3 // ttydefaults.h:91:1: + CKILL = 21 // ttydefaults.h:93:1: + CLNEXT = 22 // ttydefaults.h:101:1: + CLOCAL = 0x00008000 // termios.h:215:1: + CMIN = 1 // ttydefaults.h:94:1: + CQUIT = 034 // ttydefaults.h:95:1: + CR0 = 0x00000000 // termios.h:184:1: + CR1 = 0x00001000 // termios.h:185:1: + CR2 = 0x00002000 // termios.h:186:1: + CR3 = 0x00003000 // termios.h:187:1: + CRDLY = 0x00003000 // termios.h:157:1: + CREAD = 0x00000800 // termios.h:211:1: + CREPRINT = 18 // ttydefaults.h:104:1: + CRPRNT = 18 // ttydefaults.h:108:1: + CRTSCTS = 196608 // termios.h:218:1: + CRTS_IFLOW = 0x00020000 // termios.h:219:1: + CS5 = 0x00000000 // termios.h:206:1: + CS6 = 0x00000100 // termios.h:207:1: + CS7 = 0x00000200 // termios.h:208:1: + CS8 = 0x00000300 // termios.h:209:1: + CSIZE = 0x00000300 // termios.h:205:1: + CSTART = 17 // ttydefaults.h:99:1: + CSTATUS = 20 // ttydefaults.h:92:1: + CSTOP = 19 // ttydefaults.h:100:1: + CSTOPB = 0x00000400 // termios.h:210:1: + CSUSP = 26 // ttydefaults.h:96:1: + CTIME = 0 // ttydefaults.h:97:1: + CWERASE = 23 // ttydefaults.h:103:1: + ECHO = 0x00000008 // termios.h:240:1: + ECHOCTL = 0x00000040 // termios.h:244:1: + ECHOE = 0x00000002 // termios.h:238:1: + ECHOK = 0x00000004 // termios.h:239:1: + ECHOKE = 0x00000001 // termios.h:236:1: + ECHONL = 0x00000010 // termios.h:241:1: + ECHOPRT = 0x00000020 // termios.h:243:1: + EXTA = 19200 // termios.h:315:1: + EXTB = 38400 // termios.h:316:1: + EXTPROC = 0x00000800 // termios.h:253:1: + FF0 = 0x00000000 // termios.h:188:1: + FF1 = 0x00004000 // termios.h:189:1: + FFDLY = 0x00004000 // termios.h:158:1: + FLUSHO = 0x00800000 // termios.h:257:1: + HUPCL = 0x00004000 // termios.h:214:1: + ICANON = 0x00000100 // termios.h:247:1: + ICRNL = 0x00000100 // termios.h:127:1: + IEXTEN = 0x00000400 // termios.h:251:1: + IGNBRK = 0x00000001 // termios.h:119:1: + IGNCR = 0x00000080 // termios.h:126:1: + IGNPAR = 0x00000004 // termios.h:121:1: + IMAXBEL = 0x00002000 // termios.h:132:1: + INLCR = 0x00000040 // termios.h:125:1: + INPCK = 0x00000010 // termios.h:123:1: + IOCPARM_MASK = 0x1fff // ioccom.h:74:1: + IOCPARM_MAX = 8192 // ioccom.h:79:1: + ISIG = 0x00000080 // termios.h:246:1: + ISTRIP = 0x00000020 // termios.h:124:1: + IUTF8 = 0x00004000 // termios.h:133:1: + IXANY = 0x00000800 // termios.h:130:1: + IXOFF = 0x00000400 // termios.h:129:1: + IXON = 0x00000200 // termios.h:128:1: + MDMBUF = 0x00100000 // termios.h:223:1: + NCCS = 20 // termios.h:108:1: + NL0 = 0x00000000 // termios.h:173:1: + NL1 = 0x00000100 // termios.h:174:1: + NL2 = 0x00000200 // termios.h:176:1: + NL3 = 0x00000300 // termios.h:177:1: + NLDLY = 0x00000300 // termios.h:155:1: + NOFLSH = 0x80000000 // termios.h:261:1: + NOKERNINFO = 0x02000000 // termios.h:258:1: + OCRNL = 0x00000010 // termios.h:151:1: + OFDEL = 0x00020000 // termios.h:161:1: + OFILL = 0x00000080 // termios.h:154:1: + ONLCR = 0x00000002 // termios.h:140:1: + ONLRET = 0x00000040 // termios.h:153:1: + ONOCR = 0x00000020 // termios.h:152:1: + ONOEOT = 0x00000008 // termios.h:143:1: + OPOST = 0x00000001 // termios.h:139:1: + OXTABS = 0x00000004 // termios.h:142:1: + PARENB = 0x00001000 // termios.h:212:1: + PARMRK = 0x00000008 // termios.h:122:1: + PARODD = 0x00002000 // termios.h:213:1: + PENDIN = 0x20000000 // termios.h:259:1: + PPPDISC = 5 // ttycom.h:171:1: + SLIPDISC = 4 // ttycom.h:170:1: + TAB0 = 0x00000000 // termios.h:179:1: + TAB1 = 0x00000400 // termios.h:180:1: + TAB2 = 0x00000800 // termios.h:181:1: + TAB3 = 0x00000004 // termios.h:183:1: + TABDLY = 0x00000c04 // termios.h:156:1: + TABLDISC = 3 // ttycom.h:169:1: + TCIFLUSH = 1 // termios.h:320:1: + TCIOFF = 3 // termios.h:325:1: + TCIOFLUSH = 3 // termios.h:322:1: + TCION = 4 // termios.h:326:1: + TCOFLUSH = 2 // termios.h:321:1: + TCOOFF = 1 // termios.h:323:1: + TCOON = 2 // termios.h:324:1: + TCSADRAIN = 1 // termios.h:282:1: + TCSAFLUSH = 2 // termios.h:283:1: + TCSANOW = 0 // termios.h:281:1: + TCSASOFT = 0x10 // termios.h:285:1: + TIOCM_CAR = 0100 // ttycom.h:97:1: + TIOCM_CD = 64 // ttycom.h:98:1: + TIOCM_CTS = 0040 // ttycom.h:96:1: + TIOCM_DSR = 0400 // ttycom.h:101:1: + TIOCM_DTR = 0002 // ttycom.h:92:1: + TIOCM_LE = 0001 // ttycom.h:91:1: + TIOCM_RI = 128 // ttycom.h:100:1: + TIOCM_RNG = 0200 // ttycom.h:99:1: + TIOCM_RTS = 0004 // ttycom.h:93:1: + TIOCM_SR = 0020 // ttycom.h:95:1: + TIOCM_ST = 0010 // ttycom.h:94:1: + TIOCPKT_DATA = 0x00 // ttycom.h:128:1: + TIOCPKT_DOSTOP = 0x20 // ttycom.h:134:1: + TIOCPKT_FLUSHREAD = 0x01 // ttycom.h:129:1: + TIOCPKT_FLUSHWRITE = 0x02 // ttycom.h:130:1: + TIOCPKT_IOCTL = 0x40 // ttycom.h:135:1: + TIOCPKT_NOSTOP = 0x10 // ttycom.h:133:1: + TIOCPKT_START = 0x08 // ttycom.h:132:1: + TIOCPKT_STOP = 0x04 // ttycom.h:131:1: + TOSTOP = 0x00400000 // termios.h:255:1: + TTYDEF_CFLAG = 19200 // ttydefaults.h:81:1: + TTYDEF_IFLAG = 11010 // ttydefaults.h:78:1: + TTYDEF_LFLAG = 1483 // ttydefaults.h:80:1: + TTYDEF_OFLAG = 3 // ttydefaults.h:79:1: + TTYDEF_SPEED = 9600 // ttydefaults.h:82:1: + TTYDISC = 0 // ttycom.h:168:1: + VDISCARD = 15 // termios.h:100:1: + VDSUSP = 11 // termios.h:94:1: + VEOF = 0 // termios.h:76:1: + VEOL = 1 // termios.h:77:1: + VEOL2 = 2 // termios.h:79:1: + VERASE = 3 // termios.h:81:1: + VINTR = 8 // termios.h:90:1: + VKILL = 5 // termios.h:85:1: + VLNEXT = 14 // termios.h:99:1: + VMIN = 16 // termios.h:102:1: + VQUIT = 9 // termios.h:91:1: + VREPRINT = 6 // termios.h:87:1: + VSTART = 12 // termios.h:96:1: + VSTATUS = 18 // termios.h:105:1: + VSTOP = 13 // termios.h:97:1: + VSUSP = 10 // termios.h:92:1: + VT0 = 0x00000000 // termios.h:192:1: + VT1 = 0x00010000 // termios.h:193:1: + VTDLY = 0x00010000 // termios.h:160:1: + VTIME = 17 // termios.h:103:1: + VWERASE = 4 // termios.h:83:1: + X_BSD_ARM__TYPES_H_ = 0 // _types.h:5:1: + X_BSD_MACHINE__TYPES_H_ = 0 // _types.h:29:1: + X_CDEFS_H_ = 0 // cdefs.h:68:1: + X_DARWIN_FEATURE_64_BIT_INODE = 1 // cdefs.h:774:1: + X_DARWIN_FEATURE_ONLY_64_BIT_INODE = 1 // cdefs.h:784:1: + X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1 // cdefs.h:800:1: + X_DARWIN_FEATURE_ONLY_VERS_1050 = 1 // cdefs.h:792:1: + X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3 // cdefs.h:808:1: + X_FILE_OFFSET_BITS = 64 // <builtin>:25:1: + X_FORTIFY_SOURCE = 2 // _types.h:65:1: + X_LP64 = 1 // <predefined>:1:1: + X_Nonnull = 0 // cdefs.h:268:1: + X_Null_unspecified = 0 // cdefs.h:271:1: + X_Nullable = 0 // cdefs.h:265:1: + X_PID_T = 0 // _pid_t.h:29:1: + X_SYS_IOCCOM_H_ = 0 // ioccom.h:65:1: + X_SYS_TERMIOS_H_ = 0 // termios.h:65:1: + X_SYS_TTYCOM_H_ = 0 // ttycom.h:70:1: + X_SYS_TTYDEFAULTS_H_ = 0 // ttydefaults.h:73:1: + X_SYS__PTHREAD_TYPES_H_ = 0 // _pthread_types.h:30:1: + X_SYS__TYPES_H_ = 0 // _types.h:30:1: ) type Ptrdiff_t = int64 /* <builtin>:3:26 */ @@ -631,6 +631,20 @@ var X__darwin_check_fd_set_overflow uintptr /* <builtin>:146:5: */ // __XNU_PRIVATE_EXTERN is a linkage decoration indicating that a symbol can be // used from other compilation units, but not other libraries or executables. +// We intentionally define to nothing pointer attributes which do not have an +// impact on the ABI. __indexable and __bidi_indexable are not defined because +// of the ABI incompatibility that makes the diagnostic preferable. + +// Similarly, we intentionally define to nothing the +// __ptrcheck_abi_assume_single and __ptrcheck_abi_assume_unsafe_indexable +// macros because they do not lead to an ABI incompatibility. However, we do not +// define the indexable and unsafe_indexable ones because the diagnostic is +// better than the silent ABI break. + +// __unsafe_forge intrinsics are defined as regular C casts. + +// decay operates normally; attribute is meaningless without pointer checks. + // Architecture validation for current SDK // Similar to OS_ENUM/OS_CLOSED_ENUM/OS_OPTIONS/OS_CLOSED_OPTIONS diff --git a/vendor/modernc.org/libc/termios/termios_linux_amd64.go b/vendor/modernc.org/libc/termios/termios_linux_amd64.go index 929ca5f5..2c8b86c1 100644 --- a/vendor/modernc.org/libc/termios/termios_linux_amd64.go +++ b/vendor/modernc.org/libc/termios/termios_linux_amd64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo termios/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o termios/termios_linux_amd64.go -pkgname termios', DO NOT EDIT. +// Code generated by 'ccgo termios/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o termios/termios_linux_amd64.go -pkgname termios', DO NOT EDIT. package termios @@ -15,190 +15,190 @@ var _ atomic.Value var _ unsafe.Pointer const ( - B0 = 0000000 - B1000000 = 0010010 - B110 = 0000003 - B115200 = 0010002 - B1152000 = 0010011 - B1200 = 0000011 - B134 = 0000004 - B150 = 0000005 - B1500000 = 0010012 - B1800 = 0000012 - B19200 = 0000016 - B200 = 0000006 - B2000000 = 0010013 - B230400 = 0010003 - B2400 = 0000013 - B2500000 = 0010014 - B300 = 0000007 - B3000000 = 0010015 - B3500000 = 0010016 - B38400 = 0000017 - B4000000 = 0010017 - B460800 = 0010004 - B4800 = 0000014 - B50 = 0000001 - B500000 = 0010005 - B57600 = 0010001 - B576000 = 0010006 - B600 = 0000010 - B75 = 0000002 - B921600 = 0010007 - B9600 = 0000015 - BRKINT = 0000002 - BS0 = 0000000 - BS1 = 0020000 - BSDLY = 0020000 - CBAUD = 000000010017 - CBAUDEX = 000000010000 - CBRK = 0 - CDISCARD = 15 - CDSUSP = 25 - CEOF = 4 - CEOL = 0 - CEOT = 4 - CERASE = 0177 - CFLUSH = 15 - CIBAUD = 002003600000 - CINTR = 3 - CKILL = 21 - CLNEXT = 22 - CLOCAL = 0004000 - CMIN = 1 - CMSPAR = 010000000000 - CQUIT = 034 - CR0 = 0000000 - CR1 = 0001000 - CR2 = 0002000 - CR3 = 0003000 - CRDLY = 0003000 - CREAD = 0000200 - CREPRINT = 18 - CRPRNT = 18 - CRTSCTS = 020000000000 - CS5 = 0000000 - CS6 = 0000020 - CS7 = 0000040 - CS8 = 0000060 - CSIZE = 0000060 - CSTART = 17 - CSTATUS = 0 - CSTOP = 19 - CSTOPB = 0000100 - CSUSP = 26 - CTIME = 0 - CWERASE = 23 - ECHO = 0000010 - ECHOCTL = 0001000 - ECHOE = 0000020 - ECHOK = 0000040 - ECHOKE = 0004000 - ECHONL = 0000100 - ECHOPRT = 0002000 - EXTA = 14 - EXTB = 15 - EXTPROC = 0200000 - FF0 = 0000000 - FF1 = 0100000 - FFDLY = 0100000 - FLUSHO = 0010000 - HUPCL = 0002000 - ICANON = 0000002 - ICRNL = 0000400 - IEXTEN = 0100000 - IGNBRK = 0000001 - IGNCR = 0000200 - IGNPAR = 0000004 - IMAXBEL = 0020000 - INLCR = 0000100 - INPCK = 0000020 - ISIG = 0000001 - ISTRIP = 0000040 - IUCLC = 0001000 - IUTF8 = 0040000 - IXANY = 0004000 - IXOFF = 0010000 - IXON = 0002000 - NCCS = 32 - NL0 = 0000000 - NL1 = 0000400 - NLDLY = 0000400 - NOFLSH = 0000200 - OCRNL = 0000010 - OFDEL = 0000200 - OFILL = 0000100 - OLCUC = 0000002 - ONLCR = 0000004 - ONLRET = 0000040 - ONOCR = 0000020 - OPOST = 0000001 - PARENB = 0000400 - PARMRK = 0000010 - PARODD = 0001000 - PENDIN = 0040000 - TAB0 = 0000000 - TAB1 = 0004000 - TAB2 = 0010000 - TAB3 = 0014000 - TABDLY = 0014000 - TCIFLUSH = 0 - TCIOFF = 2 - TCIOFLUSH = 2 - TCION = 3 - TCOFLUSH = 1 - TCOOFF = 0 - TCOON = 1 - TCSADRAIN = 1 - TCSAFLUSH = 2 - TCSANOW = 0 - TIOCSER_TEMT = 0x01 - TOSTOP = 0000400 - TTYDEF_CFLAG = 1440 - TTYDEF_IFLAG = 11554 - TTYDEF_LFLAG = 35355 - TTYDEF_OFLAG = 6149 - TTYDEF_SPEED = 13 - VDISCARD = 13 - VEOF = 4 - VEOL = 11 - VEOL2 = 16 - VERASE = 2 - VINTR = 0 - VKILL = 3 - VLNEXT = 15 - VMIN = 6 - VQUIT = 1 - VREPRINT = 12 - VSTART = 8 - VSTOP = 9 - VSUSP = 10 - VSWTC = 7 - VT0 = 0000000 - VT1 = 0040000 - VTDLY = 0040000 - VTIME = 5 - VWERASE = 14 - XCASE = 0000004 - XTABS = 0014000 - X_ATFILE_SOURCE = 1 - X_BITS_TIME64_H = 1 - X_BITS_TYPESIZES_H = 1 - X_BITS_TYPES_H = 1 - X_DEFAULT_SOURCE = 1 - X_FEATURES_H = 1 - X_FILE_OFFSET_BITS = 64 - X_HAVE_STRUCT_TERMIOS_C_ISPEED = 1 - X_HAVE_STRUCT_TERMIOS_C_OSPEED = 1 - X_LP64 = 1 - X_POSIX_C_SOURCE = 200809 - X_POSIX_SOURCE = 1 - X_STDC_PREDEF_H = 1 - X_SYS_CDEFS_H = 1 - X_SYS_TTYDEFAULTS_H_ = 0 - X_TERMIOS_H = 1 - Linux = 1 - Unix = 1 + B0 = 0000000 // termios.h:33:1: + B1000000 = 0010010 // termios-baud.h:40:1: + B110 = 0000003 // termios.h:36:1: + B115200 = 0010002 // termios-baud.h:34:1: + B1152000 = 0010011 // termios-baud.h:41:1: + B1200 = 0000011 // termios.h:42:1: + B134 = 0000004 // termios.h:37:1: + B150 = 0000005 // termios.h:38:1: + B1500000 = 0010012 // termios-baud.h:42:1: + B1800 = 0000012 // termios.h:43:1: + B19200 = 0000016 // termios.h:47:1: + B200 = 0000006 // termios.h:39:1: + B2000000 = 0010013 // termios-baud.h:43:1: + B230400 = 0010003 // termios-baud.h:35:1: + B2400 = 0000013 // termios.h:44:1: + B2500000 = 0010014 // termios-baud.h:44:1: + B300 = 0000007 // termios.h:40:1: + B3000000 = 0010015 // termios-baud.h:45:1: + B3500000 = 0010016 // termios-baud.h:46:1: + B38400 = 0000017 // termios.h:48:1: + B4000000 = 0010017 // termios-baud.h:47:1: + B460800 = 0010004 // termios-baud.h:36:1: + B4800 = 0000014 // termios.h:45:1: + B50 = 0000001 // termios.h:34:1: + B500000 = 0010005 // termios-baud.h:37:1: + B57600 = 0010001 // termios-baud.h:33:1: + B576000 = 0010006 // termios-baud.h:38:1: + B600 = 0000010 // termios.h:41:1: + B75 = 0000002 // termios.h:35:1: + B921600 = 0010007 // termios-baud.h:39:1: + B9600 = 0000015 // termios.h:46:1: + BRKINT = 0000002 // termios-c_iflag.h:25:1: + BS0 = 0000000 // termios-c_oflag.h:48:1: + BS1 = 0020000 // termios-c_oflag.h:49:1: + BSDLY = 0020000 // termios-c_oflag.h:47:1: + CBAUD = 000000010017 // termios-baud.h:24:1: + CBAUDEX = 000000010000 // termios-baud.h:25:1: + CBRK = 0 // ttydefaults.h:83:1: + CDISCARD = 15 // ttydefaults.h:78:1: + CDSUSP = 25 // ttydefaults.h:74:1: + CEOF = 4 // ttydefaults.h:56:1: + CEOL = 0 // ttydefaults.h:60:1: + CEOT = 4 // ttydefaults.h:81:1: + CERASE = 0177 // ttydefaults.h:62:1: + CFLUSH = 15 // ttydefaults.h:85:1: + CIBAUD = 002003600000 // termios-baud.h:27:1: + CINTR = 3 // ttydefaults.h:63:1: + CKILL = 21 // ttydefaults.h:69:1: + CLNEXT = 22 // ttydefaults.h:77:1: + CLOCAL = 0004000 // termios-c_cflag.h:34:1: + CMIN = 1 // ttydefaults.h:70:1: + CMSPAR = 010000000000 // termios-baud.h:28:1: + CQUIT = 034 // ttydefaults.h:71:1: + CR0 = 0000000 // termios-c_oflag.h:38:1: + CR1 = 0001000 // termios-c_oflag.h:39:1: + CR2 = 0002000 // termios-c_oflag.h:40:1: + CR3 = 0003000 // termios-c_oflag.h:41:1: + CRDLY = 0003000 // termios-c_oflag.h:37:1: + CREAD = 0000200 // termios-c_cflag.h:30:1: + CREPRINT = 18 // ttydefaults.h:80:1: + CRPRNT = 18 // ttydefaults.h:84:1: + CRTSCTS = 020000000000 // termios-baud.h:29:1: + CS5 = 0000000 // termios-c_cflag.h:25:1: + CS6 = 0000020 // termios-c_cflag.h:26:1: + CS7 = 0000040 // termios-c_cflag.h:27:1: + CS8 = 0000060 // termios-c_cflag.h:28:1: + CSIZE = 0000060 // termios-c_cflag.h:24:1: + CSTART = 17 // ttydefaults.h:75:1: + CSTATUS = 0 // ttydefaults.h:67:1: + CSTOP = 19 // ttydefaults.h:76:1: + CSTOPB = 0000100 // termios-c_cflag.h:29:1: + CSUSP = 26 // ttydefaults.h:72:1: + CTIME = 0 // ttydefaults.h:73:1: + CWERASE = 23 // ttydefaults.h:79:1: + ECHO = 0000010 // termios-c_lflag.h:29:1: + ECHOCTL = 0001000 // termios-c_lflag.h:37:1: + ECHOE = 0000020 // termios-c_lflag.h:30:1: + ECHOK = 0000040 // termios-c_lflag.h:32:1: + ECHOKE = 0004000 // termios-c_lflag.h:45:1: + ECHONL = 0000100 // termios-c_lflag.h:33:1: + ECHOPRT = 0002000 // termios-c_lflag.h:42:1: + EXTA = 14 // termios.h:50:1: + EXTB = 15 // termios.h:51:1: + EXTPROC = 0200000 // termios-c_lflag.h:57:1: + FF0 = 0000000 // termios-c_oflag.h:51:1: + FF1 = 0100000 // termios-c_oflag.h:52:1: + FFDLY = 0100000 // termios-c_oflag.h:50:1: + FLUSHO = 0010000 // termios-c_lflag.h:48:1: + HUPCL = 0002000 // termios-c_cflag.h:33:1: + ICANON = 0000002 // termios-c_lflag.h:25:1: + ICRNL = 0000400 // termios-c_iflag.h:32:1: + IEXTEN = 0100000 // termios-c_lflag.h:54:1: + IGNBRK = 0000001 // termios-c_iflag.h:24:1: + IGNCR = 0000200 // termios-c_iflag.h:31:1: + IGNPAR = 0000004 // termios-c_iflag.h:26:1: + IMAXBEL = 0020000 // termios-c_iflag.h:38:1: + INLCR = 0000100 // termios-c_iflag.h:30:1: + INPCK = 0000020 // termios-c_iflag.h:28:1: + ISIG = 0000001 // termios-c_lflag.h:24:1: + ISTRIP = 0000040 // termios-c_iflag.h:29:1: + IUCLC = 0001000 // termios-c_iflag.h:33:1: + IUTF8 = 0040000 // termios-c_iflag.h:40:1: + IXANY = 0004000 // termios-c_iflag.h:36:1: + IXOFF = 0010000 // termios-c_iflag.h:37:1: + IXON = 0002000 // termios-c_iflag.h:35:1: + NCCS = 32 // termios-struct.h:23:1: + NL0 = 0000000 // termios-c_oflag.h:35:1: + NL1 = 0000400 // termios-c_oflag.h:36:1: + NLDLY = 0000400 // termios-c_oflag.h:34:1: + NOFLSH = 0000200 // termios-c_lflag.h:34:1: + OCRNL = 0000010 // termios-c_oflag.h:28:1: + OFDEL = 0000200 // termios-c_oflag.h:32:1: + OFILL = 0000100 // termios-c_oflag.h:31:1: + OLCUC = 0000002 // termios-c_oflag.h:25:1: + ONLCR = 0000004 // termios-c_oflag.h:27:1: + ONLRET = 0000040 // termios-c_oflag.h:30:1: + ONOCR = 0000020 // termios-c_oflag.h:29:1: + OPOST = 0000001 // termios-c_oflag.h:24:1: + PARENB = 0000400 // termios-c_cflag.h:31:1: + PARMRK = 0000010 // termios-c_iflag.h:27:1: + PARODD = 0001000 // termios-c_cflag.h:32:1: + PENDIN = 0040000 // termios-c_lflag.h:50:1: + TAB0 = 0000000 // termios-c_oflag.h:43:1: + TAB1 = 0004000 // termios-c_oflag.h:44:1: + TAB2 = 0010000 // termios-c_oflag.h:45:1: + TAB3 = 0014000 // termios-c_oflag.h:46:1: + TABDLY = 0014000 // termios-c_oflag.h:42:1: + TCIFLUSH = 0 // termios.h:70:1: + TCIOFF = 2 // termios.h:66:1: + TCIOFLUSH = 2 // termios.h:72:1: + TCION = 3 // termios.h:67:1: + TCOFLUSH = 1 // termios.h:71:1: + TCOOFF = 0 // termios.h:64:1: + TCOON = 1 // termios.h:65:1: + TCSADRAIN = 1 // termios-tcflow.h:25:1: + TCSAFLUSH = 2 // termios-tcflow.h:26:1: + TCSANOW = 0 // termios-tcflow.h:24:1: + TIOCSER_TEMT = 0x01 // termios.h:60:1: + TOSTOP = 0000400 // termios-c_lflag.h:35:1: + TTYDEF_CFLAG = 1440 // ttydefaults.h:49:1: + TTYDEF_IFLAG = 11554 // ttydefaults.h:46:1: + TTYDEF_LFLAG = 35355 // ttydefaults.h:48:1: + TTYDEF_OFLAG = 6149 // ttydefaults.h:47:1: + TTYDEF_SPEED = 13 // ttydefaults.h:50:1: + VDISCARD = 13 // termios-c_cc.h:37:1: + VEOF = 4 // termios-c_cc.h:28:1: + VEOL = 11 // termios-c_cc.h:35:1: + VEOL2 = 16 // termios-c_cc.h:40:1: + VERASE = 2 // termios-c_cc.h:26:1: + VINTR = 0 // termios-c_cc.h:24:1: + VKILL = 3 // termios-c_cc.h:27:1: + VLNEXT = 15 // termios-c_cc.h:39:1: + VMIN = 6 // termios-c_cc.h:30:1: + VQUIT = 1 // termios-c_cc.h:25:1: + VREPRINT = 12 // termios-c_cc.h:36:1: + VSTART = 8 // termios-c_cc.h:32:1: + VSTOP = 9 // termios-c_cc.h:33:1: + VSUSP = 10 // termios-c_cc.h:34:1: + VSWTC = 7 // termios-c_cc.h:31:1: + VT0 = 0000000 // termios-c_oflag.h:56:1: + VT1 = 0040000 // termios-c_oflag.h:57:1: + VTDLY = 0040000 // termios-c_oflag.h:55:1: + VTIME = 5 // termios-c_cc.h:29:1: + VWERASE = 14 // termios-c_cc.h:38:1: + XCASE = 0000004 // termios-c_lflag.h:27:1: + XTABS = 0014000 // termios-c_oflag.h:60:1: + X_ATFILE_SOURCE = 1 // features.h:342:1: + X_BITS_TIME64_H = 1 // time64.h:24:1: + X_BITS_TYPESIZES_H = 1 // typesizes.h:24:1: + X_BITS_TYPES_H = 1 // types.h:24:1: + X_DEFAULT_SOURCE = 1 // features.h:227:1: + X_FEATURES_H = 1 // features.h:19:1: + X_FILE_OFFSET_BITS = 64 // <builtin>:25:1: + X_HAVE_STRUCT_TERMIOS_C_ISPEED = 1 // termios-struct.h:34:1: + X_HAVE_STRUCT_TERMIOS_C_OSPEED = 1 // termios-struct.h:35:1: + X_LP64 = 1 // <predefined>:284:1: + X_POSIX_C_SOURCE = 200809 // features.h:281:1: + X_POSIX_SOURCE = 1 // features.h:279:1: + X_STDC_PREDEF_H = 1 // <predefined>:162:1: + X_SYS_CDEFS_H = 1 // cdefs.h:19:1: + X_SYS_TTYDEFAULTS_H_ = 0 // ttydefaults.h:41:1: + X_TERMIOS_H = 1 // termios.h:23:1: + Linux = 1 // <predefined>:231:1: + Unix = 1 // <predefined>:177:1: ) type Ptrdiff_t = int64 /* <builtin>:3:26 */ diff --git a/vendor/modernc.org/libc/time/capi_darwin_arm64.go b/vendor/modernc.org/libc/time/capi_darwin_arm64.go index fbd61d13..940f523b 100644 --- a/vendor/modernc.org/libc/time/capi_darwin_arm64.go +++ b/vendor/modernc.org/libc/time/capi_darwin_arm64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo time/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o time/time_darwin_arm64.go -pkgname time', DO NOT EDIT. +// Code generated by 'ccgo time/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o time/time_darwin_arm64.go -pkgname time', DO NOT EDIT. package time diff --git a/vendor/modernc.org/libc/time/capi_linux_amd64.go b/vendor/modernc.org/libc/time/capi_linux_amd64.go index 8ce1aea1..fef9264d 100644 --- a/vendor/modernc.org/libc/time/capi_linux_amd64.go +++ b/vendor/modernc.org/libc/time/capi_linux_amd64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo time/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o time/time_linux_amd64.go -pkgname time', DO NOT EDIT. +// Code generated by 'ccgo time/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o time/time_linux_amd64.go -pkgname time', DO NOT EDIT. package time diff --git a/vendor/modernc.org/libc/time/time_linux_amd64.go b/vendor/modernc.org/libc/time/time_linux_amd64.go index 4a21d8d1..9d9cd701 100644 --- a/vendor/modernc.org/libc/time/time_linux_amd64.go +++ b/vendor/modernc.org/libc/time/time_linux_amd64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo time/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o time/time_linux_amd64.go -pkgname time', DO NOT EDIT. +// Code generated by 'ccgo time/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o time/time_linux_amd64.go -pkgname time', DO NOT EDIT. package time @@ -15,52 +15,52 @@ var _ atomic.Value var _ unsafe.Pointer const ( - CLOCK_BOOTTIME = 7 - CLOCK_BOOTTIME_ALARM = 9 - CLOCK_MONOTONIC = 1 - CLOCK_MONOTONIC_COARSE = 6 - CLOCK_MONOTONIC_RAW = 4 - CLOCK_PROCESS_CPUTIME_ID = 2 - CLOCK_REALTIME = 0 - CLOCK_REALTIME_ALARM = 8 - CLOCK_REALTIME_COARSE = 5 - CLOCK_TAI = 11 - CLOCK_THREAD_CPUTIME_ID = 3 - TIMER_ABSTIME = 1 - TIME_UTC = 1 - X_ATFILE_SOURCE = 1 - X_BITS_ENDIANNESS_H = 1 - X_BITS_ENDIAN_H = 1 - X_BITS_TIME64_H = 1 - X_BITS_TIME_H = 1 - X_BITS_TYPESIZES_H = 1 - X_BITS_TYPES_H = 1 - X_BITS_TYPES_LOCALE_T_H = 1 - X_BITS_TYPES___LOCALE_T_H = 1 - X_BSD_SIZE_T_ = 0 - X_BSD_SIZE_T_DEFINED_ = 0 - X_DEFAULT_SOURCE = 1 - X_FEATURES_H = 1 - X_FILE_OFFSET_BITS = 64 - X_GCC_SIZE_T = 0 - X_LP64 = 1 - X_POSIX_C_SOURCE = 200809 - X_POSIX_SOURCE = 1 - X_SIZET_ = 0 - X_SIZE_T = 0 - X_SIZE_T_ = 0 - X_SIZE_T_DECLARED = 0 - X_SIZE_T_DEFINED = 0 - X_SIZE_T_DEFINED_ = 0 - X_STDC_PREDEF_H = 1 - X_STRUCT_TIMESPEC = 1 - X_SYS_CDEFS_H = 1 - X_SYS_SIZE_T_H = 0 - X_TIME_H = 1 - X_T_SIZE = 0 - X_T_SIZE_ = 0 - Linux = 1 - Unix = 1 + CLOCK_BOOTTIME = 7 // time.h:60:1: + CLOCK_BOOTTIME_ALARM = 9 // time.h:64:1: + CLOCK_MONOTONIC = 1 // time.h:48:1: + CLOCK_MONOTONIC_COARSE = 6 // time.h:58:1: + CLOCK_MONOTONIC_RAW = 4 // time.h:54:1: + CLOCK_PROCESS_CPUTIME_ID = 2 // time.h:50:1: + CLOCK_REALTIME = 0 // time.h:46:1: + CLOCK_REALTIME_ALARM = 8 // time.h:62:1: + CLOCK_REALTIME_COARSE = 5 // time.h:56:1: + CLOCK_TAI = 11 // time.h:66:1: + CLOCK_THREAD_CPUTIME_ID = 3 // time.h:52:1: + TIMER_ABSTIME = 1 // time.h:69:1: + TIME_UTC = 1 // time.h:65:1: + X_ATFILE_SOURCE = 1 // features.h:342:1: + X_BITS_ENDIANNESS_H = 1 // endianness.h:2:1: + X_BITS_ENDIAN_H = 1 // endian.h:20:1: + X_BITS_TIME64_H = 1 // time64.h:24:1: + X_BITS_TIME_H = 1 // time.h:24:1: + X_BITS_TYPESIZES_H = 1 // typesizes.h:24:1: + X_BITS_TYPES_H = 1 // types.h:24:1: + X_BITS_TYPES_LOCALE_T_H = 1 // locale_t.h:20:1: + X_BITS_TYPES___LOCALE_T_H = 1 // __locale_t.h:21:1: + X_BSD_SIZE_T_ = 0 // stddef.h:189:1: + X_BSD_SIZE_T_DEFINED_ = 0 // stddef.h:192:1: + X_DEFAULT_SOURCE = 1 // features.h:227:1: + X_FEATURES_H = 1 // features.h:19:1: + X_FILE_OFFSET_BITS = 64 // <builtin>:25:1: + X_GCC_SIZE_T = 0 // stddef.h:195:1: + X_LP64 = 1 // <predefined>:284:1: + X_POSIX_C_SOURCE = 200809 // features.h:281:1: + X_POSIX_SOURCE = 1 // features.h:279:1: + X_SIZET_ = 0 // stddef.h:196:1: + X_SIZE_T = 0 // stddef.h:183:1: + X_SIZE_T_ = 0 // stddef.h:188:1: + X_SIZE_T_DECLARED = 0 // stddef.h:193:1: + X_SIZE_T_DEFINED = 0 // stddef.h:191:1: + X_SIZE_T_DEFINED_ = 0 // stddef.h:190:1: + X_STDC_PREDEF_H = 1 // <predefined>:162:1: + X_STRUCT_TIMESPEC = 1 // struct_timespec.h:3:1: + X_SYS_CDEFS_H = 1 // cdefs.h:19:1: + X_SYS_SIZE_T_H = 0 // stddef.h:184:1: + X_TIME_H = 1 // time.h:23:1: + X_T_SIZE = 0 // stddef.h:186:1: + X_T_SIZE_ = 0 // stddef.h:185:1: + Linux = 1 // <predefined>:231:1: + Unix = 1 // <predefined>:177:1: ) type Ptrdiff_t = int64 /* <builtin>:3:26 */ diff --git a/vendor/modernc.org/libc/unistd/capi_darwin_arm64.go b/vendor/modernc.org/libc/unistd/capi_darwin_arm64.go index 094f1592..2e89f7bd 100644 --- a/vendor/modernc.org/libc/unistd/capi_darwin_arm64.go +++ b/vendor/modernc.org/libc/unistd/capi_darwin_arm64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo unistd/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o unistd/unistd_darwin_arm64.go -pkgname unistd', DO NOT EDIT. +// Code generated by 'ccgo unistd/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o unistd/unistd_darwin_arm64.go -pkgname unistd', DO NOT EDIT. package unistd diff --git a/vendor/modernc.org/libc/unistd/capi_linux_amd64.go b/vendor/modernc.org/libc/unistd/capi_linux_amd64.go index aaf139a9..4e94243c 100644 --- a/vendor/modernc.org/libc/unistd/capi_linux_amd64.go +++ b/vendor/modernc.org/libc/unistd/capi_linux_amd64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo unistd/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o unistd/unistd_linux_amd64.go -pkgname unistd', DO NOT EDIT. +// Code generated by 'ccgo unistd/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o unistd/unistd_linux_amd64.go -pkgname unistd', DO NOT EDIT. package unistd diff --git a/vendor/modernc.org/libc/unistd/unistd_darwin_arm64.go b/vendor/modernc.org/libc/unistd/unistd_darwin_arm64.go index 3bcfac13..ebc83846 100644 --- a/vendor/modernc.org/libc/unistd/unistd_darwin_arm64.go +++ b/vendor/modernc.org/libc/unistd/unistd_darwin_arm64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo unistd/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o unistd/unistd_darwin_arm64.go -pkgname unistd', DO NOT EDIT. +// Code generated by 'ccgo unistd/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o unistd/unistd_darwin_arm64.go -pkgname unistd', DO NOT EDIT. package unistd @@ -15,407 +15,407 @@ var _ atomic.Value var _ unsafe.Pointer const ( - ACCESSX_MAX_DESCRIPTORS = 100 - ACCESSX_MAX_TABLESIZE = 16384 - FD_SETSIZE = 1024 - F_LOCK = 1 - F_OK = 0 - F_TEST = 3 - F_TLOCK = 2 - F_ULOCK = 0 - L_INCR = 1 - L_SET = 0 - L_XTND = 2 - MAC_OS_VERSION_11_0 = 110000 - MAC_OS_VERSION_12_0 = 120000 - MAC_OS_X_VERSION_10_0 = 1000 - MAC_OS_X_VERSION_10_1 = 1010 - MAC_OS_X_VERSION_10_10 = 101000 - MAC_OS_X_VERSION_10_10_2 = 101002 - MAC_OS_X_VERSION_10_10_3 = 101003 - MAC_OS_X_VERSION_10_11 = 101100 - MAC_OS_X_VERSION_10_11_2 = 101102 - MAC_OS_X_VERSION_10_11_3 = 101103 - MAC_OS_X_VERSION_10_11_4 = 101104 - MAC_OS_X_VERSION_10_12 = 101200 - MAC_OS_X_VERSION_10_12_1 = 101201 - MAC_OS_X_VERSION_10_12_2 = 101202 - MAC_OS_X_VERSION_10_12_4 = 101204 - MAC_OS_X_VERSION_10_13 = 101300 - MAC_OS_X_VERSION_10_13_1 = 101301 - MAC_OS_X_VERSION_10_13_2 = 101302 - MAC_OS_X_VERSION_10_13_4 = 101304 - MAC_OS_X_VERSION_10_14 = 101400 - MAC_OS_X_VERSION_10_14_1 = 101401 - MAC_OS_X_VERSION_10_14_4 = 101404 - MAC_OS_X_VERSION_10_14_6 = 101406 - MAC_OS_X_VERSION_10_15 = 101500 - MAC_OS_X_VERSION_10_15_1 = 101501 - MAC_OS_X_VERSION_10_16 = 101600 - MAC_OS_X_VERSION_10_2 = 1020 - MAC_OS_X_VERSION_10_3 = 1030 - MAC_OS_X_VERSION_10_4 = 1040 - MAC_OS_X_VERSION_10_5 = 1050 - MAC_OS_X_VERSION_10_6 = 1060 - MAC_OS_X_VERSION_10_7 = 1070 - MAC_OS_X_VERSION_10_8 = 1080 - MAC_OS_X_VERSION_10_9 = 1090 - R_OK = 4 - SEEK_CUR = 1 - SEEK_DATA = 4 - SEEK_END = 2 - SEEK_HOLE = 3 - SEEK_SET = 0 - STDERR_FILENO = 2 - STDIN_FILENO = 0 - STDOUT_FILENO = 1 - SYNC_VOLUME_FULLSYNC = 0x01 - SYNC_VOLUME_WAIT = 0x02 - W_OK = 2 - X_OK = 1 - X_ACCESS_EXTENDED_MASK = 4193792 - X_APPEND_OK = 8192 - X_ARM_MACHTYPES_H_ = 0 - X_BSD_ARM__TYPES_H_ = 0 - X_BSD_MACHINE_TYPES_H_ = 0 - X_BSD_MACHINE__TYPES_H_ = 0 - X_CDEFS_H_ = 0 - X_CHOWN_OK = 2097152 - X_CS_DARWIN_USER_CACHE_DIR = 65538 - X_CS_DARWIN_USER_DIR = 65536 - X_CS_DARWIN_USER_TEMP_DIR = 65537 - X_CS_PATH = 1 - X_CS_POSIX_V6_ILP32_OFF32_CFLAGS = 2 - X_CS_POSIX_V6_ILP32_OFF32_LDFLAGS = 3 - X_CS_POSIX_V6_ILP32_OFF32_LIBS = 4 - X_CS_POSIX_V6_ILP32_OFFBIG_CFLAGS = 5 - X_CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS = 6 - X_CS_POSIX_V6_ILP32_OFFBIG_LIBS = 7 - X_CS_POSIX_V6_LP64_OFF64_CFLAGS = 8 - X_CS_POSIX_V6_LP64_OFF64_LDFLAGS = 9 - X_CS_POSIX_V6_LP64_OFF64_LIBS = 10 - X_CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS = 11 - X_CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS = 12 - X_CS_POSIX_V6_LPBIG_OFFBIG_LIBS = 13 - X_CS_POSIX_V6_WIDTH_RESTRICTED_ENVS = 14 - X_CS_XBS5_ILP32_OFF32_CFLAGS = 20 - X_CS_XBS5_ILP32_OFF32_LDFLAGS = 21 - X_CS_XBS5_ILP32_OFF32_LIBS = 22 - X_CS_XBS5_ILP32_OFF32_LINTFLAGS = 23 - X_CS_XBS5_ILP32_OFFBIG_CFLAGS = 24 - X_CS_XBS5_ILP32_OFFBIG_LDFLAGS = 25 - X_CS_XBS5_ILP32_OFFBIG_LIBS = 26 - X_CS_XBS5_ILP32_OFFBIG_LINTFLAGS = 27 - X_CS_XBS5_LP64_OFF64_CFLAGS = 28 - X_CS_XBS5_LP64_OFF64_LDFLAGS = 29 - X_CS_XBS5_LP64_OFF64_LIBS = 30 - X_CS_XBS5_LP64_OFF64_LINTFLAGS = 31 - X_CS_XBS5_LPBIG_OFFBIG_CFLAGS = 32 - X_CS_XBS5_LPBIG_OFFBIG_LDFLAGS = 33 - X_CS_XBS5_LPBIG_OFFBIG_LIBS = 34 - X_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS = 35 - X_CTERMID_H_ = 0 - X_DARWIN_FEATURE_64_BIT_INODE = 1 - X_DARWIN_FEATURE_ONLY_64_BIT_INODE = 1 - X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1 - X_DARWIN_FEATURE_ONLY_VERS_1050 = 1 - X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3 - X_DELETE_OK = 4096 - X_DEV_T = 0 - X_EXECUTE_OK = 2048 - X_FD_SET = 0 - X_FILE_OFFSET_BITS = 64 - X_FORTIFY_SOURCE = 2 - X_GID_T = 0 - X_INT16_T = 0 - X_INT32_T = 0 - X_INT64_T = 0 - X_INT8_T = 0 - X_INTPTR_T = 0 - X_LP64 = 1 - X_MACHTYPES_H_ = 0 - X_MODE_T = 0 - X_Nonnull = 0 - X_Null_unspecified = 0 - X_Nullable = 0 - X_OFF_T = 0 - X_PC_2_SYMLINKS = 15 - X_PC_ALLOC_SIZE_MIN = 16 - X_PC_ASYNC_IO = 17 - X_PC_AUTH_OPAQUE_NP = 14 - X_PC_CASE_PRESERVING = 12 - X_PC_CASE_SENSITIVE = 11 - X_PC_CHOWN_RESTRICTED = 7 - X_PC_EXTENDED_SECURITY_NP = 13 - X_PC_FILESIZEBITS = 18 - X_PC_LINK_MAX = 1 - X_PC_MAX_CANON = 2 - X_PC_MAX_INPUT = 3 - X_PC_MIN_HOLE_SIZE = 27 - X_PC_NAME_CHARS_MAX = 10 - X_PC_NAME_MAX = 4 - X_PC_NO_TRUNC = 8 - X_PC_PATH_MAX = 5 - X_PC_PIPE_BUF = 6 - X_PC_PRIO_IO = 19 - X_PC_REC_INCR_XFER_SIZE = 20 - X_PC_REC_MAX_XFER_SIZE = 21 - X_PC_REC_MIN_XFER_SIZE = 22 - X_PC_REC_XFER_ALIGN = 23 - X_PC_SYMLINK_MAX = 24 - X_PC_SYNC_IO = 25 - X_PC_VDISABLE = 9 - X_PC_XATTR_SIZE_BITS = 26 - X_PID_T = 0 - X_POSIX2_CHAR_TERM = 200112 - X_POSIX2_C_BIND = 200112 - X_POSIX2_C_DEV = 200112 - X_POSIX2_FORT_DEV = -1 - X_POSIX2_FORT_RUN = 200112 - X_POSIX2_LOCALEDEF = 200112 - X_POSIX2_PBS = -1 - X_POSIX2_PBS_ACCOUNTING = -1 - X_POSIX2_PBS_CHECKPOINT = -1 - X_POSIX2_PBS_LOCATE = -1 - X_POSIX2_PBS_MESSAGE = -1 - X_POSIX2_PBS_TRACK = -1 - X_POSIX2_SW_DEV = 200112 - X_POSIX2_UPE = 200112 - X_POSIX2_VERSION = 200112 - X_POSIX_ADVISORY_INFO = -1 - X_POSIX_ASYNCHRONOUS_IO = -1 - X_POSIX_BARRIERS = -1 - X_POSIX_CHOWN_RESTRICTED = 200112 - X_POSIX_CLOCK_SELECTION = -1 - X_POSIX_CPUTIME = -1 - X_POSIX_FSYNC = 200112 - X_POSIX_IPV6 = 200112 - X_POSIX_JOB_CONTROL = 200112 - X_POSIX_MAPPED_FILES = 200112 - X_POSIX_MEMLOCK = -1 - X_POSIX_MEMLOCK_RANGE = -1 - X_POSIX_MEMORY_PROTECTION = 200112 - X_POSIX_MESSAGE_PASSING = -1 - X_POSIX_MONOTONIC_CLOCK = -1 - X_POSIX_NO_TRUNC = 200112 - X_POSIX_PRIORITIZED_IO = -1 - X_POSIX_PRIORITY_SCHEDULING = -1 - X_POSIX_RAW_SOCKETS = -1 - X_POSIX_READER_WRITER_LOCKS = 200112 - X_POSIX_REALTIME_SIGNALS = -1 - X_POSIX_REGEXP = 200112 - X_POSIX_SAVED_IDS = 200112 - X_POSIX_SEMAPHORES = -1 - X_POSIX_SHARED_MEMORY_OBJECTS = -1 - X_POSIX_SHELL = 200112 - X_POSIX_SPAWN = -1 - X_POSIX_SPIN_LOCKS = -1 - X_POSIX_SPORADIC_SERVER = -1 - X_POSIX_SYNCHRONIZED_IO = -1 - X_POSIX_THREADS = 200112 - X_POSIX_THREAD_ATTR_STACKADDR = 200112 - X_POSIX_THREAD_ATTR_STACKSIZE = 200112 - X_POSIX_THREAD_CPUTIME = -1 - X_POSIX_THREAD_KEYS_MAX = 128 - X_POSIX_THREAD_PRIORITY_SCHEDULING = -1 - X_POSIX_THREAD_PRIO_INHERIT = -1 - X_POSIX_THREAD_PRIO_PROTECT = -1 - X_POSIX_THREAD_PROCESS_SHARED = 200112 - X_POSIX_THREAD_SAFE_FUNCTIONS = 200112 - X_POSIX_THREAD_SPORADIC_SERVER = -1 - X_POSIX_TIMEOUTS = -1 - X_POSIX_TIMERS = -1 - X_POSIX_TRACE = -1 - X_POSIX_TRACE_EVENT_FILTER = -1 - X_POSIX_TRACE_INHERIT = -1 - X_POSIX_TRACE_LOG = -1 - X_POSIX_TYPED_MEMORY_OBJECTS = -1 - X_POSIX_V6_ILP32_OFF32 = -1 - X_POSIX_V6_ILP32_OFFBIG = -1 - X_POSIX_V6_LP64_OFF64 = 1 - X_POSIX_V6_LPBIG_OFFBIG = 1 - X_POSIX_V7_ILP32_OFF32 = -1 - X_POSIX_V7_ILP32_OFFBIG = -1 - X_POSIX_V7_LP64_OFF64 = 1 - X_POSIX_V7_LPBIG_OFFBIG = 1 - X_POSIX_VERSION = 200112 - X_RATTR_OK = 32768 - X_READ_OK = 512 - X_REXT_OK = 131072 - X_RMFILE_OK = 16384 - X_RPERM_OK = 524288 - X_SC_2_CHAR_TERM = 20 - X_SC_2_C_BIND = 18 - X_SC_2_C_DEV = 19 - X_SC_2_FORT_DEV = 21 - X_SC_2_FORT_RUN = 22 - X_SC_2_LOCALEDEF = 23 - X_SC_2_PBS = 59 - X_SC_2_PBS_ACCOUNTING = 60 - X_SC_2_PBS_CHECKPOINT = 61 - X_SC_2_PBS_LOCATE = 62 - X_SC_2_PBS_MESSAGE = 63 - X_SC_2_PBS_TRACK = 64 - X_SC_2_SW_DEV = 24 - X_SC_2_UPE = 25 - X_SC_2_VERSION = 17 - X_SC_ADVISORY_INFO = 65 - X_SC_AIO_LISTIO_MAX = 42 - X_SC_AIO_MAX = 43 - X_SC_AIO_PRIO_DELTA_MAX = 44 - X_SC_ARG_MAX = 1 - X_SC_ASYNCHRONOUS_IO = 28 - X_SC_ATEXIT_MAX = 107 - X_SC_BARRIERS = 66 - X_SC_BC_BASE_MAX = 9 - X_SC_BC_DIM_MAX = 10 - X_SC_BC_SCALE_MAX = 11 - X_SC_BC_STRING_MAX = 12 - X_SC_CHILD_MAX = 2 - X_SC_CLK_TCK = 3 - X_SC_CLOCK_SELECTION = 67 - X_SC_COLL_WEIGHTS_MAX = 13 - X_SC_CPUTIME = 68 - X_SC_DELAYTIMER_MAX = 45 - X_SC_EXPR_NEST_MAX = 14 - X_SC_FILE_LOCKING = 69 - X_SC_FSYNC = 38 - X_SC_GETGR_R_SIZE_MAX = 70 - X_SC_GETPW_R_SIZE_MAX = 71 - X_SC_HOST_NAME_MAX = 72 - X_SC_IOV_MAX = 56 - X_SC_IPV6 = 118 - X_SC_JOB_CONTROL = 6 - X_SC_LINE_MAX = 15 - X_SC_LOGIN_NAME_MAX = 73 - X_SC_MAPPED_FILES = 47 - X_SC_MEMLOCK = 30 - X_SC_MEMLOCK_RANGE = 31 - X_SC_MEMORY_PROTECTION = 32 - X_SC_MESSAGE_PASSING = 33 - X_SC_MONOTONIC_CLOCK = 74 - X_SC_MQ_OPEN_MAX = 46 - X_SC_MQ_PRIO_MAX = 75 - X_SC_NGROUPS_MAX = 4 - X_SC_NPROCESSORS_CONF = 57 - X_SC_NPROCESSORS_ONLN = 58 - X_SC_OPEN_MAX = 5 - X_SC_PAGESIZE = 29 - X_SC_PAGE_SIZE = 29 - X_SC_PASS_MAX = 131 - X_SC_PHYS_PAGES = 200 - X_SC_PRIORITIZED_IO = 34 - X_SC_PRIORITY_SCHEDULING = 35 - X_SC_RAW_SOCKETS = 119 - X_SC_READER_WRITER_LOCKS = 76 - X_SC_REALTIME_SIGNALS = 36 - X_SC_REGEXP = 77 - X_SC_RE_DUP_MAX = 16 - X_SC_RTSIG_MAX = 48 - X_SC_SAVED_IDS = 7 - X_SC_SEMAPHORES = 37 - X_SC_SEM_NSEMS_MAX = 49 - X_SC_SEM_VALUE_MAX = 50 - X_SC_SHARED_MEMORY_OBJECTS = 39 - X_SC_SHELL = 78 - X_SC_SIGQUEUE_MAX = 51 - X_SC_SPAWN = 79 - X_SC_SPIN_LOCKS = 80 - X_SC_SPORADIC_SERVER = 81 - X_SC_SS_REPL_MAX = 126 - X_SC_STREAM_MAX = 26 - X_SC_SYMLOOP_MAX = 120 - X_SC_SYNCHRONIZED_IO = 40 - X_SC_THREADS = 96 - X_SC_THREAD_ATTR_STACKADDR = 82 - X_SC_THREAD_ATTR_STACKSIZE = 83 - X_SC_THREAD_CPUTIME = 84 - X_SC_THREAD_DESTRUCTOR_ITERATIONS = 85 - X_SC_THREAD_KEYS_MAX = 86 - X_SC_THREAD_PRIORITY_SCHEDULING = 89 - X_SC_THREAD_PRIO_INHERIT = 87 - X_SC_THREAD_PRIO_PROTECT = 88 - X_SC_THREAD_PROCESS_SHARED = 90 - X_SC_THREAD_SAFE_FUNCTIONS = 91 - X_SC_THREAD_SPORADIC_SERVER = 92 - X_SC_THREAD_STACK_MIN = 93 - X_SC_THREAD_THREADS_MAX = 94 - X_SC_TIMEOUTS = 95 - X_SC_TIMERS = 41 - X_SC_TIMER_MAX = 52 - X_SC_TRACE = 97 - X_SC_TRACE_EVENT_FILTER = 98 - X_SC_TRACE_EVENT_NAME_MAX = 127 - X_SC_TRACE_INHERIT = 99 - X_SC_TRACE_LOG = 100 - X_SC_TRACE_NAME_MAX = 128 - X_SC_TRACE_SYS_MAX = 129 - X_SC_TRACE_USER_EVENT_MAX = 130 - X_SC_TTY_NAME_MAX = 101 - X_SC_TYPED_MEMORY_OBJECTS = 102 - X_SC_TZNAME_MAX = 27 - X_SC_V6_ILP32_OFF32 = 103 - X_SC_V6_ILP32_OFFBIG = 104 - X_SC_V6_LP64_OFF64 = 105 - X_SC_V6_LPBIG_OFFBIG = 106 - X_SC_VERSION = 8 - X_SC_XBS5_ILP32_OFF32 = 122 - X_SC_XBS5_ILP32_OFFBIG = 123 - X_SC_XBS5_LP64_OFF64 = 124 - X_SC_XBS5_LPBIG_OFFBIG = 125 - X_SC_XOPEN_CRYPT = 108 - X_SC_XOPEN_ENH_I18N = 109 - X_SC_XOPEN_LEGACY = 110 - X_SC_XOPEN_REALTIME = 111 - X_SC_XOPEN_REALTIME_THREADS = 112 - X_SC_XOPEN_SHM = 113 - X_SC_XOPEN_STREAMS = 114 - X_SC_XOPEN_UNIX = 115 - X_SC_XOPEN_VERSION = 116 - X_SC_XOPEN_XCU_VERSION = 121 - X_SIGSET_T = 0 - X_SIZE_T = 0 - X_SSIZE_T = 0 - X_SUSECONDS_T = 0 - X_SYS_SELECT_H_ = 0 - X_SYS_UNISTD_H_ = 0 - X_SYS__PTHREAD_TYPES_H_ = 0 - X_SYS__SELECT_H_ = 0 - X_SYS__TYPES_H_ = 0 - X_TIME_T = 0 - X_UID_T = 0 - X_UINT32_T = 0 - X_UINT64_T = 0 - X_UINTPTR_T = 0 - X_UNISTD_H_ = 0 - X_USECONDS_T = 0 - X_UUID_T = 0 - X_U_INT16_T = 0 - X_U_INT32_T = 0 - X_U_INT64_T = 0 - X_U_INT8_T = 0 - X_V6_ILP32_OFF32 = -1 - X_V6_ILP32_OFFBIG = -1 - X_V6_LP64_OFF64 = 1 - X_V6_LPBIG_OFFBIG = 1 - X_WATTR_OK = 65536 - X_WEXT_OK = 262144 - X_WPERM_OK = 1048576 - X_WRITE_OK = 1024 - X_XBS5_ILP32_OFF32 = -1 - X_XBS5_ILP32_OFFBIG = -1 - X_XBS5_LP64_OFF64 = 1 - X_XBS5_LPBIG_OFFBIG = 1 - X_XOPEN_CRYPT = 1 - X_XOPEN_ENH_I18N = 1 - X_XOPEN_LEGACY = -1 - X_XOPEN_REALTIME = -1 - X_XOPEN_REALTIME_THREADS = -1 - X_XOPEN_SHM = 1 - X_XOPEN_STREAMS = -1 - X_XOPEN_UNIX = 1 - X_XOPEN_VERSION = 600 - X_XOPEN_XCU_VERSION = 4 + ACCESSX_MAX_DESCRIPTORS = 100 // unistd.h:137:1: + ACCESSX_MAX_TABLESIZE = 16384 // unistd.h:138:1: + FD_SETSIZE = 1024 // _fd_setsize.h:29:1: + F_LOCK = 1 // unistd.h:528:1: + F_OK = 0 // unistd.h:89:1: + F_TEST = 3 // unistd.h:530:1: + F_TLOCK = 2 // unistd.h:529:1: + F_ULOCK = 0 // unistd.h:527:1: + L_INCR = 1 // unistd.h:127:1: + L_SET = 0 // unistd.h:126:1: + L_XTND = 2 // unistd.h:128:1: + MAC_OS_VERSION_11_0 = 110000 // AvailabilityVersions.h:238:1: + MAC_OS_VERSION_12_0 = 120000 // AvailabilityVersions.h:239:1: + MAC_OS_X_VERSION_10_0 = 1000 // AvailabilityVersions.h:206:1: + MAC_OS_X_VERSION_10_1 = 1010 // AvailabilityVersions.h:207:1: + MAC_OS_X_VERSION_10_10 = 101000 // AvailabilityVersions.h:216:1: + MAC_OS_X_VERSION_10_10_2 = 101002 // AvailabilityVersions.h:217:1: + MAC_OS_X_VERSION_10_10_3 = 101003 // AvailabilityVersions.h:218:1: + MAC_OS_X_VERSION_10_11 = 101100 // AvailabilityVersions.h:219:1: + MAC_OS_X_VERSION_10_11_2 = 101102 // AvailabilityVersions.h:220:1: + MAC_OS_X_VERSION_10_11_3 = 101103 // AvailabilityVersions.h:221:1: + MAC_OS_X_VERSION_10_11_4 = 101104 // AvailabilityVersions.h:222:1: + MAC_OS_X_VERSION_10_12 = 101200 // AvailabilityVersions.h:223:1: + MAC_OS_X_VERSION_10_12_1 = 101201 // AvailabilityVersions.h:224:1: + MAC_OS_X_VERSION_10_12_2 = 101202 // AvailabilityVersions.h:225:1: + MAC_OS_X_VERSION_10_12_4 = 101204 // AvailabilityVersions.h:226:1: + MAC_OS_X_VERSION_10_13 = 101300 // AvailabilityVersions.h:227:1: + MAC_OS_X_VERSION_10_13_1 = 101301 // AvailabilityVersions.h:228:1: + MAC_OS_X_VERSION_10_13_2 = 101302 // AvailabilityVersions.h:229:1: + MAC_OS_X_VERSION_10_13_4 = 101304 // AvailabilityVersions.h:230:1: + MAC_OS_X_VERSION_10_14 = 101400 // AvailabilityVersions.h:231:1: + MAC_OS_X_VERSION_10_14_1 = 101401 // AvailabilityVersions.h:232:1: + MAC_OS_X_VERSION_10_14_4 = 101404 // AvailabilityVersions.h:233:1: + MAC_OS_X_VERSION_10_14_6 = 101406 // AvailabilityVersions.h:234:1: + MAC_OS_X_VERSION_10_15 = 101500 // AvailabilityVersions.h:235:1: + MAC_OS_X_VERSION_10_15_1 = 101501 // AvailabilityVersions.h:236:1: + MAC_OS_X_VERSION_10_16 = 101600 // AvailabilityVersions.h:237:1: + MAC_OS_X_VERSION_10_2 = 1020 // AvailabilityVersions.h:208:1: + MAC_OS_X_VERSION_10_3 = 1030 // AvailabilityVersions.h:209:1: + MAC_OS_X_VERSION_10_4 = 1040 // AvailabilityVersions.h:210:1: + MAC_OS_X_VERSION_10_5 = 1050 // AvailabilityVersions.h:211:1: + MAC_OS_X_VERSION_10_6 = 1060 // AvailabilityVersions.h:212:1: + MAC_OS_X_VERSION_10_7 = 1070 // AvailabilityVersions.h:213:1: + MAC_OS_X_VERSION_10_8 = 1080 // AvailabilityVersions.h:214:1: + MAC_OS_X_VERSION_10_9 = 1090 // AvailabilityVersions.h:215:1: + R_OK = 4 // unistd.h:92:1: + SEEK_CUR = 1 // _seek_set.h:34:1: + SEEK_DATA = 4 // _seek_set.h:44:1: + SEEK_END = 2 // _seek_set.h:35:1: + SEEK_HOLE = 3 // _seek_set.h:40:1: + SEEK_SET = 0 // _seek_set.h:33:1: + STDERR_FILENO = 2 // unistd.h:88:1: + STDIN_FILENO = 0 // unistd.h:86:1: + STDOUT_FILENO = 1 // unistd.h:87:1: + SYNC_VOLUME_FULLSYNC = 0x01 // unistd.h:780:1: + SYNC_VOLUME_WAIT = 0x02 // unistd.h:781:1: + W_OK = 2 // unistd.h:91:1: + X_OK = 1 // unistd.h:90:1: + X_ACCESS_EXTENDED_MASK = 4193792 // unistd.h:114:1: + X_APPEND_OK = 8192 // unistd.h:104:1: + X_ARM_MACHTYPES_H_ = 0 // types.h:43:1: + X_BSD_ARM__TYPES_H_ = 0 // _types.h:5:1: + X_BSD_MACHINE_TYPES_H_ = 0 // types.h:32:1: + X_BSD_MACHINE__TYPES_H_ = 0 // _types.h:29:1: + X_CDEFS_H_ = 0 // cdefs.h:68:1: + X_CHOWN_OK = 2097152 // unistd.h:112:1: + X_CS_DARWIN_USER_CACHE_DIR = 65538 // unistd.h:415:1: + X_CS_DARWIN_USER_DIR = 65536 // unistd.h:413:1: + X_CS_DARWIN_USER_TEMP_DIR = 65537 // unistd.h:414:1: + X_CS_PATH = 1 // unistd.h:175:1: + X_CS_POSIX_V6_ILP32_OFF32_CFLAGS = 2 // unistd.h:377:1: + X_CS_POSIX_V6_ILP32_OFF32_LDFLAGS = 3 // unistd.h:378:1: + X_CS_POSIX_V6_ILP32_OFF32_LIBS = 4 // unistd.h:379:1: + X_CS_POSIX_V6_ILP32_OFFBIG_CFLAGS = 5 // unistd.h:380:1: + X_CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS = 6 // unistd.h:381:1: + X_CS_POSIX_V6_ILP32_OFFBIG_LIBS = 7 // unistd.h:382:1: + X_CS_POSIX_V6_LP64_OFF64_CFLAGS = 8 // unistd.h:383:1: + X_CS_POSIX_V6_LP64_OFF64_LDFLAGS = 9 // unistd.h:384:1: + X_CS_POSIX_V6_LP64_OFF64_LIBS = 10 // unistd.h:385:1: + X_CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS = 11 // unistd.h:386:1: + X_CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS = 12 // unistd.h:387:1: + X_CS_POSIX_V6_LPBIG_OFFBIG_LIBS = 13 // unistd.h:388:1: + X_CS_POSIX_V6_WIDTH_RESTRICTED_ENVS = 14 // unistd.h:389:1: + X_CS_XBS5_ILP32_OFF32_CFLAGS = 20 // unistd.h:394:1: + X_CS_XBS5_ILP32_OFF32_LDFLAGS = 21 // unistd.h:395:1: + X_CS_XBS5_ILP32_OFF32_LIBS = 22 // unistd.h:396:1: + X_CS_XBS5_ILP32_OFF32_LINTFLAGS = 23 // unistd.h:397:1: + X_CS_XBS5_ILP32_OFFBIG_CFLAGS = 24 // unistd.h:398:1: + X_CS_XBS5_ILP32_OFFBIG_LDFLAGS = 25 // unistd.h:399:1: + X_CS_XBS5_ILP32_OFFBIG_LIBS = 26 // unistd.h:400:1: + X_CS_XBS5_ILP32_OFFBIG_LINTFLAGS = 27 // unistd.h:401:1: + X_CS_XBS5_LP64_OFF64_CFLAGS = 28 // unistd.h:402:1: + X_CS_XBS5_LP64_OFF64_LDFLAGS = 29 // unistd.h:403:1: + X_CS_XBS5_LP64_OFF64_LIBS = 30 // unistd.h:404:1: + X_CS_XBS5_LP64_OFF64_LINTFLAGS = 31 // unistd.h:405:1: + X_CS_XBS5_LPBIG_OFFBIG_CFLAGS = 32 // unistd.h:406:1: + X_CS_XBS5_LPBIG_OFFBIG_LDFLAGS = 33 // unistd.h:407:1: + X_CS_XBS5_LPBIG_OFFBIG_LIBS = 34 // unistd.h:408:1: + X_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS = 35 // unistd.h:409:1: + X_CTERMID_H_ = 0 // _ctermid.h:25:1: + X_DARWIN_FEATURE_64_BIT_INODE = 1 // cdefs.h:774:1: + X_DARWIN_FEATURE_ONLY_64_BIT_INODE = 1 // cdefs.h:784:1: + X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1 // cdefs.h:800:1: + X_DARWIN_FEATURE_ONLY_VERS_1050 = 1 // cdefs.h:792:1: + X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3 // cdefs.h:808:1: + X_DELETE_OK = 4096 // unistd.h:103:1: + X_DEV_T = 0 // _dev_t.h:29:1: + X_EXECUTE_OK = 2048 // unistd.h:102:1: + X_FD_SET = 0 // _fd_def.h:29:1: + X_FILE_OFFSET_BITS = 64 // <builtin>:25:1: + X_FORTIFY_SOURCE = 2 // _types.h:65:1: + X_GID_T = 0 // _gid_t.h:29:1: + X_INT16_T = 0 // _int16_t.h:29:1: + X_INT32_T = 0 // _int32_t.h:29:1: + X_INT64_T = 0 // _int64_t.h:29:1: + X_INT8_T = 0 // _int8_t.h:29:1: + X_INTPTR_T = 0 // _intptr_t.h:29:1: + X_LP64 = 1 // <predefined>:1:1: + X_MACHTYPES_H_ = 0 // types.h:44:1: + X_MODE_T = 0 // _mode_t.h:29:1: + X_Nonnull = 0 // cdefs.h:268:1: + X_Null_unspecified = 0 // cdefs.h:271:1: + X_Nullable = 0 // cdefs.h:265:1: + X_OFF_T = 0 // _off_t.h:29:1: + X_PC_2_SYMLINKS = 15 // unistd.h:160:1: + X_PC_ALLOC_SIZE_MIN = 16 // unistd.h:161:1: + X_PC_ASYNC_IO = 17 // unistd.h:162:1: + X_PC_AUTH_OPAQUE_NP = 14 // unistd.h:157:1: + X_PC_CASE_PRESERVING = 12 // unistd.h:155:1: + X_PC_CASE_SENSITIVE = 11 // unistd.h:154:1: + X_PC_CHOWN_RESTRICTED = 7 // unistd.h:148:1: + X_PC_EXTENDED_SECURITY_NP = 13 // unistd.h:156:1: + X_PC_FILESIZEBITS = 18 // unistd.h:163:1: + X_PC_LINK_MAX = 1 // unistd.h:142:1: + X_PC_MAX_CANON = 2 // unistd.h:143:1: + X_PC_MAX_INPUT = 3 // unistd.h:144:1: + X_PC_MIN_HOLE_SIZE = 27 // unistd.h:172:1: + X_PC_NAME_CHARS_MAX = 10 // unistd.h:153:1: + X_PC_NAME_MAX = 4 // unistd.h:145:1: + X_PC_NO_TRUNC = 8 // unistd.h:149:1: + X_PC_PATH_MAX = 5 // unistd.h:146:1: + X_PC_PIPE_BUF = 6 // unistd.h:147:1: + X_PC_PRIO_IO = 19 // unistd.h:164:1: + X_PC_REC_INCR_XFER_SIZE = 20 // unistd.h:165:1: + X_PC_REC_MAX_XFER_SIZE = 21 // unistd.h:166:1: + X_PC_REC_MIN_XFER_SIZE = 22 // unistd.h:167:1: + X_PC_REC_XFER_ALIGN = 23 // unistd.h:168:1: + X_PC_SYMLINK_MAX = 24 // unistd.h:169:1: + X_PC_SYNC_IO = 25 // unistd.h:170:1: + X_PC_VDISABLE = 9 // unistd.h:150:1: + X_PC_XATTR_SIZE_BITS = 26 // unistd.h:171:1: + X_PID_T = 0 // _pid_t.h:29:1: + X_POSIX2_CHAR_TERM = 200112 // unistd.h:152:1: + X_POSIX2_C_BIND = 200112 // unistd.h:150:1: + X_POSIX2_C_DEV = 200112 // unistd.h:151:1: + X_POSIX2_FORT_DEV = -1 // unistd.h:153:1: + X_POSIX2_FORT_RUN = 200112 // unistd.h:154:1: + X_POSIX2_LOCALEDEF = 200112 // unistd.h:155:1: + X_POSIX2_PBS = -1 // unistd.h:156:1: + X_POSIX2_PBS_ACCOUNTING = -1 // unistd.h:157:1: + X_POSIX2_PBS_CHECKPOINT = -1 // unistd.h:158:1: + X_POSIX2_PBS_LOCATE = -1 // unistd.h:159:1: + X_POSIX2_PBS_MESSAGE = -1 // unistd.h:160:1: + X_POSIX2_PBS_TRACK = -1 // unistd.h:161:1: + X_POSIX2_SW_DEV = 200112 // unistd.h:162:1: + X_POSIX2_UPE = 200112 // unistd.h:163:1: + X_POSIX2_VERSION = 200112 // unistd.h:80:1: + X_POSIX_ADVISORY_INFO = -1 // unistd.h:98:1: + X_POSIX_ASYNCHRONOUS_IO = -1 // unistd.h:99:1: + X_POSIX_BARRIERS = -1 // unistd.h:100:1: + X_POSIX_CHOWN_RESTRICTED = 200112 // unistd.h:101:1: + X_POSIX_CLOCK_SELECTION = -1 // unistd.h:102:1: + X_POSIX_CPUTIME = -1 // unistd.h:103:1: + X_POSIX_FSYNC = 200112 // unistd.h:104:1: + X_POSIX_IPV6 = 200112 // unistd.h:105:1: + X_POSIX_JOB_CONTROL = 200112 // unistd.h:106:1: + X_POSIX_MAPPED_FILES = 200112 // unistd.h:107:1: + X_POSIX_MEMLOCK = -1 // unistd.h:108:1: + X_POSIX_MEMLOCK_RANGE = -1 // unistd.h:109:1: + X_POSIX_MEMORY_PROTECTION = 200112 // unistd.h:110:1: + X_POSIX_MESSAGE_PASSING = -1 // unistd.h:111:1: + X_POSIX_MONOTONIC_CLOCK = -1 // unistd.h:112:1: + X_POSIX_NO_TRUNC = 200112 // unistd.h:113:1: + X_POSIX_PRIORITIZED_IO = -1 // unistd.h:114:1: + X_POSIX_PRIORITY_SCHEDULING = -1 // unistd.h:115:1: + X_POSIX_RAW_SOCKETS = -1 // unistd.h:116:1: + X_POSIX_READER_WRITER_LOCKS = 200112 // unistd.h:117:1: + X_POSIX_REALTIME_SIGNALS = -1 // unistd.h:118:1: + X_POSIX_REGEXP = 200112 // unistd.h:119:1: + X_POSIX_SAVED_IDS = 200112 // unistd.h:120:1: + X_POSIX_SEMAPHORES = -1 // unistd.h:121:1: + X_POSIX_SHARED_MEMORY_OBJECTS = -1 // unistd.h:122:1: + X_POSIX_SHELL = 200112 // unistd.h:123:1: + X_POSIX_SPAWN = -1 // unistd.h:124:1: + X_POSIX_SPIN_LOCKS = -1 // unistd.h:125:1: + X_POSIX_SPORADIC_SERVER = -1 // unistd.h:126:1: + X_POSIX_SYNCHRONIZED_IO = -1 // unistd.h:127:1: + X_POSIX_THREADS = 200112 // unistd.h:137:1: + X_POSIX_THREAD_ATTR_STACKADDR = 200112 // unistd.h:128:1: + X_POSIX_THREAD_ATTR_STACKSIZE = 200112 // unistd.h:129:1: + X_POSIX_THREAD_CPUTIME = -1 // unistd.h:130:1: + X_POSIX_THREAD_KEYS_MAX = 128 // unistd.h:86:1: + X_POSIX_THREAD_PRIORITY_SCHEDULING = -1 // unistd.h:133:1: + X_POSIX_THREAD_PRIO_INHERIT = -1 // unistd.h:131:1: + X_POSIX_THREAD_PRIO_PROTECT = -1 // unistd.h:132:1: + X_POSIX_THREAD_PROCESS_SHARED = 200112 // unistd.h:134:1: + X_POSIX_THREAD_SAFE_FUNCTIONS = 200112 // unistd.h:135:1: + X_POSIX_THREAD_SPORADIC_SERVER = -1 // unistd.h:136:1: + X_POSIX_TIMEOUTS = -1 // unistd.h:138:1: + X_POSIX_TIMERS = -1 // unistd.h:139:1: + X_POSIX_TRACE = -1 // unistd.h:140:1: + X_POSIX_TRACE_EVENT_FILTER = -1 // unistd.h:141:1: + X_POSIX_TRACE_INHERIT = -1 // unistd.h:142:1: + X_POSIX_TRACE_LOG = -1 // unistd.h:143:1: + X_POSIX_TYPED_MEMORY_OBJECTS = -1 // unistd.h:144:1: + X_POSIX_V6_ILP32_OFF32 = -1 // unistd.h:173:1: + X_POSIX_V6_ILP32_OFFBIG = -1 // unistd.h:174:1: + X_POSIX_V6_LP64_OFF64 = 1 // unistd.h:175:1: + X_POSIX_V6_LPBIG_OFFBIG = 1 // unistd.h:176:1: + X_POSIX_V7_ILP32_OFF32 = -1 // unistd.h:180:1: + X_POSIX_V7_ILP32_OFFBIG = -1 // unistd.h:181:1: + X_POSIX_V7_LP64_OFF64 = 1 // unistd.h:182:1: + X_POSIX_V7_LPBIG_OFFBIG = 1 // unistd.h:183:1: + X_POSIX_VERSION = 200112 // unistd.h:79:1: + X_RATTR_OK = 32768 // unistd.h:106:1: + X_READ_OK = 512 // unistd.h:100:1: + X_REXT_OK = 131072 // unistd.h:108:1: + X_RMFILE_OK = 16384 // unistd.h:105:1: + X_RPERM_OK = 524288 // unistd.h:110:1: + X_SC_2_CHAR_TERM = 20 // unistd.h:232:1: + X_SC_2_C_BIND = 18 // unistd.h:230:1: + X_SC_2_C_DEV = 19 // unistd.h:231:1: + X_SC_2_FORT_DEV = 21 // unistd.h:233:1: + X_SC_2_FORT_RUN = 22 // unistd.h:234:1: + X_SC_2_LOCALEDEF = 23 // unistd.h:235:1: + X_SC_2_PBS = 59 // unistd.h:275:1: + X_SC_2_PBS_ACCOUNTING = 60 // unistd.h:276:1: + X_SC_2_PBS_CHECKPOINT = 61 // unistd.h:277:1: + X_SC_2_PBS_LOCATE = 62 // unistd.h:278:1: + X_SC_2_PBS_MESSAGE = 63 // unistd.h:279:1: + X_SC_2_PBS_TRACK = 64 // unistd.h:280:1: + X_SC_2_SW_DEV = 24 // unistd.h:236:1: + X_SC_2_UPE = 25 // unistd.h:237:1: + X_SC_2_VERSION = 17 // unistd.h:229:1: + X_SC_ADVISORY_INFO = 65 // unistd.h:281:1: + X_SC_AIO_LISTIO_MAX = 42 // unistd.h:256:1: + X_SC_AIO_MAX = 43 // unistd.h:257:1: + X_SC_AIO_PRIO_DELTA_MAX = 44 // unistd.h:258:1: + X_SC_ARG_MAX = 1 // unistd.h:213:1: + X_SC_ASYNCHRONOUS_IO = 28 // unistd.h:242:1: + X_SC_ATEXIT_MAX = 107 // unistd.h:329:1: + X_SC_BARRIERS = 66 // unistd.h:282:1: + X_SC_BC_BASE_MAX = 9 // unistd.h:221:1: + X_SC_BC_DIM_MAX = 10 // unistd.h:222:1: + X_SC_BC_SCALE_MAX = 11 // unistd.h:223:1: + X_SC_BC_STRING_MAX = 12 // unistd.h:224:1: + X_SC_CHILD_MAX = 2 // unistd.h:214:1: + X_SC_CLK_TCK = 3 // unistd.h:215:1: + X_SC_CLOCK_SELECTION = 67 // unistd.h:283:1: + X_SC_COLL_WEIGHTS_MAX = 13 // unistd.h:225:1: + X_SC_CPUTIME = 68 // unistd.h:284:1: + X_SC_DELAYTIMER_MAX = 45 // unistd.h:259:1: + X_SC_EXPR_NEST_MAX = 14 // unistd.h:226:1: + X_SC_FILE_LOCKING = 69 // unistd.h:285:1: + X_SC_FSYNC = 38 // unistd.h:252:1: + X_SC_GETGR_R_SIZE_MAX = 70 // unistd.h:286:1: + X_SC_GETPW_R_SIZE_MAX = 71 // unistd.h:287:1: + X_SC_HOST_NAME_MAX = 72 // unistd.h:288:1: + X_SC_IOV_MAX = 56 // unistd.h:330:1: + X_SC_IPV6 = 118 // unistd.h:323:1: + X_SC_JOB_CONTROL = 6 // unistd.h:218:1: + X_SC_LINE_MAX = 15 // unistd.h:227:1: + X_SC_LOGIN_NAME_MAX = 73 // unistd.h:289:1: + X_SC_MAPPED_FILES = 47 // unistd.h:261:1: + X_SC_MEMLOCK = 30 // unistd.h:244:1: + X_SC_MEMLOCK_RANGE = 31 // unistd.h:245:1: + X_SC_MEMORY_PROTECTION = 32 // unistd.h:246:1: + X_SC_MESSAGE_PASSING = 33 // unistd.h:247:1: + X_SC_MONOTONIC_CLOCK = 74 // unistd.h:290:1: + X_SC_MQ_OPEN_MAX = 46 // unistd.h:260:1: + X_SC_MQ_PRIO_MAX = 75 // unistd.h:291:1: + X_SC_NGROUPS_MAX = 4 // unistd.h:216:1: + X_SC_NPROCESSORS_CONF = 57 // unistd.h:270:1: + X_SC_NPROCESSORS_ONLN = 58 // unistd.h:271:1: + X_SC_OPEN_MAX = 5 // unistd.h:217:1: + X_SC_PAGESIZE = 29 // unistd.h:243:1: + X_SC_PAGE_SIZE = 29 // unistd.h:331:1: + X_SC_PASS_MAX = 131 // unistd.h:362:1: + X_SC_PHYS_PAGES = 200 // unistd.h:367:1: + X_SC_PRIORITIZED_IO = 34 // unistd.h:248:1: + X_SC_PRIORITY_SCHEDULING = 35 // unistd.h:249:1: + X_SC_RAW_SOCKETS = 119 // unistd.h:324:1: + X_SC_READER_WRITER_LOCKS = 76 // unistd.h:292:1: + X_SC_REALTIME_SIGNALS = 36 // unistd.h:250:1: + X_SC_REGEXP = 77 // unistd.h:293:1: + X_SC_RE_DUP_MAX = 16 // unistd.h:228:1: + X_SC_RTSIG_MAX = 48 // unistd.h:262:1: + X_SC_SAVED_IDS = 7 // unistd.h:219:1: + X_SC_SEMAPHORES = 37 // unistd.h:251:1: + X_SC_SEM_NSEMS_MAX = 49 // unistd.h:263:1: + X_SC_SEM_VALUE_MAX = 50 // unistd.h:264:1: + X_SC_SHARED_MEMORY_OBJECTS = 39 // unistd.h:253:1: + X_SC_SHELL = 78 // unistd.h:294:1: + X_SC_SIGQUEUE_MAX = 51 // unistd.h:265:1: + X_SC_SPAWN = 79 // unistd.h:295:1: + X_SC_SPIN_LOCKS = 80 // unistd.h:296:1: + X_SC_SPORADIC_SERVER = 81 // unistd.h:297:1: + X_SC_SS_REPL_MAX = 126 // unistd.h:353:1: + X_SC_STREAM_MAX = 26 // unistd.h:238:1: + X_SC_SYMLOOP_MAX = 120 // unistd.h:325:1: + X_SC_SYNCHRONIZED_IO = 40 // unistd.h:254:1: + X_SC_THREADS = 96 // unistd.h:312:1: + X_SC_THREAD_ATTR_STACKADDR = 82 // unistd.h:298:1: + X_SC_THREAD_ATTR_STACKSIZE = 83 // unistd.h:299:1: + X_SC_THREAD_CPUTIME = 84 // unistd.h:300:1: + X_SC_THREAD_DESTRUCTOR_ITERATIONS = 85 // unistd.h:301:1: + X_SC_THREAD_KEYS_MAX = 86 // unistd.h:302:1: + X_SC_THREAD_PRIORITY_SCHEDULING = 89 // unistd.h:305:1: + X_SC_THREAD_PRIO_INHERIT = 87 // unistd.h:303:1: + X_SC_THREAD_PRIO_PROTECT = 88 // unistd.h:304:1: + X_SC_THREAD_PROCESS_SHARED = 90 // unistd.h:306:1: + X_SC_THREAD_SAFE_FUNCTIONS = 91 // unistd.h:307:1: + X_SC_THREAD_SPORADIC_SERVER = 92 // unistd.h:308:1: + X_SC_THREAD_STACK_MIN = 93 // unistd.h:309:1: + X_SC_THREAD_THREADS_MAX = 94 // unistd.h:310:1: + X_SC_TIMEOUTS = 95 // unistd.h:311:1: + X_SC_TIMERS = 41 // unistd.h:255:1: + X_SC_TIMER_MAX = 52 // unistd.h:266:1: + X_SC_TRACE = 97 // unistd.h:313:1: + X_SC_TRACE_EVENT_FILTER = 98 // unistd.h:314:1: + X_SC_TRACE_EVENT_NAME_MAX = 127 // unistd.h:354:1: + X_SC_TRACE_INHERIT = 99 // unistd.h:315:1: + X_SC_TRACE_LOG = 100 // unistd.h:316:1: + X_SC_TRACE_NAME_MAX = 128 // unistd.h:355:1: + X_SC_TRACE_SYS_MAX = 129 // unistd.h:356:1: + X_SC_TRACE_USER_EVENT_MAX = 130 // unistd.h:357:1: + X_SC_TTY_NAME_MAX = 101 // unistd.h:317:1: + X_SC_TYPED_MEMORY_OBJECTS = 102 // unistd.h:318:1: + X_SC_TZNAME_MAX = 27 // unistd.h:239:1: + X_SC_V6_ILP32_OFF32 = 103 // unistd.h:319:1: + X_SC_V6_ILP32_OFFBIG = 104 // unistd.h:320:1: + X_SC_V6_LP64_OFF64 = 105 // unistd.h:321:1: + X_SC_V6_LPBIG_OFFBIG = 106 // unistd.h:322:1: + X_SC_VERSION = 8 // unistd.h:220:1: + X_SC_XBS5_ILP32_OFF32 = 122 // unistd.h:346:1: + X_SC_XBS5_ILP32_OFFBIG = 123 // unistd.h:347:1: + X_SC_XBS5_LP64_OFF64 = 124 // unistd.h:348:1: + X_SC_XBS5_LPBIG_OFFBIG = 125 // unistd.h:349:1: + X_SC_XOPEN_CRYPT = 108 // unistd.h:332:1: + X_SC_XOPEN_ENH_I18N = 109 // unistd.h:333:1: + X_SC_XOPEN_LEGACY = 110 // unistd.h:334:1: + X_SC_XOPEN_REALTIME = 111 // unistd.h:335:1: + X_SC_XOPEN_REALTIME_THREADS = 112 // unistd.h:336:1: + X_SC_XOPEN_SHM = 113 // unistd.h:337:1: + X_SC_XOPEN_STREAMS = 114 // unistd.h:338:1: + X_SC_XOPEN_UNIX = 115 // unistd.h:339:1: + X_SC_XOPEN_VERSION = 116 // unistd.h:340:1: + X_SC_XOPEN_XCU_VERSION = 121 // unistd.h:341:1: + X_SIGSET_T = 0 // _sigset_t.h:29:1: + X_SIZE_T = 0 // _size_t.h:29:1: + X_SSIZE_T = 0 // _ssize_t.h:29:1: + X_SUSECONDS_T = 0 // _suseconds_t.h:29:1: + X_SYS_SELECT_H_ = 0 // select.h:64:1: + X_SYS_UNISTD_H_ = 0 // unistd.h:65:1: + X_SYS__PTHREAD_TYPES_H_ = 0 // _pthread_types.h:30:1: + X_SYS__SELECT_H_ = 0 // _select.h:37:1: + X_SYS__TYPES_H_ = 0 // _types.h:30:1: + X_TIME_T = 0 // _time_t.h:29:1: + X_UID_T = 0 // _uid_t.h:29:1: + X_UINT32_T = 0 // _uint32_t.h:30:1: + X_UINT64_T = 0 // _uint64_t.h:30:1: + X_UINTPTR_T = 0 // _uintptr_t.h:29:1: + X_UNISTD_H_ = 0 // unistd.h:69:1: + X_USECONDS_T = 0 // _useconds_t.h:29:1: + X_UUID_T = 0 // _uuid_t.h:29:1: + X_U_INT16_T = 0 // _u_int16_t.h:29:1: + X_U_INT32_T = 0 // _u_int32_t.h:29:1: + X_U_INT64_T = 0 // _u_int64_t.h:29:1: + X_U_INT8_T = 0 // _u_int8_t.h:29:1: + X_V6_ILP32_OFF32 = -1 // unistd.h:187:1: + X_V6_ILP32_OFFBIG = -1 // unistd.h:188:1: + X_V6_LP64_OFF64 = 1 // unistd.h:189:1: + X_V6_LPBIG_OFFBIG = 1 // unistd.h:190:1: + X_WATTR_OK = 65536 // unistd.h:107:1: + X_WEXT_OK = 262144 // unistd.h:109:1: + X_WPERM_OK = 1048576 // unistd.h:111:1: + X_WRITE_OK = 1024 // unistd.h:101:1: + X_XBS5_ILP32_OFF32 = -1 // unistd.h:195:1: + X_XBS5_ILP32_OFFBIG = -1 // unistd.h:196:1: + X_XBS5_LP64_OFF64 = 1 // unistd.h:197:1: + X_XBS5_LPBIG_OFFBIG = 1 // unistd.h:198:1: + X_XOPEN_CRYPT = 1 // unistd.h:202:1: + X_XOPEN_ENH_I18N = 1 // unistd.h:203:1: + X_XOPEN_LEGACY = -1 // unistd.h:204:1: + X_XOPEN_REALTIME = -1 // unistd.h:205:1: + X_XOPEN_REALTIME_THREADS = -1 // unistd.h:206:1: + X_XOPEN_SHM = 1 // unistd.h:207:1: + X_XOPEN_STREAMS = -1 // unistd.h:208:1: + X_XOPEN_UNIX = 1 // unistd.h:209:1: + X_XOPEN_VERSION = 600 // unistd.h:93:1: + X_XOPEN_XCU_VERSION = 4 // unistd.h:94:1: ) type Ptrdiff_t = int64 /* <builtin>:3:26 */ @@ -911,6 +911,20 @@ var X__darwin_check_fd_set_overflow uintptr /* <builtin>:146:5: */ // __XNU_PRIVATE_EXTERN is a linkage decoration indicating that a symbol can be // used from other compilation units, but not other libraries or executables. +// We intentionally define to nothing pointer attributes which do not have an +// impact on the ABI. __indexable and __bidi_indexable are not defined because +// of the ABI incompatibility that makes the diagnostic preferable. + +// Similarly, we intentionally define to nothing the +// __ptrcheck_abi_assume_single and __ptrcheck_abi_assume_unsafe_indexable +// macros because they do not lead to an ABI incompatibility. However, we do not +// define the indexable and unsafe_indexable ones because the diagnostic is +// better than the silent ABI break. + +// __unsafe_forge intrinsics are defined as regular C casts. + +// decay operates normally; attribute is meaningless without pointer checks. + // Architecture validation for current SDK // Similar to OS_ENUM/OS_CLOSED_ENUM/OS_OPTIONS/OS_CLOSED_OPTIONS @@ -1472,111 +1486,6 @@ type Accessx_descriptor = struct { Fad_pad [2]int32 } /* unistd.h:132:1 */ -// Copyright (c) 2012 Apple Inc. All rights reserved. -// -// @APPLE_OSREFERENCE_LICENSE_HEADER_START@ -// -// This file contains Original Code and/or Modifications of Original Code -// as defined in and that are subject to the Apple Public Source License -// Version 2.0 (the 'License'). You may not use this file except in -// compliance with the License. The rights granted to you under the License -// may not be used to create, or enable the creation or redistribution of, -// unlawful or unlicensed copies of an Apple operating system, or to -// circumvent, violate, or enable the circumvention or violation of, any -// terms of an Apple operating system software license agreement. -// -// Please obtain a copy of the License at -// http://www.opensource.apple.com/apsl/ and read it before using this file. -// -// The Original Code and all software distributed under the License are -// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER -// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, -// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. -// Please see the License for the specific language governing rights and -// limitations under the License. -// -// @APPLE_OSREFERENCE_LICENSE_HEADER_END@ - -type Uint64_t = uint64 /* _uint64_t.h:31:28 */ -// Copyright (c) 2012 Apple Inc. All rights reserved. -// -// @APPLE_OSREFERENCE_LICENSE_HEADER_START@ -// -// This file contains Original Code and/or Modifications of Original Code -// as defined in and that are subject to the Apple Public Source License -// Version 2.0 (the 'License'). You may not use this file except in -// compliance with the License. The rights granted to you under the License -// may not be used to create, or enable the creation or redistribution of, -// unlawful or unlicensed copies of an Apple operating system, or to -// circumvent, violate, or enable the circumvention or violation of, any -// terms of an Apple operating system software license agreement. -// -// Please obtain a copy of the License at -// http://www.opensource.apple.com/apsl/ and read it before using this file. -// -// The Original Code and all software distributed under the License are -// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER -// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, -// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. -// Please see the License for the specific language governing rights and -// limitations under the License. -// -// @APPLE_OSREFERENCE_LICENSE_HEADER_END@ - -type Uint32_t = uint32 /* _uint32_t.h:31:22 */ - -// Copyright (c) 2003-2007 Apple Inc. All rights reserved. -// -// @APPLE_OSREFERENCE_LICENSE_HEADER_START@ -// -// This file contains Original Code and/or Modifications of Original Code -// as defined in and that are subject to the Apple Public Source License -// Version 2.0 (the 'License'). You may not use this file except in -// compliance with the License. The rights granted to you under the License -// may not be used to create, or enable the creation or redistribution of, -// unlawful or unlicensed copies of an Apple operating system, or to -// circumvent, violate, or enable the circumvention or violation of, any -// terms of an Apple operating system software license agreement. -// -// Please obtain a copy of the License at -// http://www.opensource.apple.com/apsl/ and read it before using this file. -// -// The Original Code and all software distributed under the License are -// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER -// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, -// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. -// Please see the License for the specific language governing rights and -// limitations under the License. -// -// @APPLE_OSREFERENCE_LICENSE_HEADER_END@ -// Copyright (c) 2003-2012 Apple Inc. All rights reserved. -// -// @APPLE_OSREFERENCE_LICENSE_HEADER_START@ -// -// This file contains Original Code and/or Modifications of Original Code -// as defined in and that are subject to the Apple Public Source License -// Version 2.0 (the 'License'). You may not use this file except in -// compliance with the License. The rights granted to you under the License -// may not be used to create, or enable the creation or redistribution of, -// unlawful or unlicensed copies of an Apple operating system, or to -// circumvent, violate, or enable the circumvention or violation of, any -// terms of an Apple operating system software license agreement. -// -// Please obtain a copy of the License at -// http://www.opensource.apple.com/apsl/ and read it before using this file. -// -// The Original Code and all software distributed under the License are -// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER -// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, -// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. -// Please see the License for the specific language governing rights and -// limitations under the License. -// -// @APPLE_OSREFERENCE_LICENSE_HEADER_END@ // Copyright (c) 2003-2012 Apple Inc. All rights reserved. // // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ @@ -2035,6 +1944,136 @@ type User_off_t = Int64_t /* types.h:83:33 */ type Syscall_arg_t = U_int64_t /* types.h:104:33 */ type Ssize_t = X__darwin_ssize_t /* _ssize_t.h:31:33 */ +// Copyright (c) 2012 Apple Inc. All rights reserved. +// +// @APPLE_OSREFERENCE_LICENSE_HEADER_START@ +// +// This file contains Original Code and/or Modifications of Original Code +// as defined in and that are subject to the Apple Public Source License +// Version 2.0 (the 'License'). You may not use this file except in +// compliance with the License. The rights granted to you under the License +// may not be used to create, or enable the creation or redistribution of, +// unlawful or unlicensed copies of an Apple operating system, or to +// circumvent, violate, or enable the circumvention or violation of, any +// terms of an Apple operating system software license agreement. +// +// Please obtain a copy of the License at +// http://www.opensource.apple.com/apsl/ and read it before using this file. +// +// The Original Code and all software distributed under the License are +// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER +// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, +// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. +// Please see the License for the specific language governing rights and +// limitations under the License. +// +// @APPLE_OSREFERENCE_LICENSE_HEADER_END@ + +type Uint64_t = uint64 /* _uint64_t.h:31:28 */ +// Copyright (c) 2012 Apple Inc. All rights reserved. +// +// @APPLE_OSREFERENCE_LICENSE_HEADER_START@ +// +// This file contains Original Code and/or Modifications of Original Code +// as defined in and that are subject to the Apple Public Source License +// Version 2.0 (the 'License'). You may not use this file except in +// compliance with the License. The rights granted to you under the License +// may not be used to create, or enable the creation or redistribution of, +// unlawful or unlicensed copies of an Apple operating system, or to +// circumvent, violate, or enable the circumvention or violation of, any +// terms of an Apple operating system software license agreement. +// +// Please obtain a copy of the License at +// http://www.opensource.apple.com/apsl/ and read it before using this file. +// +// The Original Code and all software distributed under the License are +// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER +// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, +// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. +// Please see the License for the specific language governing rights and +// limitations under the License. +// +// @APPLE_OSREFERENCE_LICENSE_HEADER_END@ + +type Uint32_t = uint32 /* _uint32_t.h:31:22 */ + +// Copyright (c) 2003-2007 Apple Inc. All rights reserved. +// +// @APPLE_OSREFERENCE_LICENSE_HEADER_START@ +// +// This file contains Original Code and/or Modifications of Original Code +// as defined in and that are subject to the Apple Public Source License +// Version 2.0 (the 'License'). You may not use this file except in +// compliance with the License. The rights granted to you under the License +// may not be used to create, or enable the creation or redistribution of, +// unlawful or unlicensed copies of an Apple operating system, or to +// circumvent, violate, or enable the circumvention or violation of, any +// terms of an Apple operating system software license agreement. +// +// Please obtain a copy of the License at +// http://www.opensource.apple.com/apsl/ and read it before using this file. +// +// The Original Code and all software distributed under the License are +// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER +// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, +// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. +// Please see the License for the specific language governing rights and +// limitations under the License. +// +// @APPLE_OSREFERENCE_LICENSE_HEADER_END@ +// Copyright (c) 2003-2012 Apple Inc. All rights reserved. +// +// @APPLE_OSREFERENCE_LICENSE_HEADER_START@ +// +// This file contains Original Code and/or Modifications of Original Code +// as defined in and that are subject to the Apple Public Source License +// Version 2.0 (the 'License'). You may not use this file except in +// compliance with the License. The rights granted to you under the License +// may not be used to create, or enable the creation or redistribution of, +// unlawful or unlicensed copies of an Apple operating system, or to +// circumvent, violate, or enable the circumvention or violation of, any +// terms of an Apple operating system software license agreement. +// +// Please obtain a copy of the License at +// http://www.opensource.apple.com/apsl/ and read it before using this file. +// +// The Original Code and all software distributed under the License are +// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER +// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, +// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. +// Please see the License for the specific language governing rights and +// limitations under the License. +// +// @APPLE_OSREFERENCE_LICENSE_HEADER_END@ +// Copyright (c) 2003-2012 Apple Inc. All rights reserved. +// +// @APPLE_OSREFERENCE_LICENSE_HEADER_START@ +// +// This file contains Original Code and/or Modifications of Original Code +// as defined in and that are subject to the Apple Public Source License +// Version 2.0 (the 'License'). You may not use this file except in +// compliance with the License. The rights granted to you under the License +// may not be used to create, or enable the creation or redistribution of, +// unlawful or unlicensed copies of an Apple operating system, or to +// circumvent, violate, or enable the circumvention or violation of, any +// terms of an Apple operating system software license agreement. +// +// Please obtain a copy of the License at +// http://www.opensource.apple.com/apsl/ and read it before using this file. +// +// The Original Code and all software distributed under the License are +// distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER +// EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, +// INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. +// Please see the License for the specific language governing rights and +// limitations under the License. +// +// @APPLE_OSREFERENCE_LICENSE_HEADER_END@ // Copyright (c) 2003-2007 Apple Inc. All rights reserved. // // @APPLE_OSREFERENCE_LICENSE_HEADER_START@ diff --git a/vendor/modernc.org/libc/unistd/unistd_linux_amd64.go b/vendor/modernc.org/libc/unistd/unistd_linux_amd64.go index b302d192..3a0058ca 100644 --- a/vendor/modernc.org/libc/unistd/unistd_linux_amd64.go +++ b/vendor/modernc.org/libc/unistd/unistd_linux_amd64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo unistd/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o unistd/unistd_linux_amd64.go -pkgname unistd', DO NOT EDIT. +// Code generated by 'ccgo unistd/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o unistd/unistd_linux_amd64.go -pkgname unistd', DO NOT EDIT. package unistd @@ -15,135 +15,135 @@ var _ atomic.Value var _ unsafe.Pointer const ( - F_LOCK = 1 - F_OK = 0 - F_TEST = 3 - F_TLOCK = 2 - F_ULOCK = 0 - L_INCR = 1 - L_SET = 0 - L_XTND = 2 - R_OK = 4 - SEEK_CUR = 1 - SEEK_END = 2 - SEEK_SET = 0 - STDERR_FILENO = 2 - STDIN_FILENO = 0 - STDOUT_FILENO = 1 - W_OK = 2 - X_OK = 1 - X_ATFILE_SOURCE = 1 - X_BITS_POSIX_OPT_H = 1 - X_BITS_TIME64_H = 1 - X_BITS_TYPESIZES_H = 1 - X_BITS_TYPES_H = 1 - X_BSD_SIZE_T_ = 0 - X_BSD_SIZE_T_DEFINED_ = 0 - X_DEFAULT_SOURCE = 1 - X_FEATURES_H = 1 - X_FILE_OFFSET_BITS = 64 - X_GCC_SIZE_T = 0 - X_GETOPT_CORE_H = 1 - X_GETOPT_POSIX_H = 1 - X_LFS64_ASYNCHRONOUS_IO = 1 - X_LFS64_LARGEFILE = 1 - X_LFS64_STDIO = 1 - X_LFS_ASYNCHRONOUS_IO = 1 - X_LFS_LARGEFILE = 1 - X_LP64 = 1 - X_POSIX2_CHAR_TERM = 200809 - X_POSIX2_C_BIND = 200809 - X_POSIX2_C_DEV = 200809 - X_POSIX2_C_VERSION = 200809 - X_POSIX2_LOCALEDEF = 200809 - X_POSIX2_SW_DEV = 200809 - X_POSIX2_VERSION = 200809 - X_POSIX_ADVISORY_INFO = 200809 - X_POSIX_ASYNCHRONOUS_IO = 200809 - X_POSIX_ASYNC_IO = 1 - X_POSIX_BARRIERS = 200809 - X_POSIX_CHOWN_RESTRICTED = 0 - X_POSIX_CLOCK_SELECTION = 200809 - X_POSIX_CPUTIME = 0 - X_POSIX_C_SOURCE = 200809 - X_POSIX_FSYNC = 200809 - X_POSIX_IPV6 = 200809 - X_POSIX_JOB_CONTROL = 1 - X_POSIX_MAPPED_FILES = 200809 - X_POSIX_MEMLOCK = 200809 - X_POSIX_MEMLOCK_RANGE = 200809 - X_POSIX_MEMORY_PROTECTION = 200809 - X_POSIX_MESSAGE_PASSING = 200809 - X_POSIX_MONOTONIC_CLOCK = 0 - X_POSIX_NO_TRUNC = 1 - X_POSIX_PRIORITIZED_IO = 200809 - X_POSIX_PRIORITY_SCHEDULING = 200809 - X_POSIX_RAW_SOCKETS = 200809 - X_POSIX_READER_WRITER_LOCKS = 200809 - X_POSIX_REALTIME_SIGNALS = 200809 - X_POSIX_REENTRANT_FUNCTIONS = 1 - X_POSIX_REGEXP = 1 - X_POSIX_SAVED_IDS = 1 - X_POSIX_SEMAPHORES = 200809 - X_POSIX_SHARED_MEMORY_OBJECTS = 200809 - X_POSIX_SHELL = 1 - X_POSIX_SOURCE = 1 - X_POSIX_SPAWN = 200809 - X_POSIX_SPIN_LOCKS = 200809 - X_POSIX_SPORADIC_SERVER = -1 - X_POSIX_SYNCHRONIZED_IO = 200809 - X_POSIX_THREADS = 200809 - X_POSIX_THREAD_ATTR_STACKADDR = 200809 - X_POSIX_THREAD_ATTR_STACKSIZE = 200809 - X_POSIX_THREAD_CPUTIME = 0 - X_POSIX_THREAD_PRIORITY_SCHEDULING = 200809 - X_POSIX_THREAD_PRIO_INHERIT = 200809 - X_POSIX_THREAD_PRIO_PROTECT = 200809 - X_POSIX_THREAD_PROCESS_SHARED = 200809 - X_POSIX_THREAD_ROBUST_PRIO_INHERIT = 200809 - X_POSIX_THREAD_ROBUST_PRIO_PROTECT = -1 - X_POSIX_THREAD_SAFE_FUNCTIONS = 200809 - X_POSIX_THREAD_SPORADIC_SERVER = -1 - X_POSIX_TIMEOUTS = 200809 - X_POSIX_TIMERS = 200809 - X_POSIX_TRACE = -1 - X_POSIX_TRACE_EVENT_FILTER = -1 - X_POSIX_TRACE_INHERIT = -1 - X_POSIX_TRACE_LOG = -1 - X_POSIX_TYPED_MEMORY_OBJECTS = -1 - X_POSIX_V6_LP64_OFF64 = 1 - X_POSIX_V6_LPBIG_OFFBIG = -1 - X_POSIX_V7_LP64_OFF64 = 1 - X_POSIX_V7_LPBIG_OFFBIG = -1 - X_POSIX_VDISABLE = 0 - X_POSIX_VERSION = 200809 - X_SIZET_ = 0 - X_SIZE_T = 0 - X_SIZE_T_ = 0 - X_SIZE_T_DECLARED = 0 - X_SIZE_T_DEFINED = 0 - X_SIZE_T_DEFINED_ = 0 - X_STDC_PREDEF_H = 1 - X_SYS_CDEFS_H = 1 - X_SYS_SIZE_T_H = 0 - X_T_SIZE = 0 - X_T_SIZE_ = 0 - X_UNISTD_H = 1 - X_XBS5_LP64_OFF64 = 1 - X_XBS5_LPBIG_OFFBIG = -1 - X_XOPEN_ENH_I18N = 1 - X_XOPEN_LEGACY = 1 - X_XOPEN_REALTIME = 1 - X_XOPEN_REALTIME_THREADS = 1 - X_XOPEN_SHM = 1 - X_XOPEN_UNIX = 1 - X_XOPEN_VERSION = 700 - X_XOPEN_XCU_VERSION = 4 - X_XOPEN_XPG2 = 1 - X_XOPEN_XPG3 = 1 - X_XOPEN_XPG4 = 1 - Linux = 1 - Unix = 1 + F_LOCK = 1 // unistd.h:1074:1: + F_OK = 0 // unistd.h:284:1: + F_TEST = 3 // unistd.h:1076:1: + F_TLOCK = 2 // unistd.h:1075:1: + F_ULOCK = 0 // unistd.h:1073:1: + L_INCR = 1 // unistd.h:323:1: + L_SET = 0 // unistd.h:322:1: + L_XTND = 2 // unistd.h:324:1: + R_OK = 4 // unistd.h:281:1: + SEEK_CUR = 1 // unistd.h:312:1: + SEEK_END = 2 // unistd.h:313:1: + SEEK_SET = 0 // unistd.h:311:1: + STDERR_FILENO = 2 // unistd.h:212:1: + STDIN_FILENO = 0 // unistd.h:210:1: + STDOUT_FILENO = 1 // unistd.h:211:1: + W_OK = 2 // unistd.h:282:1: + X_OK = 1 // unistd.h:283:1: + X_ATFILE_SOURCE = 1 // features.h:342:1: + X_BITS_POSIX_OPT_H = 1 // posix_opt.h:20:1: + X_BITS_TIME64_H = 1 // time64.h:24:1: + X_BITS_TYPESIZES_H = 1 // typesizes.h:24:1: + X_BITS_TYPES_H = 1 // types.h:24:1: + X_BSD_SIZE_T_ = 0 // stddef.h:189:1: + X_BSD_SIZE_T_DEFINED_ = 0 // stddef.h:192:1: + X_DEFAULT_SOURCE = 1 // features.h:227:1: + X_FEATURES_H = 1 // features.h:19:1: + X_FILE_OFFSET_BITS = 64 // <builtin>:25:1: + X_GCC_SIZE_T = 0 // stddef.h:195:1: + X_GETOPT_CORE_H = 1 // getopt_core.h:21:1: + X_GETOPT_POSIX_H = 1 // getopt_posix.h:21:1: + X_LFS64_ASYNCHRONOUS_IO = 1 // posix_opt.h:117:1: + X_LFS64_LARGEFILE = 1 // posix_opt.h:121:1: + X_LFS64_STDIO = 1 // posix_opt.h:122:1: + X_LFS_ASYNCHRONOUS_IO = 1 // posix_opt.h:112:1: + X_LFS_LARGEFILE = 1 // posix_opt.h:120:1: + X_LP64 = 1 // <predefined>:284:1: + X_POSIX2_CHAR_TERM = 200809 // posix_opt.h:179:1: + X_POSIX2_C_BIND = 200809 // unistd.h:74:1: + X_POSIX2_C_DEV = 200809 // unistd.h:78:1: + X_POSIX2_C_VERSION = 200809 // unistd.h:70:1: + X_POSIX2_LOCALEDEF = 200809 // unistd.h:86:1: + X_POSIX2_SW_DEV = 200809 // unistd.h:82:1: + X_POSIX2_VERSION = 200809 // unistd.h:67:1: + X_POSIX_ADVISORY_INFO = 200809 // posix_opt.h:170:1: + X_POSIX_ASYNCHRONOUS_IO = 200809 // posix_opt.h:109:1: + X_POSIX_ASYNC_IO = 1 // posix_opt.h:110:1: + X_POSIX_BARRIERS = 200809 // posix_opt.h:155:1: + X_POSIX_CHOWN_RESTRICTED = 0 // posix_opt.h:53:1: + X_POSIX_CLOCK_SELECTION = 200809 // posix_opt.h:167:1: + X_POSIX_CPUTIME = 0 // posix_opt.h:128:1: + X_POSIX_C_SOURCE = 200809 // features.h:281:1: + X_POSIX_FSYNC = 200809 // posix_opt.h:38:1: + X_POSIX_IPV6 = 200809 // posix_opt.h:173:1: + X_POSIX_JOB_CONTROL = 1 // posix_opt.h:23:1: + X_POSIX_MAPPED_FILES = 200809 // posix_opt.h:41:1: + X_POSIX_MEMLOCK = 200809 // posix_opt.h:44:1: + X_POSIX_MEMLOCK_RANGE = 200809 // posix_opt.h:47:1: + X_POSIX_MEMORY_PROTECTION = 200809 // posix_opt.h:50:1: + X_POSIX_MESSAGE_PASSING = 200809 // posix_opt.h:158:1: + X_POSIX_MONOTONIC_CLOCK = 0 // posix_opt.h:164:1: + X_POSIX_NO_TRUNC = 1 // posix_opt.h:60:1: + X_POSIX_PRIORITIZED_IO = 200809 // posix_opt.h:114:1: + X_POSIX_PRIORITY_SCHEDULING = 200809 // posix_opt.h:32:1: + X_POSIX_RAW_SOCKETS = 200809 // posix_opt.h:176:1: + X_POSIX_READER_WRITER_LOCKS = 200809 // posix_opt.h:137:1: + X_POSIX_REALTIME_SIGNALS = 200809 // posix_opt.h:106:1: + X_POSIX_REENTRANT_FUNCTIONS = 1 // posix_opt.h:75:1: + X_POSIX_REGEXP = 1 // posix_opt.h:134:1: + X_POSIX_SAVED_IDS = 1 // posix_opt.h:26:1: + X_POSIX_SEMAPHORES = 200809 // posix_opt.h:103:1: + X_POSIX_SHARED_MEMORY_OBJECTS = 200809 // posix_opt.h:125:1: + X_POSIX_SHELL = 1 // posix_opt.h:140:1: + X_POSIX_SOURCE = 1 // features.h:279:1: + X_POSIX_SPAWN = 200809 // posix_opt.h:149:1: + X_POSIX_SPIN_LOCKS = 200809 // posix_opt.h:146:1: + X_POSIX_SPORADIC_SERVER = -1 // posix_opt.h:182:1: + X_POSIX_SYNCHRONIZED_IO = 200809 // posix_opt.h:35:1: + X_POSIX_THREADS = 200809 // posix_opt.h:72:1: + X_POSIX_THREAD_ATTR_STACKADDR = 200809 // posix_opt.h:85:1: + X_POSIX_THREAD_ATTR_STACKSIZE = 200809 // posix_opt.h:82:1: + X_POSIX_THREAD_CPUTIME = 0 // posix_opt.h:131:1: + X_POSIX_THREAD_PRIORITY_SCHEDULING = 200809 // posix_opt.h:79:1: + X_POSIX_THREAD_PRIO_INHERIT = 200809 // posix_opt.h:88:1: + X_POSIX_THREAD_PRIO_PROTECT = 200809 // posix_opt.h:92:1: + X_POSIX_THREAD_PROCESS_SHARED = 200809 // posix_opt.h:161:1: + X_POSIX_THREAD_ROBUST_PRIO_INHERIT = 200809 // posix_opt.h:96:1: + X_POSIX_THREAD_ROBUST_PRIO_PROTECT = -1 // posix_opt.h:99:1: + X_POSIX_THREAD_SAFE_FUNCTIONS = 200809 // posix_opt.h:76:1: + X_POSIX_THREAD_SPORADIC_SERVER = -1 // posix_opt.h:183:1: + X_POSIX_TIMEOUTS = 200809 // posix_opt.h:143:1: + X_POSIX_TIMERS = 200809 // posix_opt.h:152:1: + X_POSIX_TRACE = -1 // posix_opt.h:186:1: + X_POSIX_TRACE_EVENT_FILTER = -1 // posix_opt.h:187:1: + X_POSIX_TRACE_INHERIT = -1 // posix_opt.h:188:1: + X_POSIX_TRACE_LOG = -1 // posix_opt.h:189:1: + X_POSIX_TYPED_MEMORY_OBJECTS = -1 // posix_opt.h:192:1: + X_POSIX_V6_LP64_OFF64 = 1 // environments.h:62:1: + X_POSIX_V6_LPBIG_OFFBIG = -1 // environments.h:57:1: + X_POSIX_V7_LP64_OFF64 = 1 // environments.h:61:1: + X_POSIX_V7_LPBIG_OFFBIG = -1 // environments.h:56:1: + X_POSIX_VDISABLE = 0 // posix_opt.h:57:1: + X_POSIX_VERSION = 200809 // unistd.h:34:1: + X_SIZET_ = 0 // stddef.h:196:1: + X_SIZE_T = 0 // stddef.h:183:1: + X_SIZE_T_ = 0 // stddef.h:188:1: + X_SIZE_T_DECLARED = 0 // stddef.h:193:1: + X_SIZE_T_DEFINED = 0 // stddef.h:191:1: + X_SIZE_T_DEFINED_ = 0 // stddef.h:190:1: + X_STDC_PREDEF_H = 1 // <predefined>:162:1: + X_SYS_CDEFS_H = 1 // cdefs.h:19:1: + X_SYS_SIZE_T_H = 0 // stddef.h:184:1: + X_T_SIZE = 0 // stddef.h:186:1: + X_T_SIZE_ = 0 // stddef.h:185:1: + X_UNISTD_H = 1 // unistd.h:23:1: + X_XBS5_LP64_OFF64 = 1 // environments.h:63:1: + X_XBS5_LPBIG_OFFBIG = -1 // environments.h:58:1: + X_XOPEN_ENH_I18N = 1 // unistd.h:112:1: + X_XOPEN_LEGACY = 1 // unistd.h:115:1: + X_XOPEN_REALTIME = 1 // posix_opt.h:63:1: + X_XOPEN_REALTIME_THREADS = 1 // posix_opt.h:66:1: + X_XOPEN_SHM = 1 // posix_opt.h:69:1: + X_XOPEN_UNIX = 1 // unistd.h:108:1: + X_XOPEN_VERSION = 700 // unistd.h:90:1: + X_XOPEN_XCU_VERSION = 4 // unistd.h:100:1: + X_XOPEN_XPG2 = 1 // unistd.h:103:1: + X_XOPEN_XPG3 = 1 // unistd.h:104:1: + X_XOPEN_XPG4 = 1 // unistd.h:105:1: + Linux = 1 // <predefined>:231:1: + Unix = 1 // <predefined>:177:1: ) // Get the `_PC_*' symbols for the NAME argument to `pathconf' and `fpathconf'; diff --git a/vendor/modernc.org/libc/utime/capi_darwin_arm64.go b/vendor/modernc.org/libc/utime/capi_darwin_arm64.go index 372f430d..a35118cd 100644 --- a/vendor/modernc.org/libc/utime/capi_darwin_arm64.go +++ b/vendor/modernc.org/libc/utime/capi_darwin_arm64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo utime/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o utime/utime_darwin_arm64.go -pkgname utime', DO NOT EDIT. +// Code generated by 'ccgo utime/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o utime/utime_darwin_arm64.go -pkgname utime', DO NOT EDIT. package utime diff --git a/vendor/modernc.org/libc/utime/capi_linux_amd64.go b/vendor/modernc.org/libc/utime/capi_linux_amd64.go index 381f6bcc..8f7c87f4 100644 --- a/vendor/modernc.org/libc/utime/capi_linux_amd64.go +++ b/vendor/modernc.org/libc/utime/capi_linux_amd64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo utime/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o utime/utime_linux_amd64.go -pkgname utime', DO NOT EDIT. +// Code generated by 'ccgo utime/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o utime/utime_linux_amd64.go -pkgname utime', DO NOT EDIT. package utime diff --git a/vendor/modernc.org/libc/utime/utime_darwin_arm64.go b/vendor/modernc.org/libc/utime/utime_darwin_arm64.go index e88bf53c..4705ddcf 100644 --- a/vendor/modernc.org/libc/utime/utime_darwin_arm64.go +++ b/vendor/modernc.org/libc/utime/utime_darwin_arm64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo utime/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o utime/utime_darwin_arm64.go -pkgname utime', DO NOT EDIT. +// Code generated by 'ccgo utime/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o utime/utime_darwin_arm64.go -pkgname utime', DO NOT EDIT. package utime @@ -15,37 +15,37 @@ var _ atomic.Value var _ unsafe.Pointer const ( - X_ARM_MACHTYPES_H_ = 0 - X_BSD_ARM__TYPES_H_ = 0 - X_BSD_MACHINE_TYPES_H_ = 0 - X_BSD_MACHINE__TYPES_H_ = 0 - X_CDEFS_H_ = 0 - X_DARWIN_FEATURE_64_BIT_INODE = 1 - X_DARWIN_FEATURE_ONLY_64_BIT_INODE = 1 - X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1 - X_DARWIN_FEATURE_ONLY_VERS_1050 = 1 - X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3 - X_FILE_OFFSET_BITS = 64 - X_FORTIFY_SOURCE = 2 - X_INT16_T = 0 - X_INT32_T = 0 - X_INT64_T = 0 - X_INT8_T = 0 - X_INTPTR_T = 0 - X_LP64 = 1 - X_MACHTYPES_H_ = 0 - X_Nonnull = 0 - X_Null_unspecified = 0 - X_Nullable = 0 - X_SYS__PTHREAD_TYPES_H_ = 0 - X_SYS__TYPES_H_ = 0 - X_TIME_T = 0 - X_UINTPTR_T = 0 - X_UTIME_H_ = 0 - X_U_INT16_T = 0 - X_U_INT32_T = 0 - X_U_INT64_T = 0 - X_U_INT8_T = 0 + X_ARM_MACHTYPES_H_ = 0 // types.h:43:1: + X_BSD_ARM__TYPES_H_ = 0 // _types.h:5:1: + X_BSD_MACHINE_TYPES_H_ = 0 // types.h:32:1: + X_BSD_MACHINE__TYPES_H_ = 0 // _types.h:29:1: + X_CDEFS_H_ = 0 // cdefs.h:68:1: + X_DARWIN_FEATURE_64_BIT_INODE = 1 // cdefs.h:774:1: + X_DARWIN_FEATURE_ONLY_64_BIT_INODE = 1 // cdefs.h:784:1: + X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1 // cdefs.h:800:1: + X_DARWIN_FEATURE_ONLY_VERS_1050 = 1 // cdefs.h:792:1: + X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3 // cdefs.h:808:1: + X_FILE_OFFSET_BITS = 64 // <builtin>:25:1: + X_FORTIFY_SOURCE = 2 // _types.h:65:1: + X_INT16_T = 0 // _int16_t.h:29:1: + X_INT32_T = 0 // _int32_t.h:29:1: + X_INT64_T = 0 // _int64_t.h:29:1: + X_INT8_T = 0 // _int8_t.h:29:1: + X_INTPTR_T = 0 // _intptr_t.h:29:1: + X_LP64 = 1 // <predefined>:1:1: + X_MACHTYPES_H_ = 0 // types.h:44:1: + X_Nonnull = 0 // cdefs.h:268:1: + X_Null_unspecified = 0 // cdefs.h:271:1: + X_Nullable = 0 // cdefs.h:265:1: + X_SYS__PTHREAD_TYPES_H_ = 0 // _pthread_types.h:30:1: + X_SYS__TYPES_H_ = 0 // _types.h:30:1: + X_TIME_T = 0 // _time_t.h:29:1: + X_UINTPTR_T = 0 // _uintptr_t.h:29:1: + X_UTIME_H_ = 0 // utime.h:59:1: + X_U_INT16_T = 0 // _u_int16_t.h:29:1: + X_U_INT32_T = 0 // _u_int32_t.h:29:1: + X_U_INT64_T = 0 // _u_int64_t.h:29:1: + X_U_INT8_T = 0 // _u_int8_t.h:29:1: ) type Ptrdiff_t = int64 /* <builtin>:3:26 */ @@ -532,6 +532,20 @@ var X__darwin_check_fd_set_overflow uintptr /* <builtin>:146:5: */ // __XNU_PRIVATE_EXTERN is a linkage decoration indicating that a symbol can be // used from other compilation units, but not other libraries or executables. +// We intentionally define to nothing pointer attributes which do not have an +// impact on the ABI. __indexable and __bidi_indexable are not defined because +// of the ABI incompatibility that makes the diagnostic preferable. + +// Similarly, we intentionally define to nothing the +// __ptrcheck_abi_assume_single and __ptrcheck_abi_assume_unsafe_indexable +// macros because they do not lead to an ABI incompatibility. However, we do not +// define the indexable and unsafe_indexable ones because the diagnostic is +// better than the silent ABI break. + +// __unsafe_forge intrinsics are defined as regular C casts. + +// decay operates normally; attribute is meaningless without pointer checks. + // Architecture validation for current SDK // Similar to OS_ENUM/OS_CLOSED_ENUM/OS_OPTIONS/OS_CLOSED_OPTIONS diff --git a/vendor/modernc.org/libc/utime/utime_linux_amd64.go b/vendor/modernc.org/libc/utime/utime_linux_amd64.go index 049de230..a9995de5 100644 --- a/vendor/modernc.org/libc/utime/utime_linux_amd64.go +++ b/vendor/modernc.org/libc/utime/utime_linux_amd64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo utime/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o utime/utime_linux_amd64.go -pkgname utime', DO NOT EDIT. +// Code generated by 'ccgo utime/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o utime/utime_linux_amd64.go -pkgname utime', DO NOT EDIT. package utime @@ -15,21 +15,21 @@ var _ atomic.Value var _ unsafe.Pointer const ( - X_ATFILE_SOURCE = 1 - X_BITS_TIME64_H = 1 - X_BITS_TYPESIZES_H = 1 - X_BITS_TYPES_H = 1 - X_DEFAULT_SOURCE = 1 - X_FEATURES_H = 1 - X_FILE_OFFSET_BITS = 64 - X_LP64 = 1 - X_POSIX_C_SOURCE = 200809 - X_POSIX_SOURCE = 1 - X_STDC_PREDEF_H = 1 - X_SYS_CDEFS_H = 1 - X_UTIME_H = 1 - Linux = 1 - Unix = 1 + X_ATFILE_SOURCE = 1 // features.h:342:1: + X_BITS_TIME64_H = 1 // time64.h:24:1: + X_BITS_TYPESIZES_H = 1 // typesizes.h:24:1: + X_BITS_TYPES_H = 1 // types.h:24:1: + X_DEFAULT_SOURCE = 1 // features.h:227:1: + X_FEATURES_H = 1 // features.h:19:1: + X_FILE_OFFSET_BITS = 64 // <builtin>:25:1: + X_LP64 = 1 // <predefined>:284:1: + X_POSIX_C_SOURCE = 200809 // features.h:281:1: + X_POSIX_SOURCE = 1 // features.h:279:1: + X_STDC_PREDEF_H = 1 // <predefined>:162:1: + X_SYS_CDEFS_H = 1 // cdefs.h:19:1: + X_UTIME_H = 1 // utime.h:23:1: + Linux = 1 // <predefined>:231:1: + Unix = 1 // <predefined>:177:1: ) type Ptrdiff_t = int64 /* <builtin>:3:26 */ diff --git a/vendor/modernc.org/libc/uuid/uuid/capi_darwin_arm64.go b/vendor/modernc.org/libc/uuid/uuid/capi_darwin_arm64.go index e8c583fd..7ea285a7 100644 --- a/vendor/modernc.org/libc/uuid/uuid/capi_darwin_arm64.go +++ b/vendor/modernc.org/libc/uuid/uuid/capi_darwin_arm64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo uuid/uuid/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o uuid/uuid/uuid_darwin_arm64.go -pkgname uuid', DO NOT EDIT. +// Code generated by 'ccgo uuid/uuid/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o uuid/uuid/uuid_darwin_arm64.go -pkgname uuid', DO NOT EDIT. package uuid diff --git a/vendor/modernc.org/libc/uuid/uuid/capi_linux_amd64.go b/vendor/modernc.org/libc/uuid/uuid/capi_linux_amd64.go index 1439e9a1..68331799 100644 --- a/vendor/modernc.org/libc/uuid/uuid/capi_linux_amd64.go +++ b/vendor/modernc.org/libc/uuid/uuid/capi_linux_amd64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo uuid/uuid/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o uuid/uuid/uuid_linux_amd64.go -pkgname uuid', DO NOT EDIT. +// Code generated by 'ccgo uuid/uuid/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o uuid/uuid/uuid_linux_amd64.go -pkgname uuid', DO NOT EDIT. package uuid diff --git a/vendor/modernc.org/libc/uuid/uuid/uuid_darwin_arm64.go b/vendor/modernc.org/libc/uuid/uuid/uuid_darwin_arm64.go index 9cf36a53..c87a7b25 100644 --- a/vendor/modernc.org/libc/uuid/uuid/uuid_darwin_arm64.go +++ b/vendor/modernc.org/libc/uuid/uuid/uuid_darwin_arm64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo uuid/uuid/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o uuid/uuid/uuid_darwin_arm64.go -pkgname uuid', DO NOT EDIT. +// Code generated by 'ccgo uuid/uuid/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o uuid/uuid/uuid_darwin_arm64.go -pkgname uuid', DO NOT EDIT. package uuid @@ -15,24 +15,24 @@ var _ atomic.Value var _ unsafe.Pointer const ( - X_BSD_ARM__TYPES_H_ = 0 - X_BSD_MACHINE__TYPES_H_ = 0 - X_CDEFS_H_ = 0 - X_DARWIN_FEATURE_64_BIT_INODE = 1 - X_DARWIN_FEATURE_ONLY_64_BIT_INODE = 1 - X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1 - X_DARWIN_FEATURE_ONLY_VERS_1050 = 1 - X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3 - X_FILE_OFFSET_BITS = 64 - X_LP64 = 1 - X_Nonnull = 0 - X_Null_unspecified = 0 - X_Nullable = 0 - X_SYS__PTHREAD_TYPES_H_ = 0 - X_SYS__TYPES_H_ = 0 - X_UUID_STRING_T = 0 - X_UUID_T = 0 - X_UUID_UUID_H = 0 + X_BSD_ARM__TYPES_H_ = 0 // _types.h:5:1: + X_BSD_MACHINE__TYPES_H_ = 0 // _types.h:29:1: + X_CDEFS_H_ = 0 // cdefs.h:68:1: + X_DARWIN_FEATURE_64_BIT_INODE = 1 // cdefs.h:774:1: + X_DARWIN_FEATURE_ONLY_64_BIT_INODE = 1 // cdefs.h:784:1: + X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1 // cdefs.h:800:1: + X_DARWIN_FEATURE_ONLY_VERS_1050 = 1 // cdefs.h:792:1: + X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3 // cdefs.h:808:1: + X_FILE_OFFSET_BITS = 64 // <builtin>:25:1: + X_LP64 = 1 // <predefined>:1:1: + X_Nonnull = 0 // cdefs.h:268:1: + X_Null_unspecified = 0 // cdefs.h:271:1: + X_Nullable = 0 // cdefs.h:265:1: + X_SYS__PTHREAD_TYPES_H_ = 0 // _pthread_types.h:30:1: + X_SYS__TYPES_H_ = 0 // _types.h:30:1: + X_UUID_STRING_T = 0 // uuid.h:42:1: + X_UUID_T = 0 // _uuid_t.h:29:1: + X_UUID_UUID_H = 0 // uuid.h:36:1: ) type Ptrdiff_t = int64 /* <builtin>:3:26 */ @@ -476,6 +476,20 @@ var X__darwin_check_fd_set_overflow uintptr /* <builtin>:146:5: */ // __XNU_PRIVATE_EXTERN is a linkage decoration indicating that a symbol can be // used from other compilation units, but not other libraries or executables. +// We intentionally define to nothing pointer attributes which do not have an +// impact on the ABI. __indexable and __bidi_indexable are not defined because +// of the ABI incompatibility that makes the diagnostic preferable. + +// Similarly, we intentionally define to nothing the +// __ptrcheck_abi_assume_single and __ptrcheck_abi_assume_unsafe_indexable +// macros because they do not lead to an ABI incompatibility. However, we do not +// define the indexable and unsafe_indexable ones because the diagnostic is +// better than the silent ABI break. + +// __unsafe_forge intrinsics are defined as regular C casts. + +// decay operates normally; attribute is meaningless without pointer checks. + // Architecture validation for current SDK // Similar to OS_ENUM/OS_CLOSED_ENUM/OS_OPTIONS/OS_CLOSED_OPTIONS diff --git a/vendor/modernc.org/libc/uuid/uuid/uuid_linux_amd64.go b/vendor/modernc.org/libc/uuid/uuid/uuid_linux_amd64.go index 84c78a0e..3d9cb2f6 100644 --- a/vendor/modernc.org/libc/uuid/uuid/uuid_linux_amd64.go +++ b/vendor/modernc.org/libc/uuid/uuid/uuid_linux_amd64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo uuid/uuid/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o uuid/uuid/uuid_linux_amd64.go -pkgname uuid', DO NOT EDIT. +// Code generated by 'ccgo uuid/uuid/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o uuid/uuid/uuid_linux_amd64.go -pkgname uuid', DO NOT EDIT. package uuid @@ -15,84 +15,84 @@ var _ atomic.Value var _ unsafe.Pointer const ( - BIG_ENDIAN = 4321 - BYTE_ORDER = 1234 - CLOCK_BOOTTIME = 7 - CLOCK_BOOTTIME_ALARM = 9 - CLOCK_MONOTONIC = 1 - CLOCK_MONOTONIC_COARSE = 6 - CLOCK_MONOTONIC_RAW = 4 - CLOCK_PROCESS_CPUTIME_ID = 2 - CLOCK_REALTIME = 0 - CLOCK_REALTIME_ALARM = 8 - CLOCK_REALTIME_COARSE = 5 - CLOCK_TAI = 11 - CLOCK_THREAD_CPUTIME_ID = 3 - FD_SETSIZE = 1024 - LITTLE_ENDIAN = 1234 - PDP_ENDIAN = 3412 - TIMER_ABSTIME = 1 - TIME_UTC = 1 - UUID_STR_LEN = 37 - UUID_TYPE_DCE_MD5 = 3 - UUID_TYPE_DCE_RANDOM = 4 - UUID_TYPE_DCE_SECURITY = 2 - UUID_TYPE_DCE_SHA1 = 5 - UUID_TYPE_DCE_TIME = 1 - UUID_TYPE_MASK = 0xf - UUID_TYPE_SHIFT = 4 - UUID_VARIANT_DCE = 1 - UUID_VARIANT_MASK = 0x7 - UUID_VARIANT_MICROSOFT = 2 - UUID_VARIANT_NCS = 0 - UUID_VARIANT_OTHER = 3 - UUID_VARIANT_SHIFT = 5 - X_ATFILE_SOURCE = 1 - X_BITS_BYTESWAP_H = 1 - X_BITS_ENDIANNESS_H = 1 - X_BITS_ENDIAN_H = 1 - X_BITS_PTHREADTYPES_ARCH_H = 1 - X_BITS_PTHREADTYPES_COMMON_H = 1 - X_BITS_STDINT_INTN_H = 1 - X_BITS_TIME64_H = 1 - X_BITS_TIME_H = 1 - X_BITS_TYPESIZES_H = 1 - X_BITS_TYPES_H = 1 - X_BITS_TYPES_LOCALE_T_H = 1 - X_BITS_TYPES___LOCALE_T_H = 1 - X_BITS_UINTN_IDENTITY_H = 1 - X_BSD_SIZE_T_ = 0 - X_BSD_SIZE_T_DEFINED_ = 0 - X_DEFAULT_SOURCE = 1 - X_ENDIAN_H = 1 - X_FEATURES_H = 1 - X_FILE_OFFSET_BITS = 64 - X_GCC_SIZE_T = 0 - X_LP64 = 1 - X_POSIX_C_SOURCE = 200809 - X_POSIX_SOURCE = 1 - X_RWLOCK_INTERNAL_H = 0 - X_SIZET_ = 0 - X_SIZE_T = 0 - X_SIZE_T_ = 0 - X_SIZE_T_DECLARED = 0 - X_SIZE_T_DEFINED = 0 - X_SIZE_T_DEFINED_ = 0 - X_STDC_PREDEF_H = 1 - X_STRUCT_TIMESPEC = 1 - X_SYS_CDEFS_H = 1 - X_SYS_SELECT_H = 1 - X_SYS_SIZE_T_H = 0 - X_SYS_TIME_H = 1 - X_SYS_TYPES_H = 1 - X_THREAD_MUTEX_INTERNAL_H = 1 - X_THREAD_SHARED_TYPES_H = 1 - X_TIME_H = 1 - X_T_SIZE = 0 - X_T_SIZE_ = 0 - X_UUID_UUID_H = 0 - Linux = 1 - Unix = 1 + BIG_ENDIAN = 4321 // endian.h:28:1: + BYTE_ORDER = 1234 // endian.h:30:1: + CLOCK_BOOTTIME = 7 // time.h:60:1: + CLOCK_BOOTTIME_ALARM = 9 // time.h:64:1: + CLOCK_MONOTONIC = 1 // time.h:48:1: + CLOCK_MONOTONIC_COARSE = 6 // time.h:58:1: + CLOCK_MONOTONIC_RAW = 4 // time.h:54:1: + CLOCK_PROCESS_CPUTIME_ID = 2 // time.h:50:1: + CLOCK_REALTIME = 0 // time.h:46:1: + CLOCK_REALTIME_ALARM = 8 // time.h:62:1: + CLOCK_REALTIME_COARSE = 5 // time.h:56:1: + CLOCK_TAI = 11 // time.h:66:1: + CLOCK_THREAD_CPUTIME_ID = 3 // time.h:52:1: + FD_SETSIZE = 1024 // select.h:73:1: + LITTLE_ENDIAN = 1234 // endian.h:27:1: + PDP_ENDIAN = 3412 // endian.h:29:1: + TIMER_ABSTIME = 1 // time.h:69:1: + TIME_UTC = 1 // time.h:65:1: + UUID_STR_LEN = 37 // uuid.h:65:1: + UUID_TYPE_DCE_MD5 = 3 // uuid.h:58:1: + UUID_TYPE_DCE_RANDOM = 4 // uuid.h:59:1: + UUID_TYPE_DCE_SECURITY = 2 // uuid.h:57:1: + UUID_TYPE_DCE_SHA1 = 5 // uuid.h:60:1: + UUID_TYPE_DCE_TIME = 1 // uuid.h:56:1: + UUID_TYPE_MASK = 0xf // uuid.h:63:1: + UUID_TYPE_SHIFT = 4 // uuid.h:62:1: + UUID_VARIANT_DCE = 1 // uuid.h:48:1: + UUID_VARIANT_MASK = 0x7 // uuid.h:53:1: + UUID_VARIANT_MICROSOFT = 2 // uuid.h:49:1: + UUID_VARIANT_NCS = 0 // uuid.h:47:1: + UUID_VARIANT_OTHER = 3 // uuid.h:50:1: + UUID_VARIANT_SHIFT = 5 // uuid.h:52:1: + X_ATFILE_SOURCE = 1 // features.h:342:1: + X_BITS_BYTESWAP_H = 1 // byteswap.h:24:1: + X_BITS_ENDIANNESS_H = 1 // endianness.h:2:1: + X_BITS_ENDIAN_H = 1 // endian.h:20:1: + X_BITS_PTHREADTYPES_ARCH_H = 1 // pthreadtypes-arch.h:19:1: + X_BITS_PTHREADTYPES_COMMON_H = 1 // pthreadtypes.h:20:1: + X_BITS_STDINT_INTN_H = 1 // stdint-intn.h:20:1: + X_BITS_TIME64_H = 1 // time64.h:24:1: + X_BITS_TIME_H = 1 // time.h:24:1: + X_BITS_TYPESIZES_H = 1 // typesizes.h:24:1: + X_BITS_TYPES_H = 1 // types.h:24:1: + X_BITS_TYPES_LOCALE_T_H = 1 // locale_t.h:20:1: + X_BITS_TYPES___LOCALE_T_H = 1 // __locale_t.h:21:1: + X_BITS_UINTN_IDENTITY_H = 1 // uintn-identity.h:24:1: + X_BSD_SIZE_T_ = 0 // stddef.h:189:1: + X_BSD_SIZE_T_DEFINED_ = 0 // stddef.h:192:1: + X_DEFAULT_SOURCE = 1 // features.h:227:1: + X_ENDIAN_H = 1 // endian.h:19:1: + X_FEATURES_H = 1 // features.h:19:1: + X_FILE_OFFSET_BITS = 64 // <builtin>:25:1: + X_GCC_SIZE_T = 0 // stddef.h:195:1: + X_LP64 = 1 // <predefined>:284:1: + X_POSIX_C_SOURCE = 200809 // features.h:281:1: + X_POSIX_SOURCE = 1 // features.h:279:1: + X_RWLOCK_INTERNAL_H = 0 // struct_rwlock.h:21:1: + X_SIZET_ = 0 // stddef.h:196:1: + X_SIZE_T = 0 // stddef.h:183:1: + X_SIZE_T_ = 0 // stddef.h:188:1: + X_SIZE_T_DECLARED = 0 // stddef.h:193:1: + X_SIZE_T_DEFINED = 0 // stddef.h:191:1: + X_SIZE_T_DEFINED_ = 0 // stddef.h:190:1: + X_STDC_PREDEF_H = 1 // <predefined>:162:1: + X_STRUCT_TIMESPEC = 1 // struct_timespec.h:3:1: + X_SYS_CDEFS_H = 1 // cdefs.h:19:1: + X_SYS_SELECT_H = 1 // select.h:22:1: + X_SYS_SIZE_T_H = 0 // stddef.h:184:1: + X_SYS_TIME_H = 1 // time.h:19:1: + X_SYS_TYPES_H = 1 // types.h:23:1: + X_THREAD_MUTEX_INTERNAL_H = 1 // struct_mutex.h:20:1: + X_THREAD_SHARED_TYPES_H = 1 // thread-shared-types.h:20:1: + X_TIME_H = 1 // time.h:23:1: + X_T_SIZE = 0 // stddef.h:186:1: + X_T_SIZE_ = 0 // stddef.h:185:1: + X_UUID_UUID_H = 0 // uuid.h:36:1: + Linux = 1 // <predefined>:231:1: + Unix = 1 // <predefined>:177:1: ) // Values for the first argument to `getitimer' and `setitimer'. diff --git a/vendor/modernc.org/libc/wctype/capi_darwin_arm64.go b/vendor/modernc.org/libc/wctype/capi_darwin_arm64.go index 88852739..f6b70761 100644 --- a/vendor/modernc.org/libc/wctype/capi_darwin_arm64.go +++ b/vendor/modernc.org/libc/wctype/capi_darwin_arm64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo wctype/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o wctype/wctype_darwin_arm64.go -pkgname wctype', DO NOT EDIT. +// Code generated by 'ccgo wctype/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o wctype/wctype_darwin_arm64.go -pkgname wctype', DO NOT EDIT. package wctype diff --git a/vendor/modernc.org/libc/wctype/capi_linux_amd64.go b/vendor/modernc.org/libc/wctype/capi_linux_amd64.go index d7a2db06..e1138ccd 100644 --- a/vendor/modernc.org/libc/wctype/capi_linux_amd64.go +++ b/vendor/modernc.org/libc/wctype/capi_linux_amd64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo wctype/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o wctype/wctype_linux_amd64.go -pkgname wctype', DO NOT EDIT. +// Code generated by 'ccgo wctype/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o wctype/wctype_linux_amd64.go -pkgname wctype', DO NOT EDIT. package wctype diff --git a/vendor/modernc.org/libc/wctype/wctype_darwin_arm64.go b/vendor/modernc.org/libc/wctype/wctype_darwin_arm64.go index 715e12e6..048dec12 100644 --- a/vendor/modernc.org/libc/wctype/wctype_darwin_arm64.go +++ b/vendor/modernc.org/libc/wctype/wctype_darwin_arm64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo wctype/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o wctype/wctype_darwin_arm64.go -pkgname wctype', DO NOT EDIT. +// Code generated by 'ccgo wctype/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o wctype/wctype_darwin_arm64.go -pkgname wctype', DO NOT EDIT. package wctype @@ -15,55 +15,55 @@ var _ atomic.Value var _ unsafe.Pointer const ( - X_BSD_ARM__TYPES_H_ = 0 - X_BSD_MACHINE__TYPES_H_ = 0 - X_CACHED_RUNES = 256 - X_CDEFS_H_ = 0 - X_CRMASK = -256 - X_CTYPE_A = 0x00000100 - X_CTYPE_B = 0x00020000 - X_CTYPE_C = 0x00000200 - X_CTYPE_D = 0x00000400 - X_CTYPE_G = 0x00000800 - X_CTYPE_H_ = 0 - X_CTYPE_I = 0x00080000 - X_CTYPE_L = 0x00001000 - X_CTYPE_P = 0x00002000 - X_CTYPE_Q = 0x00200000 - X_CTYPE_R = 0x00040000 - X_CTYPE_S = 0x00004000 - X_CTYPE_SW0 = 0x20000000 - X_CTYPE_SW1 = 0x40000000 - X_CTYPE_SW2 = 0x80000000 - X_CTYPE_SW3 = 0xc0000000 - X_CTYPE_SWM = 0xe0000000 - X_CTYPE_SWS = 30 - X_CTYPE_T = 0x00100000 - X_CTYPE_U = 0x00008000 - X_CTYPE_X = 0x00010000 - X_CT_RUNE_T = 0 - X_DARWIN_FEATURE_64_BIT_INODE = 1 - X_DARWIN_FEATURE_ONLY_64_BIT_INODE = 1 - X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1 - X_DARWIN_FEATURE_ONLY_VERS_1050 = 1 - X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3 - X_FILE_OFFSET_BITS = 64 - X_FORTIFY_SOURCE = 2 - X_LP64 = 1 - X_Nonnull = 0 - X_Null_unspecified = 0 - X_Nullable = 0 - X_RUNETYPE_H_ = 0 - X_RUNE_MAGIC_A = "RuneMagA" - X_RUNE_T = 0 - X_SIZE_T = 0 - X_SYS__PTHREAD_TYPES_H_ = 0 - X_SYS__TYPES_H_ = 0 - X_WCHAR_T = 0 - X_WCTRANS_T = 0 - X_WCTYPE_H_ = 0 - X_WCTYPE_T = 0 - X_WINT_T = 0 + X_BSD_ARM__TYPES_H_ = 0 // _types.h:5:1: + X_BSD_MACHINE__TYPES_H_ = 0 // _types.h:29:1: + X_CACHED_RUNES = 256 // runetype.h:54:1: + X_CDEFS_H_ = 0 // cdefs.h:68:1: + X_CRMASK = -256 // runetype.h:55:1: + X_CTYPE_A = 0x00000100 // _ctype.h:72:1: + X_CTYPE_B = 0x00020000 // _ctype.h:81:1: + X_CTYPE_C = 0x00000200 // _ctype.h:73:1: + X_CTYPE_D = 0x00000400 // _ctype.h:74:1: + X_CTYPE_G = 0x00000800 // _ctype.h:75:1: + X_CTYPE_H_ = 0 // ctype.h:67:1: + X_CTYPE_I = 0x00080000 // _ctype.h:83:1: + X_CTYPE_L = 0x00001000 // _ctype.h:76:1: + X_CTYPE_P = 0x00002000 // _ctype.h:77:1: + X_CTYPE_Q = 0x00200000 // _ctype.h:85:1: + X_CTYPE_R = 0x00040000 // _ctype.h:82:1: + X_CTYPE_S = 0x00004000 // _ctype.h:78:1: + X_CTYPE_SW0 = 0x20000000 // _ctype.h:86:1: + X_CTYPE_SW1 = 0x40000000 // _ctype.h:87:1: + X_CTYPE_SW2 = 0x80000000 // _ctype.h:88:1: + X_CTYPE_SW3 = 0xc0000000 // _ctype.h:89:1: + X_CTYPE_SWM = 0xe0000000 // _ctype.h:90:1: + X_CTYPE_SWS = 30 // _ctype.h:91:1: + X_CTYPE_T = 0x00100000 // _ctype.h:84:1: + X_CTYPE_U = 0x00008000 // _ctype.h:79:1: + X_CTYPE_X = 0x00010000 // _ctype.h:80:1: + X_CT_RUNE_T = 0 // _ct_rune_t.h:30:1: + X_DARWIN_FEATURE_64_BIT_INODE = 1 // cdefs.h:774:1: + X_DARWIN_FEATURE_ONLY_64_BIT_INODE = 1 // cdefs.h:784:1: + X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1 // cdefs.h:800:1: + X_DARWIN_FEATURE_ONLY_VERS_1050 = 1 // cdefs.h:792:1: + X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3 // cdefs.h:808:1: + X_FILE_OFFSET_BITS = 64 // <builtin>:25:1: + X_FORTIFY_SOURCE = 2 // _types.h:65:1: + X_LP64 = 1 // <predefined>:1:1: + X_Nonnull = 0 // cdefs.h:268:1: + X_Null_unspecified = 0 // cdefs.h:271:1: + X_Nullable = 0 // cdefs.h:265:1: + X_RUNETYPE_H_ = 0 // runetype.h:40:1: + X_RUNE_MAGIC_A = "RuneMagA" // runetype.h:108:1: + X_RUNE_T = 0 // _rune_t.h:29:1: + X_SIZE_T = 0 // _size_t.h:29:1: + X_SYS__PTHREAD_TYPES_H_ = 0 // _pthread_types.h:30:1: + X_SYS__TYPES_H_ = 0 // _types.h:30:1: + X_WCHAR_T = 0 // _wchar_t.h:32:1: + X_WCTRANS_T = 0 // _wctrans_t.h:30:1: + X_WCTYPE_H_ = 0 // wctype.h:32:1: + X_WCTYPE_T = 0 // _wctype_t.h:30:1: + X_WINT_T = 0 // _wint_t.h:30:1: ) type Ptrdiff_t = int64 /* <builtin>:3:26 */ @@ -478,6 +478,20 @@ var X__darwin_check_fd_set_overflow uintptr /* <builtin>:146:5: */ // __XNU_PRIVATE_EXTERN is a linkage decoration indicating that a symbol can be // used from other compilation units, but not other libraries or executables. +// We intentionally define to nothing pointer attributes which do not have an +// impact on the ABI. __indexable and __bidi_indexable are not defined because +// of the ABI incompatibility that makes the diagnostic preferable. + +// Similarly, we intentionally define to nothing the +// __ptrcheck_abi_assume_single and __ptrcheck_abi_assume_unsafe_indexable +// macros because they do not lead to an ABI incompatibility. However, we do not +// define the indexable and unsafe_indexable ones because the diagnostic is +// better than the silent ABI break. + +// __unsafe_forge intrinsics are defined as regular C casts. + +// decay operates normally; attribute is meaningless without pointer checks. + // Architecture validation for current SDK // Similar to OS_ENUM/OS_CLOSED_ENUM/OS_OPTIONS/OS_CLOSED_OPTIONS diff --git a/vendor/modernc.org/libc/wctype/wctype_linux_amd64.go b/vendor/modernc.org/libc/wctype/wctype_linux_amd64.go index 35d7ee90..fb6e00d7 100644 --- a/vendor/modernc.org/libc/wctype/wctype_linux_amd64.go +++ b/vendor/modernc.org/libc/wctype/wctype_linux_amd64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo wctype/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o wctype/wctype_linux_amd64.go -pkgname wctype', DO NOT EDIT. +// Code generated by 'ccgo wctype/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o wctype/wctype_linux_amd64.go -pkgname wctype', DO NOT EDIT. package wctype @@ -15,28 +15,28 @@ var _ atomic.Value var _ unsafe.Pointer const ( - WEOF = 4294967295 - X_ATFILE_SOURCE = 1 - X_BITS_ENDIANNESS_H = 1 - X_BITS_ENDIAN_H = 1 - X_BITS_TIME64_H = 1 - X_BITS_TYPESIZES_H = 1 - X_BITS_TYPES_H = 1 - X_BITS_TYPES_LOCALE_T_H = 1 - X_BITS_TYPES___LOCALE_T_H = 1 - X_BITS_WCTYPE_WCHAR_H = 1 - X_DEFAULT_SOURCE = 1 - X_FEATURES_H = 1 - X_FILE_OFFSET_BITS = 64 - X_LP64 = 1 - X_POSIX_C_SOURCE = 200809 - X_POSIX_SOURCE = 1 - X_STDC_PREDEF_H = 1 - X_SYS_CDEFS_H = 1 - X_WCTYPE_H = 1 - X_WINT_T = 1 - Linux = 1 - Unix = 1 + WEOF = 4294967295 // wctype.h:33:1: + X_ATFILE_SOURCE = 1 // features.h:342:1: + X_BITS_ENDIANNESS_H = 1 // endianness.h:2:1: + X_BITS_ENDIAN_H = 1 // endian.h:20:1: + X_BITS_TIME64_H = 1 // time64.h:24:1: + X_BITS_TYPESIZES_H = 1 // typesizes.h:24:1: + X_BITS_TYPES_H = 1 // types.h:24:1: + X_BITS_TYPES_LOCALE_T_H = 1 // locale_t.h:20:1: + X_BITS_TYPES___LOCALE_T_H = 1 // __locale_t.h:21:1: + X_BITS_WCTYPE_WCHAR_H = 1 // wctype-wchar.h:24:1: + X_DEFAULT_SOURCE = 1 // features.h:227:1: + X_FEATURES_H = 1 // features.h:19:1: + X_FILE_OFFSET_BITS = 64 // <builtin>:25:1: + X_LP64 = 1 // <predefined>:284:1: + X_POSIX_C_SOURCE = 200809 // features.h:281:1: + X_POSIX_SOURCE = 1 // features.h:279:1: + X_STDC_PREDEF_H = 1 // <predefined>:162:1: + X_SYS_CDEFS_H = 1 // cdefs.h:19:1: + X_WCTYPE_H = 1 // wctype.h:24:1: + X_WINT_T = 1 // wint_t.h:10:1: + Linux = 1 // <predefined>:231:1: + Unix = 1 // <predefined>:177:1: ) // The characteristics are stored always in network byte order (big |