Update dependencies (#1929)
This commit is contained in:
83
vendor/modernc.org/libc/Makefile
generated
vendored
83
vendor/modernc.org/libc/Makefile
generated
vendored
@@ -2,7 +2,7 @@
|
||||
# Use of this source code is governed by a BSD-style
|
||||
# license that can be found in the LICENSE file.
|
||||
|
||||
.PHONY: all bench clean cover cpu editor internalError later mem nuke todo edit devbench \
|
||||
.PHONY: all bench build_all_targets clean cover cpu editor internalError later mem nuke todo edit devbench \
|
||||
darwin_amd64 \
|
||||
darwin_arm64 \
|
||||
linux_386 \
|
||||
@@ -23,20 +23,6 @@ all:
|
||||
go install -v ./...
|
||||
go test
|
||||
go test 2>&1 -timeout 1h | tee -a $(log)
|
||||
GOOS=darwin GOARCH=amd64 go build
|
||||
GOOS=darwin GOARCH=arm64 go build
|
||||
GOOS=freebsd GOARCH=386 go build
|
||||
GOOS=freebsd GOARCH=amd64 go build
|
||||
GOOS=linux GOARCH=386 go build
|
||||
GOOS=linux GOARCH=amd64 go build
|
||||
GOOS=linux GOARCH=arm go build
|
||||
GOOS=linux GOARCH=arm64 go build
|
||||
GOOS=linux GOARCH=s390x go build
|
||||
GOOS=netbsd GOARCH=amd64 go build
|
||||
GOOS=openbsd GOARCH=amd64 go build
|
||||
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
|
||||
@@ -46,6 +32,10 @@ all:
|
||||
go version
|
||||
date 2>&1 | tee -a $(log)
|
||||
|
||||
build_all_targets:
|
||||
./build_all_targets.sh
|
||||
echo done
|
||||
|
||||
darwin_amd64:
|
||||
@echo "Should be executed only on darwin/amd64."
|
||||
go generate 2>&1 | tee log-generate
|
||||
@@ -68,12 +58,28 @@ freebsd_386:
|
||||
go generate 2>&1 | tee log-generate
|
||||
go build -v ./...
|
||||
|
||||
# only on freebsd/arm
|
||||
freebsd_arm:
|
||||
@echo "Should be executed only on freebsd/arm."
|
||||
go generate 2>&1 | tee log-generate
|
||||
go build -v ./...
|
||||
|
||||
freebsd_arm64:
|
||||
go run addport.go freebsd_amd64 freebsd_arm64
|
||||
go build -v ./...
|
||||
|
||||
# only on netbsd/amd64
|
||||
netbsd_amd64:
|
||||
@echo "Should be executed only on netbsd/amd64."
|
||||
go generate 2>&1 | tee log-generate
|
||||
go build -v ./...
|
||||
|
||||
# only on netbsd/arm
|
||||
netbsd_arm:
|
||||
@echo "Should be executed only on netbsd/arm."
|
||||
go generate 2>&1 | tee log-generate
|
||||
go build -v ./...
|
||||
|
||||
linux_amd64:
|
||||
@echo "Should be executed only on linux/amd64."
|
||||
go generate 2>&1 | tee log-generate
|
||||
@@ -104,6 +110,18 @@ openbsd_amd64:
|
||||
@echo "Should be executed only on openbsd/amd64."
|
||||
go generate 2>&1 | tee log-generate
|
||||
go build -v ./...
|
||||
#
|
||||
# only on openbsd/386
|
||||
openbsd_386:
|
||||
@echo "Should be executed only on openbsd/386."
|
||||
go generate 2>&1 | tee log-generate
|
||||
go build -v ./...
|
||||
|
||||
# only on openbsd/arm64
|
||||
openbsd_arm64:
|
||||
@echo "Should be executed only on openbsd/arm64."
|
||||
go generate 2>&1 | tee log-generate
|
||||
go build -v ./...
|
||||
|
||||
windows_amd64:
|
||||
@echo "Should be executed only on windows/amd64."
|
||||
@@ -123,41 +141,6 @@ windows_386:
|
||||
all_targets: linux_amd64 linux_386 linux_arm linux_arm64 linux_s390x # windows_amd64 windows_386
|
||||
echo done
|
||||
|
||||
build_all_targets:
|
||||
GOOS=darwin GOARCH=amd64 go build -v ./...
|
||||
GOOS=darwin GOARCH=amd64 go test -c -o /dev/null
|
||||
GOOS=darwin GOARCH=arm64 go build -v ./...
|
||||
GOOS=darwin GOARCH=arm64 go test -c -o /dev/null
|
||||
GOOS=freebsd GOARCH=386 go build -v ./...
|
||||
GOOS=freebsd GOARCH=386 go test -c -o /dev/null
|
||||
GOOS=freebsd GOARCH=amd64 go build -v ./...
|
||||
GOOS=freebsd GOARCH=amd64 go test -c -o /dev/null
|
||||
GOOS=linux GOARCH=386 go build -v ./...
|
||||
GOOS=linux GOARCH=386 go test -c -o /dev/null
|
||||
GOOS=linux GOARCH=amd64 go build -v ./...
|
||||
GOOS=linux GOARCH=amd64 go test -c -o /dev/null
|
||||
GOOS=linux GOARCH=arm go build -v ./...
|
||||
GOOS=linux GOARCH=arm go test -c -o /dev/null
|
||||
GOOS=linux GOARCH=arm64 go build -v ./...
|
||||
GOOS=linux GOARCH=arm64 go test -c -o /dev/null
|
||||
GOOS=linux GOARCH=ppc64le go test -c -o /dev/null
|
||||
GOOS=linux GOARCH=ppc64le go test -c -o /dev/null
|
||||
GOOS=linux GOARCH=riscv64 go build -v ./...
|
||||
GOOS=linux GOARCH=riscv64 go build -v ./...
|
||||
GOOS=linux GOARCH=s390x go build -v ./...
|
||||
GOOS=linux GOARCH=s390x go test -c -o /dev/null
|
||||
GOOS=netbsd GOARCH=amd64 go build -v ./...
|
||||
GOOS=netbsd GOARCH=amd64 go test -c -o /dev/null
|
||||
GOOS=openbsd GOARCH=amd64 go build -v ./...
|
||||
GOOS=openbsd GOARCH=amd64 go test -c -o /dev/null
|
||||
GOOS=windows GOARCH=386 go build -v ./...
|
||||
GOOS=windows GOARCH=386 go test -c -o /dev/null
|
||||
GOOS=windows GOARCH=amd64 go build -v ./...
|
||||
GOOS=windows GOARCH=amd64 go test -c -o /dev/null
|
||||
GOOS=windows GOARCH=arm64 go build -v ./...
|
||||
GOOS=windows GOARCH=arm64 go test -c -o /dev/null
|
||||
echo done
|
||||
|
||||
devbench:
|
||||
date 2>&1 | tee log-devbench
|
||||
go test -timeout 24h -dev -run @ -bench . 2>&1 | tee -a log-devbench
|
||||
|
||||
43
vendor/modernc.org/libc/build_all_targets.sh
generated
vendored
Normal file
43
vendor/modernc.org/libc/build_all_targets.sh
generated
vendored
Normal file
@@ -0,0 +1,43 @@
|
||||
set -e
|
||||
for tag in none dmesg libc.membrk libc.memgrind
|
||||
do
|
||||
echo "-tags=$tag"
|
||||
GOOS=darwin GOARCH=amd64 go build -tags=$tag -v ./...
|
||||
GOOS=darwin GOARCH=amd64 go test -tags=$tag -c -o /dev/null
|
||||
GOOS=darwin GOARCH=arm64 go build -tags=$tag -v ./...
|
||||
GOOS=darwin GOARCH=arm64 go test -tags=$tag -c -o /dev/null
|
||||
GOOS=freebsd GOARCH=386 go build -tags=$tag -v ./...
|
||||
GOOS=freebsd GOARCH=386 go test -tags=$tag -c -o /dev/null
|
||||
GOOS=freebsd GOARCH=amd64 go build -tags=$tag -v ./...
|
||||
GOOS=freebsd GOARCH=amd64 go test -tags=$tag -c -o /dev/null
|
||||
GOOS=freebsd GOARCH=arm go build -tags=$tag -v ./...
|
||||
GOOS=freebsd GOARCH=arm go test -tags=$tag -c -o /dev/null
|
||||
GOOS=linux GOARCH=386 go build -tags=$tag -v ./...
|
||||
GOOS=linux GOARCH=386 go test -tags=$tag -c -o /dev/null
|
||||
GOOS=linux GOARCH=amd64 go build -tags=$tag -v ./...
|
||||
GOOS=linux GOARCH=amd64 go test -tags=$tag -c -o /dev/null
|
||||
GOOS=linux GOARCH=arm go build -tags=$tag -v ./...
|
||||
GOOS=linux GOARCH=arm go test -tags=$tag -c -o /dev/null
|
||||
GOOS=linux GOARCH=arm64 go build -tags=$tag -v ./...
|
||||
GOOS=linux GOARCH=arm64 go test -tags=$tag -c -o /dev/null
|
||||
GOOS=linux GOARCH=ppc64le go test -tags=$tag -c -o /dev/null
|
||||
GOOS=linux GOARCH=riscv64 go build -tags=$tag -v ./...
|
||||
GOOS=linux GOARCH=s390x go build -tags=$tag -v ./...
|
||||
GOOS=linux GOARCH=s390x go test -tags=$tag -c -o /dev/null
|
||||
GOOS=netbsd GOARCH=amd64 go build -tags=$tag -v ./...
|
||||
GOOS=netbsd GOARCH=amd64 go test -tags=$tag -c -o /dev/null
|
||||
GOOS=netbsd GOARCH=arm go build -tags=$tag -v ./...
|
||||
GOOS=netbsd GOARCH=arm go test -tags=$tag -c -o /dev/null
|
||||
GOOS=openbsd GOARCH=386 go build -tags=$tag -v ./...
|
||||
GOOS=openbsd GOARCH=386 go test -tags=$tag -c -o /dev/null
|
||||
GOOS=openbsd GOARCH=amd64 go build -tags=$tag -v ./...
|
||||
GOOS=openbsd GOARCH=amd64 go test -tags=$tag -c -o /dev/null
|
||||
GOOS=openbsd GOARCH=arm64 go build -tags=$tag -v ./...
|
||||
GOOS=openbsd GOARCH=arm64 go test -tags=$tag -c -o /dev/null
|
||||
GOOS=windows GOARCH=386 go build -tags=$tag -v ./...
|
||||
GOOS=windows GOARCH=386 go test -tags=$tag -c -o /dev/null
|
||||
GOOS=windows GOARCH=amd64 go build -tags=$tag -v ./...
|
||||
GOOS=windows GOARCH=amd64 go test -tags=$tag -c -o /dev/null
|
||||
GOOS=windows GOARCH=arm64 go build -tags=$tag -v ./...
|
||||
GOOS=windows GOARCH=arm64 go test -tags=$tag -c -o /dev/null
|
||||
done
|
||||
2
vendor/modernc.org/libc/capi_darwin_amd64.go
generated
vendored
2
vendor/modernc.org/libc/capi_darwin_amd64.go
generated
vendored
@@ -49,6 +49,7 @@ var CAPI = map[string]struct{}{
|
||||
"__builtin_infl": {},
|
||||
"__builtin_isnan": {},
|
||||
"__builtin_isunordered": {},
|
||||
"__builtin_llabs": {},
|
||||
"__builtin_malloc": {},
|
||||
"__builtin_memcmp": {},
|
||||
"__builtin_memcpy": {},
|
||||
@@ -312,6 +313,7 @@ var CAPI = map[string]struct{}{
|
||||
"ldexp": {},
|
||||
"link": {},
|
||||
"listen": {},
|
||||
"llabs": {},
|
||||
"localeconv": {},
|
||||
"localtime": {},
|
||||
"localtime_r": {},
|
||||
|
||||
2
vendor/modernc.org/libc/capi_darwin_arm64.go
generated
vendored
2
vendor/modernc.org/libc/capi_darwin_arm64.go
generated
vendored
@@ -49,6 +49,7 @@ var CAPI = map[string]struct{}{
|
||||
"__builtin_infl": {},
|
||||
"__builtin_isnan": {},
|
||||
"__builtin_isunordered": {},
|
||||
"__builtin_llabs": {},
|
||||
"__builtin_malloc": {},
|
||||
"__builtin_memcmp": {},
|
||||
"__builtin_memcpy": {},
|
||||
@@ -312,6 +313,7 @@ var CAPI = map[string]struct{}{
|
||||
"ldexp": {},
|
||||
"link": {},
|
||||
"listen": {},
|
||||
"llabs": {},
|
||||
"localeconv": {},
|
||||
"localtime": {},
|
||||
"localtime_r": {},
|
||||
|
||||
7
vendor/modernc.org/libc/capi_freebsd_386.go
generated
vendored
7
vendor/modernc.org/libc/capi_freebsd_386.go
generated
vendored
@@ -9,6 +9,8 @@ var CAPI = map[string]struct{}{
|
||||
"_ThreadRuneLocale": {},
|
||||
"___errno_location": {},
|
||||
"___runetype": {},
|
||||
"___tolower": {},
|
||||
"___toupper": {},
|
||||
"__assert": {},
|
||||
"__assert_fail": {},
|
||||
"__builtin___memcpy_chk": {},
|
||||
@@ -50,6 +52,7 @@ var CAPI = map[string]struct{}{
|
||||
"__builtin_infl": {},
|
||||
"__builtin_isnan": {},
|
||||
"__builtin_isunordered": {},
|
||||
"__builtin_llabs": {},
|
||||
"__builtin_malloc": {},
|
||||
"__builtin_memcmp": {},
|
||||
"__builtin_memcpy": {},
|
||||
@@ -149,6 +152,9 @@ var CAPI = map[string]struct{}{
|
||||
"backtrace_symbols_fd": {},
|
||||
"bind": {},
|
||||
"bsearch": {},
|
||||
"bswap16": {},
|
||||
"bswap32": {},
|
||||
"bswap64": {},
|
||||
"bzero": {},
|
||||
"calloc": {},
|
||||
"ceil": {},
|
||||
@@ -288,6 +294,7 @@ var CAPI = map[string]struct{}{
|
||||
"ldexp": {},
|
||||
"link": {},
|
||||
"listen": {},
|
||||
"llabs": {},
|
||||
"localtime": {},
|
||||
"localtime_r": {},
|
||||
"log": {},
|
||||
|
||||
7
vendor/modernc.org/libc/capi_freebsd_amd64.go
generated
vendored
7
vendor/modernc.org/libc/capi_freebsd_amd64.go
generated
vendored
@@ -9,6 +9,8 @@ var CAPI = map[string]struct{}{
|
||||
"_ThreadRuneLocale": {},
|
||||
"___errno_location": {},
|
||||
"___runetype": {},
|
||||
"___tolower": {},
|
||||
"___toupper": {},
|
||||
"__assert": {},
|
||||
"__assert_fail": {},
|
||||
"__builtin___memcpy_chk": {},
|
||||
@@ -50,6 +52,7 @@ var CAPI = map[string]struct{}{
|
||||
"__builtin_infl": {},
|
||||
"__builtin_isnan": {},
|
||||
"__builtin_isunordered": {},
|
||||
"__builtin_llabs": {},
|
||||
"__builtin_malloc": {},
|
||||
"__builtin_memcmp": {},
|
||||
"__builtin_memcpy": {},
|
||||
@@ -149,6 +152,9 @@ var CAPI = map[string]struct{}{
|
||||
"backtrace_symbols_fd": {},
|
||||
"bind": {},
|
||||
"bsearch": {},
|
||||
"bswap16": {},
|
||||
"bswap32": {},
|
||||
"bswap64": {},
|
||||
"bzero": {},
|
||||
"calloc": {},
|
||||
"ceil": {},
|
||||
@@ -288,6 +294,7 @@ var CAPI = map[string]struct{}{
|
||||
"ldexp": {},
|
||||
"link": {},
|
||||
"listen": {},
|
||||
"llabs": {},
|
||||
"localtime": {},
|
||||
"localtime_r": {},
|
||||
"log": {},
|
||||
|
||||
504
vendor/modernc.org/libc/capi_freebsd_arm.go
generated
vendored
Normal file
504
vendor/modernc.org/libc/capi_freebsd_arm.go
generated
vendored
Normal file
@@ -0,0 +1,504 @@
|
||||
// Code generated by 'go generate' - DO NOT EDIT.
|
||||
|
||||
package libc // import "modernc.org/libc"
|
||||
|
||||
var CAPI = map[string]struct{}{
|
||||
"_CurrentRuneLocale": {},
|
||||
"_DefaultRuneLocale": {},
|
||||
"_IO_putc": {},
|
||||
"_ThreadRuneLocale": {},
|
||||
"___errno_location": {},
|
||||
"___runetype": {},
|
||||
"___tolower": {},
|
||||
"___toupper": {},
|
||||
"__assert": {},
|
||||
"__assert_fail": {},
|
||||
"__builtin___memcpy_chk": {},
|
||||
"__builtin___memmove_chk": {},
|
||||
"__builtin___memset_chk": {},
|
||||
"__builtin___snprintf_chk": {},
|
||||
"__builtin___sprintf_chk": {},
|
||||
"__builtin___strcat_chk": {},
|
||||
"__builtin___strcpy_chk": {},
|
||||
"__builtin___strncpy_chk": {},
|
||||
"__builtin___vsnprintf_chk": {},
|
||||
"__builtin_abort": {},
|
||||
"__builtin_abs": {},
|
||||
"__builtin_add_overflowInt64": {},
|
||||
"__builtin_add_overflowUint32": {},
|
||||
"__builtin_add_overflowUint64": {},
|
||||
"__builtin_bswap16": {},
|
||||
"__builtin_bswap32": {},
|
||||
"__builtin_bswap64": {},
|
||||
"__builtin_bzero": {},
|
||||
"__builtin_clz": {},
|
||||
"__builtin_clzl": {},
|
||||
"__builtin_clzll": {},
|
||||
"__builtin_constant_p_impl": {},
|
||||
"__builtin_copysign": {},
|
||||
"__builtin_copysignf": {},
|
||||
"__builtin_copysignl": {},
|
||||
"__builtin_exit": {},
|
||||
"__builtin_expect": {},
|
||||
"__builtin_fabs": {},
|
||||
"__builtin_fabsf": {},
|
||||
"__builtin_fabsl": {},
|
||||
"__builtin_free": {},
|
||||
"__builtin_getentropy": {},
|
||||
"__builtin_huge_val": {},
|
||||
"__builtin_huge_valf": {},
|
||||
"__builtin_inf": {},
|
||||
"__builtin_inff": {},
|
||||
"__builtin_infl": {},
|
||||
"__builtin_isnan": {},
|
||||
"__builtin_isunordered": {},
|
||||
"__builtin_llabs": {},
|
||||
"__builtin_malloc": {},
|
||||
"__builtin_memcmp": {},
|
||||
"__builtin_memcpy": {},
|
||||
"__builtin_memset": {},
|
||||
"__builtin_mmap": {},
|
||||
"__builtin_mul_overflowInt64": {},
|
||||
"__builtin_mul_overflowUint128": {},
|
||||
"__builtin_mul_overflowUint64": {},
|
||||
"__builtin_nan": {},
|
||||
"__builtin_nanf": {},
|
||||
"__builtin_nanl": {},
|
||||
"__builtin_object_size": {},
|
||||
"__builtin_popcount": {},
|
||||
"__builtin_popcountl": {},
|
||||
"__builtin_prefetch": {},
|
||||
"__builtin_printf": {},
|
||||
"__builtin_snprintf": {},
|
||||
"__builtin_sprintf": {},
|
||||
"__builtin_strchr": {},
|
||||
"__builtin_strcmp": {},
|
||||
"__builtin_strcpy": {},
|
||||
"__builtin_strlen": {},
|
||||
"__builtin_sub_overflowInt64": {},
|
||||
"__builtin_trap": {},
|
||||
"__builtin_unreachable": {},
|
||||
"__ccgo_dmesg": {},
|
||||
"__ccgo_getMutexType": {},
|
||||
"__ccgo_in6addr_anyp": {},
|
||||
"__ccgo_pthreadAttrGetDetachState": {},
|
||||
"__ccgo_pthreadMutexattrGettype": {},
|
||||
"__ccgo_sqlite3_log": {},
|
||||
"__cmsg_nxthdr": {},
|
||||
"__ctype_get_mb_cur_max": {},
|
||||
"__errno_location": {},
|
||||
"__error": {},
|
||||
"__floatscan": {},
|
||||
"__h_errno_location": {},
|
||||
"__inet_aton": {},
|
||||
"__inet_ntoa": {},
|
||||
"__intscan": {},
|
||||
"__isalnum_l": {},
|
||||
"__isalpha_l": {},
|
||||
"__isdigit_l": {},
|
||||
"__islower_l": {},
|
||||
"__isnan": {},
|
||||
"__isnanf": {},
|
||||
"__isnanl": {},
|
||||
"__isoc99_sscanf": {},
|
||||
"__isprint_l": {},
|
||||
"__isspace_l": {},
|
||||
"__isthreaded": {},
|
||||
"__isupper_l": {},
|
||||
"__isxdigit_l": {},
|
||||
"__lookup_ipliteral": {},
|
||||
"__lookup_name": {},
|
||||
"__lookup_serv": {},
|
||||
"__mb_sb_limit": {},
|
||||
"__runes_for_locale": {},
|
||||
"__shgetc": {},
|
||||
"__shlim": {},
|
||||
"__srget": {},
|
||||
"__stderrp": {},
|
||||
"__stdinp": {},
|
||||
"__stdoutp": {},
|
||||
"__swbuf": {},
|
||||
"__sync_add_and_fetch_uint32": {},
|
||||
"__sync_sub_and_fetch_uint32": {},
|
||||
"__syscall1": {},
|
||||
"__syscall3": {},
|
||||
"__syscall4": {},
|
||||
"__toread": {},
|
||||
"__toread_needs_stdio_exit": {},
|
||||
"__uflow": {},
|
||||
"__xuname": {},
|
||||
"_exit": {},
|
||||
"_longjmp": {},
|
||||
"_obstack_begin": {},
|
||||
"_obstack_newchunk": {},
|
||||
"_setjmp": {},
|
||||
"abort": {},
|
||||
"abs": {},
|
||||
"accept": {},
|
||||
"access": {},
|
||||
"acos": {},
|
||||
"acosh": {},
|
||||
"alarm": {},
|
||||
"asin": {},
|
||||
"asinh": {},
|
||||
"atan": {},
|
||||
"atan2": {},
|
||||
"atanh": {},
|
||||
"atexit": {},
|
||||
"atof": {},
|
||||
"atoi": {},
|
||||
"atol": {},
|
||||
"backtrace": {},
|
||||
"backtrace_symbols_fd": {},
|
||||
"bind": {},
|
||||
"bsearch": {},
|
||||
"bswap16": {},
|
||||
"bswap32": {},
|
||||
"bswap64": {},
|
||||
"bzero": {},
|
||||
"calloc": {},
|
||||
"ceil": {},
|
||||
"ceilf": {},
|
||||
"cfgetospeed": {},
|
||||
"cfsetispeed": {},
|
||||
"cfsetospeed": {},
|
||||
"chdir": {},
|
||||
"chflags": {},
|
||||
"chmod": {},
|
||||
"chown": {},
|
||||
"clock_gettime": {},
|
||||
"close": {},
|
||||
"closedir": {},
|
||||
"confstr": {},
|
||||
"connect": {},
|
||||
"copysign": {},
|
||||
"copysignf": {},
|
||||
"copysignl": {},
|
||||
"cos": {},
|
||||
"cosf": {},
|
||||
"cosh": {},
|
||||
"ctime": {},
|
||||
"ctime_r": {},
|
||||
"dlclose": {},
|
||||
"dlerror": {},
|
||||
"dlopen": {},
|
||||
"dlsym": {},
|
||||
"dup2": {},
|
||||
"endpwent": {},
|
||||
"environ": {},
|
||||
"execvp": {},
|
||||
"exit": {},
|
||||
"exp": {},
|
||||
"fabs": {},
|
||||
"fabsf": {},
|
||||
"fabsl": {},
|
||||
"fchmod": {},
|
||||
"fchown": {},
|
||||
"fclose": {},
|
||||
"fcntl": {},
|
||||
"fcntl64": {},
|
||||
"fdopen": {},
|
||||
"ferror": {},
|
||||
"fflush": {},
|
||||
"fgetc": {},
|
||||
"fgets": {},
|
||||
"fileno": {},
|
||||
"floor": {},
|
||||
"fmod": {},
|
||||
"fmodl": {},
|
||||
"fopen": {},
|
||||
"fopen64": {},
|
||||
"fork": {},
|
||||
"fprintf": {},
|
||||
"fputc": {},
|
||||
"fputs": {},
|
||||
"fread": {},
|
||||
"free": {},
|
||||
"freeaddrinfo": {},
|
||||
"frexp": {},
|
||||
"fscanf": {},
|
||||
"fseek": {},
|
||||
"fstat": {},
|
||||
"fstat64": {},
|
||||
"fsync": {},
|
||||
"ftell": {},
|
||||
"ftruncate": {},
|
||||
"fts64_close": {},
|
||||
"fts64_open": {},
|
||||
"fts64_read": {},
|
||||
"fts_close": {},
|
||||
"fts_open": {},
|
||||
"fts_read": {},
|
||||
"fwrite": {},
|
||||
"gai_strerror": {},
|
||||
"getaddrinfo": {},
|
||||
"getc": {},
|
||||
"getcwd": {},
|
||||
"getegid": {},
|
||||
"getentropy": {},
|
||||
"getenv": {},
|
||||
"geteuid": {},
|
||||
"getgid": {},
|
||||
"getgrgid": {},
|
||||
"getgrgid_r": {},
|
||||
"getgrnam": {},
|
||||
"getgrnam_r": {},
|
||||
"gethostbyaddr": {},
|
||||
"gethostbyaddr_r": {},
|
||||
"gethostbyname": {},
|
||||
"gethostbyname2": {},
|
||||
"gethostbyname2_r": {},
|
||||
"gethostname": {},
|
||||
"getnameinfo": {},
|
||||
"getpeername": {},
|
||||
"getpid": {},
|
||||
"getpwnam": {},
|
||||
"getpwnam_r": {},
|
||||
"getpwuid": {},
|
||||
"getpwuid_r": {},
|
||||
"getresgid": {},
|
||||
"getresuid": {},
|
||||
"getrlimit": {},
|
||||
"getrlimit64": {},
|
||||
"getrusage": {},
|
||||
"getservbyname": {},
|
||||
"getsockname": {},
|
||||
"getsockopt": {},
|
||||
"gettimeofday": {},
|
||||
"getuid": {},
|
||||
"gmtime_r": {},
|
||||
"h_errno": {},
|
||||
"htonl": {},
|
||||
"htons": {},
|
||||
"hypot": {},
|
||||
"inet_ntoa": {},
|
||||
"inet_ntop": {},
|
||||
"inet_pton": {},
|
||||
"initstate": {},
|
||||
"initstate_r": {},
|
||||
"ioctl": {},
|
||||
"isalnum": {},
|
||||
"isalpha": {},
|
||||
"isascii": {},
|
||||
"isatty": {},
|
||||
"isdigit": {},
|
||||
"islower": {},
|
||||
"isnan": {},
|
||||
"isnanf": {},
|
||||
"isnanl": {},
|
||||
"isprint": {},
|
||||
"isspace": {},
|
||||
"isupper": {},
|
||||
"isxdigit": {},
|
||||
"kill": {},
|
||||
"ldexp": {},
|
||||
"link": {},
|
||||
"listen": {},
|
||||
"llabs": {},
|
||||
"localtime": {},
|
||||
"localtime_r": {},
|
||||
"log": {},
|
||||
"log10": {},
|
||||
"longjmp": {},
|
||||
"lrand48": {},
|
||||
"lseek": {},
|
||||
"lseek64": {},
|
||||
"lstat": {},
|
||||
"lstat64": {},
|
||||
"malloc": {},
|
||||
"mblen": {},
|
||||
"mbstowcs": {},
|
||||
"mbtowc": {},
|
||||
"memchr": {},
|
||||
"memcmp": {},
|
||||
"memcpy": {},
|
||||
"memmove": {},
|
||||
"memset": {},
|
||||
"mkdir": {},
|
||||
"mkfifo": {},
|
||||
"mknod": {},
|
||||
"mkostemp": {},
|
||||
"mkstemp": {},
|
||||
"mkstemp64": {},
|
||||
"mkstemps": {},
|
||||
"mkstemps64": {},
|
||||
"mktime": {},
|
||||
"mmap": {},
|
||||
"modf": {},
|
||||
"munmap": {},
|
||||
"nl_langinfo": {},
|
||||
"ntohs": {},
|
||||
"obstack_free": {},
|
||||
"obstack_vprintf": {},
|
||||
"open": {},
|
||||
"open64": {},
|
||||
"opendir": {},
|
||||
"openpty": {},
|
||||
"pathconf": {},
|
||||
"pause": {},
|
||||
"pclose": {},
|
||||
"perror": {},
|
||||
"pipe": {},
|
||||
"poll": {},
|
||||
"popen": {},
|
||||
"pow": {},
|
||||
"printf": {},
|
||||
"pselect": {},
|
||||
"pthread_attr_destroy": {},
|
||||
"pthread_attr_getdetachstate": {},
|
||||
"pthread_attr_init": {},
|
||||
"pthread_attr_setdetachstate": {},
|
||||
"pthread_attr_setscope": {},
|
||||
"pthread_attr_setstacksize": {},
|
||||
"pthread_cond_broadcast": {},
|
||||
"pthread_cond_destroy": {},
|
||||
"pthread_cond_init": {},
|
||||
"pthread_cond_signal": {},
|
||||
"pthread_cond_timedwait": {},
|
||||
"pthread_cond_wait": {},
|
||||
"pthread_create": {},
|
||||
"pthread_detach": {},
|
||||
"pthread_equal": {},
|
||||
"pthread_exit": {},
|
||||
"pthread_getspecific": {},
|
||||
"pthread_join": {},
|
||||
"pthread_key_create": {},
|
||||
"pthread_key_delete": {},
|
||||
"pthread_mutex_destroy": {},
|
||||
"pthread_mutex_init": {},
|
||||
"pthread_mutex_lock": {},
|
||||
"pthread_mutex_trylock": {},
|
||||
"pthread_mutex_unlock": {},
|
||||
"pthread_mutexattr_destroy": {},
|
||||
"pthread_mutexattr_init": {},
|
||||
"pthread_mutexattr_settype": {},
|
||||
"pthread_self": {},
|
||||
"pthread_setspecific": {},
|
||||
"putc": {},
|
||||
"putchar": {},
|
||||
"puts": {},
|
||||
"qsort": {},
|
||||
"raise": {},
|
||||
"rand": {},
|
||||
"random": {},
|
||||
"random_r": {},
|
||||
"read": {},
|
||||
"readdir": {},
|
||||
"readdir64": {},
|
||||
"readlink": {},
|
||||
"readv": {},
|
||||
"realloc": {},
|
||||
"reallocarray": {},
|
||||
"realpath": {},
|
||||
"recv": {},
|
||||
"recvfrom": {},
|
||||
"recvmsg": {},
|
||||
"remove": {},
|
||||
"rename": {},
|
||||
"rewind": {},
|
||||
"rindex": {},
|
||||
"rint": {},
|
||||
"rmdir": {},
|
||||
"round": {},
|
||||
"scalbn": {},
|
||||
"scalbnl": {},
|
||||
"sched_yield": {},
|
||||
"select": {},
|
||||
"send": {},
|
||||
"sendmsg": {},
|
||||
"sendto": {},
|
||||
"setbuf": {},
|
||||
"setenv": {},
|
||||
"setjmp": {},
|
||||
"setlocale": {},
|
||||
"setrlimit": {},
|
||||
"setrlimit64": {},
|
||||
"setsid": {},
|
||||
"setsockopt": {},
|
||||
"setstate": {},
|
||||
"setvbuf": {},
|
||||
"shmat": {},
|
||||
"shmctl": {},
|
||||
"shmdt": {},
|
||||
"shutdown": {},
|
||||
"sigaction": {},
|
||||
"signal": {},
|
||||
"sin": {},
|
||||
"sinf": {},
|
||||
"sinh": {},
|
||||
"sleep": {},
|
||||
"snprintf": {},
|
||||
"socket": {},
|
||||
"sprintf": {},
|
||||
"sqrt": {},
|
||||
"srand48": {},
|
||||
"sscanf": {},
|
||||
"stat": {},
|
||||
"stat64": {},
|
||||
"stderr": {},
|
||||
"stdin": {},
|
||||
"stdout": {},
|
||||
"strcasecmp": {},
|
||||
"strcat": {},
|
||||
"strchr": {},
|
||||
"strcmp": {},
|
||||
"strcpy": {},
|
||||
"strcspn": {},
|
||||
"strdup": {},
|
||||
"strerror": {},
|
||||
"strerror_r": {},
|
||||
"strlen": {},
|
||||
"strncmp": {},
|
||||
"strncpy": {},
|
||||
"strnlen": {},
|
||||
"strpbrk": {},
|
||||
"strrchr": {},
|
||||
"strspn": {},
|
||||
"strstr": {},
|
||||
"strtod": {},
|
||||
"strtof": {},
|
||||
"strtoimax": {},
|
||||
"strtol": {},
|
||||
"strtold": {},
|
||||
"strtoll": {},
|
||||
"strtoul": {},
|
||||
"strtoull": {},
|
||||
"strtoumax": {},
|
||||
"symlink": {},
|
||||
"sysconf": {},
|
||||
"system": {},
|
||||
"tan": {},
|
||||
"tanh": {},
|
||||
"tcgetattr": {},
|
||||
"tcsendbreak": {},
|
||||
"tcsetattr": {},
|
||||
"time": {},
|
||||
"tmpfile": {},
|
||||
"tolower": {},
|
||||
"toupper": {},
|
||||
"trunc": {},
|
||||
"tzset": {},
|
||||
"umask": {},
|
||||
"uname": {},
|
||||
"ungetc": {},
|
||||
"unlink": {},
|
||||
"unsetenv": {},
|
||||
"usleep": {},
|
||||
"utime": {},
|
||||
"utimes": {},
|
||||
"uuid_generate_random": {},
|
||||
"uuid_parse": {},
|
||||
"uuid_unparse": {},
|
||||
"vasprintf": {},
|
||||
"vfprintf": {},
|
||||
"vprintf": {},
|
||||
"vsnprintf": {},
|
||||
"vsprintf": {},
|
||||
"waitpid": {},
|
||||
"wcschr": {},
|
||||
"wctomb": {},
|
||||
"wcwidth": {},
|
||||
"write": {},
|
||||
"writev": {},
|
||||
"zero_struct_address": {},
|
||||
}
|
||||
504
vendor/modernc.org/libc/capi_freebsd_arm64.go
generated
vendored
Normal file
504
vendor/modernc.org/libc/capi_freebsd_arm64.go
generated
vendored
Normal file
@@ -0,0 +1,504 @@
|
||||
// Code generated by 'go generate' - DO NOT EDIT.
|
||||
|
||||
package libc // import "modernc.org/libc"
|
||||
|
||||
var CAPI = map[string]struct{}{
|
||||
"_CurrentRuneLocale": {},
|
||||
"_DefaultRuneLocale": {},
|
||||
"_IO_putc": {},
|
||||
"_ThreadRuneLocale": {},
|
||||
"___errno_location": {},
|
||||
"___runetype": {},
|
||||
"___tolower": {},
|
||||
"___toupper": {},
|
||||
"__assert": {},
|
||||
"__assert_fail": {},
|
||||
"__builtin___memcpy_chk": {},
|
||||
"__builtin___memmove_chk": {},
|
||||
"__builtin___memset_chk": {},
|
||||
"__builtin___snprintf_chk": {},
|
||||
"__builtin___sprintf_chk": {},
|
||||
"__builtin___strcat_chk": {},
|
||||
"__builtin___strcpy_chk": {},
|
||||
"__builtin___strncpy_chk": {},
|
||||
"__builtin___vsnprintf_chk": {},
|
||||
"__builtin_abort": {},
|
||||
"__builtin_abs": {},
|
||||
"__builtin_add_overflowInt64": {},
|
||||
"__builtin_add_overflowUint32": {},
|
||||
"__builtin_add_overflowUint64": {},
|
||||
"__builtin_bswap16": {},
|
||||
"__builtin_bswap32": {},
|
||||
"__builtin_bswap64": {},
|
||||
"__builtin_bzero": {},
|
||||
"__builtin_clz": {},
|
||||
"__builtin_clzl": {},
|
||||
"__builtin_clzll": {},
|
||||
"__builtin_constant_p_impl": {},
|
||||
"__builtin_copysign": {},
|
||||
"__builtin_copysignf": {},
|
||||
"__builtin_copysignl": {},
|
||||
"__builtin_exit": {},
|
||||
"__builtin_expect": {},
|
||||
"__builtin_fabs": {},
|
||||
"__builtin_fabsf": {},
|
||||
"__builtin_fabsl": {},
|
||||
"__builtin_free": {},
|
||||
"__builtin_getentropy": {},
|
||||
"__builtin_huge_val": {},
|
||||
"__builtin_huge_valf": {},
|
||||
"__builtin_inf": {},
|
||||
"__builtin_inff": {},
|
||||
"__builtin_infl": {},
|
||||
"__builtin_isnan": {},
|
||||
"__builtin_isunordered": {},
|
||||
"__builtin_llabs": {},
|
||||
"__builtin_malloc": {},
|
||||
"__builtin_memcmp": {},
|
||||
"__builtin_memcpy": {},
|
||||
"__builtin_memset": {},
|
||||
"__builtin_mmap": {},
|
||||
"__builtin_mul_overflowInt64": {},
|
||||
"__builtin_mul_overflowUint128": {},
|
||||
"__builtin_mul_overflowUint64": {},
|
||||
"__builtin_nan": {},
|
||||
"__builtin_nanf": {},
|
||||
"__builtin_nanl": {},
|
||||
"__builtin_object_size": {},
|
||||
"__builtin_popcount": {},
|
||||
"__builtin_popcountl": {},
|
||||
"__builtin_prefetch": {},
|
||||
"__builtin_printf": {},
|
||||
"__builtin_snprintf": {},
|
||||
"__builtin_sprintf": {},
|
||||
"__builtin_strchr": {},
|
||||
"__builtin_strcmp": {},
|
||||
"__builtin_strcpy": {},
|
||||
"__builtin_strlen": {},
|
||||
"__builtin_sub_overflowInt64": {},
|
||||
"__builtin_trap": {},
|
||||
"__builtin_unreachable": {},
|
||||
"__ccgo_dmesg": {},
|
||||
"__ccgo_getMutexType": {},
|
||||
"__ccgo_in6addr_anyp": {},
|
||||
"__ccgo_pthreadAttrGetDetachState": {},
|
||||
"__ccgo_pthreadMutexattrGettype": {},
|
||||
"__ccgo_sqlite3_log": {},
|
||||
"__cmsg_nxthdr": {},
|
||||
"__ctype_get_mb_cur_max": {},
|
||||
"__errno_location": {},
|
||||
"__error": {},
|
||||
"__floatscan": {},
|
||||
"__h_errno_location": {},
|
||||
"__inet_aton": {},
|
||||
"__inet_ntoa": {},
|
||||
"__intscan": {},
|
||||
"__isalnum_l": {},
|
||||
"__isalpha_l": {},
|
||||
"__isdigit_l": {},
|
||||
"__islower_l": {},
|
||||
"__isnan": {},
|
||||
"__isnanf": {},
|
||||
"__isnanl": {},
|
||||
"__isoc99_sscanf": {},
|
||||
"__isprint_l": {},
|
||||
"__isspace_l": {},
|
||||
"__isthreaded": {},
|
||||
"__isupper_l": {},
|
||||
"__isxdigit_l": {},
|
||||
"__lookup_ipliteral": {},
|
||||
"__lookup_name": {},
|
||||
"__lookup_serv": {},
|
||||
"__mb_sb_limit": {},
|
||||
"__runes_for_locale": {},
|
||||
"__shgetc": {},
|
||||
"__shlim": {},
|
||||
"__srget": {},
|
||||
"__stderrp": {},
|
||||
"__stdinp": {},
|
||||
"__stdoutp": {},
|
||||
"__swbuf": {},
|
||||
"__sync_add_and_fetch_uint32": {},
|
||||
"__sync_sub_and_fetch_uint32": {},
|
||||
"__syscall1": {},
|
||||
"__syscall3": {},
|
||||
"__syscall4": {},
|
||||
"__toread": {},
|
||||
"__toread_needs_stdio_exit": {},
|
||||
"__uflow": {},
|
||||
"__xuname": {},
|
||||
"_exit": {},
|
||||
"_longjmp": {},
|
||||
"_obstack_begin": {},
|
||||
"_obstack_newchunk": {},
|
||||
"_setjmp": {},
|
||||
"abort": {},
|
||||
"abs": {},
|
||||
"accept": {},
|
||||
"access": {},
|
||||
"acos": {},
|
||||
"acosh": {},
|
||||
"alarm": {},
|
||||
"asin": {},
|
||||
"asinh": {},
|
||||
"atan": {},
|
||||
"atan2": {},
|
||||
"atanh": {},
|
||||
"atexit": {},
|
||||
"atof": {},
|
||||
"atoi": {},
|
||||
"atol": {},
|
||||
"backtrace": {},
|
||||
"backtrace_symbols_fd": {},
|
||||
"bind": {},
|
||||
"bsearch": {},
|
||||
"bswap16": {},
|
||||
"bswap32": {},
|
||||
"bswap64": {},
|
||||
"bzero": {},
|
||||
"calloc": {},
|
||||
"ceil": {},
|
||||
"ceilf": {},
|
||||
"cfgetospeed": {},
|
||||
"cfsetispeed": {},
|
||||
"cfsetospeed": {},
|
||||
"chdir": {},
|
||||
"chflags": {},
|
||||
"chmod": {},
|
||||
"chown": {},
|
||||
"clock_gettime": {},
|
||||
"close": {},
|
||||
"closedir": {},
|
||||
"confstr": {},
|
||||
"connect": {},
|
||||
"copysign": {},
|
||||
"copysignf": {},
|
||||
"copysignl": {},
|
||||
"cos": {},
|
||||
"cosf": {},
|
||||
"cosh": {},
|
||||
"ctime": {},
|
||||
"ctime_r": {},
|
||||
"dlclose": {},
|
||||
"dlerror": {},
|
||||
"dlopen": {},
|
||||
"dlsym": {},
|
||||
"dup2": {},
|
||||
"endpwent": {},
|
||||
"environ": {},
|
||||
"execvp": {},
|
||||
"exit": {},
|
||||
"exp": {},
|
||||
"fabs": {},
|
||||
"fabsf": {},
|
||||
"fabsl": {},
|
||||
"fchmod": {},
|
||||
"fchown": {},
|
||||
"fclose": {},
|
||||
"fcntl": {},
|
||||
"fcntl64": {},
|
||||
"fdopen": {},
|
||||
"ferror": {},
|
||||
"fflush": {},
|
||||
"fgetc": {},
|
||||
"fgets": {},
|
||||
"fileno": {},
|
||||
"floor": {},
|
||||
"fmod": {},
|
||||
"fmodl": {},
|
||||
"fopen": {},
|
||||
"fopen64": {},
|
||||
"fork": {},
|
||||
"fprintf": {},
|
||||
"fputc": {},
|
||||
"fputs": {},
|
||||
"fread": {},
|
||||
"free": {},
|
||||
"freeaddrinfo": {},
|
||||
"frexp": {},
|
||||
"fscanf": {},
|
||||
"fseek": {},
|
||||
"fstat": {},
|
||||
"fstat64": {},
|
||||
"fsync": {},
|
||||
"ftell": {},
|
||||
"ftruncate": {},
|
||||
"fts64_close": {},
|
||||
"fts64_open": {},
|
||||
"fts64_read": {},
|
||||
"fts_close": {},
|
||||
"fts_open": {},
|
||||
"fts_read": {},
|
||||
"fwrite": {},
|
||||
"gai_strerror": {},
|
||||
"getaddrinfo": {},
|
||||
"getc": {},
|
||||
"getcwd": {},
|
||||
"getegid": {},
|
||||
"getentropy": {},
|
||||
"getenv": {},
|
||||
"geteuid": {},
|
||||
"getgid": {},
|
||||
"getgrgid": {},
|
||||
"getgrgid_r": {},
|
||||
"getgrnam": {},
|
||||
"getgrnam_r": {},
|
||||
"gethostbyaddr": {},
|
||||
"gethostbyaddr_r": {},
|
||||
"gethostbyname": {},
|
||||
"gethostbyname2": {},
|
||||
"gethostbyname2_r": {},
|
||||
"gethostname": {},
|
||||
"getnameinfo": {},
|
||||
"getpeername": {},
|
||||
"getpid": {},
|
||||
"getpwnam": {},
|
||||
"getpwnam_r": {},
|
||||
"getpwuid": {},
|
||||
"getpwuid_r": {},
|
||||
"getresgid": {},
|
||||
"getresuid": {},
|
||||
"getrlimit": {},
|
||||
"getrlimit64": {},
|
||||
"getrusage": {},
|
||||
"getservbyname": {},
|
||||
"getsockname": {},
|
||||
"getsockopt": {},
|
||||
"gettimeofday": {},
|
||||
"getuid": {},
|
||||
"gmtime_r": {},
|
||||
"h_errno": {},
|
||||
"htonl": {},
|
||||
"htons": {},
|
||||
"hypot": {},
|
||||
"inet_ntoa": {},
|
||||
"inet_ntop": {},
|
||||
"inet_pton": {},
|
||||
"initstate": {},
|
||||
"initstate_r": {},
|
||||
"ioctl": {},
|
||||
"isalnum": {},
|
||||
"isalpha": {},
|
||||
"isascii": {},
|
||||
"isatty": {},
|
||||
"isdigit": {},
|
||||
"islower": {},
|
||||
"isnan": {},
|
||||
"isnanf": {},
|
||||
"isnanl": {},
|
||||
"isprint": {},
|
||||
"isspace": {},
|
||||
"isupper": {},
|
||||
"isxdigit": {},
|
||||
"kill": {},
|
||||
"ldexp": {},
|
||||
"link": {},
|
||||
"listen": {},
|
||||
"llabs": {},
|
||||
"localtime": {},
|
||||
"localtime_r": {},
|
||||
"log": {},
|
||||
"log10": {},
|
||||
"longjmp": {},
|
||||
"lrand48": {},
|
||||
"lseek": {},
|
||||
"lseek64": {},
|
||||
"lstat": {},
|
||||
"lstat64": {},
|
||||
"malloc": {},
|
||||
"mblen": {},
|
||||
"mbstowcs": {},
|
||||
"mbtowc": {},
|
||||
"memchr": {},
|
||||
"memcmp": {},
|
||||
"memcpy": {},
|
||||
"memmove": {},
|
||||
"memset": {},
|
||||
"mkdir": {},
|
||||
"mkfifo": {},
|
||||
"mknod": {},
|
||||
"mkostemp": {},
|
||||
"mkstemp": {},
|
||||
"mkstemp64": {},
|
||||
"mkstemps": {},
|
||||
"mkstemps64": {},
|
||||
"mktime": {},
|
||||
"mmap": {},
|
||||
"modf": {},
|
||||
"munmap": {},
|
||||
"nl_langinfo": {},
|
||||
"ntohs": {},
|
||||
"obstack_free": {},
|
||||
"obstack_vprintf": {},
|
||||
"open": {},
|
||||
"open64": {},
|
||||
"opendir": {},
|
||||
"openpty": {},
|
||||
"pathconf": {},
|
||||
"pause": {},
|
||||
"pclose": {},
|
||||
"perror": {},
|
||||
"pipe": {},
|
||||
"poll": {},
|
||||
"popen": {},
|
||||
"pow": {},
|
||||
"printf": {},
|
||||
"pselect": {},
|
||||
"pthread_attr_destroy": {},
|
||||
"pthread_attr_getdetachstate": {},
|
||||
"pthread_attr_init": {},
|
||||
"pthread_attr_setdetachstate": {},
|
||||
"pthread_attr_setscope": {},
|
||||
"pthread_attr_setstacksize": {},
|
||||
"pthread_cond_broadcast": {},
|
||||
"pthread_cond_destroy": {},
|
||||
"pthread_cond_init": {},
|
||||
"pthread_cond_signal": {},
|
||||
"pthread_cond_timedwait": {},
|
||||
"pthread_cond_wait": {},
|
||||
"pthread_create": {},
|
||||
"pthread_detach": {},
|
||||
"pthread_equal": {},
|
||||
"pthread_exit": {},
|
||||
"pthread_getspecific": {},
|
||||
"pthread_join": {},
|
||||
"pthread_key_create": {},
|
||||
"pthread_key_delete": {},
|
||||
"pthread_mutex_destroy": {},
|
||||
"pthread_mutex_init": {},
|
||||
"pthread_mutex_lock": {},
|
||||
"pthread_mutex_trylock": {},
|
||||
"pthread_mutex_unlock": {},
|
||||
"pthread_mutexattr_destroy": {},
|
||||
"pthread_mutexattr_init": {},
|
||||
"pthread_mutexattr_settype": {},
|
||||
"pthread_self": {},
|
||||
"pthread_setspecific": {},
|
||||
"putc": {},
|
||||
"putchar": {},
|
||||
"puts": {},
|
||||
"qsort": {},
|
||||
"raise": {},
|
||||
"rand": {},
|
||||
"random": {},
|
||||
"random_r": {},
|
||||
"read": {},
|
||||
"readdir": {},
|
||||
"readdir64": {},
|
||||
"readlink": {},
|
||||
"readv": {},
|
||||
"realloc": {},
|
||||
"reallocarray": {},
|
||||
"realpath": {},
|
||||
"recv": {},
|
||||
"recvfrom": {},
|
||||
"recvmsg": {},
|
||||
"remove": {},
|
||||
"rename": {},
|
||||
"rewind": {},
|
||||
"rindex": {},
|
||||
"rint": {},
|
||||
"rmdir": {},
|
||||
"round": {},
|
||||
"scalbn": {},
|
||||
"scalbnl": {},
|
||||
"sched_yield": {},
|
||||
"select": {},
|
||||
"send": {},
|
||||
"sendmsg": {},
|
||||
"sendto": {},
|
||||
"setbuf": {},
|
||||
"setenv": {},
|
||||
"setjmp": {},
|
||||
"setlocale": {},
|
||||
"setrlimit": {},
|
||||
"setrlimit64": {},
|
||||
"setsid": {},
|
||||
"setsockopt": {},
|
||||
"setstate": {},
|
||||
"setvbuf": {},
|
||||
"shmat": {},
|
||||
"shmctl": {},
|
||||
"shmdt": {},
|
||||
"shutdown": {},
|
||||
"sigaction": {},
|
||||
"signal": {},
|
||||
"sin": {},
|
||||
"sinf": {},
|
||||
"sinh": {},
|
||||
"sleep": {},
|
||||
"snprintf": {},
|
||||
"socket": {},
|
||||
"sprintf": {},
|
||||
"sqrt": {},
|
||||
"srand48": {},
|
||||
"sscanf": {},
|
||||
"stat": {},
|
||||
"stat64": {},
|
||||
"stderr": {},
|
||||
"stdin": {},
|
||||
"stdout": {},
|
||||
"strcasecmp": {},
|
||||
"strcat": {},
|
||||
"strchr": {},
|
||||
"strcmp": {},
|
||||
"strcpy": {},
|
||||
"strcspn": {},
|
||||
"strdup": {},
|
||||
"strerror": {},
|
||||
"strerror_r": {},
|
||||
"strlen": {},
|
||||
"strncmp": {},
|
||||
"strncpy": {},
|
||||
"strnlen": {},
|
||||
"strpbrk": {},
|
||||
"strrchr": {},
|
||||
"strspn": {},
|
||||
"strstr": {},
|
||||
"strtod": {},
|
||||
"strtof": {},
|
||||
"strtoimax": {},
|
||||
"strtol": {},
|
||||
"strtold": {},
|
||||
"strtoll": {},
|
||||
"strtoul": {},
|
||||
"strtoull": {},
|
||||
"strtoumax": {},
|
||||
"symlink": {},
|
||||
"sysconf": {},
|
||||
"system": {},
|
||||
"tan": {},
|
||||
"tanh": {},
|
||||
"tcgetattr": {},
|
||||
"tcsendbreak": {},
|
||||
"tcsetattr": {},
|
||||
"time": {},
|
||||
"tmpfile": {},
|
||||
"tolower": {},
|
||||
"toupper": {},
|
||||
"trunc": {},
|
||||
"tzset": {},
|
||||
"umask": {},
|
||||
"uname": {},
|
||||
"ungetc": {},
|
||||
"unlink": {},
|
||||
"unsetenv": {},
|
||||
"usleep": {},
|
||||
"utime": {},
|
||||
"utimes": {},
|
||||
"uuid_generate_random": {},
|
||||
"uuid_parse": {},
|
||||
"uuid_unparse": {},
|
||||
"vasprintf": {},
|
||||
"vfprintf": {},
|
||||
"vprintf": {},
|
||||
"vsnprintf": {},
|
||||
"vsprintf": {},
|
||||
"waitpid": {},
|
||||
"wcschr": {},
|
||||
"wctomb": {},
|
||||
"wcwidth": {},
|
||||
"write": {},
|
||||
"writev": {},
|
||||
"zero_struct_address": {},
|
||||
}
|
||||
2
vendor/modernc.org/libc/capi_linux_386.go
generated
vendored
2
vendor/modernc.org/libc/capi_linux_386.go
generated
vendored
@@ -45,6 +45,7 @@ var CAPI = map[string]struct{}{
|
||||
"__builtin_infl": {},
|
||||
"__builtin_isnan": {},
|
||||
"__builtin_isunordered": {},
|
||||
"__builtin_llabs": {},
|
||||
"__builtin_malloc": {},
|
||||
"__builtin_memcmp": {},
|
||||
"__builtin_memcpy": {},
|
||||
@@ -281,6 +282,7 @@ var CAPI = map[string]struct{}{
|
||||
"ldexp": {},
|
||||
"link": {},
|
||||
"listen": {},
|
||||
"llabs": {},
|
||||
"localeconv": {},
|
||||
"localtime": {},
|
||||
"localtime_r": {},
|
||||
|
||||
2
vendor/modernc.org/libc/capi_linux_amd64.go
generated
vendored
2
vendor/modernc.org/libc/capi_linux_amd64.go
generated
vendored
@@ -45,6 +45,7 @@ var CAPI = map[string]struct{}{
|
||||
"__builtin_infl": {},
|
||||
"__builtin_isnan": {},
|
||||
"__builtin_isunordered": {},
|
||||
"__builtin_llabs": {},
|
||||
"__builtin_malloc": {},
|
||||
"__builtin_memcmp": {},
|
||||
"__builtin_memcpy": {},
|
||||
@@ -288,6 +289,7 @@ var CAPI = map[string]struct{}{
|
||||
"link": {},
|
||||
"linkat": {},
|
||||
"listen": {},
|
||||
"llabs": {},
|
||||
"localeconv": {},
|
||||
"localtime": {},
|
||||
"localtime_r": {},
|
||||
|
||||
2
vendor/modernc.org/libc/capi_linux_arm.go
generated
vendored
2
vendor/modernc.org/libc/capi_linux_arm.go
generated
vendored
@@ -45,6 +45,7 @@ var CAPI = map[string]struct{}{
|
||||
"__builtin_infl": {},
|
||||
"__builtin_isnan": {},
|
||||
"__builtin_isunordered": {},
|
||||
"__builtin_llabs": {},
|
||||
"__builtin_malloc": {},
|
||||
"__builtin_memcmp": {},
|
||||
"__builtin_memcpy": {},
|
||||
@@ -281,6 +282,7 @@ var CAPI = map[string]struct{}{
|
||||
"ldexp": {},
|
||||
"link": {},
|
||||
"listen": {},
|
||||
"llabs": {},
|
||||
"localeconv": {},
|
||||
"localtime": {},
|
||||
"localtime_r": {},
|
||||
|
||||
2
vendor/modernc.org/libc/capi_linux_arm64.go
generated
vendored
2
vendor/modernc.org/libc/capi_linux_arm64.go
generated
vendored
@@ -45,6 +45,7 @@ var CAPI = map[string]struct{}{
|
||||
"__builtin_infl": {},
|
||||
"__builtin_isnan": {},
|
||||
"__builtin_isunordered": {},
|
||||
"__builtin_llabs": {},
|
||||
"__builtin_malloc": {},
|
||||
"__builtin_memcmp": {},
|
||||
"__builtin_memcpy": {},
|
||||
@@ -281,6 +282,7 @@ var CAPI = map[string]struct{}{
|
||||
"ldexp": {},
|
||||
"link": {},
|
||||
"listen": {},
|
||||
"llabs": {},
|
||||
"localeconv": {},
|
||||
"localtime": {},
|
||||
"localtime_r": {},
|
||||
|
||||
2
vendor/modernc.org/libc/capi_linux_ppc64le.go
generated
vendored
2
vendor/modernc.org/libc/capi_linux_ppc64le.go
generated
vendored
@@ -45,6 +45,7 @@ var CAPI = map[string]struct{}{
|
||||
"__builtin_infl": {},
|
||||
"__builtin_isnan": {},
|
||||
"__builtin_isunordered": {},
|
||||
"__builtin_llabs": {},
|
||||
"__builtin_malloc": {},
|
||||
"__builtin_memcmp": {},
|
||||
"__builtin_memcpy": {},
|
||||
@@ -288,6 +289,7 @@ var CAPI = map[string]struct{}{
|
||||
"link": {},
|
||||
"linkat": {},
|
||||
"listen": {},
|
||||
"llabs": {},
|
||||
"localeconv": {},
|
||||
"localtime": {},
|
||||
"localtime_r": {},
|
||||
|
||||
2
vendor/modernc.org/libc/capi_linux_riscv64.go
generated
vendored
2
vendor/modernc.org/libc/capi_linux_riscv64.go
generated
vendored
@@ -45,6 +45,7 @@ var CAPI = map[string]struct{}{
|
||||
"__builtin_infl": {},
|
||||
"__builtin_isnan": {},
|
||||
"__builtin_isunordered": {},
|
||||
"__builtin_llabs": {},
|
||||
"__builtin_malloc": {},
|
||||
"__builtin_memcmp": {},
|
||||
"__builtin_memcpy": {},
|
||||
@@ -283,6 +284,7 @@ var CAPI = map[string]struct{}{
|
||||
"ldexp": {},
|
||||
"link": {},
|
||||
"listen": {},
|
||||
"llabs": {},
|
||||
"localeconv": {},
|
||||
"localtime": {},
|
||||
"localtime_r": {},
|
||||
|
||||
2
vendor/modernc.org/libc/capi_linux_s390x.go
generated
vendored
2
vendor/modernc.org/libc/capi_linux_s390x.go
generated
vendored
@@ -45,6 +45,7 @@ var CAPI = map[string]struct{}{
|
||||
"__builtin_infl": {},
|
||||
"__builtin_isnan": {},
|
||||
"__builtin_isunordered": {},
|
||||
"__builtin_llabs": {},
|
||||
"__builtin_malloc": {},
|
||||
"__builtin_memcmp": {},
|
||||
"__builtin_memcpy": {},
|
||||
@@ -281,6 +282,7 @@ var CAPI = map[string]struct{}{
|
||||
"ldexp": {},
|
||||
"link": {},
|
||||
"listen": {},
|
||||
"llabs": {},
|
||||
"localeconv": {},
|
||||
"localtime": {},
|
||||
"localtime_r": {},
|
||||
|
||||
5
vendor/modernc.org/libc/capi_netbsd_amd64.go
generated
vendored
5
vendor/modernc.org/libc/capi_netbsd_amd64.go
generated
vendored
@@ -50,6 +50,7 @@ var CAPI = map[string]struct{}{
|
||||
"__builtin_infl": {},
|
||||
"__builtin_isnan": {},
|
||||
"__builtin_isunordered": {},
|
||||
"__builtin_llabs": {},
|
||||
"__builtin_malloc": {},
|
||||
"__builtin_memcmp": {},
|
||||
"__builtin_memcpy": {},
|
||||
@@ -150,6 +151,9 @@ var CAPI = map[string]struct{}{
|
||||
"backtrace_symbols_fd": {},
|
||||
"bind": {},
|
||||
"bsearch": {},
|
||||
"bswap16": {},
|
||||
"bswap32": {},
|
||||
"bswap64": {},
|
||||
"bzero": {},
|
||||
"calloc": {},
|
||||
"ceil": {},
|
||||
@@ -285,6 +289,7 @@ var CAPI = map[string]struct{}{
|
||||
"ldexp": {},
|
||||
"link": {},
|
||||
"listen": {},
|
||||
"llabs": {},
|
||||
"localtime": {},
|
||||
"localtime_r": {},
|
||||
"log": {},
|
||||
|
||||
499
vendor/modernc.org/libc/capi_netbsd_arm.go
generated
vendored
Normal file
499
vendor/modernc.org/libc/capi_netbsd_arm.go
generated
vendored
Normal file
@@ -0,0 +1,499 @@
|
||||
// Code generated by 'go generate' - DO NOT EDIT.
|
||||
|
||||
package libc // import "modernc.org/libc"
|
||||
|
||||
var CAPI = map[string]struct{}{
|
||||
"_C_ctype_tab_": {},
|
||||
"_IO_putc": {},
|
||||
"_ThreadRuneLocale": {},
|
||||
"___errno_location": {},
|
||||
"___runetype": {},
|
||||
"__assert": {},
|
||||
"__assert13": {},
|
||||
"__assert_fail": {},
|
||||
"__builtin___memcpy_chk": {},
|
||||
"__builtin___memmove_chk": {},
|
||||
"__builtin___memset_chk": {},
|
||||
"__builtin___snprintf_chk": {},
|
||||
"__builtin___sprintf_chk": {},
|
||||
"__builtin___strcat_chk": {},
|
||||
"__builtin___strcpy_chk": {},
|
||||
"__builtin___strncpy_chk": {},
|
||||
"__builtin___vsnprintf_chk": {},
|
||||
"__builtin_abort": {},
|
||||
"__builtin_abs": {},
|
||||
"__builtin_add_overflowInt64": {},
|
||||
"__builtin_add_overflowUint32": {},
|
||||
"__builtin_add_overflowUint64": {},
|
||||
"__builtin_bswap16": {},
|
||||
"__builtin_bswap32": {},
|
||||
"__builtin_bswap64": {},
|
||||
"__builtin_bzero": {},
|
||||
"__builtin_clz": {},
|
||||
"__builtin_clzl": {},
|
||||
"__builtin_clzll": {},
|
||||
"__builtin_constant_p_impl": {},
|
||||
"__builtin_copysign": {},
|
||||
"__builtin_copysignf": {},
|
||||
"__builtin_copysignl": {},
|
||||
"__builtin_exit": {},
|
||||
"__builtin_expect": {},
|
||||
"__builtin_fabs": {},
|
||||
"__builtin_fabsf": {},
|
||||
"__builtin_fabsl": {},
|
||||
"__builtin_free": {},
|
||||
"__builtin_getentropy": {},
|
||||
"__builtin_huge_val": {},
|
||||
"__builtin_huge_valf": {},
|
||||
"__builtin_inf": {},
|
||||
"__builtin_inff": {},
|
||||
"__builtin_infl": {},
|
||||
"__builtin_isnan": {},
|
||||
"__builtin_isunordered": {},
|
||||
"__builtin_llabs": {},
|
||||
"__builtin_malloc": {},
|
||||
"__builtin_memcmp": {},
|
||||
"__builtin_memcpy": {},
|
||||
"__builtin_memset": {},
|
||||
"__builtin_mmap": {},
|
||||
"__builtin_mul_overflowInt64": {},
|
||||
"__builtin_mul_overflowUint128": {},
|
||||
"__builtin_mul_overflowUint64": {},
|
||||
"__builtin_nan": {},
|
||||
"__builtin_nanf": {},
|
||||
"__builtin_nanl": {},
|
||||
"__builtin_object_size": {},
|
||||
"__builtin_popcount": {},
|
||||
"__builtin_popcountl": {},
|
||||
"__builtin_prefetch": {},
|
||||
"__builtin_printf": {},
|
||||
"__builtin_snprintf": {},
|
||||
"__builtin_sprintf": {},
|
||||
"__builtin_strchr": {},
|
||||
"__builtin_strcmp": {},
|
||||
"__builtin_strcpy": {},
|
||||
"__builtin_strlen": {},
|
||||
"__builtin_sub_overflowInt64": {},
|
||||
"__builtin_trap": {},
|
||||
"__builtin_unreachable": {},
|
||||
"__ccgo_dmesg": {},
|
||||
"__ccgo_getMutexType": {},
|
||||
"__ccgo_in6addr_anyp": {},
|
||||
"__ccgo_pthreadAttrGetDetachState": {},
|
||||
"__ccgo_pthreadMutexattrGettype": {},
|
||||
"__ccgo_sqlite3_log": {},
|
||||
"__cmsg_nxthdr": {},
|
||||
"__ctype_get_mb_cur_max": {},
|
||||
"__errno": {},
|
||||
"__errno_location": {},
|
||||
"__error": {},
|
||||
"__floatscan": {},
|
||||
"__h_errno_location": {},
|
||||
"__inet_aton": {},
|
||||
"__inet_ntoa": {},
|
||||
"__intscan": {},
|
||||
"__isalnum_l": {},
|
||||
"__isalpha_l": {},
|
||||
"__isdigit_l": {},
|
||||
"__isnan": {},
|
||||
"__isnanf": {},
|
||||
"__isnanl": {},
|
||||
"__isoc99_sscanf": {},
|
||||
"__isprint_l": {},
|
||||
"__isthreaded": {},
|
||||
"__lookup_ipliteral": {},
|
||||
"__lookup_name": {},
|
||||
"__lookup_serv": {},
|
||||
"__mb_sb_limit": {},
|
||||
"__runes_for_locale": {},
|
||||
"__sF": {},
|
||||
"__shgetc": {},
|
||||
"__shlim": {},
|
||||
"__srget": {},
|
||||
"__stderrp": {},
|
||||
"__stdinp": {},
|
||||
"__stdoutp": {},
|
||||
"__swbuf": {},
|
||||
"__sync_add_and_fetch_uint32": {},
|
||||
"__sync_sub_and_fetch_uint32": {},
|
||||
"__syscall1": {},
|
||||
"__syscall3": {},
|
||||
"__syscall4": {},
|
||||
"__toread": {},
|
||||
"__toread_needs_stdio_exit": {},
|
||||
"__uflow": {},
|
||||
"__xuname": {},
|
||||
"_ctype_tab_": {},
|
||||
"_exit": {},
|
||||
"_longjmp": {},
|
||||
"_obstack_begin": {},
|
||||
"_obstack_newchunk": {},
|
||||
"_setjmp": {},
|
||||
"_tolower_tab_": {},
|
||||
"_toupper_tab_": {},
|
||||
"abort": {},
|
||||
"abs": {},
|
||||
"accept": {},
|
||||
"access": {},
|
||||
"acos": {},
|
||||
"acosh": {},
|
||||
"alarm": {},
|
||||
"asin": {},
|
||||
"asinh": {},
|
||||
"atan": {},
|
||||
"atan2": {},
|
||||
"atanh": {},
|
||||
"atexit": {},
|
||||
"atof": {},
|
||||
"atoi": {},
|
||||
"atol": {},
|
||||
"backtrace": {},
|
||||
"backtrace_symbols_fd": {},
|
||||
"bind": {},
|
||||
"bsearch": {},
|
||||
"bswap16": {},
|
||||
"bswap32": {},
|
||||
"bswap64": {},
|
||||
"bzero": {},
|
||||
"calloc": {},
|
||||
"ceil": {},
|
||||
"ceilf": {},
|
||||
"cfgetospeed": {},
|
||||
"cfsetispeed": {},
|
||||
"cfsetospeed": {},
|
||||
"chdir": {},
|
||||
"chflags": {},
|
||||
"chmod": {},
|
||||
"chown": {},
|
||||
"clock_gettime": {},
|
||||
"close": {},
|
||||
"closedir": {},
|
||||
"confstr": {},
|
||||
"connect": {},
|
||||
"copysign": {},
|
||||
"copysignf": {},
|
||||
"copysignl": {},
|
||||
"cos": {},
|
||||
"cosf": {},
|
||||
"cosh": {},
|
||||
"ctime": {},
|
||||
"ctime_r": {},
|
||||
"dlclose": {},
|
||||
"dlerror": {},
|
||||
"dlopen": {},
|
||||
"dlsym": {},
|
||||
"dup2": {},
|
||||
"endpwent": {},
|
||||
"environ": {},
|
||||
"execvp": {},
|
||||
"exit": {},
|
||||
"exp": {},
|
||||
"fabs": {},
|
||||
"fabsf": {},
|
||||
"fabsl": {},
|
||||
"fchmod": {},
|
||||
"fchown": {},
|
||||
"fclose": {},
|
||||
"fcntl": {},
|
||||
"fcntl64": {},
|
||||
"fdopen": {},
|
||||
"ferror": {},
|
||||
"fflush": {},
|
||||
"fgetc": {},
|
||||
"fgets": {},
|
||||
"fileno": {},
|
||||
"floor": {},
|
||||
"fmod": {},
|
||||
"fmodl": {},
|
||||
"fopen": {},
|
||||
"fopen64": {},
|
||||
"fork": {},
|
||||
"fprintf": {},
|
||||
"fputc": {},
|
||||
"fputs": {},
|
||||
"fread": {},
|
||||
"free": {},
|
||||
"freeaddrinfo": {},
|
||||
"frexp": {},
|
||||
"fscanf": {},
|
||||
"fseek": {},
|
||||
"fstat": {},
|
||||
"fstat64": {},
|
||||
"fsync": {},
|
||||
"ftell": {},
|
||||
"ftruncate": {},
|
||||
"fts64_close": {},
|
||||
"fts64_open": {},
|
||||
"fts64_read": {},
|
||||
"fts_close": {},
|
||||
"fts_open": {},
|
||||
"fts_read": {},
|
||||
"fwrite": {},
|
||||
"gai_strerror": {},
|
||||
"getaddrinfo": {},
|
||||
"getc": {},
|
||||
"getcwd": {},
|
||||
"getegid": {},
|
||||
"getentropy": {},
|
||||
"getenv": {},
|
||||
"geteuid": {},
|
||||
"getgid": {},
|
||||
"getgrgid": {},
|
||||
"getgrgid_r": {},
|
||||
"getgrnam": {},
|
||||
"getgrnam_r": {},
|
||||
"gethostbyaddr": {},
|
||||
"gethostbyaddr_r": {},
|
||||
"gethostbyname": {},
|
||||
"gethostbyname2": {},
|
||||
"gethostbyname2_r": {},
|
||||
"gethostname": {},
|
||||
"getnameinfo": {},
|
||||
"getpeername": {},
|
||||
"getpid": {},
|
||||
"getpwnam": {},
|
||||
"getpwnam_r": {},
|
||||
"getpwuid": {},
|
||||
"getpwuid_r": {},
|
||||
"getresgid": {},
|
||||
"getresuid": {},
|
||||
"getrlimit": {},
|
||||
"getrlimit64": {},
|
||||
"getrusage": {},
|
||||
"getservbyname": {},
|
||||
"getsockname": {},
|
||||
"getsockopt": {},
|
||||
"gettimeofday": {},
|
||||
"getuid": {},
|
||||
"gmtime_r": {},
|
||||
"h_errno": {},
|
||||
"htonl": {},
|
||||
"htons": {},
|
||||
"hypot": {},
|
||||
"inet_ntoa": {},
|
||||
"inet_ntop": {},
|
||||
"inet_pton": {},
|
||||
"initstate": {},
|
||||
"initstate_r": {},
|
||||
"ioctl": {},
|
||||
"isalnum": {},
|
||||
"isalpha": {},
|
||||
"isascii": {},
|
||||
"isatty": {},
|
||||
"isdigit": {},
|
||||
"isnan": {},
|
||||
"isnanf": {},
|
||||
"isnanl": {},
|
||||
"isprint": {},
|
||||
"kill": {},
|
||||
"ldexp": {},
|
||||
"link": {},
|
||||
"listen": {},
|
||||
"llabs": {},
|
||||
"localtime": {},
|
||||
"localtime_r": {},
|
||||
"log": {},
|
||||
"log10": {},
|
||||
"longjmp": {},
|
||||
"lrand48": {},
|
||||
"lseek": {},
|
||||
"lseek64": {},
|
||||
"lstat": {},
|
||||
"lstat64": {},
|
||||
"malloc": {},
|
||||
"mblen": {},
|
||||
"mbstowcs": {},
|
||||
"mbtowc": {},
|
||||
"memchr": {},
|
||||
"memcmp": {},
|
||||
"memcpy": {},
|
||||
"memmove": {},
|
||||
"memset": {},
|
||||
"mkdir": {},
|
||||
"mkfifo": {},
|
||||
"mknod": {},
|
||||
"mkostemp": {},
|
||||
"mkstemp": {},
|
||||
"mkstemp64": {},
|
||||
"mkstemps": {},
|
||||
"mkstemps64": {},
|
||||
"mktime": {},
|
||||
"mmap": {},
|
||||
"modf": {},
|
||||
"munmap": {},
|
||||
"nl_langinfo": {},
|
||||
"ntohs": {},
|
||||
"obstack_free": {},
|
||||
"obstack_vprintf": {},
|
||||
"open": {},
|
||||
"open64": {},
|
||||
"opendir": {},
|
||||
"openpty": {},
|
||||
"pathconf": {},
|
||||
"pause": {},
|
||||
"pclose": {},
|
||||
"perror": {},
|
||||
"pipe": {},
|
||||
"poll": {},
|
||||
"popen": {},
|
||||
"pow": {},
|
||||
"printf": {},
|
||||
"pselect": {},
|
||||
"pthread_attr_destroy": {},
|
||||
"pthread_attr_getdetachstate": {},
|
||||
"pthread_attr_init": {},
|
||||
"pthread_attr_setdetachstate": {},
|
||||
"pthread_attr_setscope": {},
|
||||
"pthread_attr_setstacksize": {},
|
||||
"pthread_cond_broadcast": {},
|
||||
"pthread_cond_destroy": {},
|
||||
"pthread_cond_init": {},
|
||||
"pthread_cond_signal": {},
|
||||
"pthread_cond_timedwait": {},
|
||||
"pthread_cond_wait": {},
|
||||
"pthread_create": {},
|
||||
"pthread_detach": {},
|
||||
"pthread_equal": {},
|
||||
"pthread_exit": {},
|
||||
"pthread_getspecific": {},
|
||||
"pthread_join": {},
|
||||
"pthread_key_create": {},
|
||||
"pthread_key_delete": {},
|
||||
"pthread_mutex_destroy": {},
|
||||
"pthread_mutex_init": {},
|
||||
"pthread_mutex_lock": {},
|
||||
"pthread_mutex_trylock": {},
|
||||
"pthread_mutex_unlock": {},
|
||||
"pthread_mutexattr_destroy": {},
|
||||
"pthread_mutexattr_init": {},
|
||||
"pthread_mutexattr_settype": {},
|
||||
"pthread_self": {},
|
||||
"pthread_setspecific": {},
|
||||
"putc": {},
|
||||
"putchar": {},
|
||||
"puts": {},
|
||||
"qsort": {},
|
||||
"raise": {},
|
||||
"rand": {},
|
||||
"random": {},
|
||||
"random_r": {},
|
||||
"read": {},
|
||||
"readdir": {},
|
||||
"readdir64": {},
|
||||
"readlink": {},
|
||||
"readv": {},
|
||||
"realloc": {},
|
||||
"reallocarray": {},
|
||||
"realpath": {},
|
||||
"recv": {},
|
||||
"recvfrom": {},
|
||||
"recvmsg": {},
|
||||
"remove": {},
|
||||
"rename": {},
|
||||
"rewind": {},
|
||||
"rindex": {},
|
||||
"rint": {},
|
||||
"rmdir": {},
|
||||
"round": {},
|
||||
"scalbn": {},
|
||||
"scalbnl": {},
|
||||
"sched_yield": {},
|
||||
"select": {},
|
||||
"send": {},
|
||||
"sendmsg": {},
|
||||
"sendto": {},
|
||||
"setbuf": {},
|
||||
"setenv": {},
|
||||
"setjmp": {},
|
||||
"setlocale": {},
|
||||
"setrlimit": {},
|
||||
"setrlimit64": {},
|
||||
"setsid": {},
|
||||
"setsockopt": {},
|
||||
"setstate": {},
|
||||
"setvbuf": {},
|
||||
"shmat": {},
|
||||
"shmctl": {},
|
||||
"shmdt": {},
|
||||
"shutdown": {},
|
||||
"sigaction": {},
|
||||
"signal": {},
|
||||
"sin": {},
|
||||
"sinf": {},
|
||||
"sinh": {},
|
||||
"sleep": {},
|
||||
"snprintf": {},
|
||||
"socket": {},
|
||||
"sprintf": {},
|
||||
"sqrt": {},
|
||||
"srand48": {},
|
||||
"sscanf": {},
|
||||
"stat": {},
|
||||
"stat64": {},
|
||||
"stderr": {},
|
||||
"stdin": {},
|
||||
"stdout": {},
|
||||
"strcasecmp": {},
|
||||
"strcat": {},
|
||||
"strchr": {},
|
||||
"strcmp": {},
|
||||
"strcpy": {},
|
||||
"strcspn": {},
|
||||
"strdup": {},
|
||||
"strerror": {},
|
||||
"strerror_r": {},
|
||||
"strlen": {},
|
||||
"strncmp": {},
|
||||
"strncpy": {},
|
||||
"strnlen": {},
|
||||
"strpbrk": {},
|
||||
"strrchr": {},
|
||||
"strspn": {},
|
||||
"strstr": {},
|
||||
"strtod": {},
|
||||
"strtof": {},
|
||||
"strtoimax": {},
|
||||
"strtol": {},
|
||||
"strtold": {},
|
||||
"strtoll": {},
|
||||
"strtoul": {},
|
||||
"strtoull": {},
|
||||
"strtoumax": {},
|
||||
"symlink": {},
|
||||
"sysconf": {},
|
||||
"system": {},
|
||||
"tan": {},
|
||||
"tanh": {},
|
||||
"tcgetattr": {},
|
||||
"tcsendbreak": {},
|
||||
"tcsetattr": {},
|
||||
"time": {},
|
||||
"tmpfile": {},
|
||||
"tolower": {},
|
||||
"toupper": {},
|
||||
"trunc": {},
|
||||
"tzset": {},
|
||||
"umask": {},
|
||||
"uname": {},
|
||||
"ungetc": {},
|
||||
"unlink": {},
|
||||
"unsetenv": {},
|
||||
"usleep": {},
|
||||
"utime": {},
|
||||
"utimes": {},
|
||||
"uuid_generate_random": {},
|
||||
"uuid_parse": {},
|
||||
"uuid_unparse": {},
|
||||
"vasprintf": {},
|
||||
"vfprintf": {},
|
||||
"vprintf": {},
|
||||
"vsnprintf": {},
|
||||
"vsprintf": {},
|
||||
"waitpid": {},
|
||||
"wcschr": {},
|
||||
"wctomb": {},
|
||||
"wcwidth": {},
|
||||
"write": {},
|
||||
"writev": {},
|
||||
"zero_struct_address": {},
|
||||
}
|
||||
510
vendor/modernc.org/libc/capi_openbsd_386.go
generated
vendored
Normal file
510
vendor/modernc.org/libc/capi_openbsd_386.go
generated
vendored
Normal file
@@ -0,0 +1,510 @@
|
||||
// Code generated by 'go generate' - DO NOT EDIT.
|
||||
|
||||
package libc // import "modernc.org/libc"
|
||||
|
||||
var CAPI = map[string]struct{}{
|
||||
"_C_ctype_": {},
|
||||
"_IO_putc": {},
|
||||
"_ThreadRuneLocale": {},
|
||||
"___errno_location": {},
|
||||
"___runetype": {},
|
||||
"__assert": {},
|
||||
"__assert13": {},
|
||||
"__assert2": {},
|
||||
"__assert_fail": {},
|
||||
"__builtin___memcpy_chk": {},
|
||||
"__builtin___memmove_chk": {},
|
||||
"__builtin___memset_chk": {},
|
||||
"__builtin___snprintf_chk": {},
|
||||
"__builtin___sprintf_chk": {},
|
||||
"__builtin___strcat_chk": {},
|
||||
"__builtin___strcpy_chk": {},
|
||||
"__builtin___strncpy_chk": {},
|
||||
"__builtin___vsnprintf_chk": {},
|
||||
"__builtin_abort": {},
|
||||
"__builtin_abs": {},
|
||||
"__builtin_add_overflowInt64": {},
|
||||
"__builtin_add_overflowUint32": {},
|
||||
"__builtin_add_overflowUint64": {},
|
||||
"__builtin_bswap16": {},
|
||||
"__builtin_bswap32": {},
|
||||
"__builtin_bswap64": {},
|
||||
"__builtin_bzero": {},
|
||||
"__builtin_clz": {},
|
||||
"__builtin_clzl": {},
|
||||
"__builtin_clzll": {},
|
||||
"__builtin_constant_p_impl": {},
|
||||
"__builtin_copysign": {},
|
||||
"__builtin_copysignf": {},
|
||||
"__builtin_copysignl": {},
|
||||
"__builtin_exit": {},
|
||||
"__builtin_expect": {},
|
||||
"__builtin_fabs": {},
|
||||
"__builtin_fabsf": {},
|
||||
"__builtin_fabsl": {},
|
||||
"__builtin_free": {},
|
||||
"__builtin_getentropy": {},
|
||||
"__builtin_huge_val": {},
|
||||
"__builtin_huge_valf": {},
|
||||
"__builtin_inf": {},
|
||||
"__builtin_inff": {},
|
||||
"__builtin_infl": {},
|
||||
"__builtin_isnan": {},
|
||||
"__builtin_isunordered": {},
|
||||
"__builtin_llabs": {},
|
||||
"__builtin_malloc": {},
|
||||
"__builtin_memcmp": {},
|
||||
"__builtin_memcpy": {},
|
||||
"__builtin_memset": {},
|
||||
"__builtin_mmap": {},
|
||||
"__builtin_mul_overflowInt64": {},
|
||||
"__builtin_mul_overflowUint128": {},
|
||||
"__builtin_mul_overflowUint64": {},
|
||||
"__builtin_nan": {},
|
||||
"__builtin_nanf": {},
|
||||
"__builtin_nanl": {},
|
||||
"__builtin_object_size": {},
|
||||
"__builtin_popcount": {},
|
||||
"__builtin_popcountl": {},
|
||||
"__builtin_prefetch": {},
|
||||
"__builtin_printf": {},
|
||||
"__builtin_snprintf": {},
|
||||
"__builtin_sprintf": {},
|
||||
"__builtin_strchr": {},
|
||||
"__builtin_strcmp": {},
|
||||
"__builtin_strcpy": {},
|
||||
"__builtin_strlen": {},
|
||||
"__builtin_sub_overflowInt64": {},
|
||||
"__builtin_trap": {},
|
||||
"__builtin_unreachable": {},
|
||||
"__ccgo_dmesg": {},
|
||||
"__ccgo_getMutexType": {},
|
||||
"__ccgo_in6addr_anyp": {},
|
||||
"__ccgo_pthreadAttrGetDetachState": {},
|
||||
"__ccgo_pthreadMutexattrGettype": {},
|
||||
"__ccgo_sqlite3_log": {},
|
||||
"__cmsg_nxthdr": {},
|
||||
"__ctype_get_mb_cur_max": {},
|
||||
"__errno": {},
|
||||
"__errno_location": {},
|
||||
"__error": {},
|
||||
"__floatscan": {},
|
||||
"__h_errno_location": {},
|
||||
"__inet_aton": {},
|
||||
"__inet_ntoa": {},
|
||||
"__intscan": {},
|
||||
"__isalnum_l": {},
|
||||
"__isalpha_l": {},
|
||||
"__isdigit_l": {},
|
||||
"__islower_l": {},
|
||||
"__isnan": {},
|
||||
"__isnanf": {},
|
||||
"__isnanl": {},
|
||||
"__isoc99_sscanf": {},
|
||||
"__isprint_l": {},
|
||||
"__isspace_l": {},
|
||||
"__isthreaded": {},
|
||||
"__isupper_l": {},
|
||||
"__isxdigit_l": {},
|
||||
"__lookup_ipliteral": {},
|
||||
"__lookup_name": {},
|
||||
"__lookup_serv": {},
|
||||
"__mb_sb_limit": {},
|
||||
"__runes_for_locale": {},
|
||||
"__sF": {},
|
||||
"__shgetc": {},
|
||||
"__shlim": {},
|
||||
"__srget": {},
|
||||
"__stderrp": {},
|
||||
"__stdinp": {},
|
||||
"__stdoutp": {},
|
||||
"__swbuf": {},
|
||||
"__sync_add_and_fetch_uint32": {},
|
||||
"__sync_sub_and_fetch_uint32": {},
|
||||
"__syscall1": {},
|
||||
"__syscall3": {},
|
||||
"__syscall4": {},
|
||||
"__toread": {},
|
||||
"__toread_needs_stdio_exit": {},
|
||||
"__uflow": {},
|
||||
"__xuname": {},
|
||||
"_ctype_": {},
|
||||
"_exit": {},
|
||||
"_longjmp": {},
|
||||
"_obstack_begin": {},
|
||||
"_obstack_newchunk": {},
|
||||
"_setjmp": {},
|
||||
"_tolower_tab_": {},
|
||||
"_toupper_tab_": {},
|
||||
"abort": {},
|
||||
"abs": {},
|
||||
"accept": {},
|
||||
"access": {},
|
||||
"acos": {},
|
||||
"acosh": {},
|
||||
"alarm": {},
|
||||
"asin": {},
|
||||
"asinh": {},
|
||||
"atan": {},
|
||||
"atan2": {},
|
||||
"atanh": {},
|
||||
"atexit": {},
|
||||
"atof": {},
|
||||
"atoi": {},
|
||||
"atol": {},
|
||||
"backtrace": {},
|
||||
"backtrace_symbols_fd": {},
|
||||
"bind": {},
|
||||
"bsearch": {},
|
||||
"bswap16": {},
|
||||
"bswap32": {},
|
||||
"bswap64": {},
|
||||
"bzero": {},
|
||||
"calloc": {},
|
||||
"ceil": {},
|
||||
"ceilf": {},
|
||||
"cfgetospeed": {},
|
||||
"cfsetispeed": {},
|
||||
"cfsetospeed": {},
|
||||
"chdir": {},
|
||||
"chflags": {},
|
||||
"chmod": {},
|
||||
"chown": {},
|
||||
"clock_gettime": {},
|
||||
"close": {},
|
||||
"closedir": {},
|
||||
"confstr": {},
|
||||
"connect": {},
|
||||
"copysign": {},
|
||||
"copysignf": {},
|
||||
"copysignl": {},
|
||||
"cos": {},
|
||||
"cosf": {},
|
||||
"cosh": {},
|
||||
"ctime": {},
|
||||
"ctime_r": {},
|
||||
"dlclose": {},
|
||||
"dlerror": {},
|
||||
"dlopen": {},
|
||||
"dlsym": {},
|
||||
"dup2": {},
|
||||
"endpwent": {},
|
||||
"environ": {},
|
||||
"execvp": {},
|
||||
"exit": {},
|
||||
"exp": {},
|
||||
"fabs": {},
|
||||
"fabsf": {},
|
||||
"fabsl": {},
|
||||
"fchmod": {},
|
||||
"fchown": {},
|
||||
"fclose": {},
|
||||
"fcntl": {},
|
||||
"fcntl64": {},
|
||||
"fdopen": {},
|
||||
"ferror": {},
|
||||
"fflush": {},
|
||||
"fgetc": {},
|
||||
"fgets": {},
|
||||
"fileno": {},
|
||||
"floor": {},
|
||||
"fmod": {},
|
||||
"fmodl": {},
|
||||
"fopen": {},
|
||||
"fopen64": {},
|
||||
"fork": {},
|
||||
"fprintf": {},
|
||||
"fputc": {},
|
||||
"fputs": {},
|
||||
"fread": {},
|
||||
"free": {},
|
||||
"freeaddrinfo": {},
|
||||
"frexp": {},
|
||||
"fscanf": {},
|
||||
"fseek": {},
|
||||
"fstat": {},
|
||||
"fstat64": {},
|
||||
"fsync": {},
|
||||
"ftell": {},
|
||||
"ftruncate": {},
|
||||
"fts64_close": {},
|
||||
"fts64_open": {},
|
||||
"fts64_read": {},
|
||||
"fts_close": {},
|
||||
"fts_open": {},
|
||||
"fts_read": {},
|
||||
"fwrite": {},
|
||||
"gai_strerror": {},
|
||||
"getaddrinfo": {},
|
||||
"getc": {},
|
||||
"getcwd": {},
|
||||
"getegid": {},
|
||||
"getentropy": {},
|
||||
"getenv": {},
|
||||
"geteuid": {},
|
||||
"getgid": {},
|
||||
"getgrgid": {},
|
||||
"getgrgid_r": {},
|
||||
"getgrnam": {},
|
||||
"getgrnam_r": {},
|
||||
"gethostbyaddr": {},
|
||||
"gethostbyaddr_r": {},
|
||||
"gethostbyname": {},
|
||||
"gethostbyname2": {},
|
||||
"gethostbyname2_r": {},
|
||||
"gethostname": {},
|
||||
"getnameinfo": {},
|
||||
"getpagesize": {},
|
||||
"getpeername": {},
|
||||
"getpid": {},
|
||||
"getpwnam": {},
|
||||
"getpwnam_r": {},
|
||||
"getpwuid": {},
|
||||
"getpwuid_r": {},
|
||||
"getresgid": {},
|
||||
"getresuid": {},
|
||||
"getrlimit": {},
|
||||
"getrlimit64": {},
|
||||
"getrusage": {},
|
||||
"getservbyname": {},
|
||||
"getsockname": {},
|
||||
"getsockopt": {},
|
||||
"gettimeofday": {},
|
||||
"getuid": {},
|
||||
"gmtime_r": {},
|
||||
"h_errno": {},
|
||||
"htonl": {},
|
||||
"htons": {},
|
||||
"hypot": {},
|
||||
"inet_ntoa": {},
|
||||
"inet_ntop": {},
|
||||
"inet_pton": {},
|
||||
"initstate": {},
|
||||
"initstate_r": {},
|
||||
"ioctl": {},
|
||||
"isalnum": {},
|
||||
"isalpha": {},
|
||||
"isascii": {},
|
||||
"isatty": {},
|
||||
"isblank": {},
|
||||
"isdigit": {},
|
||||
"islower": {},
|
||||
"isnan": {},
|
||||
"isnanf": {},
|
||||
"isnanl": {},
|
||||
"isprint": {},
|
||||
"isspace": {},
|
||||
"isupper": {},
|
||||
"isxdigit": {},
|
||||
"kill": {},
|
||||
"ldexp": {},
|
||||
"link": {},
|
||||
"listen": {},
|
||||
"llabs": {},
|
||||
"localtime": {},
|
||||
"localtime_r": {},
|
||||
"log": {},
|
||||
"log10": {},
|
||||
"longjmp": {},
|
||||
"lrand48": {},
|
||||
"lseek": {},
|
||||
"lseek64": {},
|
||||
"lstat": {},
|
||||
"lstat64": {},
|
||||
"malloc": {},
|
||||
"mblen": {},
|
||||
"mbstowcs": {},
|
||||
"mbtowc": {},
|
||||
"memchr": {},
|
||||
"memcmp": {},
|
||||
"memcpy": {},
|
||||
"memmove": {},
|
||||
"memset": {},
|
||||
"mkdir": {},
|
||||
"mkfifo": {},
|
||||
"mknod": {},
|
||||
"mkostemp": {},
|
||||
"mkstemp": {},
|
||||
"mkstemp64": {},
|
||||
"mkstemps": {},
|
||||
"mkstemps64": {},
|
||||
"mktime": {},
|
||||
"mmap": {},
|
||||
"modf": {},
|
||||
"munmap": {},
|
||||
"nl_langinfo": {},
|
||||
"ntohs": {},
|
||||
"obstack_free": {},
|
||||
"obstack_vprintf": {},
|
||||
"open": {},
|
||||
"open64": {},
|
||||
"opendir": {},
|
||||
"openpty": {},
|
||||
"pathconf": {},
|
||||
"pause": {},
|
||||
"pclose": {},
|
||||
"perror": {},
|
||||
"pipe": {},
|
||||
"poll": {},
|
||||
"popen": {},
|
||||
"pow": {},
|
||||
"printf": {},
|
||||
"pselect": {},
|
||||
"pthread_attr_destroy": {},
|
||||
"pthread_attr_getdetachstate": {},
|
||||
"pthread_attr_init": {},
|
||||
"pthread_attr_setdetachstate": {},
|
||||
"pthread_attr_setscope": {},
|
||||
"pthread_attr_setstacksize": {},
|
||||
"pthread_cond_broadcast": {},
|
||||
"pthread_cond_destroy": {},
|
||||
"pthread_cond_init": {},
|
||||
"pthread_cond_signal": {},
|
||||
"pthread_cond_timedwait": {},
|
||||
"pthread_cond_wait": {},
|
||||
"pthread_create": {},
|
||||
"pthread_detach": {},
|
||||
"pthread_equal": {},
|
||||
"pthread_exit": {},
|
||||
"pthread_getspecific": {},
|
||||
"pthread_join": {},
|
||||
"pthread_key_create": {},
|
||||
"pthread_key_delete": {},
|
||||
"pthread_mutex_destroy": {},
|
||||
"pthread_mutex_init": {},
|
||||
"pthread_mutex_lock": {},
|
||||
"pthread_mutex_trylock": {},
|
||||
"pthread_mutex_unlock": {},
|
||||
"pthread_mutexattr_destroy": {},
|
||||
"pthread_mutexattr_init": {},
|
||||
"pthread_mutexattr_settype": {},
|
||||
"pthread_self": {},
|
||||
"pthread_setspecific": {},
|
||||
"putc": {},
|
||||
"putchar": {},
|
||||
"puts": {},
|
||||
"qsort": {},
|
||||
"raise": {},
|
||||
"rand": {},
|
||||
"random": {},
|
||||
"random_r": {},
|
||||
"read": {},
|
||||
"readdir": {},
|
||||
"readdir64": {},
|
||||
"readlink": {},
|
||||
"readv": {},
|
||||
"realloc": {},
|
||||
"reallocarray": {},
|
||||
"realpath": {},
|
||||
"recv": {},
|
||||
"recvfrom": {},
|
||||
"recvmsg": {},
|
||||
"remove": {},
|
||||
"rename": {},
|
||||
"rewind": {},
|
||||
"rindex": {},
|
||||
"rint": {},
|
||||
"rmdir": {},
|
||||
"round": {},
|
||||
"scalbn": {},
|
||||
"scalbnl": {},
|
||||
"sched_yield": {},
|
||||
"select": {},
|
||||
"send": {},
|
||||
"sendmsg": {},
|
||||
"sendto": {},
|
||||
"setbuf": {},
|
||||
"setenv": {},
|
||||
"setjmp": {},
|
||||
"setlocale": {},
|
||||
"setrlimit": {},
|
||||
"setrlimit64": {},
|
||||
"setsid": {},
|
||||
"setsockopt": {},
|
||||
"setstate": {},
|
||||
"setvbuf": {},
|
||||
"shmat": {},
|
||||
"shmctl": {},
|
||||
"shmdt": {},
|
||||
"shutdown": {},
|
||||
"sigaction": {},
|
||||
"signal": {},
|
||||
"sin": {},
|
||||
"sinf": {},
|
||||
"sinh": {},
|
||||
"sleep": {},
|
||||
"snprintf": {},
|
||||
"socket": {},
|
||||
"sprintf": {},
|
||||
"sqrt": {},
|
||||
"srand48": {},
|
||||
"sscanf": {},
|
||||
"stat": {},
|
||||
"stat64": {},
|
||||
"stderr": {},
|
||||
"stdin": {},
|
||||
"stdout": {},
|
||||
"strcasecmp": {},
|
||||
"strcat": {},
|
||||
"strchr": {},
|
||||
"strcmp": {},
|
||||
"strcpy": {},
|
||||
"strcspn": {},
|
||||
"strdup": {},
|
||||
"strerror": {},
|
||||
"strerror_r": {},
|
||||
"strlen": {},
|
||||
"strncmp": {},
|
||||
"strncpy": {},
|
||||
"strnlen": {},
|
||||
"strpbrk": {},
|
||||
"strrchr": {},
|
||||
"strspn": {},
|
||||
"strstr": {},
|
||||
"strtod": {},
|
||||
"strtof": {},
|
||||
"strtoimax": {},
|
||||
"strtol": {},
|
||||
"strtold": {},
|
||||
"strtoll": {},
|
||||
"strtoul": {},
|
||||
"strtoull": {},
|
||||
"strtoumax": {},
|
||||
"symlink": {},
|
||||
"sysconf": {},
|
||||
"system": {},
|
||||
"tan": {},
|
||||
"tanh": {},
|
||||
"tcgetattr": {},
|
||||
"tcsendbreak": {},
|
||||
"tcsetattr": {},
|
||||
"time": {},
|
||||
"tmpfile": {},
|
||||
"tolower": {},
|
||||
"toupper": {},
|
||||
"trunc": {},
|
||||
"tzset": {},
|
||||
"umask": {},
|
||||
"uname": {},
|
||||
"ungetc": {},
|
||||
"unlink": {},
|
||||
"unsetenv": {},
|
||||
"usleep": {},
|
||||
"utime": {},
|
||||
"utimes": {},
|
||||
"uuid_generate_random": {},
|
||||
"uuid_parse": {},
|
||||
"uuid_unparse": {},
|
||||
"vasprintf": {},
|
||||
"vfprintf": {},
|
||||
"vprintf": {},
|
||||
"vsnprintf": {},
|
||||
"vsprintf": {},
|
||||
"waitpid": {},
|
||||
"wcschr": {},
|
||||
"wctomb": {},
|
||||
"wcwidth": {},
|
||||
"write": {},
|
||||
"writev": {},
|
||||
"zero_struct_address": {},
|
||||
}
|
||||
11
vendor/modernc.org/libc/capi_openbsd_amd64.go
generated
vendored
11
vendor/modernc.org/libc/capi_openbsd_amd64.go
generated
vendored
@@ -3,8 +3,7 @@
|
||||
package libc // import "modernc.org/libc"
|
||||
|
||||
var CAPI = map[string]struct{}{
|
||||
"_CurrentRuneLocale": {},
|
||||
"_DefaultRuneLocale": {},
|
||||
"_C_ctype_": {},
|
||||
"_IO_putc": {},
|
||||
"_ThreadRuneLocale": {},
|
||||
"___errno_location": {},
|
||||
@@ -50,8 +49,10 @@ var CAPI = map[string]struct{}{
|
||||
"__builtin_inf": {},
|
||||
"__builtin_inff": {},
|
||||
"__builtin_infl": {},
|
||||
"__builtin_isblank": {},
|
||||
"__builtin_isnan": {},
|
||||
"__builtin_isunordered": {},
|
||||
"__builtin_llabs": {},
|
||||
"__builtin_malloc": {},
|
||||
"__builtin_memcmp": {},
|
||||
"__builtin_memcpy": {},
|
||||
@@ -128,6 +129,7 @@ var CAPI = map[string]struct{}{
|
||||
"__toread_needs_stdio_exit": {},
|
||||
"__uflow": {},
|
||||
"__xuname": {},
|
||||
"_ctype_": {},
|
||||
"_exit": {},
|
||||
"_longjmp": {},
|
||||
"_obstack_begin": {},
|
||||
@@ -155,6 +157,9 @@ var CAPI = map[string]struct{}{
|
||||
"backtrace_symbols_fd": {},
|
||||
"bind": {},
|
||||
"bsearch": {},
|
||||
"bswap16": {},
|
||||
"bswap32": {},
|
||||
"bswap64": {},
|
||||
"bzero": {},
|
||||
"calloc": {},
|
||||
"ceil": {},
|
||||
@@ -282,6 +287,7 @@ var CAPI = map[string]struct{}{
|
||||
"isalpha": {},
|
||||
"isascii": {},
|
||||
"isatty": {},
|
||||
"isblank": {},
|
||||
"isdigit": {},
|
||||
"islower": {},
|
||||
"isnan": {},
|
||||
@@ -295,6 +301,7 @@ var CAPI = map[string]struct{}{
|
||||
"ldexp": {},
|
||||
"link": {},
|
||||
"listen": {},
|
||||
"llabs": {},
|
||||
"localtime": {},
|
||||
"localtime_r": {},
|
||||
"log": {},
|
||||
|
||||
511
vendor/modernc.org/libc/capi_openbsd_arm64.go
generated
vendored
Normal file
511
vendor/modernc.org/libc/capi_openbsd_arm64.go
generated
vendored
Normal file
@@ -0,0 +1,511 @@
|
||||
// Code generated by 'go generate' - DO NOT EDIT.
|
||||
|
||||
package libc // import "modernc.org/libc"
|
||||
|
||||
var CAPI = map[string]struct{}{
|
||||
"_C_ctype_": {},
|
||||
"_IO_putc": {},
|
||||
"_ThreadRuneLocale": {},
|
||||
"___errno_location": {},
|
||||
"___runetype": {},
|
||||
"__assert": {},
|
||||
"__assert13": {},
|
||||
"__assert2": {},
|
||||
"__assert_fail": {},
|
||||
"__builtin___memcpy_chk": {},
|
||||
"__builtin___memmove_chk": {},
|
||||
"__builtin___memset_chk": {},
|
||||
"__builtin___snprintf_chk": {},
|
||||
"__builtin___sprintf_chk": {},
|
||||
"__builtin___strcat_chk": {},
|
||||
"__builtin___strcpy_chk": {},
|
||||
"__builtin___strncpy_chk": {},
|
||||
"__builtin___vsnprintf_chk": {},
|
||||
"__builtin_abort": {},
|
||||
"__builtin_abs": {},
|
||||
"__builtin_add_overflowInt64": {},
|
||||
"__builtin_add_overflowUint32": {},
|
||||
"__builtin_add_overflowUint64": {},
|
||||
"__builtin_bswap16": {},
|
||||
"__builtin_bswap32": {},
|
||||
"__builtin_bswap64": {},
|
||||
"__builtin_bzero": {},
|
||||
"__builtin_clz": {},
|
||||
"__builtin_clzl": {},
|
||||
"__builtin_clzll": {},
|
||||
"__builtin_constant_p_impl": {},
|
||||
"__builtin_copysign": {},
|
||||
"__builtin_copysignf": {},
|
||||
"__builtin_copysignl": {},
|
||||
"__builtin_exit": {},
|
||||
"__builtin_expect": {},
|
||||
"__builtin_fabs": {},
|
||||
"__builtin_fabsf": {},
|
||||
"__builtin_fabsl": {},
|
||||
"__builtin_free": {},
|
||||
"__builtin_getentropy": {},
|
||||
"__builtin_huge_val": {},
|
||||
"__builtin_huge_valf": {},
|
||||
"__builtin_inf": {},
|
||||
"__builtin_inff": {},
|
||||
"__builtin_infl": {},
|
||||
"__builtin_isblank": {},
|
||||
"__builtin_isnan": {},
|
||||
"__builtin_isunordered": {},
|
||||
"__builtin_llabs": {},
|
||||
"__builtin_malloc": {},
|
||||
"__builtin_memcmp": {},
|
||||
"__builtin_memcpy": {},
|
||||
"__builtin_memset": {},
|
||||
"__builtin_mmap": {},
|
||||
"__builtin_mul_overflowInt64": {},
|
||||
"__builtin_mul_overflowUint128": {},
|
||||
"__builtin_mul_overflowUint64": {},
|
||||
"__builtin_nan": {},
|
||||
"__builtin_nanf": {},
|
||||
"__builtin_nanl": {},
|
||||
"__builtin_object_size": {},
|
||||
"__builtin_popcount": {},
|
||||
"__builtin_popcountl": {},
|
||||
"__builtin_prefetch": {},
|
||||
"__builtin_printf": {},
|
||||
"__builtin_snprintf": {},
|
||||
"__builtin_sprintf": {},
|
||||
"__builtin_strchr": {},
|
||||
"__builtin_strcmp": {},
|
||||
"__builtin_strcpy": {},
|
||||
"__builtin_strlen": {},
|
||||
"__builtin_sub_overflowInt64": {},
|
||||
"__builtin_trap": {},
|
||||
"__builtin_unreachable": {},
|
||||
"__ccgo_dmesg": {},
|
||||
"__ccgo_getMutexType": {},
|
||||
"__ccgo_in6addr_anyp": {},
|
||||
"__ccgo_pthreadAttrGetDetachState": {},
|
||||
"__ccgo_pthreadMutexattrGettype": {},
|
||||
"__ccgo_sqlite3_log": {},
|
||||
"__cmsg_nxthdr": {},
|
||||
"__ctype_get_mb_cur_max": {},
|
||||
"__errno": {},
|
||||
"__errno_location": {},
|
||||
"__error": {},
|
||||
"__floatscan": {},
|
||||
"__h_errno_location": {},
|
||||
"__inet_aton": {},
|
||||
"__inet_ntoa": {},
|
||||
"__intscan": {},
|
||||
"__isalnum_l": {},
|
||||
"__isalpha_l": {},
|
||||
"__isdigit_l": {},
|
||||
"__islower_l": {},
|
||||
"__isnan": {},
|
||||
"__isnanf": {},
|
||||
"__isnanl": {},
|
||||
"__isoc99_sscanf": {},
|
||||
"__isprint_l": {},
|
||||
"__isspace_l": {},
|
||||
"__isthreaded": {},
|
||||
"__isupper_l": {},
|
||||
"__isxdigit_l": {},
|
||||
"__lookup_ipliteral": {},
|
||||
"__lookup_name": {},
|
||||
"__lookup_serv": {},
|
||||
"__mb_sb_limit": {},
|
||||
"__runes_for_locale": {},
|
||||
"__sF": {},
|
||||
"__shgetc": {},
|
||||
"__shlim": {},
|
||||
"__srget": {},
|
||||
"__stderrp": {},
|
||||
"__stdinp": {},
|
||||
"__stdoutp": {},
|
||||
"__swbuf": {},
|
||||
"__sync_add_and_fetch_uint32": {},
|
||||
"__sync_sub_and_fetch_uint32": {},
|
||||
"__syscall1": {},
|
||||
"__syscall3": {},
|
||||
"__syscall4": {},
|
||||
"__toread": {},
|
||||
"__toread_needs_stdio_exit": {},
|
||||
"__uflow": {},
|
||||
"__xuname": {},
|
||||
"_ctype_": {},
|
||||
"_exit": {},
|
||||
"_longjmp": {},
|
||||
"_obstack_begin": {},
|
||||
"_obstack_newchunk": {},
|
||||
"_setjmp": {},
|
||||
"_tolower_tab_": {},
|
||||
"_toupper_tab_": {},
|
||||
"abort": {},
|
||||
"abs": {},
|
||||
"accept": {},
|
||||
"access": {},
|
||||
"acos": {},
|
||||
"acosh": {},
|
||||
"alarm": {},
|
||||
"asin": {},
|
||||
"asinh": {},
|
||||
"atan": {},
|
||||
"atan2": {},
|
||||
"atanh": {},
|
||||
"atexit": {},
|
||||
"atof": {},
|
||||
"atoi": {},
|
||||
"atol": {},
|
||||
"backtrace": {},
|
||||
"backtrace_symbols_fd": {},
|
||||
"bind": {},
|
||||
"bsearch": {},
|
||||
"bswap16": {},
|
||||
"bswap32": {},
|
||||
"bswap64": {},
|
||||
"bzero": {},
|
||||
"calloc": {},
|
||||
"ceil": {},
|
||||
"ceilf": {},
|
||||
"cfgetospeed": {},
|
||||
"cfsetispeed": {},
|
||||
"cfsetospeed": {},
|
||||
"chdir": {},
|
||||
"chflags": {},
|
||||
"chmod": {},
|
||||
"chown": {},
|
||||
"clock_gettime": {},
|
||||
"close": {},
|
||||
"closedir": {},
|
||||
"confstr": {},
|
||||
"connect": {},
|
||||
"copysign": {},
|
||||
"copysignf": {},
|
||||
"copysignl": {},
|
||||
"cos": {},
|
||||
"cosf": {},
|
||||
"cosh": {},
|
||||
"ctime": {},
|
||||
"ctime_r": {},
|
||||
"dlclose": {},
|
||||
"dlerror": {},
|
||||
"dlopen": {},
|
||||
"dlsym": {},
|
||||
"dup2": {},
|
||||
"endpwent": {},
|
||||
"environ": {},
|
||||
"execvp": {},
|
||||
"exit": {},
|
||||
"exp": {},
|
||||
"fabs": {},
|
||||
"fabsf": {},
|
||||
"fabsl": {},
|
||||
"fchmod": {},
|
||||
"fchown": {},
|
||||
"fclose": {},
|
||||
"fcntl": {},
|
||||
"fcntl64": {},
|
||||
"fdopen": {},
|
||||
"ferror": {},
|
||||
"fflush": {},
|
||||
"fgetc": {},
|
||||
"fgets": {},
|
||||
"fileno": {},
|
||||
"floor": {},
|
||||
"fmod": {},
|
||||
"fmodl": {},
|
||||
"fopen": {},
|
||||
"fopen64": {},
|
||||
"fork": {},
|
||||
"fprintf": {},
|
||||
"fputc": {},
|
||||
"fputs": {},
|
||||
"fread": {},
|
||||
"free": {},
|
||||
"freeaddrinfo": {},
|
||||
"frexp": {},
|
||||
"fscanf": {},
|
||||
"fseek": {},
|
||||
"fstat": {},
|
||||
"fstat64": {},
|
||||
"fsync": {},
|
||||
"ftell": {},
|
||||
"ftruncate": {},
|
||||
"fts64_close": {},
|
||||
"fts64_open": {},
|
||||
"fts64_read": {},
|
||||
"fts_close": {},
|
||||
"fts_open": {},
|
||||
"fts_read": {},
|
||||
"fwrite": {},
|
||||
"gai_strerror": {},
|
||||
"getaddrinfo": {},
|
||||
"getc": {},
|
||||
"getcwd": {},
|
||||
"getegid": {},
|
||||
"getentropy": {},
|
||||
"getenv": {},
|
||||
"geteuid": {},
|
||||
"getgid": {},
|
||||
"getgrgid": {},
|
||||
"getgrgid_r": {},
|
||||
"getgrnam": {},
|
||||
"getgrnam_r": {},
|
||||
"gethostbyaddr": {},
|
||||
"gethostbyaddr_r": {},
|
||||
"gethostbyname": {},
|
||||
"gethostbyname2": {},
|
||||
"gethostbyname2_r": {},
|
||||
"gethostname": {},
|
||||
"getnameinfo": {},
|
||||
"getpagesize": {},
|
||||
"getpeername": {},
|
||||
"getpid": {},
|
||||
"getpwnam": {},
|
||||
"getpwnam_r": {},
|
||||
"getpwuid": {},
|
||||
"getpwuid_r": {},
|
||||
"getresgid": {},
|
||||
"getresuid": {},
|
||||
"getrlimit": {},
|
||||
"getrlimit64": {},
|
||||
"getrusage": {},
|
||||
"getservbyname": {},
|
||||
"getsockname": {},
|
||||
"getsockopt": {},
|
||||
"gettimeofday": {},
|
||||
"getuid": {},
|
||||
"gmtime_r": {},
|
||||
"h_errno": {},
|
||||
"htonl": {},
|
||||
"htons": {},
|
||||
"hypot": {},
|
||||
"inet_ntoa": {},
|
||||
"inet_ntop": {},
|
||||
"inet_pton": {},
|
||||
"initstate": {},
|
||||
"initstate_r": {},
|
||||
"ioctl": {},
|
||||
"isalnum": {},
|
||||
"isalpha": {},
|
||||
"isascii": {},
|
||||
"isatty": {},
|
||||
"isblank": {},
|
||||
"isdigit": {},
|
||||
"islower": {},
|
||||
"isnan": {},
|
||||
"isnanf": {},
|
||||
"isnanl": {},
|
||||
"isprint": {},
|
||||
"isspace": {},
|
||||
"isupper": {},
|
||||
"isxdigit": {},
|
||||
"kill": {},
|
||||
"ldexp": {},
|
||||
"link": {},
|
||||
"listen": {},
|
||||
"llabs": {},
|
||||
"localtime": {},
|
||||
"localtime_r": {},
|
||||
"log": {},
|
||||
"log10": {},
|
||||
"longjmp": {},
|
||||
"lrand48": {},
|
||||
"lseek": {},
|
||||
"lseek64": {},
|
||||
"lstat": {},
|
||||
"lstat64": {},
|
||||
"malloc": {},
|
||||
"mblen": {},
|
||||
"mbstowcs": {},
|
||||
"mbtowc": {},
|
||||
"memchr": {},
|
||||
"memcmp": {},
|
||||
"memcpy": {},
|
||||
"memmove": {},
|
||||
"memset": {},
|
||||
"mkdir": {},
|
||||
"mkfifo": {},
|
||||
"mknod": {},
|
||||
"mkostemp": {},
|
||||
"mkstemp": {},
|
||||
"mkstemp64": {},
|
||||
"mkstemps": {},
|
||||
"mkstemps64": {},
|
||||
"mktime": {},
|
||||
"mmap": {},
|
||||
"modf": {},
|
||||
"munmap": {},
|
||||
"nl_langinfo": {},
|
||||
"ntohs": {},
|
||||
"obstack_free": {},
|
||||
"obstack_vprintf": {},
|
||||
"open": {},
|
||||
"open64": {},
|
||||
"opendir": {},
|
||||
"openpty": {},
|
||||
"pathconf": {},
|
||||
"pause": {},
|
||||
"pclose": {},
|
||||
"perror": {},
|
||||
"pipe": {},
|
||||
"poll": {},
|
||||
"popen": {},
|
||||
"pow": {},
|
||||
"printf": {},
|
||||
"pselect": {},
|
||||
"pthread_attr_destroy": {},
|
||||
"pthread_attr_getdetachstate": {},
|
||||
"pthread_attr_init": {},
|
||||
"pthread_attr_setdetachstate": {},
|
||||
"pthread_attr_setscope": {},
|
||||
"pthread_attr_setstacksize": {},
|
||||
"pthread_cond_broadcast": {},
|
||||
"pthread_cond_destroy": {},
|
||||
"pthread_cond_init": {},
|
||||
"pthread_cond_signal": {},
|
||||
"pthread_cond_timedwait": {},
|
||||
"pthread_cond_wait": {},
|
||||
"pthread_create": {},
|
||||
"pthread_detach": {},
|
||||
"pthread_equal": {},
|
||||
"pthread_exit": {},
|
||||
"pthread_getspecific": {},
|
||||
"pthread_join": {},
|
||||
"pthread_key_create": {},
|
||||
"pthread_key_delete": {},
|
||||
"pthread_mutex_destroy": {},
|
||||
"pthread_mutex_init": {},
|
||||
"pthread_mutex_lock": {},
|
||||
"pthread_mutex_trylock": {},
|
||||
"pthread_mutex_unlock": {},
|
||||
"pthread_mutexattr_destroy": {},
|
||||
"pthread_mutexattr_init": {},
|
||||
"pthread_mutexattr_settype": {},
|
||||
"pthread_self": {},
|
||||
"pthread_setspecific": {},
|
||||
"putc": {},
|
||||
"putchar": {},
|
||||
"puts": {},
|
||||
"qsort": {},
|
||||
"raise": {},
|
||||
"rand": {},
|
||||
"random": {},
|
||||
"random_r": {},
|
||||
"read": {},
|
||||
"readdir": {},
|
||||
"readdir64": {},
|
||||
"readlink": {},
|
||||
"readv": {},
|
||||
"realloc": {},
|
||||
"reallocarray": {},
|
||||
"realpath": {},
|
||||
"recv": {},
|
||||
"recvfrom": {},
|
||||
"recvmsg": {},
|
||||
"remove": {},
|
||||
"rename": {},
|
||||
"rewind": {},
|
||||
"rindex": {},
|
||||
"rint": {},
|
||||
"rmdir": {},
|
||||
"round": {},
|
||||
"scalbn": {},
|
||||
"scalbnl": {},
|
||||
"sched_yield": {},
|
||||
"select": {},
|
||||
"send": {},
|
||||
"sendmsg": {},
|
||||
"sendto": {},
|
||||
"setbuf": {},
|
||||
"setenv": {},
|
||||
"setjmp": {},
|
||||
"setlocale": {},
|
||||
"setrlimit": {},
|
||||
"setrlimit64": {},
|
||||
"setsid": {},
|
||||
"setsockopt": {},
|
||||
"setstate": {},
|
||||
"setvbuf": {},
|
||||
"shmat": {},
|
||||
"shmctl": {},
|
||||
"shmdt": {},
|
||||
"shutdown": {},
|
||||
"sigaction": {},
|
||||
"signal": {},
|
||||
"sin": {},
|
||||
"sinf": {},
|
||||
"sinh": {},
|
||||
"sleep": {},
|
||||
"snprintf": {},
|
||||
"socket": {},
|
||||
"sprintf": {},
|
||||
"sqrt": {},
|
||||
"srand48": {},
|
||||
"sscanf": {},
|
||||
"stat": {},
|
||||
"stat64": {},
|
||||
"stderr": {},
|
||||
"stdin": {},
|
||||
"stdout": {},
|
||||
"strcasecmp": {},
|
||||
"strcat": {},
|
||||
"strchr": {},
|
||||
"strcmp": {},
|
||||
"strcpy": {},
|
||||
"strcspn": {},
|
||||
"strdup": {},
|
||||
"strerror": {},
|
||||
"strerror_r": {},
|
||||
"strlen": {},
|
||||
"strncmp": {},
|
||||
"strncpy": {},
|
||||
"strnlen": {},
|
||||
"strpbrk": {},
|
||||
"strrchr": {},
|
||||
"strspn": {},
|
||||
"strstr": {},
|
||||
"strtod": {},
|
||||
"strtof": {},
|
||||
"strtoimax": {},
|
||||
"strtol": {},
|
||||
"strtold": {},
|
||||
"strtoll": {},
|
||||
"strtoul": {},
|
||||
"strtoull": {},
|
||||
"strtoumax": {},
|
||||
"symlink": {},
|
||||
"sysconf": {},
|
||||
"system": {},
|
||||
"tan": {},
|
||||
"tanh": {},
|
||||
"tcgetattr": {},
|
||||
"tcsendbreak": {},
|
||||
"tcsetattr": {},
|
||||
"time": {},
|
||||
"tmpfile": {},
|
||||
"tolower": {},
|
||||
"toupper": {},
|
||||
"trunc": {},
|
||||
"tzset": {},
|
||||
"umask": {},
|
||||
"uname": {},
|
||||
"ungetc": {},
|
||||
"unlink": {},
|
||||
"unsetenv": {},
|
||||
"usleep": {},
|
||||
"utime": {},
|
||||
"utimes": {},
|
||||
"uuid_generate_random": {},
|
||||
"uuid_parse": {},
|
||||
"uuid_unparse": {},
|
||||
"vasprintf": {},
|
||||
"vfprintf": {},
|
||||
"vprintf": {},
|
||||
"vsnprintf": {},
|
||||
"vsprintf": {},
|
||||
"waitpid": {},
|
||||
"wcschr": {},
|
||||
"wctomb": {},
|
||||
"wcwidth": {},
|
||||
"write": {},
|
||||
"writev": {},
|
||||
"zero_struct_address": {},
|
||||
}
|
||||
18
vendor/modernc.org/libc/capi_windows_386.go
generated
vendored
18
vendor/modernc.org/libc/capi_windows_386.go
generated
vendored
@@ -295,6 +295,7 @@ var CAPI = map[string]struct{}{
|
||||
"__builtin_infl": {},
|
||||
"__builtin_isnan": {},
|
||||
"__builtin_isunordered": {},
|
||||
"__builtin_llabs": {},
|
||||
"__builtin_malloc": {},
|
||||
"__builtin_memcmp": {},
|
||||
"__builtin_memcpy": {},
|
||||
@@ -362,6 +363,21 @@ var CAPI = map[string]struct{}{
|
||||
"__ms_vswscanf": {},
|
||||
"__ms_vwscanf": {},
|
||||
"__putenv": {},
|
||||
"__stdio_common_vfprintf": {},
|
||||
"__stdio_common_vfprintf_p": {},
|
||||
"__stdio_common_vfprintf_s": {},
|
||||
"__stdio_common_vfscanf": {},
|
||||
"__stdio_common_vfwprintf_s": {},
|
||||
"__stdio_common_vfwscanf": {},
|
||||
"__stdio_common_vsnprintf_s": {},
|
||||
"__stdio_common_vsnwprintf_s": {},
|
||||
"__stdio_common_vsprintf": {},
|
||||
"__stdio_common_vsprintf_p": {},
|
||||
"__stdio_common_vsprintf_s": {},
|
||||
"__stdio_common_vsscanf": {},
|
||||
"__stdio_common_vswprintf": {},
|
||||
"__stdio_common_vswprintf_s": {},
|
||||
"__stdio_common_vswscanf": {},
|
||||
"__strchrnul": {},
|
||||
"__sync_add_and_fetch_uint32": {},
|
||||
"__sync_sub_and_fetch_uint32": {},
|
||||
@@ -385,6 +401,7 @@ var CAPI = map[string]struct{}{
|
||||
"_findfirst64i32": {},
|
||||
"_findnext32": {},
|
||||
"_findnext64i32": {},
|
||||
"_fstat": {},
|
||||
"_fstat64": {},
|
||||
"_fstati64": {},
|
||||
"_ftime": {},
|
||||
@@ -552,6 +569,7 @@ var CAPI = map[string]struct{}{
|
||||
"ldexp": {},
|
||||
"link": {},
|
||||
"listen": {},
|
||||
"llabs": {},
|
||||
"localtime": {},
|
||||
"localtime_r": {},
|
||||
"log": {},
|
||||
|
||||
2
vendor/modernc.org/libc/capi_windows_amd64.go
generated
vendored
2
vendor/modernc.org/libc/capi_windows_amd64.go
generated
vendored
@@ -293,6 +293,7 @@ var CAPI = map[string]struct{}{
|
||||
"__builtin_infl": {},
|
||||
"__builtin_isnan": {},
|
||||
"__builtin_isunordered": {},
|
||||
"__builtin_llabs": {},
|
||||
"__builtin_malloc": {},
|
||||
"__builtin_memcmp": {},
|
||||
"__builtin_memcpy": {},
|
||||
@@ -548,6 +549,7 @@ var CAPI = map[string]struct{}{
|
||||
"ldexp": {},
|
||||
"link": {},
|
||||
"listen": {},
|
||||
"llabs": {},
|
||||
"localtime": {},
|
||||
"localtime_r": {},
|
||||
"log": {},
|
||||
|
||||
2
vendor/modernc.org/libc/capi_windows_arm64.go
generated
vendored
2
vendor/modernc.org/libc/capi_windows_arm64.go
generated
vendored
@@ -293,6 +293,7 @@ var CAPI = map[string]struct{}{
|
||||
"__builtin_infl": {},
|
||||
"__builtin_isnan": {},
|
||||
"__builtin_isunordered": {},
|
||||
"__builtin_llabs": {},
|
||||
"__builtin_malloc": {},
|
||||
"__builtin_memcmp": {},
|
||||
"__builtin_memcpy": {},
|
||||
@@ -563,6 +564,7 @@ var CAPI = map[string]struct{}{
|
||||
"ldexp": {},
|
||||
"link": {},
|
||||
"listen": {},
|
||||
"llabs": {},
|
||||
"localtime": {},
|
||||
"localtime_r": {},
|
||||
"log": {},
|
||||
|
||||
7
vendor/modernc.org/libc/ccgo.go
generated
vendored
7
vendor/modernc.org/libc/ccgo.go
generated
vendored
@@ -1082,6 +1082,13 @@ func BoolUint64(b bool) uint64 {
|
||||
return 0
|
||||
}
|
||||
|
||||
func BoolUintptr(b bool) uintptr {
|
||||
if b {
|
||||
return 1
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func SetBitFieldPtr8Int8(p uintptr, v int8, off int, mask uint8) {
|
||||
*(*uint8)(unsafe.Pointer(p)) = *(*uint8)(unsafe.Pointer(p))&^uint8(mask) | uint8(v)<<off&mask
|
||||
}
|
||||
|
||||
2
vendor/modernc.org/libc/errno/capi_darwin_amd64.go
generated
vendored
2
vendor/modernc.org/libc/errno/capi_darwin_amd64.go
generated
vendored
@@ -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_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_darwin_amd64.go -pkgname errno', DO NOT EDIT.
|
||||
|
||||
package errno
|
||||
|
||||
|
||||
5
vendor/modernc.org/libc/errno/capi_freebsd_arm.go
generated
vendored
Normal file
5
vendor/modernc.org/libc/errno/capi_freebsd_arm.go
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
// 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_freebsd_arm.go -pkgname errno', DO NOT EDIT.
|
||||
|
||||
package errno
|
||||
|
||||
var CAPI = map[string]struct{}{}
|
||||
5
vendor/modernc.org/libc/errno/capi_freebsd_arm64.go
generated
vendored
Normal file
5
vendor/modernc.org/libc/errno/capi_freebsd_arm64.go
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
// 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_freebsd_amd64.go -pkgname errno', DO NOT EDIT.
|
||||
|
||||
package errno
|
||||
|
||||
var CAPI = map[string]struct{}{}
|
||||
5
vendor/modernc.org/libc/errno/capi_netbsd_arm.go
generated
vendored
Normal file
5
vendor/modernc.org/libc/errno/capi_netbsd_arm.go
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
// 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_netbsd_arm.go -pkgname errno', DO NOT EDIT.
|
||||
|
||||
package errno
|
||||
|
||||
var CAPI = map[string]struct{}{}
|
||||
5
vendor/modernc.org/libc/errno/capi_openbsd_386.go
generated
vendored
Normal file
5
vendor/modernc.org/libc/errno/capi_openbsd_386.go
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
// 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_openbsd_386.go -pkgname errno', DO NOT EDIT.
|
||||
|
||||
package errno
|
||||
|
||||
var CAPI = map[string]struct{}{}
|
||||
5
vendor/modernc.org/libc/errno/capi_openbsd_arm64.go
generated
vendored
Normal file
5
vendor/modernc.org/libc/errno/capi_openbsd_arm64.go
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
// 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_openbsd_arm64.go -pkgname errno', DO NOT EDIT.
|
||||
|
||||
package errno
|
||||
|
||||
var CAPI = map[string]struct{}{}
|
||||
2
vendor/modernc.org/libc/errno/capi_windows_386.go
generated
vendored
2
vendor/modernc.org/libc/errno/capi_windows_386.go
generated
vendored
@@ -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_windows_386.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_windows_386.go -pkgname errno', DO NOT EDIT.
|
||||
|
||||
package errno
|
||||
|
||||
|
||||
240
vendor/modernc.org/libc/errno/errno_darwin_amd64.go
generated
vendored
240
vendor/modernc.org/libc/errno/errno_darwin_amd64.go
generated
vendored
@@ -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_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_darwin_amd64.go -pkgname errno', DO NOT EDIT.
|
||||
|
||||
package errno
|
||||
|
||||
@@ -15,125 +15,125 @@ 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_UNIX_CONFORMANCE = 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:745:1:
|
||||
X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1 // cdefs.h:771:1:
|
||||
X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3 // cdefs.h:779: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:243:1:
|
||||
X_Null_unspecified = 0 // cdefs.h:246:1:
|
||||
X_Nullable = 0 // cdefs.h:240:1:
|
||||
X_SYS_ERRNO_H_ = 0 // errno.h:70:1:
|
||||
)
|
||||
|
||||
type Ptrdiff_t = int64 /* <builtin>:3:26 */
|
||||
|
||||
8
vendor/modernc.org/libc/errno/errno_freebsd_amd64.go
generated
vendored
8
vendor/modernc.org/libc/errno/errno_freebsd_amd64.go
generated
vendored
@@ -118,12 +118,12 @@ const (
|
||||
X_ERRNO_T_DEFINED = 0 // errno.h:203:1:
|
||||
X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
|
||||
X_LP64 = 1 // <predefined>:1:1:
|
||||
X_Nonnull = 0 // cdefs.h:783:1:
|
||||
X_Null_unspecified = 0 // cdefs.h:785:1:
|
||||
X_Nullable = 0 // cdefs.h:784:1:
|
||||
X_Nonnull = 0 // cdefs.h:790:1:
|
||||
X_Null_unspecified = 0 // cdefs.h:792:1:
|
||||
X_Nullable = 0 // cdefs.h:791:1:
|
||||
X_SYS_CDEFS_H_ = 0 // cdefs.h:39:1:
|
||||
X_SYS_ERRNO_H_ = 0 // errno.h:41:1:
|
||||
Unix = 1 // <predefined>:337:1:
|
||||
Unix = 1 // <predefined>:340:1:
|
||||
)
|
||||
|
||||
type Ptrdiff_t = int64 /* <builtin>:3:26 */
|
||||
|
||||
157
vendor/modernc.org/libc/errno/errno_freebsd_arm.go
generated
vendored
Normal file
157
vendor/modernc.org/libc/errno/errno_freebsd_arm.go
generated
vendored
Normal file
@@ -0,0 +1,157 @@
|
||||
// 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_freebsd_arm.go -pkgname errno', DO NOT EDIT.
|
||||
|
||||
package errno
|
||||
|
||||
import (
|
||||
"math"
|
||||
"reflect"
|
||||
"sync/atomic"
|
||||
"unsafe"
|
||||
)
|
||||
|
||||
var _ = math.Pi
|
||||
var _ reflect.Kind
|
||||
var _ atomic.Value
|
||||
var _ unsafe.Pointer
|
||||
|
||||
const (
|
||||
E2BIG = 7 // errno.h:57:1:
|
||||
EACCES = 13 // errno.h:64:1:
|
||||
EADDRINUSE = 48 // errno.h:112:1:
|
||||
EADDRNOTAVAIL = 49 // errno.h:113:1:
|
||||
EAFNOSUPPORT = 47 // errno.h:111:1:
|
||||
EAGAIN = 35 // errno.h:94:1:
|
||||
EALREADY = 37 // errno.h:98:1:
|
||||
EAUTH = 80 // errno.h:161:1:
|
||||
EBADF = 9 // errno.h:59:1:
|
||||
EBADMSG = 89 // errno.h:173:1:
|
||||
EBADRPC = 72 // errno.h:149:1:
|
||||
EBUSY = 16 // errno.h:69:1:
|
||||
ECANCELED = 85 // errno.h:166:1:
|
||||
ECAPMODE = 94 // errno.h:180:1:
|
||||
ECHILD = 10 // errno.h:60:1:
|
||||
ECONNABORTED = 53 // errno.h:119:1:
|
||||
ECONNREFUSED = 61 // errno.h:127:1:
|
||||
ECONNRESET = 54 // errno.h:120:1:
|
||||
EDEADLK = 11 // errno.h:61:1:
|
||||
EDESTADDRREQ = 39 // errno.h:102:1:
|
||||
EDOM = 33 // errno.h:90:1:
|
||||
EDOOFUS = 88 // errno.h:170:1:
|
||||
EDQUOT = 69 // errno.h:144:1:
|
||||
EEXIST = 17 // errno.h:70:1:
|
||||
EFAULT = 14 // errno.h:65:1:
|
||||
EFBIG = 27 // errno.h:82:1:
|
||||
EFTYPE = 79 // errno.h:160:1:
|
||||
EHOSTDOWN = 64 // errno.h:135:1:
|
||||
EHOSTUNREACH = 65 // errno.h:136:1:
|
||||
EIDRM = 82 // errno.h:163:1:
|
||||
EILSEQ = 86 // errno.h:167:1:
|
||||
EINPROGRESS = 36 // errno.h:97:1:
|
||||
EINTEGRITY = 97 // errno.h:183:1:
|
||||
EINTR = 4 // errno.h:54:1:
|
||||
EINVAL = 22 // errno.h:75:1:
|
||||
EIO = 5 // errno.h:55:1:
|
||||
EISCONN = 56 // errno.h:122:1:
|
||||
EISDIR = 21 // errno.h:74:1:
|
||||
ELAST = 97 // errno.h:187:1:
|
||||
ELOOP = 62 // errno.h:129:1:
|
||||
EMFILE = 24 // errno.h:77:1:
|
||||
EMLINK = 31 // errno.h:86:1:
|
||||
EMSGSIZE = 40 // errno.h:103:1:
|
||||
EMULTIHOP = 90 // errno.h:174:1:
|
||||
ENAMETOOLONG = 63 // errno.h:131:1:
|
||||
ENEEDAUTH = 81 // errno.h:162:1:
|
||||
ENETDOWN = 50 // errno.h:116:1:
|
||||
ENETRESET = 52 // errno.h:118:1:
|
||||
ENETUNREACH = 51 // errno.h:117:1:
|
||||
ENFILE = 23 // errno.h:76:1:
|
||||
ENOATTR = 87 // errno.h:168:1:
|
||||
ENOBUFS = 55 // errno.h:121:1:
|
||||
ENODEV = 19 // errno.h:72:1:
|
||||
ENOENT = 2 // errno.h:52:1:
|
||||
ENOEXEC = 8 // errno.h:58:1:
|
||||
ENOLCK = 77 // errno.h:156:1:
|
||||
ENOLINK = 91 // errno.h:175:1:
|
||||
ENOMEM = 12 // errno.h:63:1:
|
||||
ENOMSG = 83 // errno.h:164:1:
|
||||
ENOPROTOOPT = 42 // errno.h:105:1:
|
||||
ENOSPC = 28 // errno.h:83:1:
|
||||
ENOSYS = 78 // errno.h:157:1:
|
||||
ENOTBLK = 15 // errno.h:67:1:
|
||||
ENOTCAPABLE = 93 // errno.h:179:1:
|
||||
ENOTCONN = 57 // errno.h:123:1:
|
||||
ENOTDIR = 20 // errno.h:73:1:
|
||||
ENOTEMPTY = 66 // errno.h:138:1:
|
||||
ENOTRECOVERABLE = 95 // errno.h:181:1:
|
||||
ENOTSOCK = 38 // errno.h:101:1:
|
||||
ENOTSUP = 45 // errno.h:109:1:
|
||||
ENOTTY = 25 // errno.h:78:1:
|
||||
ENXIO = 6 // errno.h:56:1:
|
||||
EOPNOTSUPP = 45 // errno.h:108:1:
|
||||
EOVERFLOW = 84 // errno.h:165:1:
|
||||
EOWNERDEAD = 96 // errno.h:182:1:
|
||||
EPERM = 1 // errno.h:51:1:
|
||||
EPFNOSUPPORT = 46 // errno.h:110:1:
|
||||
EPIPE = 32 // errno.h:87:1:
|
||||
EPROCLIM = 67 // errno.h:142:1:
|
||||
EPROCUNAVAIL = 76 // errno.h:153:1:
|
||||
EPROGMISMATCH = 75 // errno.h:152:1:
|
||||
EPROGUNAVAIL = 74 // errno.h:151:1:
|
||||
EPROTO = 92 // errno.h:176:1:
|
||||
EPROTONOSUPPORT = 43 // errno.h:106:1:
|
||||
EPROTOTYPE = 41 // errno.h:104:1:
|
||||
ERANGE = 34 // errno.h:91:1:
|
||||
EREMOTE = 71 // errno.h:148:1:
|
||||
EROFS = 30 // errno.h:85:1:
|
||||
ERPCMISMATCH = 73 // errno.h:150:1:
|
||||
ESHUTDOWN = 58 // errno.h:124:1:
|
||||
ESOCKTNOSUPPORT = 44 // errno.h:107:1:
|
||||
ESPIPE = 29 // errno.h:84:1:
|
||||
ESRCH = 3 // errno.h:53:1:
|
||||
ESTALE = 70 // errno.h:147:1:
|
||||
ETIMEDOUT = 60 // errno.h:126:1:
|
||||
ETOOMANYREFS = 59 // errno.h:125:1:
|
||||
ETXTBSY = 26 // errno.h:80:1:
|
||||
EUSERS = 68 // errno.h:143:1:
|
||||
EWOULDBLOCK = 35 // errno.h:96:1:
|
||||
EXDEV = 18 // errno.h:71:1:
|
||||
X_ERRNO_T_DEFINED = 0 // errno.h:203:1:
|
||||
X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
|
||||
X_ILP32 = 1 // <predefined>:1:1:
|
||||
X_Nonnull = 0 // cdefs.h:790:1:
|
||||
X_Null_unspecified = 0 // cdefs.h:792:1:
|
||||
X_Nullable = 0 // cdefs.h:791:1:
|
||||
X_SYS_CDEFS_H_ = 0 // cdefs.h:39:1:
|
||||
X_SYS_ERRNO_H_ = 0 // errno.h:41:1:
|
||||
Unix = 1 // <predefined>:367:1:
|
||||
)
|
||||
|
||||
type Ptrdiff_t = int32 /* <builtin>:3:26 */
|
||||
|
||||
type Size_t = uint32 /* <builtin>:9:23 */
|
||||
|
||||
type Wchar_t = uint32 /* <builtin>:15:24 */
|
||||
|
||||
type X__builtin_va_list = uintptr /* <builtin>:46:14 */
|
||||
type X__float128 = float64 /* <builtin>:47:21 */
|
||||
|
||||
// 11 was EAGAIN
|
||||
|
||||
// math software
|
||||
|
||||
// non-blocking and interrupt i/o
|
||||
|
||||
// ipc/network software -- argument errors
|
||||
|
||||
// ipc/network software -- operational errors
|
||||
|
||||
// should be rearranged
|
||||
|
||||
// quotas & mush
|
||||
|
||||
// Network File System
|
||||
|
||||
// ISO/IEC 9899:2011 K.3.2.2
|
||||
type Errno_t = int32 /* errno.h:204:13 */
|
||||
|
||||
var _ uint8 /* gen.c:2:13: */
|
||||
166
vendor/modernc.org/libc/errno/errno_freebsd_arm64.go
generated
vendored
Normal file
166
vendor/modernc.org/libc/errno/errno_freebsd_arm64.go
generated
vendored
Normal file
@@ -0,0 +1,166 @@
|
||||
// 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_freebsd_amd64.go -pkgname errno', DO NOT EDIT.
|
||||
|
||||
package errno
|
||||
|
||||
import (
|
||||
"math"
|
||||
"reflect"
|
||||
"sync/atomic"
|
||||
"unsafe"
|
||||
)
|
||||
|
||||
var _ = math.Pi
|
||||
var _ reflect.Kind
|
||||
var _ atomic.Value
|
||||
var _ unsafe.Pointer
|
||||
|
||||
const (
|
||||
E2BIG = 7 // errno.h:57:1:
|
||||
EACCES = 13 // errno.h:64:1:
|
||||
EADDRINUSE = 48 // errno.h:112:1:
|
||||
EADDRNOTAVAIL = 49 // errno.h:113:1:
|
||||
EAFNOSUPPORT = 47 // errno.h:111:1:
|
||||
EAGAIN = 35 // errno.h:94:1:
|
||||
EALREADY = 37 // errno.h:98:1:
|
||||
EAUTH = 80 // errno.h:161:1:
|
||||
EBADF = 9 // errno.h:59:1:
|
||||
EBADMSG = 89 // errno.h:173:1:
|
||||
EBADRPC = 72 // errno.h:149:1:
|
||||
EBUSY = 16 // errno.h:69:1:
|
||||
ECANCELED = 85 // errno.h:166:1:
|
||||
ECAPMODE = 94 // errno.h:180:1:
|
||||
ECHILD = 10 // errno.h:60:1:
|
||||
ECONNABORTED = 53 // errno.h:119:1:
|
||||
ECONNREFUSED = 61 // errno.h:127:1:
|
||||
ECONNRESET = 54 // errno.h:120:1:
|
||||
EDEADLK = 11 // errno.h:61:1:
|
||||
EDESTADDRREQ = 39 // errno.h:102:1:
|
||||
EDOM = 33 // errno.h:90:1:
|
||||
EDOOFUS = 88 // errno.h:170:1:
|
||||
EDQUOT = 69 // errno.h:144:1:
|
||||
EEXIST = 17 // errno.h:70:1:
|
||||
EFAULT = 14 // errno.h:65:1:
|
||||
EFBIG = 27 // errno.h:82:1:
|
||||
EFTYPE = 79 // errno.h:160:1:
|
||||
EHOSTDOWN = 64 // errno.h:135:1:
|
||||
EHOSTUNREACH = 65 // errno.h:136:1:
|
||||
EIDRM = 82 // errno.h:163:1:
|
||||
EILSEQ = 86 // errno.h:167:1:
|
||||
EINPROGRESS = 36 // errno.h:97:1:
|
||||
EINTEGRITY = 97 // errno.h:183:1:
|
||||
EINTR = 4 // errno.h:54:1:
|
||||
EINVAL = 22 // errno.h:75:1:
|
||||
EIO = 5 // errno.h:55:1:
|
||||
EISCONN = 56 // errno.h:122:1:
|
||||
EISDIR = 21 // errno.h:74:1:
|
||||
ELAST = 97 // errno.h:187:1:
|
||||
ELOOP = 62 // errno.h:129:1:
|
||||
EMFILE = 24 // errno.h:77:1:
|
||||
EMLINK = 31 // errno.h:86:1:
|
||||
EMSGSIZE = 40 // errno.h:103:1:
|
||||
EMULTIHOP = 90 // errno.h:174:1:
|
||||
ENAMETOOLONG = 63 // errno.h:131:1:
|
||||
ENEEDAUTH = 81 // errno.h:162:1:
|
||||
ENETDOWN = 50 // errno.h:116:1:
|
||||
ENETRESET = 52 // errno.h:118:1:
|
||||
ENETUNREACH = 51 // errno.h:117:1:
|
||||
ENFILE = 23 // errno.h:76:1:
|
||||
ENOATTR = 87 // errno.h:168:1:
|
||||
ENOBUFS = 55 // errno.h:121:1:
|
||||
ENODEV = 19 // errno.h:72:1:
|
||||
ENOENT = 2 // errno.h:52:1:
|
||||
ENOEXEC = 8 // errno.h:58:1:
|
||||
ENOLCK = 77 // errno.h:156:1:
|
||||
ENOLINK = 91 // errno.h:175:1:
|
||||
ENOMEM = 12 // errno.h:63:1:
|
||||
ENOMSG = 83 // errno.h:164:1:
|
||||
ENOPROTOOPT = 42 // errno.h:105:1:
|
||||
ENOSPC = 28 // errno.h:83:1:
|
||||
ENOSYS = 78 // errno.h:157:1:
|
||||
ENOTBLK = 15 // errno.h:67:1:
|
||||
ENOTCAPABLE = 93 // errno.h:179:1:
|
||||
ENOTCONN = 57 // errno.h:123:1:
|
||||
ENOTDIR = 20 // errno.h:73:1:
|
||||
ENOTEMPTY = 66 // errno.h:138:1:
|
||||
ENOTRECOVERABLE = 95 // errno.h:181:1:
|
||||
ENOTSOCK = 38 // errno.h:101:1:
|
||||
ENOTSUP = 45 // errno.h:109:1:
|
||||
ENOTTY = 25 // errno.h:78:1:
|
||||
ENXIO = 6 // errno.h:56:1:
|
||||
EOPNOTSUPP = 45 // errno.h:108:1:
|
||||
EOVERFLOW = 84 // errno.h:165:1:
|
||||
EOWNERDEAD = 96 // errno.h:182:1:
|
||||
EPERM = 1 // errno.h:51:1:
|
||||
EPFNOSUPPORT = 46 // errno.h:110:1:
|
||||
EPIPE = 32 // errno.h:87:1:
|
||||
EPROCLIM = 67 // errno.h:142:1:
|
||||
EPROCUNAVAIL = 76 // errno.h:153:1:
|
||||
EPROGMISMATCH = 75 // errno.h:152:1:
|
||||
EPROGUNAVAIL = 74 // errno.h:151:1:
|
||||
EPROTO = 92 // errno.h:176:1:
|
||||
EPROTONOSUPPORT = 43 // errno.h:106:1:
|
||||
EPROTOTYPE = 41 // errno.h:104:1:
|
||||
ERANGE = 34 // errno.h:91:1:
|
||||
EREMOTE = 71 // errno.h:148:1:
|
||||
EROFS = 30 // errno.h:85:1:
|
||||
ERPCMISMATCH = 73 // errno.h:150:1:
|
||||
ESHUTDOWN = 58 // errno.h:124:1:
|
||||
ESOCKTNOSUPPORT = 44 // errno.h:107:1:
|
||||
ESPIPE = 29 // errno.h:84:1:
|
||||
ESRCH = 3 // errno.h:53:1:
|
||||
ESTALE = 70 // errno.h:147:1:
|
||||
ETIMEDOUT = 60 // errno.h:126:1:
|
||||
ETOOMANYREFS = 59 // errno.h:125:1:
|
||||
ETXTBSY = 26 // errno.h:80:1:
|
||||
EUSERS = 68 // errno.h:143:1:
|
||||
EWOULDBLOCK = 35 // errno.h:96:1:
|
||||
EXDEV = 18 // errno.h:71:1:
|
||||
X_ERRNO_T_DEFINED = 0 // errno.h:203:1:
|
||||
X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
|
||||
X_LP64 = 1 // <predefined>:1:1:
|
||||
X_Nonnull = 0 // cdefs.h:790:1:
|
||||
X_Null_unspecified = 0 // cdefs.h:792:1:
|
||||
X_Nullable = 0 // cdefs.h:791:1:
|
||||
X_SYS_CDEFS_H_ = 0 // cdefs.h:39:1:
|
||||
X_SYS_ERRNO_H_ = 0 // errno.h:41:1:
|
||||
Unix = 1 // <predefined>:340:1:
|
||||
)
|
||||
|
||||
type Ptrdiff_t = int64 /* <builtin>:3:26 */
|
||||
|
||||
type Size_t = uint64 /* <builtin>:9:23 */
|
||||
|
||||
type Wchar_t = int32 /* <builtin>:15:24 */
|
||||
|
||||
type X__int128_t = struct {
|
||||
Flo int64
|
||||
Fhi int64
|
||||
} /* <builtin>:21:43 */ // must match modernc.org/mathutil.Int128
|
||||
type X__uint128_t = struct {
|
||||
Flo uint64
|
||||
Fhi uint64
|
||||
} /* <builtin>:22:44 */ // must match modernc.org/mathutil.Int128
|
||||
|
||||
type X__builtin_va_list = uintptr /* <builtin>:46:14 */
|
||||
type X__float128 = float64 /* <builtin>:47:21 */
|
||||
|
||||
// 11 was EAGAIN
|
||||
|
||||
// math software
|
||||
|
||||
// non-blocking and interrupt i/o
|
||||
|
||||
// ipc/network software -- argument errors
|
||||
|
||||
// ipc/network software -- operational errors
|
||||
|
||||
// should be rearranged
|
||||
|
||||
// quotas & mush
|
||||
|
||||
// Network File System
|
||||
|
||||
// ISO/IEC 9899:2011 K.3.2.2
|
||||
type Errno_t = int32 /* errno.h:204:13 */
|
||||
|
||||
var _ int8 /* gen.c:2:13: */
|
||||
141
vendor/modernc.org/libc/errno/errno_netbsd_arm.go
generated
vendored
Normal file
141
vendor/modernc.org/libc/errno/errno_netbsd_arm.go
generated
vendored
Normal file
@@ -0,0 +1,141 @@
|
||||
// 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_netbsd_arm.go -pkgname errno', DO NOT EDIT.
|
||||
|
||||
package errno
|
||||
|
||||
import (
|
||||
"math"
|
||||
"reflect"
|
||||
"sync/atomic"
|
||||
"unsafe"
|
||||
)
|
||||
|
||||
var _ = math.Pi
|
||||
var _ reflect.Kind
|
||||
var _ atomic.Value
|
||||
var _ unsafe.Pointer
|
||||
|
||||
const (
|
||||
E2BIG = 7 // errno.h:48:1:
|
||||
EACCES = 13 // errno.h:55:1:
|
||||
EADDRINUSE = 48 // errno.h:97:1:
|
||||
EADDRNOTAVAIL = 49 // errno.h:98:1:
|
||||
EAFNOSUPPORT = 47 // errno.h:96:1:
|
||||
EAGAIN = 35 // errno.h:81:1:
|
||||
EALREADY = 37 // errno.h:84:1:
|
||||
EAUTH = 80 // errno.h:140:1:
|
||||
EBADF = 9 // errno.h:50:1:
|
||||
EBADMSG = 88 // errno.h:159:1:
|
||||
EBADRPC = 72 // errno.h:130:1:
|
||||
EBUSY = 16 // errno.h:58:1:
|
||||
ECANCELED = 87 // errno.h:156:1:
|
||||
ECHILD = 10 // errno.h:51:1:
|
||||
ECONNABORTED = 53 // errno.h:104:1:
|
||||
ECONNREFUSED = 61 // errno.h:112:1:
|
||||
ECONNRESET = 54 // errno.h:105:1:
|
||||
EDEADLK = 11 // errno.h:52:1:
|
||||
EDESTADDRREQ = 39 // errno.h:88:1:
|
||||
EDOM = 33 // errno.h:77:1:
|
||||
EDQUOT = 69 // errno.h:125:1:
|
||||
EEXIST = 17 // errno.h:59:1:
|
||||
EFAULT = 14 // errno.h:56:1:
|
||||
EFBIG = 27 // errno.h:69:1:
|
||||
EFTYPE = 79 // errno.h:139:1:
|
||||
EHOSTDOWN = 64 // errno.h:118:1:
|
||||
EHOSTUNREACH = 65 // errno.h:119:1:
|
||||
EIDRM = 82 // errno.h:144:1:
|
||||
EILSEQ = 85 // errno.h:149:1:
|
||||
EINPROGRESS = 36 // errno.h:83:1:
|
||||
EINTR = 4 // errno.h:45:1:
|
||||
EINVAL = 22 // errno.h:64:1:
|
||||
EIO = 5 // errno.h:46:1:
|
||||
EISCONN = 56 // errno.h:107:1:
|
||||
EISDIR = 21 // errno.h:63:1:
|
||||
ELAST = 96 // errno.h:175:1:
|
||||
ELOOP = 62 // errno.h:114:1:
|
||||
EMFILE = 24 // errno.h:66:1:
|
||||
EMLINK = 31 // errno.h:73:1:
|
||||
EMSGSIZE = 40 // errno.h:89:1:
|
||||
EMULTIHOP = 94 // errno.h:171:1:
|
||||
ENAMETOOLONG = 63 // errno.h:115:1:
|
||||
ENEEDAUTH = 81 // errno.h:141:1:
|
||||
ENETDOWN = 50 // errno.h:101:1:
|
||||
ENETRESET = 52 // errno.h:103:1:
|
||||
ENETUNREACH = 51 // errno.h:102:1:
|
||||
ENFILE = 23 // errno.h:65:1:
|
||||
ENOATTR = 93 // errno.h:168:1:
|
||||
ENOBUFS = 55 // errno.h:106:1:
|
||||
ENODATA = 89 // errno.h:162:1:
|
||||
ENODEV = 19 // errno.h:61:1:
|
||||
ENOENT = 2 // errno.h:43:1:
|
||||
ENOEXEC = 8 // errno.h:49:1:
|
||||
ENOLCK = 77 // errno.h:136:1:
|
||||
ENOLINK = 95 // errno.h:172:1:
|
||||
ENOMEM = 12 // errno.h:54:1:
|
||||
ENOMSG = 83 // errno.h:145:1:
|
||||
ENOPROTOOPT = 42 // errno.h:91:1:
|
||||
ENOSPC = 28 // errno.h:70:1:
|
||||
ENOSR = 90 // errno.h:163:1:
|
||||
ENOSTR = 91 // errno.h:164:1:
|
||||
ENOSYS = 78 // errno.h:137:1:
|
||||
ENOTBLK = 15 // errno.h:57:1:
|
||||
ENOTCONN = 57 // errno.h:108:1:
|
||||
ENOTDIR = 20 // errno.h:62:1:
|
||||
ENOTEMPTY = 66 // errno.h:120:1:
|
||||
ENOTSOCK = 38 // errno.h:87:1:
|
||||
ENOTSUP = 86 // errno.h:153:1:
|
||||
ENOTTY = 25 // errno.h:67:1:
|
||||
ENXIO = 6 // errno.h:47:1:
|
||||
EOPNOTSUPP = 45 // errno.h:94:1:
|
||||
EOVERFLOW = 84 // errno.h:146:1:
|
||||
EPERM = 1 // errno.h:42:1:
|
||||
EPFNOSUPPORT = 46 // errno.h:95:1:
|
||||
EPIPE = 32 // errno.h:74:1:
|
||||
EPROCLIM = 67 // errno.h:123:1:
|
||||
EPROCUNAVAIL = 76 // errno.h:134:1:
|
||||
EPROGMISMATCH = 75 // errno.h:133:1:
|
||||
EPROGUNAVAIL = 74 // errno.h:132:1:
|
||||
EPROTO = 96 // errno.h:173:1:
|
||||
EPROTONOSUPPORT = 43 // errno.h:92:1:
|
||||
EPROTOTYPE = 41 // errno.h:90:1:
|
||||
ERANGE = 34 // errno.h:78:1:
|
||||
EREMOTE = 71 // errno.h:129:1:
|
||||
EROFS = 30 // errno.h:72:1:
|
||||
ERPCMISMATCH = 73 // errno.h:131:1:
|
||||
ESHUTDOWN = 58 // errno.h:109:1:
|
||||
ESOCKTNOSUPPORT = 44 // errno.h:93:1:
|
||||
ESPIPE = 29 // errno.h:71:1:
|
||||
ESRCH = 3 // errno.h:44:1:
|
||||
ESTALE = 70 // errno.h:128:1:
|
||||
ETIME = 92 // errno.h:165:1:
|
||||
ETIMEDOUT = 60 // errno.h:111:1:
|
||||
ETOOMANYREFS = 59 // errno.h:110:1:
|
||||
ETXTBSY = 26 // errno.h:68:1:
|
||||
EUSERS = 68 // errno.h:124:1:
|
||||
EWOULDBLOCK = 35 // errno.h:82:1:
|
||||
EXDEV = 18 // errno.h:60:1:
|
||||
X_ARM_ARCH_4T = 0 // cdefs.h:44:1:
|
||||
X_ARM_ARCH_5 = 0 // cdefs.h:40:1:
|
||||
X_ARM_ARCH_5T = 0 // cdefs.h:36:1:
|
||||
X_ARM_ARCH_6 = 0 // cdefs.h:31:1:
|
||||
X_ARM_ARCH_7 = 0 // cdefs.h:20:1:
|
||||
X_ARM_ARCH_DWORD_OK = 0 // cdefs.h:51:1:
|
||||
X_ARM_ARCH_T2 = 0 // cdefs.h:24:1:
|
||||
X_ARM_CDEFS_H_ = 0 // cdefs.h:4:1:
|
||||
X_ERRNO_H_ = 0 // errno.h:40:1:
|
||||
X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
|
||||
X_NETBSD_SOURCE = 1 // featuretest.h:70:1:
|
||||
X_SYS_CDEFS_ELF_H_ = 0 // cdefs_elf.h:31:1:
|
||||
X_SYS_CDEFS_H_ = 0 // cdefs.h:37:1:
|
||||
X_SYS_ERRNO_H_ = 0 // errno.h:40:1:
|
||||
)
|
||||
|
||||
type Ptrdiff_t = int32 /* <builtin>:3:26 */
|
||||
|
||||
type Size_t = uint32 /* <builtin>:9:23 */
|
||||
|
||||
type Wchar_t = int32 /* <builtin>:15:24 */
|
||||
|
||||
type X__builtin_va_list = uintptr /* <builtin>:46:14 */
|
||||
type X__float128 = float64 /* <builtin>:47:21 */
|
||||
|
||||
var _ uint8 /* gen.c:2:13: */
|
||||
133
vendor/modernc.org/libc/errno/errno_openbsd_386.go
generated
vendored
Normal file
133
vendor/modernc.org/libc/errno/errno_openbsd_386.go
generated
vendored
Normal file
@@ -0,0 +1,133 @@
|
||||
// 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_openbsd_386.go -pkgname errno', DO NOT EDIT.
|
||||
|
||||
package errno
|
||||
|
||||
import (
|
||||
"math"
|
||||
"reflect"
|
||||
"sync/atomic"
|
||||
"unsafe"
|
||||
)
|
||||
|
||||
var _ = math.Pi
|
||||
var _ reflect.Kind
|
||||
var _ atomic.Value
|
||||
var _ unsafe.Pointer
|
||||
|
||||
const (
|
||||
E2BIG = 7 // errno.h:48:1:
|
||||
EACCES = 13 // errno.h:55:1:
|
||||
EADDRINUSE = 48 // errno.h:103:1:
|
||||
EADDRNOTAVAIL = 49 // errno.h:104:1:
|
||||
EAFNOSUPPORT = 47 // errno.h:102:1:
|
||||
EAGAIN = 35 // errno.h:83:1:
|
||||
EALREADY = 37 // errno.h:86:1:
|
||||
EAUTH = 80 // errno.h:155:1:
|
||||
EBADF = 9 // errno.h:50:1:
|
||||
EBADMSG = 92 // errno.h:170:1:
|
||||
EBADRPC = 72 // errno.h:143:1:
|
||||
EBUSY = 16 // errno.h:60:1:
|
||||
ECANCELED = 88 // errno.h:166:1:
|
||||
ECHILD = 10 // errno.h:51:1:
|
||||
ECONNABORTED = 53 // errno.h:110:1:
|
||||
ECONNREFUSED = 61 // errno.h:120:1:
|
||||
ECONNRESET = 54 // errno.h:111:1:
|
||||
EDEADLK = 11 // errno.h:52:1:
|
||||
EDESTADDRREQ = 39 // errno.h:90:1:
|
||||
EDOM = 33 // errno.h:79:1:
|
||||
EDQUOT = 69 // errno.h:137:1:
|
||||
EEXIST = 17 // errno.h:61:1:
|
||||
EFAULT = 14 // errno.h:56:1:
|
||||
EFBIG = 27 // errno.h:71:1:
|
||||
EFTYPE = 79 // errno.h:154:1:
|
||||
EHOSTDOWN = 64 // errno.h:127:1:
|
||||
EHOSTUNREACH = 65 // errno.h:129:1:
|
||||
EIDRM = 89 // errno.h:167:1:
|
||||
EILSEQ = 84 // errno.h:160:1:
|
||||
EINPROGRESS = 36 // errno.h:85:1:
|
||||
EINTR = 4 // errno.h:45:1:
|
||||
EINVAL = 22 // errno.h:66:1:
|
||||
EIO = 5 // errno.h:46:1:
|
||||
EIPSEC = 82 // errno.h:157:1:
|
||||
EISCONN = 56 // errno.h:113:1:
|
||||
EISDIR = 21 // errno.h:65:1:
|
||||
ELAST = 95 // errno.h:175:1:
|
||||
ELOOP = 62 // errno.h:122:1:
|
||||
EMEDIUMTYPE = 86 // errno.h:163:1:
|
||||
EMFILE = 24 // errno.h:68:1:
|
||||
EMLINK = 31 // errno.h:75:1:
|
||||
EMSGSIZE = 40 // errno.h:91:1:
|
||||
ENAMETOOLONG = 63 // errno.h:123:1:
|
||||
ENEEDAUTH = 81 // errno.h:156:1:
|
||||
ENETDOWN = 50 // errno.h:107:1:
|
||||
ENETRESET = 52 // errno.h:109:1:
|
||||
ENETUNREACH = 51 // errno.h:108:1:
|
||||
ENFILE = 23 // errno.h:67:1:
|
||||
ENOATTR = 83 // errno.h:158:1:
|
||||
ENOBUFS = 55 // errno.h:112:1:
|
||||
ENODEV = 19 // errno.h:63:1:
|
||||
ENOENT = 2 // errno.h:43:1:
|
||||
ENOEXEC = 8 // errno.h:49:1:
|
||||
ENOLCK = 77 // errno.h:150:1:
|
||||
ENOMEDIUM = 85 // errno.h:162:1:
|
||||
ENOMEM = 12 // errno.h:54:1:
|
||||
ENOMSG = 90 // errno.h:168:1:
|
||||
ENOPROTOOPT = 42 // errno.h:93:1:
|
||||
ENOSPC = 28 // errno.h:72:1:
|
||||
ENOSYS = 78 // errno.h:151:1:
|
||||
ENOTBLK = 15 // errno.h:58:1:
|
||||
ENOTCONN = 57 // errno.h:114:1:
|
||||
ENOTDIR = 20 // errno.h:64:1:
|
||||
ENOTEMPTY = 66 // errno.h:130:1:
|
||||
ENOTRECOVERABLE = 93 // errno.h:171:1:
|
||||
ENOTSOCK = 38 // errno.h:89:1:
|
||||
ENOTSUP = 91 // errno.h:169:1:
|
||||
ENOTTY = 25 // errno.h:69:1:
|
||||
ENXIO = 6 // errno.h:47:1:
|
||||
EOPNOTSUPP = 45 // errno.h:98:1:
|
||||
EOVERFLOW = 87 // errno.h:165:1:
|
||||
EOWNERDEAD = 94 // errno.h:172:1:
|
||||
EPERM = 1 // errno.h:42:1:
|
||||
EPFNOSUPPORT = 46 // errno.h:100:1:
|
||||
EPIPE = 32 // errno.h:76:1:
|
||||
EPROCLIM = 67 // errno.h:134:1:
|
||||
EPROCUNAVAIL = 76 // errno.h:147:1:
|
||||
EPROGMISMATCH = 75 // errno.h:146:1:
|
||||
EPROGUNAVAIL = 74 // errno.h:145:1:
|
||||
EPROTO = 95 // errno.h:173:1:
|
||||
EPROTONOSUPPORT = 43 // errno.h:94:1:
|
||||
EPROTOTYPE = 41 // errno.h:92:1:
|
||||
ERANGE = 34 // errno.h:80:1:
|
||||
EREMOTE = 71 // errno.h:142:1:
|
||||
EROFS = 30 // errno.h:74:1:
|
||||
ERPCMISMATCH = 73 // errno.h:144:1:
|
||||
ESHUTDOWN = 58 // errno.h:116:1:
|
||||
ESOCKTNOSUPPORT = 44 // errno.h:96:1:
|
||||
ESPIPE = 29 // errno.h:73:1:
|
||||
ESRCH = 3 // errno.h:44:1:
|
||||
ESTALE = 70 // errno.h:140:1:
|
||||
ETIMEDOUT = 60 // errno.h:119:1:
|
||||
ETOOMANYREFS = 59 // errno.h:117:1:
|
||||
ETXTBSY = 26 // errno.h:70:1:
|
||||
EUSERS = 68 // errno.h:135:1:
|
||||
EWOULDBLOCK = 35 // errno.h:84:1:
|
||||
EXDEV = 18 // errno.h:62:1:
|
||||
X_ERRNO_H_ = 0 // errno.h:40:1:
|
||||
X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
|
||||
X_ILP32 = 1 // <predefined>:1:1:
|
||||
X_MACHINE_CDEFS_H_ = 0 // cdefs.h:9:1:
|
||||
X_SYS_CDEFS_H_ = 0 // cdefs.h:39:1:
|
||||
I386 = 1 // <predefined>:339:1:
|
||||
Unix = 1 // <predefined>:340:1:
|
||||
)
|
||||
|
||||
type Ptrdiff_t = int32 /* <builtin>:3:26 */
|
||||
|
||||
type Size_t = uint32 /* <builtin>:9:23 */
|
||||
|
||||
type Wchar_t = int32 /* <builtin>:15:24 */
|
||||
|
||||
type X__builtin_va_list = uintptr /* <builtin>:46:14 */
|
||||
type X__float128 = float64 /* <builtin>:47:21 */
|
||||
|
||||
var _ int8 /* gen.c:2:13: */
|
||||
2
vendor/modernc.org/libc/errno/errno_openbsd_amd64.go
generated
vendored
2
vendor/modernc.org/libc/errno/errno_openbsd_amd64.go
generated
vendored
@@ -118,7 +118,7 @@ const (
|
||||
X_MACHINE_CDEFS_H_ = 0 // cdefs.h:9:1:
|
||||
X_RET_PROTECTOR = 1 // <predefined>:2:1:
|
||||
X_SYS_CDEFS_H_ = 0 // cdefs.h:39:1:
|
||||
Unix = 1 // <predefined>:340:1:
|
||||
Unix = 1 // <predefined>:344:1:
|
||||
)
|
||||
|
||||
type Ptrdiff_t = int64 /* <builtin>:3:26 */
|
||||
|
||||
142
vendor/modernc.org/libc/errno/errno_openbsd_arm64.go
generated
vendored
Normal file
142
vendor/modernc.org/libc/errno/errno_openbsd_arm64.go
generated
vendored
Normal file
@@ -0,0 +1,142 @@
|
||||
// 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_openbsd_arm64.go -pkgname errno', DO NOT EDIT.
|
||||
|
||||
package errno
|
||||
|
||||
import (
|
||||
"math"
|
||||
"reflect"
|
||||
"sync/atomic"
|
||||
"unsafe"
|
||||
)
|
||||
|
||||
var _ = math.Pi
|
||||
var _ reflect.Kind
|
||||
var _ atomic.Value
|
||||
var _ unsafe.Pointer
|
||||
|
||||
const (
|
||||
E2BIG = 7 // errno.h:48:1:
|
||||
EACCES = 13 // errno.h:55:1:
|
||||
EADDRINUSE = 48 // errno.h:103:1:
|
||||
EADDRNOTAVAIL = 49 // errno.h:104:1:
|
||||
EAFNOSUPPORT = 47 // errno.h:102:1:
|
||||
EAGAIN = 35 // errno.h:83:1:
|
||||
EALREADY = 37 // errno.h:86:1:
|
||||
EAUTH = 80 // errno.h:155:1:
|
||||
EBADF = 9 // errno.h:50:1:
|
||||
EBADMSG = 92 // errno.h:170:1:
|
||||
EBADRPC = 72 // errno.h:143:1:
|
||||
EBUSY = 16 // errno.h:60:1:
|
||||
ECANCELED = 88 // errno.h:166:1:
|
||||
ECHILD = 10 // errno.h:51:1:
|
||||
ECONNABORTED = 53 // errno.h:110:1:
|
||||
ECONNREFUSED = 61 // errno.h:120:1:
|
||||
ECONNRESET = 54 // errno.h:111:1:
|
||||
EDEADLK = 11 // errno.h:52:1:
|
||||
EDESTADDRREQ = 39 // errno.h:90:1:
|
||||
EDOM = 33 // errno.h:79:1:
|
||||
EDQUOT = 69 // errno.h:137:1:
|
||||
EEXIST = 17 // errno.h:61:1:
|
||||
EFAULT = 14 // errno.h:56:1:
|
||||
EFBIG = 27 // errno.h:71:1:
|
||||
EFTYPE = 79 // errno.h:154:1:
|
||||
EHOSTDOWN = 64 // errno.h:127:1:
|
||||
EHOSTUNREACH = 65 // errno.h:129:1:
|
||||
EIDRM = 89 // errno.h:167:1:
|
||||
EILSEQ = 84 // errno.h:160:1:
|
||||
EINPROGRESS = 36 // errno.h:85:1:
|
||||
EINTR = 4 // errno.h:45:1:
|
||||
EINVAL = 22 // errno.h:66:1:
|
||||
EIO = 5 // errno.h:46:1:
|
||||
EIPSEC = 82 // errno.h:157:1:
|
||||
EISCONN = 56 // errno.h:113:1:
|
||||
EISDIR = 21 // errno.h:65:1:
|
||||
ELAST = 95 // errno.h:175:1:
|
||||
ELOOP = 62 // errno.h:122:1:
|
||||
EMEDIUMTYPE = 86 // errno.h:163:1:
|
||||
EMFILE = 24 // errno.h:68:1:
|
||||
EMLINK = 31 // errno.h:75:1:
|
||||
EMSGSIZE = 40 // errno.h:91:1:
|
||||
ENAMETOOLONG = 63 // errno.h:123:1:
|
||||
ENEEDAUTH = 81 // errno.h:156:1:
|
||||
ENETDOWN = 50 // errno.h:107:1:
|
||||
ENETRESET = 52 // errno.h:109:1:
|
||||
ENETUNREACH = 51 // errno.h:108:1:
|
||||
ENFILE = 23 // errno.h:67:1:
|
||||
ENOATTR = 83 // errno.h:158:1:
|
||||
ENOBUFS = 55 // errno.h:112:1:
|
||||
ENODEV = 19 // errno.h:63:1:
|
||||
ENOENT = 2 // errno.h:43:1:
|
||||
ENOEXEC = 8 // errno.h:49:1:
|
||||
ENOLCK = 77 // errno.h:150:1:
|
||||
ENOMEDIUM = 85 // errno.h:162:1:
|
||||
ENOMEM = 12 // errno.h:54:1:
|
||||
ENOMSG = 90 // errno.h:168:1:
|
||||
ENOPROTOOPT = 42 // errno.h:93:1:
|
||||
ENOSPC = 28 // errno.h:72:1:
|
||||
ENOSYS = 78 // errno.h:151:1:
|
||||
ENOTBLK = 15 // errno.h:58:1:
|
||||
ENOTCONN = 57 // errno.h:114:1:
|
||||
ENOTDIR = 20 // errno.h:64:1:
|
||||
ENOTEMPTY = 66 // errno.h:130:1:
|
||||
ENOTRECOVERABLE = 93 // errno.h:171:1:
|
||||
ENOTSOCK = 38 // errno.h:89:1:
|
||||
ENOTSUP = 91 // errno.h:169:1:
|
||||
ENOTTY = 25 // errno.h:69:1:
|
||||
ENXIO = 6 // errno.h:47:1:
|
||||
EOPNOTSUPP = 45 // errno.h:98:1:
|
||||
EOVERFLOW = 87 // errno.h:165:1:
|
||||
EOWNERDEAD = 94 // errno.h:172:1:
|
||||
EPERM = 1 // errno.h:42:1:
|
||||
EPFNOSUPPORT = 46 // errno.h:100:1:
|
||||
EPIPE = 32 // errno.h:76:1:
|
||||
EPROCLIM = 67 // errno.h:134:1:
|
||||
EPROCUNAVAIL = 76 // errno.h:147:1:
|
||||
EPROGMISMATCH = 75 // errno.h:146:1:
|
||||
EPROGUNAVAIL = 74 // errno.h:145:1:
|
||||
EPROTO = 95 // errno.h:173:1:
|
||||
EPROTONOSUPPORT = 43 // errno.h:94:1:
|
||||
EPROTOTYPE = 41 // errno.h:92:1:
|
||||
ERANGE = 34 // errno.h:80:1:
|
||||
EREMOTE = 71 // errno.h:142:1:
|
||||
EROFS = 30 // errno.h:74:1:
|
||||
ERPCMISMATCH = 73 // errno.h:144:1:
|
||||
ESHUTDOWN = 58 // errno.h:116:1:
|
||||
ESOCKTNOSUPPORT = 44 // errno.h:96:1:
|
||||
ESPIPE = 29 // errno.h:73:1:
|
||||
ESRCH = 3 // errno.h:44:1:
|
||||
ESTALE = 70 // errno.h:140:1:
|
||||
ETIMEDOUT = 60 // errno.h:119:1:
|
||||
ETOOMANYREFS = 59 // errno.h:117:1:
|
||||
ETXTBSY = 26 // errno.h:70:1:
|
||||
EUSERS = 68 // errno.h:135:1:
|
||||
EWOULDBLOCK = 35 // errno.h:84:1:
|
||||
EXDEV = 18 // errno.h:62:1:
|
||||
X_ERRNO_H_ = 0 // errno.h:40:1:
|
||||
X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
|
||||
X_LP64 = 1 // <predefined>:1:1:
|
||||
X_MACHINE_CDEFS_H_ = 0 // cdefs.h:4:1:
|
||||
X_RET_PROTECTOR = 1 // <predefined>:2:1:
|
||||
X_SYS_CDEFS_H_ = 0 // cdefs.h:39:1:
|
||||
Unix = 1 // <predefined>:360:1:
|
||||
)
|
||||
|
||||
type Ptrdiff_t = int64 /* <builtin>:3:26 */
|
||||
|
||||
type Size_t = uint64 /* <builtin>:9:23 */
|
||||
|
||||
type Wchar_t = int32 /* <builtin>:15:24 */
|
||||
|
||||
type X__int128_t = struct {
|
||||
Flo int64
|
||||
Fhi int64
|
||||
} /* <builtin>:21:43 */ // must match modernc.org/mathutil.Int128
|
||||
type X__uint128_t = struct {
|
||||
Flo uint64
|
||||
Fhi uint64
|
||||
} /* <builtin>:22:44 */ // must match modernc.org/mathutil.Int128
|
||||
|
||||
type X__builtin_va_list = uintptr /* <builtin>:46:14 */
|
||||
type X__float128 = float64 /* <builtin>:47:21 */
|
||||
|
||||
var _ int8 /* gen.c:2:13: */
|
||||
379
vendor/modernc.org/libc/errno/errno_windows_386.go
generated
vendored
379
vendor/modernc.org/libc/errno/errno_windows_386.go
generated
vendored
@@ -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_windows_386.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_windows_386.go -pkgname errno', DO NOT EDIT.
|
||||
|
||||
package errno
|
||||
|
||||
@@ -15,168 +15,168 @@ var _ atomic.Value
|
||||
var _ unsafe.Pointer
|
||||
|
||||
const (
|
||||
DUMMYSTRUCTNAME = 0
|
||||
DUMMYSTRUCTNAME1 = 0
|
||||
DUMMYSTRUCTNAME2 = 0
|
||||
DUMMYSTRUCTNAME3 = 0
|
||||
DUMMYSTRUCTNAME4 = 0
|
||||
DUMMYSTRUCTNAME5 = 0
|
||||
DUMMYUNIONNAME = 0
|
||||
DUMMYUNIONNAME1 = 0
|
||||
DUMMYUNIONNAME2 = 0
|
||||
DUMMYUNIONNAME3 = 0
|
||||
DUMMYUNIONNAME4 = 0
|
||||
DUMMYUNIONNAME5 = 0
|
||||
DUMMYUNIONNAME6 = 0
|
||||
DUMMYUNIONNAME7 = 0
|
||||
DUMMYUNIONNAME8 = 0
|
||||
DUMMYUNIONNAME9 = 0
|
||||
E2BIG = 7
|
||||
EACCES = 13
|
||||
EADDRINUSE = 100
|
||||
EADDRNOTAVAIL = 101
|
||||
EAFNOSUPPORT = 102
|
||||
EAGAIN = 11
|
||||
EALREADY = 103
|
||||
EBADF = 9
|
||||
EBADMSG = 104
|
||||
EBUSY = 16
|
||||
ECANCELED = 105
|
||||
ECHILD = 10
|
||||
ECONNABORTED = 106
|
||||
ECONNREFUSED = 107
|
||||
ECONNRESET = 108
|
||||
EDEADLK = 36
|
||||
EDEADLOCK = 36
|
||||
EDESTADDRREQ = 109
|
||||
EDOM = 33
|
||||
EEXIST = 17
|
||||
EFAULT = 14
|
||||
EFBIG = 27
|
||||
EHOSTUNREACH = 110
|
||||
EIDRM = 111
|
||||
EILSEQ = 42
|
||||
EINPROGRESS = 112
|
||||
EINTR = 4
|
||||
EINVAL = 22
|
||||
EIO = 5
|
||||
EISCONN = 113
|
||||
EISDIR = 21
|
||||
ELOOP = 114
|
||||
EMFILE = 24
|
||||
EMLINK = 31
|
||||
EMSGSIZE = 115
|
||||
ENAMETOOLONG = 38
|
||||
ENETDOWN = 116
|
||||
ENETRESET = 117
|
||||
ENETUNREACH = 118
|
||||
ENFILE = 23
|
||||
ENOBUFS = 119
|
||||
ENODATA = 120
|
||||
ENODEV = 19
|
||||
ENOENT = 2
|
||||
ENOEXEC = 8
|
||||
ENOFILE = 2
|
||||
ENOLCK = 39
|
||||
ENOLINK = 121
|
||||
ENOMEM = 12
|
||||
ENOMSG = 122
|
||||
ENOPROTOOPT = 123
|
||||
ENOSPC = 28
|
||||
ENOSR = 124
|
||||
ENOSTR = 125
|
||||
ENOSYS = 40
|
||||
ENOTCONN = 126
|
||||
ENOTDIR = 20
|
||||
ENOTEMPTY = 41
|
||||
ENOTRECOVERABLE = 127
|
||||
ENOTSOCK = 128
|
||||
ENOTSUP = 129
|
||||
ENOTTY = 25
|
||||
ENXIO = 6
|
||||
EOPNOTSUPP = 130
|
||||
EOVERFLOW = 132
|
||||
EOWNERDEAD = 133
|
||||
EPERM = 1
|
||||
EPIPE = 32
|
||||
EPROTO = 134
|
||||
EPROTONOSUPPORT = 135
|
||||
EPROTOTYPE = 136
|
||||
ERANGE = 34
|
||||
EROFS = 30
|
||||
ESPIPE = 29
|
||||
ESRCH = 3
|
||||
ETIME = 137
|
||||
ETIMEDOUT = 138
|
||||
ETXTBSY = 139
|
||||
EWOULDBLOCK = 140
|
||||
EXDEV = 18
|
||||
MINGW_DDK_H = 0
|
||||
MINGW_DDRAW_VERSION = 7
|
||||
MINGW_HAS_DDK_H = 1
|
||||
MINGW_HAS_DDRAW_H = 1
|
||||
MINGW_HAS_SECURE_API = 1
|
||||
MINGW_SDK_INIT = 0
|
||||
STRUNCATE = 80
|
||||
UNALIGNED = 0
|
||||
USE___UUIDOF = 0
|
||||
WIN32 = 1
|
||||
WINNT = 1
|
||||
X_AGLOBAL = 0
|
||||
X_ANONYMOUS_STRUCT = 0
|
||||
X_ANONYMOUS_UNION = 0
|
||||
X_ARGMAX = 100
|
||||
X_CONST_RETURN = 0
|
||||
X_CRTNOALIAS = 0
|
||||
X_CRTRESTRICT = 0
|
||||
X_CRT_ALTERNATIVE_IMPORTED = 0
|
||||
X_CRT_ERRNO_DEFINED = 0
|
||||
X_CRT_MANAGED_HEAP_DEPRECATE = 0
|
||||
X_CRT_PACKING = 8
|
||||
X_CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES = 0
|
||||
X_CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES_MEMORY = 0
|
||||
X_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES = 0
|
||||
X_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_COUNT = 0
|
||||
X_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_MEMORY = 0
|
||||
X_DLL = 0
|
||||
X_ERRCODE_DEFINED = 0
|
||||
X_FILE_OFFSET_BITS = 64
|
||||
X_INC_CRTDEFS = 0
|
||||
X_INC_CRTDEFS_MACRO = 0
|
||||
X_INC_ERRNO = 0
|
||||
X_INC_MINGW_SECAPI = 0
|
||||
X_INC_VADEFS = 0
|
||||
X_INC__MINGW_H = 0
|
||||
X_INT128_DEFINED = 0
|
||||
X_INTEGRAL_MAX_BITS = 64
|
||||
X_INTPTR_T_DEFINED = 0
|
||||
X_MT = 0
|
||||
X_M_IX86 = 600
|
||||
X_PGLOBAL = 0
|
||||
X_PTRDIFF_T_ = 0
|
||||
X_PTRDIFF_T_DEFINED = 0
|
||||
X_REENTRANT = 1
|
||||
X_RSIZE_T_DEFINED = 0
|
||||
X_SECURECRT_ERRCODE_VALUES_DEFINED = 0
|
||||
X_SECURECRT_FILL_BUFFER_PATTERN = 0xFD
|
||||
X_SIZE_T_DEFINED = 0
|
||||
X_SSIZE_T_DEFINED = 0
|
||||
X_TAGLC_ID_DEFINED = 0
|
||||
X_THREADLOCALEINFO = 0
|
||||
X_TIME32_T_DEFINED = 0
|
||||
X_TIME64_T_DEFINED = 0
|
||||
X_TIME_T_DEFINED = 0
|
||||
X_UINTPTR_T_DEFINED = 0
|
||||
X_USE_32BIT_TIME_T = 0
|
||||
X_VA_LIST_DEFINED = 0
|
||||
X_W64 = 0
|
||||
X_WCHAR_T_DEFINED = 0
|
||||
X_WCTYPE_T_DEFINED = 0
|
||||
X_WIN32 = 1
|
||||
X_WIN32_WINNT = 0x502
|
||||
X_WINT_T = 0
|
||||
X_X86_ = 1
|
||||
I386 = 1
|
||||
DUMMYSTRUCTNAME = 0 // _mingw.h:519:1:
|
||||
DUMMYSTRUCTNAME1 = 0 // _mingw.h:520:1:
|
||||
DUMMYSTRUCTNAME2 = 0 // _mingw.h:521:1:
|
||||
DUMMYSTRUCTNAME3 = 0 // _mingw.h:522:1:
|
||||
DUMMYSTRUCTNAME4 = 0 // _mingw.h:523:1:
|
||||
DUMMYSTRUCTNAME5 = 0 // _mingw.h:524:1:
|
||||
DUMMYUNIONNAME = 0 // _mingw.h:497:1:
|
||||
DUMMYUNIONNAME1 = 0 // _mingw.h:498:1:
|
||||
DUMMYUNIONNAME2 = 0 // _mingw.h:499:1:
|
||||
DUMMYUNIONNAME3 = 0 // _mingw.h:500:1:
|
||||
DUMMYUNIONNAME4 = 0 // _mingw.h:501:1:
|
||||
DUMMYUNIONNAME5 = 0 // _mingw.h:502:1:
|
||||
DUMMYUNIONNAME6 = 0 // _mingw.h:503:1:
|
||||
DUMMYUNIONNAME7 = 0 // _mingw.h:504:1:
|
||||
DUMMYUNIONNAME8 = 0 // _mingw.h:505:1:
|
||||
DUMMYUNIONNAME9 = 0 // _mingw.h:506:1:
|
||||
E2BIG = 7 // errno.h:31:1:
|
||||
EACCES = 13 // errno.h:37:1:
|
||||
EADDRINUSE = 100 // errno.h:86:1:
|
||||
EADDRNOTAVAIL = 101 // errno.h:90:1:
|
||||
EAFNOSUPPORT = 102 // errno.h:82:1:
|
||||
EAGAIN = 11 // errno.h:35:1:
|
||||
EALREADY = 103 // errno.h:106:1:
|
||||
EBADF = 9 // errno.h:33:1:
|
||||
EBADMSG = 104 // errno.h:182:1:
|
||||
EBUSY = 16 // errno.h:39:1:
|
||||
ECANCELED = 105 // errno.h:154:1:
|
||||
ECHILD = 10 // errno.h:34:1:
|
||||
ECONNABORTED = 106 // errno.h:102:1:
|
||||
ECONNREFUSED = 107 // errno.h:110:1:
|
||||
ECONNRESET = 108 // errno.h:114:1:
|
||||
EDEADLK = 36 // errno.h:55:1:
|
||||
EDEADLOCK = 36 // errno.h:71:1:
|
||||
EDESTADDRREQ = 109 // errno.h:118:1:
|
||||
EDOM = 33 // errno.h:54:1:
|
||||
EEXIST = 17 // errno.h:40:1:
|
||||
EFAULT = 14 // errno.h:38:1:
|
||||
EFBIG = 27 // errno.h:48:1:
|
||||
EHOSTUNREACH = 110 // errno.h:122:1:
|
||||
EIDRM = 111 // errno.h:186:1:
|
||||
EILSEQ = 42 // errno.h:66:1:
|
||||
EINPROGRESS = 112 // errno.h:158:1:
|
||||
EINTR = 4 // errno.h:28:1:
|
||||
EINVAL = 22 // errno.h:64:1:
|
||||
EIO = 5 // errno.h:29:1:
|
||||
EISCONN = 113 // errno.h:94:1:
|
||||
EISDIR = 21 // errno.h:44:1:
|
||||
ELOOP = 114 // errno.h:227:1:
|
||||
EMFILE = 24 // errno.h:46:1:
|
||||
EMLINK = 31 // errno.h:52:1:
|
||||
EMSGSIZE = 115 // errno.h:126:1:
|
||||
ENAMETOOLONG = 38 // errno.h:56:1:
|
||||
ENETDOWN = 116 // errno.h:130:1:
|
||||
ENETRESET = 117 // errno.h:134:1:
|
||||
ENETUNREACH = 118 // errno.h:138:1:
|
||||
ENFILE = 23 // errno.h:45:1:
|
||||
ENOBUFS = 119 // errno.h:98:1:
|
||||
ENODATA = 120 // errno.h:190:1:
|
||||
ENODEV = 19 // errno.h:42:1:
|
||||
ENOENT = 2 // errno.h:25:1:
|
||||
ENOEXEC = 8 // errno.h:32:1:
|
||||
ENOFILE = 2 // errno.h:26:1:
|
||||
ENOLCK = 39 // errno.h:57:1:
|
||||
ENOLINK = 121 // errno.h:194:1:
|
||||
ENOMEM = 12 // errno.h:36:1:
|
||||
ENOMSG = 122 // errno.h:198:1:
|
||||
ENOPROTOOPT = 123 // errno.h:142:1:
|
||||
ENOSPC = 28 // errno.h:49:1:
|
||||
ENOSR = 124 // errno.h:202:1:
|
||||
ENOSTR = 125 // errno.h:206:1:
|
||||
ENOSYS = 40 // errno.h:58:1:
|
||||
ENOTCONN = 126 // errno.h:150:1:
|
||||
ENOTDIR = 20 // errno.h:43:1:
|
||||
ENOTEMPTY = 41 // errno.h:59:1:
|
||||
ENOTRECOVERABLE = 127 // errno.h:210:1:
|
||||
ENOTSOCK = 128 // errno.h:146:1:
|
||||
ENOTSUP = 129 // errno.h:76:1:
|
||||
ENOTTY = 25 // errno.h:47:1:
|
||||
ENXIO = 6 // errno.h:30:1:
|
||||
EOPNOTSUPP = 130 // errno.h:162:1:
|
||||
EOVERFLOW = 132 // errno.h:235:1:
|
||||
EOWNERDEAD = 133 // errno.h:170:1:
|
||||
EPERM = 1 // errno.h:24:1:
|
||||
EPIPE = 32 // errno.h:53:1:
|
||||
EPROTO = 134 // errno.h:174:1:
|
||||
EPROTONOSUPPORT = 135 // errno.h:178:1:
|
||||
EPROTOTYPE = 136 // errno.h:231:1:
|
||||
ERANGE = 34 // errno.h:65:1:
|
||||
EROFS = 30 // errno.h:51:1:
|
||||
ESPIPE = 29 // errno.h:50:1:
|
||||
ESRCH = 3 // errno.h:27:1:
|
||||
ETIME = 137 // errno.h:214:1:
|
||||
ETIMEDOUT = 138 // errno.h:223:1:
|
||||
ETXTBSY = 139 // errno.h:218:1:
|
||||
EWOULDBLOCK = 140 // errno.h:166:1:
|
||||
EXDEV = 18 // errno.h:41:1:
|
||||
MINGW_DDK_H = 0 // _mingw_ddk.h:2:1:
|
||||
MINGW_HAS_DDK_H = 1 // _mingw_ddk.h:4:1:
|
||||
MINGW_HAS_SECURE_API = 1 // _mingw.h:602:1:
|
||||
MINGW_SDK_INIT = 0 // _mingw.h:598:1:
|
||||
STRUNCATE = 80 // errno.h:67:1:
|
||||
UNALIGNED = 0 // _mingw.h:384:1:
|
||||
USE___UUIDOF = 0 // _mingw.h:77:1:
|
||||
WIN32 = 1 // <predefined>:258:1:
|
||||
WINNT = 1 // <predefined>:306:1:
|
||||
X_AGLOBAL = 0 // _mingw.h:346:1:
|
||||
X_ANONYMOUS_STRUCT = 0 // _mingw.h:474:1:
|
||||
X_ANONYMOUS_UNION = 0 // _mingw.h:473:1:
|
||||
X_ARGMAX = 100 // _mingw.h:402:1:
|
||||
X_CONST_RETURN = 0 // _mingw.h:377:1:
|
||||
X_CRTNOALIAS = 0 // corecrt.h:29:1:
|
||||
X_CRTRESTRICT = 0 // corecrt.h:33:1:
|
||||
X_CRT_ALTERNATIVE_IMPORTED = 0 // _mingw.h:313:1:
|
||||
X_CRT_ERRNO_DEFINED = 0 // errno.h:16:1:
|
||||
X_CRT_MANAGED_HEAP_DEPRECATE = 0 // _mingw.h:361:1:
|
||||
X_CRT_PACKING = 8 // corecrt.h:14:1:
|
||||
X_CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES = 0 // _mingw_secapi.h:34:1:
|
||||
X_CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES_MEMORY = 0 // _mingw_secapi.h:35:1:
|
||||
X_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES = 0 // _mingw_secapi.h:36:1:
|
||||
X_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_COUNT = 0 // _mingw_secapi.h:37:1:
|
||||
X_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_MEMORY = 0 // _mingw_secapi.h:38:1:
|
||||
X_CRT_USE_WINAPI_FAMILY_DESKTOP_APP = 0 // corecrt.h:501:1:
|
||||
X_DLL = 0 // _mingw.h:326:1:
|
||||
X_ERRCODE_DEFINED = 0 // corecrt.h:117:1:
|
||||
X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
|
||||
X_ILP32 = 1 // <predefined>:211:1:
|
||||
X_INC_CORECRT = 0 // corecrt.h:8:1:
|
||||
X_INC_CRTDEFS = 0 // crtdefs.h:8:1:
|
||||
X_INC_CRTDEFS_MACRO = 0 // _mingw_mac.h:8:1:
|
||||
X_INC_ERRNO = 0 // errno.h:7:1:
|
||||
X_INC_MINGW_SECAPI = 0 // _mingw_secapi.h:8:1:
|
||||
X_INC_VADEFS = 0 // vadefs.h:7:1:
|
||||
X_INC__MINGW_H = 0 // _mingw.h:8:1:
|
||||
X_INT128_DEFINED = 0 // _mingw.h:237:1:
|
||||
X_INTEGRAL_MAX_BITS = 64 // <predefined>:320:1:
|
||||
X_INTPTR_T_DEFINED = 0 // corecrt.h:62:1:
|
||||
X_MT = 0 // _mingw.h:330:1:
|
||||
X_M_IX86 = 600 // _mingw_mac.h:54:1:
|
||||
X_PGLOBAL = 0 // _mingw.h:342:1:
|
||||
X_PTRDIFF_T_ = 0 // corecrt.h:90:1:
|
||||
X_PTRDIFF_T_DEFINED = 0 // corecrt.h:88:1:
|
||||
X_RSIZE_T_DEFINED = 0 // corecrt.h:58:1:
|
||||
X_SECURECRT_ERRCODE_VALUES_DEFINED = 0 // errno.h:63:1:
|
||||
X_SECURECRT_FILL_BUFFER_PATTERN = 0xFD // _mingw.h:349:1:
|
||||
X_SIZE_T_DEFINED = 0 // corecrt.h:37:1:
|
||||
X_SSIZE_T_DEFINED = 0 // corecrt.h:47:1:
|
||||
X_TAGLC_ID_DEFINED = 0 // corecrt.h:447:1:
|
||||
X_THREADLOCALEINFO = 0 // corecrt.h:456:1:
|
||||
X_TIME32_T_DEFINED = 0 // corecrt.h:122:1:
|
||||
X_TIME64_T_DEFINED = 0 // corecrt.h:127:1:
|
||||
X_TIME_T_DEFINED = 0 // corecrt.h:139:1:
|
||||
X_UINTPTR_T_DEFINED = 0 // corecrt.h:75:1:
|
||||
X_USE_32BIT_TIME_T = 0 // _mingw.h:372:1:
|
||||
X_VA_LIST_DEFINED = 0 // <builtin>:55:1:
|
||||
X_W64 = 0 // _mingw.h:296:1:
|
||||
X_WCHAR_T_DEFINED = 0 // corecrt.h:101:1:
|
||||
X_WCTYPE_T_DEFINED = 0 // corecrt.h:108:1:
|
||||
X_WIN32 = 1 // <predefined>:164:1:
|
||||
X_WIN32_WINNT = 0x502 // _mingw.h:233:1:
|
||||
X_WINT_T = 0 // corecrt.h:110:1:
|
||||
X_X86_ = 1 // <predefined>:169:1:
|
||||
I386 = 1 // <predefined>:171:1:
|
||||
)
|
||||
|
||||
type Ptrdiff_t = int32 /* <builtin>:3:26 */
|
||||
@@ -210,6 +210,11 @@ type Va_list = X__builtin_va_list /* <builtin>:50:27 */
|
||||
// This file is part of the mingw-w64 runtime package.
|
||||
// No warranty is given; refer to the file DISCLAIMER.PD within this package.
|
||||
|
||||
// *
|
||||
// This file has no copyright assigned and is placed in the Public Domain.
|
||||
// This file is part of the mingw-w64 runtime package.
|
||||
// No warranty is given; refer to the file DISCLAIMER.PD within this package.
|
||||
|
||||
// This macro holds an monotonic increasing value, which indicates
|
||||
// a specific fix/patch is present on trunk. This value isn't related to
|
||||
// minor/major version-macros. It is increased on demand, if a big
|
||||
@@ -230,6 +235,12 @@ type Va_list = X__builtin_va_list /* <builtin>:50:27 */
|
||||
// MinGW-w64 has some additional C99 printf/scanf feature support.
|
||||
// So we add some helper macros to ease recognition of them.
|
||||
|
||||
// If _FORTIFY_SOURCE is enabled, some inline functions may use
|
||||
// __builtin_va_arg_pack(). GCC may report an error if the address
|
||||
// of such a function is used. Set _FORTIFY_VA_ARG=0 in this case.
|
||||
|
||||
// Enable workaround for ABI incompatibility on affected platforms
|
||||
|
||||
// *
|
||||
// This file has no copyright assigned and is placed in the Public Domain.
|
||||
// This file is part of the mingw-w64 runtime package.
|
||||
@@ -270,26 +281,28 @@ type Va_list = X__builtin_va_list /* <builtin>:50:27 */
|
||||
// This file is part of the mingw-w64 runtime package.
|
||||
// No warranty is given; refer to the file DISCLAIMER.PD within this package.
|
||||
|
||||
// for backward compatibility
|
||||
|
||||
type X__gnuc_va_list = X__builtin_va_list /* vadefs.h:24:29 */
|
||||
|
||||
type Ssize_t = int32 /* crtdefs.h:47:13 */
|
||||
type Ssize_t = int32 /* corecrt.h:52:13 */
|
||||
|
||||
type Rsize_t = Size_t /* crtdefs.h:52:16 */
|
||||
type Rsize_t = Size_t /* corecrt.h:57:16 */
|
||||
|
||||
type Intptr_t = int32 /* crtdefs.h:64:13 */
|
||||
type Intptr_t = int32 /* corecrt.h:69:13 */
|
||||
|
||||
type Uintptr_t = uint32 /* crtdefs.h:77:22 */
|
||||
type Uintptr_t = uint32 /* corecrt.h:82:22 */
|
||||
|
||||
type Wint_t = uint16 /* crtdefs.h:106:24 */
|
||||
type Wctype_t = uint16 /* crtdefs.h:107:24 */
|
||||
type Wint_t = uint16 /* corecrt.h:111:24 */
|
||||
type Wctype_t = uint16 /* corecrt.h:112:24 */
|
||||
|
||||
type Errno_t = int32 /* crtdefs.h:113:13 */
|
||||
type Errno_t = int32 /* corecrt.h:118:13 */
|
||||
|
||||
type X__time32_t = int32 /* crtdefs.h:118:14 */
|
||||
type X__time32_t = int32 /* corecrt.h:123:14 */
|
||||
|
||||
type X__time64_t = int64 /* crtdefs.h:123:35 */
|
||||
type X__time64_t = int64 /* corecrt.h:128:35 */
|
||||
|
||||
type Time_t = X__time32_t /* crtdefs.h:136:20 */
|
||||
type Time_t = X__time32_t /* corecrt.h:141:20 */
|
||||
|
||||
type Threadlocaleinfostruct = struct {
|
||||
Frefcount int32
|
||||
@@ -315,29 +328,29 @@ type Threadlocaleinfostruct = struct {
|
||||
Fpclmap uintptr
|
||||
Fpcumap uintptr
|
||||
Flc_time_curr uintptr
|
||||
} /* crtdefs.h:422:1 */
|
||||
} /* corecrt.h:435:1 */
|
||||
|
||||
type Pthreadlocinfo = uintptr /* crtdefs.h:424:39 */
|
||||
type Pthreadmbcinfo = uintptr /* crtdefs.h:425:36 */
|
||||
type Pthreadlocinfo = uintptr /* corecrt.h:437:39 */
|
||||
type Pthreadmbcinfo = uintptr /* corecrt.h:438:36 */
|
||||
|
||||
type Localeinfo_struct = struct {
|
||||
Flocinfo Pthreadlocinfo
|
||||
Fmbcinfo Pthreadmbcinfo
|
||||
} /* crtdefs.h:428:9 */
|
||||
} /* corecrt.h:441:9 */
|
||||
|
||||
type X_locale_tstruct = Localeinfo_struct /* crtdefs.h:431:3 */
|
||||
type X_locale_t = uintptr /* crtdefs.h:431:19 */
|
||||
type X_locale_tstruct = Localeinfo_struct /* corecrt.h:444:3 */
|
||||
type X_locale_t = uintptr /* corecrt.h:444:19 */
|
||||
|
||||
type TagLC_ID = struct {
|
||||
FwLanguage uint16
|
||||
FwCountry uint16
|
||||
FwCodePage uint16
|
||||
} /* crtdefs.h:422:1 */
|
||||
} /* corecrt.h:435:1 */
|
||||
|
||||
type LC_ID = TagLC_ID /* crtdefs.h:439:3 */
|
||||
type LPLC_ID = uintptr /* crtdefs.h:439:9 */
|
||||
type LC_ID = TagLC_ID /* corecrt.h:452:3 */
|
||||
type LPLC_ID = uintptr /* corecrt.h:452:9 */
|
||||
|
||||
type Threadlocinfo = Threadlocaleinfostruct /* crtdefs.h:468:3 */
|
||||
type Threadlocinfo = Threadlocaleinfostruct /* corecrt.h:487:3 */
|
||||
|
||||
// Posix thread extensions.
|
||||
|
||||
|
||||
6
vendor/modernc.org/libc/etc.go
generated
vendored
6
vendor/modernc.org/libc/etc.go
generated
vendored
@@ -212,6 +212,8 @@ func (t *TLS) Close() {
|
||||
|
||||
atomic.AddInt32(&tlsBalance, -1)
|
||||
}
|
||||
t.pthreadData.close(t)
|
||||
*t = TLS{}
|
||||
}
|
||||
|
||||
// Alloc allocates n bytes of thread-local storage. It must be paired with a
|
||||
@@ -307,7 +309,7 @@ func (t *TLS) Alloc(n int) (r uintptr) {
|
||||
return r
|
||||
}
|
||||
|
||||
//this declares how many stack frames are kept alive before being freed
|
||||
// this declares how many stack frames are kept alive before being freed
|
||||
const stackFrameKeepalive = 2
|
||||
|
||||
// Free deallocates n bytes of thread-local storage. See TLS.Alloc for details
|
||||
@@ -822,7 +824,7 @@ func parseZoneOffset(s string, offOpt bool) (string, string, int, bool) {
|
||||
return "", s0, 0, true
|
||||
}
|
||||
|
||||
// [+|-]hh[:mm[:ss]]
|
||||
// [+|-]hh[:mm[:ss]]
|
||||
func parseOffset(s string) (string, int) {
|
||||
if len(s) == 0 {
|
||||
panic(todo(""))
|
||||
|
||||
2
vendor/modernc.org/libc/fcntl/capi_darwin_amd64.go
generated
vendored
2
vendor/modernc.org/libc/fcntl/capi_darwin_amd64.go
generated
vendored
@@ -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_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_darwin_amd64.go -pkgname fcntl', DO NOT EDIT.
|
||||
|
||||
package fcntl
|
||||
|
||||
|
||||
5
vendor/modernc.org/libc/fcntl/capi_freebsd_arm.go
generated
vendored
Normal file
5
vendor/modernc.org/libc/fcntl/capi_freebsd_arm.go
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
// 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_freebsd_arm.go -pkgname fcntl', DO NOT EDIT.
|
||||
|
||||
package fcntl
|
||||
|
||||
var CAPI = map[string]struct{}{}
|
||||
5
vendor/modernc.org/libc/fcntl/capi_freebsd_arm64.go
generated
vendored
Normal file
5
vendor/modernc.org/libc/fcntl/capi_freebsd_arm64.go
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
// 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_freebsd_amd64.go -pkgname fcntl', DO NOT EDIT.
|
||||
|
||||
package fcntl
|
||||
|
||||
var CAPI = map[string]struct{}{}
|
||||
5
vendor/modernc.org/libc/fcntl/capi_netbsd_arm.go
generated
vendored
Normal file
5
vendor/modernc.org/libc/fcntl/capi_netbsd_arm.go
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
// 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_netbsd_arm.go -pkgname fcntl', DO NOT EDIT.
|
||||
|
||||
package fcntl
|
||||
|
||||
var CAPI = map[string]struct{}{}
|
||||
5
vendor/modernc.org/libc/fcntl/capi_openbsd_386.go
generated
vendored
Normal file
5
vendor/modernc.org/libc/fcntl/capi_openbsd_386.go
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
// 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_openbsd_386.go -pkgname fcntl', DO NOT EDIT.
|
||||
|
||||
package fcntl
|
||||
|
||||
var CAPI = map[string]struct{}{}
|
||||
5
vendor/modernc.org/libc/fcntl/capi_openbsd_arm64.go
generated
vendored
Normal file
5
vendor/modernc.org/libc/fcntl/capi_openbsd_arm64.go
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
// 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_openbsd_arm64.go -pkgname fcntl', DO NOT EDIT.
|
||||
|
||||
package fcntl
|
||||
|
||||
var CAPI = map[string]struct{}{}
|
||||
2
vendor/modernc.org/libc/fcntl/capi_windows_386.go
generated
vendored
2
vendor/modernc.org/libc/fcntl/capi_windows_386.go
generated
vendored
@@ -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_windows_386.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_windows_386.go -pkgname fcntl', DO NOT EDIT.
|
||||
|
||||
package fcntl
|
||||
|
||||
|
||||
348
vendor/modernc.org/libc/fcntl/fcntl_darwin_amd64.go
generated
vendored
348
vendor/modernc.org/libc/fcntl/fcntl_darwin_amd64.go
generated
vendored
@@ -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_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_darwin_amd64.go -pkgname fcntl', DO NOT EDIT.
|
||||
|
||||
package fcntl
|
||||
|
||||
@@ -15,177 +15,177 @@ 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 = 0x0001
|
||||
FWRITE = 0x0002
|
||||
F_ADDFILESIGS = 61
|
||||
F_ADDFILESIGS_FOR_DYLD_SIM = 83
|
||||
F_ADDFILESIGS_RETURN = 97
|
||||
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_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
|
||||
LOCK_EX = 0x02
|
||||
LOCK_NB = 0x04
|
||||
LOCK_SH = 0x01
|
||||
LOCK_UN = 0x08
|
||||
O_ACCMODE = 0x0003
|
||||
O_ALERT = 0x20000000
|
||||
O_APPEND = 0x0008
|
||||
O_ASYNC = 0x0040
|
||||
O_CLOEXEC = 0x1000000
|
||||
O_CREAT = 0x0200
|
||||
O_DIRECTORY = 0x100000
|
||||
O_DP_GETRAWENCRYPTED = 0x0001
|
||||
O_DP_GETRAWUNENCRYPTED = 0x0002
|
||||
O_DSYNC = 0x400000
|
||||
O_EVTONLY = 0x8000
|
||||
O_EXCL = 0x0800
|
||||
O_EXLOCK = 0x0020
|
||||
O_FSYNC = 128
|
||||
O_NDELAY = 4
|
||||
O_NOCTTY = 0x20000
|
||||
O_NOFOLLOW = 0x0100
|
||||
O_NONBLOCK = 0x0004
|
||||
O_POPUP = 0x80000000
|
||||
O_RDONLY = 0x0000
|
||||
O_RDWR = 0x0002
|
||||
O_SHLOCK = 0x0010
|
||||
O_SYMLINK = 0x200000
|
||||
O_SYNC = 0x0080
|
||||
O_TRUNC = 0x0400
|
||||
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
|
||||
X_BSD_I386__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_UNIX_CONFORMANCE = 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:138:1:
|
||||
AT_FDCWD = -2 // fcntl.h:133:1:
|
||||
AT_FDONLY = 0x0400 // fcntl.h:144:1:
|
||||
AT_REALDEV = 0x0200 // fcntl.h:143:1:
|
||||
AT_REMOVEDIR = 0x0080 // fcntl.h:141:1:
|
||||
AT_SYMLINK_FOLLOW = 0x0040 // fcntl.h:140:1:
|
||||
AT_SYMLINK_NOFOLLOW = 0x0020 // fcntl.h:139:1:
|
||||
CPF_IGNORE_MODE = 0x0002 // fcntl.h:201:1:
|
||||
CPF_MASK = 3 // fcntl.h:202:1:
|
||||
CPF_OVERWRITE = 0x0001 // fcntl.h:200:1:
|
||||
FAPPEND = 8 // fcntl.h:186:1:
|
||||
FASYNC = 64 // fcntl.h:187:1:
|
||||
FCNTL_FS_SPECIFIC_BASE = 0x00010000 // fcntl.h:297:1:
|
||||
FD_CLOEXEC = 1 // fcntl.h:306:1:
|
||||
FFDSYNC = 4194304 // fcntl.h:189:1:
|
||||
FFSYNC = 128 // fcntl.h:188:1:
|
||||
FNDELAY = 4 // fcntl.h:191:1:
|
||||
FNONBLOCK = 4 // fcntl.h:190:1:
|
||||
FREAD = 0x0001 // fcntl.h:110:1:
|
||||
FWRITE = 0x0002 // fcntl.h:111:1:
|
||||
F_ADDFILESIGS = 61 // fcntl.h:246:1:
|
||||
F_ADDFILESIGS_FOR_DYLD_SIM = 83 // fcntl.h:279:1:
|
||||
F_ADDFILESIGS_RETURN = 97 // fcntl.h:285:1:
|
||||
F_ADDSIGS = 59 // fcntl.h:243:1:
|
||||
F_ALLOCATEALL = 0x00000004 // fcntl.h:330:1:
|
||||
F_ALLOCATECONTIG = 0x00000002 // fcntl.h:329:1:
|
||||
F_BARRIERFSYNC = 85 // fcntl.h:282:1:
|
||||
F_CHECK_LV = 98 // fcntl.h:286:1:
|
||||
F_CHKCLEAN = 41 // fcntl.h:225:1:
|
||||
F_DUPFD = 0 // fcntl.h:210:1:
|
||||
F_DUPFD_CLOEXEC = 67 // fcntl.h:302:1:
|
||||
F_FINDSIGS = 78 // fcntl.h:276:1:
|
||||
F_FLUSH_DATA = 40 // fcntl.h:224:1:
|
||||
F_FREEZE_FS = 53 // fcntl.h:238:1:
|
||||
F_FULLFSYNC = 51 // fcntl.h:236:1:
|
||||
F_GETCODEDIR = 72 // fcntl.h:264:1:
|
||||
F_GETFD = 1 // fcntl.h:211:1:
|
||||
F_GETFL = 3 // fcntl.h:213:1:
|
||||
F_GETLK = 7 // fcntl.h:217:1:
|
||||
F_GETLKPID = 66 // fcntl.h:256:1:
|
||||
F_GETNOSIGPIPE = 74 // fcntl.h:267:1:
|
||||
F_GETOWN = 5 // fcntl.h:215:1:
|
||||
F_GETPATH = 50 // fcntl.h:235:1:
|
||||
F_GETPATH_MTMINFO = 71 // fcntl.h:262:1:
|
||||
F_GETPATH_NOFIRMLINK = 102 // fcntl.h:294:1:
|
||||
F_GETPROTECTIONCLASS = 63 // fcntl.h:251:1:
|
||||
F_GETPROTECTIONLEVEL = 77 // fcntl.h:274:1:
|
||||
F_GLOBAL_NOCACHE = 55 // fcntl.h:240:1:
|
||||
F_LOG2PHYS = 49 // fcntl.h:234:1:
|
||||
F_LOG2PHYS_EXT = 65 // fcntl.h:254:1:
|
||||
F_NOCACHE = 48 // fcntl.h:233:1:
|
||||
F_NODIRECT = 62 // fcntl.h:248:1:
|
||||
F_PATHPKG_CHECK = 52 // fcntl.h:237:1:
|
||||
F_PEOFPOSMODE = 3 // fcntl.h:334:1:
|
||||
F_PREALLOCATE = 42 // fcntl.h:226:1:
|
||||
F_PUNCHHOLE = 99 // fcntl.h:288:1:
|
||||
F_RDADVISE = 44 // fcntl.h:228:1:
|
||||
F_RDAHEAD = 45 // fcntl.h:229:1:
|
||||
F_RDLCK = 1 // fcntl.h:309:1:
|
||||
F_SETBACKINGSTORE = 70 // fcntl.h:261:1:
|
||||
F_SETFD = 2 // fcntl.h:212:1:
|
||||
F_SETFL = 4 // fcntl.h:214:1:
|
||||
F_SETLK = 8 // fcntl.h:218:1:
|
||||
F_SETLKW = 9 // fcntl.h:219:1:
|
||||
F_SETLKWTIMEOUT = 10 // fcntl.h:221:1:
|
||||
F_SETNOSIGPIPE = 73 // fcntl.h:266:1:
|
||||
F_SETOWN = 6 // fcntl.h:216:1:
|
||||
F_SETPROTECTIONCLASS = 64 // fcntl.h:252:1:
|
||||
F_SETSIZE = 43 // fcntl.h:227:1:
|
||||
F_SINGLE_WRITER = 76 // fcntl.h:271:1:
|
||||
F_SPECULATIVE_READ = 101 // fcntl.h:292:1:
|
||||
F_THAW_FS = 54 // fcntl.h:239:1:
|
||||
F_TRANSCODEKEY = 75 // fcntl.h:269:1:
|
||||
F_TRIM_ACTIVE_FILE = 100 // fcntl.h:290:1:
|
||||
F_UNLCK = 2 // fcntl.h:310:1:
|
||||
F_VOLPOSMODE = 4 // fcntl.h:336:1:
|
||||
F_WRLCK = 3 // fcntl.h:311:1:
|
||||
LOCK_EX = 0x02 // fcntl.h:421:1:
|
||||
LOCK_NB = 0x04 // fcntl.h:422:1:
|
||||
LOCK_SH = 0x01 // fcntl.h:420:1:
|
||||
LOCK_UN = 0x08 // fcntl.h:423:1:
|
||||
O_ACCMODE = 0x0003 // fcntl.h:99:1:
|
||||
O_ALERT = 0x20000000 // fcntl.h:502:1:
|
||||
O_APPEND = 0x0008 // fcntl.h:114:1:
|
||||
O_ASYNC = 0x0040 // fcntl.h:121:1:
|
||||
O_CLOEXEC = 0x1000000 // fcntl.h:165:1:
|
||||
O_CREAT = 0x0200 // fcntl.h:125:1:
|
||||
O_DIRECTORY = 0x100000 // fcntl.h:157:1:
|
||||
O_DP_GETRAWENCRYPTED = 0x0001 // fcntl.h:174:1:
|
||||
O_DP_GETRAWUNENCRYPTED = 0x0002 // fcntl.h:175:1:
|
||||
O_DSYNC = 0x400000 // _o_dsync.h:29:1:
|
||||
O_EVTONLY = 0x8000 // fcntl.h:149:1:
|
||||
O_EXCL = 0x0800 // fcntl.h:127:1:
|
||||
O_EXLOCK = 0x0020 // fcntl.h:120:1:
|
||||
O_FSYNC = 128 // fcntl.h:122:1:
|
||||
O_NDELAY = 4 // fcntl.h:192:1:
|
||||
O_NOCTTY = 0x20000 // fcntl.h:153:1:
|
||||
O_NOFOLLOW = 0x0100 // fcntl.h:123:1:
|
||||
O_NONBLOCK = 0x0004 // fcntl.h:113:1:
|
||||
O_POPUP = 0x80000000 // fcntl.h:501:1:
|
||||
O_RDONLY = 0x0000 // fcntl.h:96:1:
|
||||
O_RDWR = 0x0002 // fcntl.h:98:1:
|
||||
O_SHLOCK = 0x0010 // fcntl.h:119:1:
|
||||
O_SYMLINK = 0x200000 // fcntl.h:158:1:
|
||||
O_SYNC = 0x0080 // _o_sync.h:29:1:
|
||||
O_TRUNC = 0x0400 // 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:
|
||||
X_BSD_I386__TYPES_H_ = 0 // _types.h:29: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:745:1:
|
||||
X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1 // cdefs.h:771:1:
|
||||
X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3 // cdefs.h:779: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:67:1:
|
||||
X_MODE_T = 0 // _mode_t.h:29:1:
|
||||
X_Nonnull = 0 // cdefs.h:243:1:
|
||||
X_Null_unspecified = 0 // cdefs.h:246:1:
|
||||
X_Nullable = 0 // cdefs.h:240: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:512:1: */
|
||||
@@ -1915,7 +1915,7 @@ type Radvisory = struct {
|
||||
F__ccgo_pad1 [4]byte
|
||||
} /* fcntl.h:371:1 */
|
||||
|
||||
//* Information the user passes in to get the codeblobs out of the kernel
|
||||
// * Information the user passes in to get the codeblobs out of the kernel
|
||||
type Fcodeblobs = struct {
|
||||
Ff_cd_hash uintptr
|
||||
Ff_hash_size Size_t
|
||||
@@ -1926,7 +1926,7 @@ type Fcodeblobs = struct {
|
||||
F__padding int32
|
||||
} /* fcntl.h:378:9 */
|
||||
|
||||
//* Information the user passes in to get the codeblobs out of the kernel
|
||||
// * Information the user passes in to get the codeblobs out of the kernel
|
||||
type Fcodeblobs_t = Fcodeblobs /* fcntl.h:386:3 */
|
||||
|
||||
// detached code signatures data type -
|
||||
|
||||
4
vendor/modernc.org/libc/fcntl/fcntl_freebsd_386.go
generated
vendored
4
vendor/modernc.org/libc/fcntl/fcntl_freebsd_386.go
generated
vendored
@@ -638,8 +638,8 @@ type X__cpusetid_t = int32 /* _types.h:70:14 */ // cpuset identifier.
|
||||
type X__daddr_t = X__int64_t /* _types.h:71:19 */ // bwrite(3), FIOBMAP2, etc
|
||||
|
||||
// Unusual type definitions.
|
||||
// rune_t is declared to be an ``int'' instead of the more natural
|
||||
// ``unsigned long'' or ``long''. Two things are happening here. It is not
|
||||
// rune_t is declared to be an “int” instead of the more natural
|
||||
// “unsigned long” or “long”. Two things are happening here. It is not
|
||||
// unsigned so that EOF (-1) can be naturally assigned to it and used. Also,
|
||||
// it looks like 10646 will be a 31 bit standard. This means that if your
|
||||
// ints cannot hold 32 bits, you will be in trouble. The reason an int was
|
||||
|
||||
141
vendor/modernc.org/libc/fcntl/fcntl_freebsd_amd64.go
generated
vendored
141
vendor/modernc.org/libc/fcntl/fcntl_freebsd_amd64.go
generated
vendored
@@ -15,58 +15,60 @@ var _ atomic.Value
|
||||
var _ unsafe.Pointer
|
||||
|
||||
const (
|
||||
AT_EACCESS = 0x0100 // fcntl.h:217:1:
|
||||
AT_FDCWD = -100 // fcntl.h:212:1:
|
||||
AT_REMOVEDIR = 0x0800 // fcntl.h:221:1:
|
||||
AT_RESOLVE_BENEATH = 0x2000 // fcntl.h:223:1:
|
||||
AT_SYMLINK_FOLLOW = 0x0400 // fcntl.h:220:1:
|
||||
AT_SYMLINK_NOFOLLOW = 0x0200 // fcntl.h:219:1:
|
||||
FAPPEND = 8 // fcntl.h:186:1:
|
||||
FASYNC = 64 // fcntl.h:187:1:
|
||||
FDSYNC = 16777216 // fcntl.h:189:1:
|
||||
FD_CLOEXEC = 1 // fcntl.h:272:1:
|
||||
FD_NONE = -200 // fcntl.h:343:1:
|
||||
FFSYNC = 128 // fcntl.h:188:1:
|
||||
FNDELAY = 4 // fcntl.h:191:1:
|
||||
FNONBLOCK = 4 // fcntl.h:190:1:
|
||||
FRDAHEAD = 512 // fcntl.h:203:1:
|
||||
AT_EACCESS = 0x0100 // fcntl.h:224:1:
|
||||
AT_EMPTY_PATH = 0x4000 // fcntl.h:234:1:
|
||||
AT_FDCWD = -100 // fcntl.h:219:1:
|
||||
AT_REMOVEDIR = 0x0800 // fcntl.h:228:1:
|
||||
AT_RESOLVE_BENEATH = 0x2000 // fcntl.h:232:1:
|
||||
AT_SYMLINK_FOLLOW = 0x0400 // fcntl.h:227:1:
|
||||
AT_SYMLINK_NOFOLLOW = 0x0200 // fcntl.h:226:1:
|
||||
FAPPEND = 8 // fcntl.h:193:1:
|
||||
FASYNC = 64 // fcntl.h:194:1:
|
||||
FDSYNC = 16777216 // fcntl.h:196:1:
|
||||
FD_CLOEXEC = 1 // fcntl.h:283:1:
|
||||
FD_NONE = -200 // fcntl.h:355:1:
|
||||
FFSYNC = 128 // fcntl.h:195:1:
|
||||
FNDELAY = 4 // fcntl.h:198:1:
|
||||
FNONBLOCK = 4 // fcntl.h:197:1:
|
||||
FRDAHEAD = 512 // fcntl.h:210:1:
|
||||
FREAD = 0x0001 // fcntl.h:89:1:
|
||||
FWRITE = 0x0002 // fcntl.h:90:1:
|
||||
F_ADD_SEALS = 19 // fcntl.h:260:1:
|
||||
F_CANCEL = 5 // fcntl.h:280:1:
|
||||
F_DUP2FD = 10 // fcntl.h:245:1:
|
||||
F_DUP2FD_CLOEXEC = 18 // fcntl.h:259:1:
|
||||
F_DUPFD = 0 // fcntl.h:232:1:
|
||||
F_DUPFD_CLOEXEC = 17 // fcntl.h:256:1:
|
||||
F_GETFD = 1 // fcntl.h:233:1:
|
||||
F_GETFL = 3 // fcntl.h:235:1:
|
||||
F_GETLK = 11 // fcntl.h:247:1:
|
||||
F_GETOWN = 5 // fcntl.h:238:1:
|
||||
F_GET_SEALS = 20 // fcntl.h:261:1:
|
||||
F_ISUNIONSTACK = 21 // fcntl.h:262:1:
|
||||
F_OGETLK = 7 // fcntl.h:242:1:
|
||||
F_OSETLK = 8 // fcntl.h:243:1:
|
||||
F_OSETLKW = 9 // fcntl.h:244:1:
|
||||
F_RDAHEAD = 16 // fcntl.h:253:1:
|
||||
F_RDLCK = 1 // fcntl.h:275:1:
|
||||
F_READAHEAD = 15 // fcntl.h:252:1:
|
||||
F_SEAL_GROW = 0x0004 // fcntl.h:267:1:
|
||||
F_SEAL_SEAL = 0x0001 // fcntl.h:265:1:
|
||||
F_SEAL_SHRINK = 0x0002 // fcntl.h:266:1:
|
||||
F_SEAL_WRITE = 0x0008 // fcntl.h:268:1:
|
||||
F_SETFD = 2 // fcntl.h:234:1:
|
||||
F_SETFL = 4 // fcntl.h:236:1:
|
||||
F_SETLK = 12 // fcntl.h:248:1:
|
||||
F_SETLKW = 13 // fcntl.h:249:1:
|
||||
F_SETLK_REMOTE = 14 // fcntl.h:251:1:
|
||||
F_SETOWN = 6 // fcntl.h:239:1:
|
||||
F_UNLCK = 2 // fcntl.h:276:1:
|
||||
F_UNLCKSYS = 4 // fcntl.h:279:1:
|
||||
F_WRLCK = 3 // fcntl.h:277:1:
|
||||
LOCK_EX = 0x02 // fcntl.h:320:1:
|
||||
LOCK_NB = 0x04 // fcntl.h:321:1:
|
||||
LOCK_SH = 0x01 // fcntl.h:319:1:
|
||||
LOCK_UN = 0x08 // fcntl.h:322:1:
|
||||
F_ADD_SEALS = 19 // fcntl.h:270:1:
|
||||
F_CANCEL = 5 // fcntl.h:291:1:
|
||||
F_DUP2FD = 10 // fcntl.h:255:1:
|
||||
F_DUP2FD_CLOEXEC = 18 // fcntl.h:269:1:
|
||||
F_DUPFD = 0 // fcntl.h:242:1:
|
||||
F_DUPFD_CLOEXEC = 17 // fcntl.h:266:1:
|
||||
F_GETFD = 1 // fcntl.h:243:1:
|
||||
F_GETFL = 3 // fcntl.h:245:1:
|
||||
F_GETLK = 11 // fcntl.h:257:1:
|
||||
F_GETOWN = 5 // fcntl.h:248:1:
|
||||
F_GET_SEALS = 20 // fcntl.h:271:1:
|
||||
F_ISUNIONSTACK = 21 // fcntl.h:272:1:
|
||||
F_KINFO = 22 // fcntl.h:273:1:
|
||||
F_OGETLK = 7 // fcntl.h:252:1:
|
||||
F_OSETLK = 8 // fcntl.h:253:1:
|
||||
F_OSETLKW = 9 // fcntl.h:254:1:
|
||||
F_RDAHEAD = 16 // fcntl.h:263:1:
|
||||
F_RDLCK = 1 // fcntl.h:286:1:
|
||||
F_READAHEAD = 15 // fcntl.h:262:1:
|
||||
F_SEAL_GROW = 0x0004 // fcntl.h:278:1:
|
||||
F_SEAL_SEAL = 0x0001 // fcntl.h:276:1:
|
||||
F_SEAL_SHRINK = 0x0002 // fcntl.h:277:1:
|
||||
F_SEAL_WRITE = 0x0008 // fcntl.h:279:1:
|
||||
F_SETFD = 2 // fcntl.h:244:1:
|
||||
F_SETFL = 4 // fcntl.h:246:1:
|
||||
F_SETLK = 12 // fcntl.h:258:1:
|
||||
F_SETLKW = 13 // fcntl.h:259:1:
|
||||
F_SETLK_REMOTE = 14 // fcntl.h:261:1:
|
||||
F_SETOWN = 6 // fcntl.h:249:1:
|
||||
F_UNLCK = 2 // fcntl.h:287:1:
|
||||
F_UNLCKSYS = 4 // fcntl.h:290:1:
|
||||
F_WRLCK = 3 // fcntl.h:288:1:
|
||||
LOCK_EX = 0x02 // fcntl.h:332:1:
|
||||
LOCK_NB = 0x04 // fcntl.h:333:1:
|
||||
LOCK_SH = 0x01 // fcntl.h:331:1:
|
||||
LOCK_UN = 0x08 // fcntl.h:334:1:
|
||||
O_ACCMODE = 0x0003 // fcntl.h:78:1:
|
||||
O_APPEND = 0x0008 // fcntl.h:93:1:
|
||||
O_ASYNC = 0x0040 // fcntl.h:97:1:
|
||||
@@ -75,14 +77,16 @@ const (
|
||||
O_DIRECT = 0x00010000 // fcntl.h:116:1:
|
||||
O_DIRECTORY = 0x00020000 // fcntl.h:120:1:
|
||||
O_DSYNC = 0x01000000 // fcntl.h:143:1:
|
||||
O_EMPTY_PATH = 0x02000000 // fcntl.h:145:1:
|
||||
O_EXCL = 0x0800 // fcntl.h:106:1:
|
||||
O_EXEC = 0x00040000 // fcntl.h:121:1:
|
||||
O_EXLOCK = 0x0020 // fcntl.h:96:1:
|
||||
O_FSYNC = 0x0080 // fcntl.h:98:1:
|
||||
O_NDELAY = 4 // fcntl.h:192:1:
|
||||
O_NDELAY = 4 // fcntl.h:199:1:
|
||||
O_NOCTTY = 0x8000 // fcntl.h:112:1:
|
||||
O_NOFOLLOW = 0x0100 // fcntl.h:102:1:
|
||||
O_NONBLOCK = 0x0004 // fcntl.h:92:1:
|
||||
O_PATH = 0x00400000 // fcntl.h:138:1:
|
||||
O_RDONLY = 0x0000 // fcntl.h:75:1:
|
||||
O_RDWR = 0x0002 // fcntl.h:77:1:
|
||||
O_RESOLVE_BENEATH = 0x00800000 // fcntl.h:139:1:
|
||||
@@ -93,26 +97,26 @@ const (
|
||||
O_TTY_INIT = 0x00080000 // fcntl.h:131:1:
|
||||
O_VERIFY = 0x00200000 // fcntl.h:137:1:
|
||||
O_WRONLY = 0x0001 // fcntl.h:76:1:
|
||||
POSIX_FADV_DONTNEED = 4 // fcntl.h:333:1:
|
||||
POSIX_FADV_NOREUSE = 5 // fcntl.h:334:1:
|
||||
POSIX_FADV_NORMAL = 0 // fcntl.h:329:1:
|
||||
POSIX_FADV_RANDOM = 1 // fcntl.h:330:1:
|
||||
POSIX_FADV_SEQUENTIAL = 2 // fcntl.h:331:1:
|
||||
POSIX_FADV_WILLNEED = 3 // fcntl.h:332:1:
|
||||
POSIX_FADV_DONTNEED = 4 // fcntl.h:345:1:
|
||||
POSIX_FADV_NOREUSE = 5 // fcntl.h:346:1:
|
||||
POSIX_FADV_NORMAL = 0 // fcntl.h:341:1:
|
||||
POSIX_FADV_RANDOM = 1 // fcntl.h:342:1:
|
||||
POSIX_FADV_SEQUENTIAL = 2 // fcntl.h:343:1:
|
||||
POSIX_FADV_WILLNEED = 3 // fcntl.h:344:1:
|
||||
X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
|
||||
X_LP64 = 1 // <predefined>:1:1:
|
||||
X_MACHINE__LIMITS_H_ = 0 // _limits.h:36:1:
|
||||
X_MACHINE__TYPES_H_ = 0 // _types.h:42:1:
|
||||
X_MODE_T_DECLARED = 0 // fcntl.h:54:1:
|
||||
X_Nonnull = 0 // cdefs.h:783:1:
|
||||
X_Null_unspecified = 0 // cdefs.h:785:1:
|
||||
X_Nullable = 0 // cdefs.h:784:1:
|
||||
X_Nonnull = 0 // cdefs.h:790:1:
|
||||
X_Null_unspecified = 0 // cdefs.h:792:1:
|
||||
X_Nullable = 0 // cdefs.h:791:1:
|
||||
X_OFF_T_DECLARED = 0 // fcntl.h:59:1:
|
||||
X_PID_T_DECLARED = 0 // fcntl.h:64:1:
|
||||
X_SYS_CDEFS_H_ = 0 // cdefs.h:39:1:
|
||||
X_SYS_FCNTL_H_ = 0 // fcntl.h:41:1:
|
||||
X_SYS__TYPES_H_ = 0 // _types.h:32:1:
|
||||
Unix = 1 // <predefined>:337:1:
|
||||
Unix = 1 // <predefined>:340:1:
|
||||
)
|
||||
|
||||
type Ptrdiff_t = int64 /* <builtin>:3:26 */
|
||||
@@ -391,12 +395,15 @@ type X__float128 = float64 /* <builtin>:47:21 */
|
||||
|
||||
// Function should not be analyzed.
|
||||
|
||||
// Function or variable should not be sanitized, i.e. by AddressSanitizer.
|
||||
// Function or variable should not be sanitized, e.g., by AddressSanitizer.
|
||||
// GCC has the nosanitize attribute, but as a function attribute only, and
|
||||
// warns on use as a variable attribute.
|
||||
|
||||
// Guard variables and structure members by lock.
|
||||
|
||||
// Alignment builtins for better type checking and improved code generation.
|
||||
// Provide fallback versions for other compilers (GCC/Clang < 10):
|
||||
|
||||
// -
|
||||
// SPDX-License-Identifier: BSD-2-Clause-FreeBSD
|
||||
//
|
||||
@@ -639,8 +646,8 @@ type X__cpusetid_t = int32 /* _types.h:70:14 */ // cpuset identifier.
|
||||
type X__daddr_t = X__int64_t /* _types.h:71:19 */ // bwrite(3), FIOBMAP2, etc
|
||||
|
||||
// Unusual type definitions.
|
||||
// rune_t is declared to be an ``int'' instead of the more natural
|
||||
// ``unsigned long'' or ``long''. Two things are happening here. It is not
|
||||
// rune_t is declared to be an “int” instead of the more natural
|
||||
// “unsigned long” or “long”. Two things are happening here. It is not
|
||||
// unsigned so that EOF (-1) can be naturally assigned to it and used. Also,
|
||||
// it looks like 10646 will be a 31 bit standard. This means that if your
|
||||
// ints cannot hold 32 bits, you will be in trouble. The reason an int was
|
||||
@@ -714,8 +721,6 @@ type Pid_t = X__pid_t /* fcntl.h:63:18 */
|
||||
|
||||
// Defined by POSIX 1003.1-2008; BSD default, but reserve for future use.
|
||||
|
||||
/* #define O_UNUSED1 0x00400000 */ // Was O_BENEATH
|
||||
|
||||
// XXX missing O_RSYNC.
|
||||
|
||||
// The O_* flags used to have only F* names, which were used in the kernel
|
||||
@@ -755,7 +760,7 @@ type Flock = struct {
|
||||
Fl_whence int16
|
||||
Fl_sysid int32
|
||||
F__ccgo_pad1 [4]byte
|
||||
} /* fcntl.h:294:1 */
|
||||
} /* fcntl.h:306:1 */
|
||||
|
||||
// Old advisory file segment locking data type,
|
||||
// before adding l_sysid.
|
||||
@@ -765,6 +770,6 @@ type X__oflock = struct {
|
||||
Fl_pid Pid_t
|
||||
Fl_type int16
|
||||
Fl_whence int16
|
||||
} /* fcntl.h:308:1 */
|
||||
} /* fcntl.h:320:1 */
|
||||
|
||||
var _ int8 /* gen.c:2:13: */
|
||||
|
||||
716
vendor/modernc.org/libc/fcntl/fcntl_freebsd_arm.go
generated
vendored
Normal file
716
vendor/modernc.org/libc/fcntl/fcntl_freebsd_arm.go
generated
vendored
Normal file
@@ -0,0 +1,716 @@
|
||||
// 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_freebsd_arm.go -pkgname fcntl', DO NOT EDIT.
|
||||
|
||||
package fcntl
|
||||
|
||||
import (
|
||||
"math"
|
||||
"reflect"
|
||||
"sync/atomic"
|
||||
"unsafe"
|
||||
)
|
||||
|
||||
var _ = math.Pi
|
||||
var _ reflect.Kind
|
||||
var _ atomic.Value
|
||||
var _ unsafe.Pointer
|
||||
|
||||
const (
|
||||
AT_EACCESS = 0x0100 // fcntl.h:224:1:
|
||||
AT_EMPTY_PATH = 0x4000 // fcntl.h:234:1:
|
||||
AT_FDCWD = -100 // fcntl.h:219:1:
|
||||
AT_REMOVEDIR = 0x0800 // fcntl.h:228:1:
|
||||
AT_RESOLVE_BENEATH = 0x2000 // fcntl.h:232:1:
|
||||
AT_SYMLINK_FOLLOW = 0x0400 // fcntl.h:227:1:
|
||||
AT_SYMLINK_NOFOLLOW = 0x0200 // fcntl.h:226:1:
|
||||
FAPPEND = 8 // fcntl.h:193:1:
|
||||
FASYNC = 64 // fcntl.h:194:1:
|
||||
FDSYNC = 16777216 // fcntl.h:196:1:
|
||||
FD_CLOEXEC = 1 // fcntl.h:283:1:
|
||||
FD_NONE = -200 // fcntl.h:355:1:
|
||||
FFSYNC = 128 // fcntl.h:195:1:
|
||||
FNDELAY = 4 // fcntl.h:198:1:
|
||||
FNONBLOCK = 4 // fcntl.h:197:1:
|
||||
FRDAHEAD = 512 // fcntl.h:210:1:
|
||||
FREAD = 0x0001 // fcntl.h:89:1:
|
||||
FWRITE = 0x0002 // fcntl.h:90:1:
|
||||
F_ADD_SEALS = 19 // fcntl.h:270:1:
|
||||
F_CANCEL = 5 // fcntl.h:291:1:
|
||||
F_DUP2FD = 10 // fcntl.h:255:1:
|
||||
F_DUP2FD_CLOEXEC = 18 // fcntl.h:269:1:
|
||||
F_DUPFD = 0 // fcntl.h:242:1:
|
||||
F_DUPFD_CLOEXEC = 17 // fcntl.h:266:1:
|
||||
F_GETFD = 1 // fcntl.h:243:1:
|
||||
F_GETFL = 3 // fcntl.h:245:1:
|
||||
F_GETLK = 11 // fcntl.h:257:1:
|
||||
F_GETOWN = 5 // fcntl.h:248:1:
|
||||
F_GET_SEALS = 20 // fcntl.h:271:1:
|
||||
F_ISUNIONSTACK = 21 // fcntl.h:272:1:
|
||||
F_KINFO = 22 // fcntl.h:273:1:
|
||||
F_OGETLK = 7 // fcntl.h:252:1:
|
||||
F_OSETLK = 8 // fcntl.h:253:1:
|
||||
F_OSETLKW = 9 // fcntl.h:254:1:
|
||||
F_RDAHEAD = 16 // fcntl.h:263:1:
|
||||
F_RDLCK = 1 // fcntl.h:286:1:
|
||||
F_READAHEAD = 15 // fcntl.h:262:1:
|
||||
F_SEAL_GROW = 0x0004 // fcntl.h:278:1:
|
||||
F_SEAL_SEAL = 0x0001 // fcntl.h:276:1:
|
||||
F_SEAL_SHRINK = 0x0002 // fcntl.h:277:1:
|
||||
F_SEAL_WRITE = 0x0008 // fcntl.h:279:1:
|
||||
F_SETFD = 2 // fcntl.h:244:1:
|
||||
F_SETFL = 4 // fcntl.h:246:1:
|
||||
F_SETLK = 12 // fcntl.h:258:1:
|
||||
F_SETLKW = 13 // fcntl.h:259:1:
|
||||
F_SETLK_REMOTE = 14 // fcntl.h:261:1:
|
||||
F_SETOWN = 6 // fcntl.h:249:1:
|
||||
F_UNLCK = 2 // fcntl.h:287:1:
|
||||
F_UNLCKSYS = 4 // fcntl.h:290:1:
|
||||
F_WRLCK = 3 // fcntl.h:288:1:
|
||||
LOCK_EX = 0x02 // fcntl.h:332:1:
|
||||
LOCK_NB = 0x04 // fcntl.h:333:1:
|
||||
LOCK_SH = 0x01 // fcntl.h:331:1:
|
||||
LOCK_UN = 0x08 // fcntl.h:334:1:
|
||||
O_ACCMODE = 0x0003 // fcntl.h:78:1:
|
||||
O_APPEND = 0x0008 // fcntl.h:93:1:
|
||||
O_ASYNC = 0x0040 // fcntl.h:97:1:
|
||||
O_CLOEXEC = 0x00100000 // fcntl.h:133:1:
|
||||
O_CREAT = 0x0200 // fcntl.h:104:1:
|
||||
O_DIRECT = 0x00010000 // fcntl.h:116:1:
|
||||
O_DIRECTORY = 0x00020000 // fcntl.h:120:1:
|
||||
O_DSYNC = 0x01000000 // fcntl.h:143:1:
|
||||
O_EMPTY_PATH = 0x02000000 // fcntl.h:145:1:
|
||||
O_EXCL = 0x0800 // fcntl.h:106:1:
|
||||
O_EXEC = 0x00040000 // fcntl.h:121:1:
|
||||
O_EXLOCK = 0x0020 // fcntl.h:96:1:
|
||||
O_FSYNC = 0x0080 // fcntl.h:98:1:
|
||||
O_NDELAY = 4 // fcntl.h:199:1:
|
||||
O_NOCTTY = 0x8000 // fcntl.h:112:1:
|
||||
O_NOFOLLOW = 0x0100 // fcntl.h:102:1:
|
||||
O_NONBLOCK = 0x0004 // fcntl.h:92:1:
|
||||
O_PATH = 0x00400000 // fcntl.h:138:1:
|
||||
O_RDONLY = 0x0000 // fcntl.h:75:1:
|
||||
O_RDWR = 0x0002 // fcntl.h:77:1:
|
||||
O_RESOLVE_BENEATH = 0x00800000 // fcntl.h:139:1:
|
||||
O_SEARCH = 262144 // fcntl.h:122:1:
|
||||
O_SHLOCK = 0x0010 // fcntl.h:95:1:
|
||||
O_SYNC = 0x0080 // fcntl.h:100:1:
|
||||
O_TRUNC = 0x0400 // fcntl.h:105:1:
|
||||
O_TTY_INIT = 0x00080000 // fcntl.h:131:1:
|
||||
O_VERIFY = 0x00200000 // fcntl.h:137:1:
|
||||
O_WRONLY = 0x0001 // fcntl.h:76:1:
|
||||
POSIX_FADV_DONTNEED = 4 // fcntl.h:345:1:
|
||||
POSIX_FADV_NOREUSE = 5 // fcntl.h:346:1:
|
||||
POSIX_FADV_NORMAL = 0 // fcntl.h:341:1:
|
||||
POSIX_FADV_RANDOM = 1 // fcntl.h:342:1:
|
||||
POSIX_FADV_SEQUENTIAL = 2 // fcntl.h:343:1:
|
||||
POSIX_FADV_WILLNEED = 3 // fcntl.h:344:1:
|
||||
X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
|
||||
X_ILP32 = 1 // <predefined>:1:1:
|
||||
X_MACHINE__TYPES_H_ = 0 // _types.h:42:1:
|
||||
X_MODE_T_DECLARED = 0 // fcntl.h:54:1:
|
||||
X_Nonnull = 0 // cdefs.h:790:1:
|
||||
X_Null_unspecified = 0 // cdefs.h:792:1:
|
||||
X_Nullable = 0 // cdefs.h:791:1:
|
||||
X_OFF_T_DECLARED = 0 // fcntl.h:59:1:
|
||||
X_PID_T_DECLARED = 0 // fcntl.h:64:1:
|
||||
X_SYS_CDEFS_H_ = 0 // cdefs.h:39:1:
|
||||
X_SYS_FCNTL_H_ = 0 // fcntl.h:41:1:
|
||||
X_SYS__TYPES_H_ = 0 // _types.h:32:1:
|
||||
Unix = 1 // <predefined>:367:1:
|
||||
)
|
||||
|
||||
type Ptrdiff_t = int32 /* <builtin>:3:26 */
|
||||
|
||||
type Size_t = uint32 /* <builtin>:9:23 */
|
||||
|
||||
type Wchar_t = uint32 /* <builtin>:15:24 */
|
||||
|
||||
type X__builtin_va_list = uintptr /* <builtin>:46:14 */
|
||||
type X__float128 = float64 /* <builtin>:47:21 */
|
||||
|
||||
// -
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
//
|
||||
// Copyright (c) 1983, 1990, 1993
|
||||
// The Regents of the University of California. All rights reserved.
|
||||
// (c) UNIX System Laboratories, Inc.
|
||||
// All or some portions of this file are derived from material licensed
|
||||
// to the University of California by American Telephone and Telegraph
|
||||
// Co. or Unix System Laboratories, Inc. and are reproduced herein with
|
||||
// the permission of UNIX System Laboratories, Inc.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
// 1. Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
// 2. Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the distribution.
|
||||
// 3. Neither the name of the University nor the names of its contributors
|
||||
// may be used to endorse or promote products derived from this software
|
||||
// without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||||
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||||
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
// SUCH DAMAGE.
|
||||
//
|
||||
// @(#)fcntl.h 8.3 (Berkeley) 1/21/94
|
||||
// $FreeBSD$
|
||||
|
||||
// This file includes the definitions for open and fcntl
|
||||
// described by POSIX for <fcntl.h>; it also includes
|
||||
// related kernel definitions.
|
||||
|
||||
// -
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
//
|
||||
// Copyright (c) 1991, 1993
|
||||
// The Regents of the University of California. All rights reserved.
|
||||
//
|
||||
// This code is derived from software contributed to Berkeley by
|
||||
// Berkeley Software Design, Inc.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
// 1. Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
// 2. Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the distribution.
|
||||
// 3. Neither the name of the University nor the names of its contributors
|
||||
// may be used to endorse or promote products derived from this software
|
||||
// without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||||
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||||
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
// SUCH DAMAGE.
|
||||
//
|
||||
// @(#)cdefs.h 8.8 (Berkeley) 1/9/95
|
||||
// $FreeBSD$
|
||||
|
||||
// Testing against Clang-specific extensions.
|
||||
|
||||
// This code has been put in place to help reduce the addition of
|
||||
// compiler specific defines in FreeBSD code. It helps to aid in
|
||||
// having a compiler-agnostic source tree.
|
||||
|
||||
// Compiler memory barriers, specific to gcc and clang.
|
||||
|
||||
// XXX: if __GNUC__ >= 2: not tested everywhere originally, where replaced
|
||||
|
||||
// Macro to test if we're using a specific version of gcc or later.
|
||||
|
||||
// The __CONCAT macro is used to concatenate parts of symbol names, e.g.
|
||||
// with "#define OLD(foo) __CONCAT(old,foo)", OLD(foo) produces oldfoo.
|
||||
// The __CONCAT macro is a bit tricky to use if it must work in non-ANSI
|
||||
// mode -- there must be no spaces between its arguments, and for nested
|
||||
// __CONCAT's, all the __CONCAT's must be at the left. __CONCAT can also
|
||||
// concatenate double-quoted strings produced by the __STRING macro, but
|
||||
// this only works with ANSI C.
|
||||
//
|
||||
// __XSTRING is like __STRING, but it expands any macros in its argument
|
||||
// first. It is only available with ANSI C.
|
||||
|
||||
// Compiler-dependent macros to help declare dead (non-returning) and
|
||||
// pure (no side effects) functions, and unused variables. They are
|
||||
// null except for versions of gcc that are known to support the features
|
||||
// properly (old versions of gcc-2 supported the dead and pure features
|
||||
// in a different (wrong) way). If we do not provide an implementation
|
||||
// for a given compiler, let the compile fail if it is told to use
|
||||
// a feature that we cannot live without.
|
||||
|
||||
// Keywords added in C11.
|
||||
|
||||
// Emulation of C11 _Generic(). Unlike the previously defined C11
|
||||
// keywords, it is not possible to implement this using exactly the same
|
||||
// syntax. Therefore implement something similar under the name
|
||||
// __generic(). Unlike _Generic(), this macro can only distinguish
|
||||
// between a single type, so it requires nested invocations to
|
||||
// distinguish multiple cases.
|
||||
|
||||
// C99 Static array indices in function parameter declarations. Syntax such as:
|
||||
// void bar(int myArray[static 10]);
|
||||
// is allowed in C99 but not in C++. Define __min_size appropriately so
|
||||
// headers using it can be compiled in either language. Use like this:
|
||||
// void bar(int myArray[__min_size(10)]);
|
||||
|
||||
// XXX: should use `#if __STDC_VERSION__ < 199901'.
|
||||
|
||||
// C++11 exposes a load of C99 stuff
|
||||
|
||||
// GCC 2.95 provides `__restrict' as an extension to C90 to support the
|
||||
// C99-specific `restrict' type qualifier. We happen to use `__restrict' as
|
||||
// a way to define the `restrict' type qualifier without disturbing older
|
||||
// software that is unaware of C99 keywords.
|
||||
|
||||
// GNU C version 2.96 adds explicit branch prediction so that
|
||||
// the CPU back-end can hint the processor and also so that
|
||||
// code blocks can be reordered such that the predicted path
|
||||
// sees a more linear flow, thus improving cache behavior, etc.
|
||||
//
|
||||
// The following two macros provide us with a way to utilize this
|
||||
// compiler feature. Use __predict_true() if you expect the expression
|
||||
// to evaluate to true, and __predict_false() if you expect the
|
||||
// expression to evaluate to false.
|
||||
//
|
||||
// A few notes about usage:
|
||||
//
|
||||
// * Generally, __predict_false() error condition checks (unless
|
||||
// you have some _strong_ reason to do otherwise, in which case
|
||||
// document it), and/or __predict_true() `no-error' condition
|
||||
// checks, assuming you want to optimize for the no-error case.
|
||||
//
|
||||
// * Other than that, if you don't know the likelihood of a test
|
||||
// succeeding from empirical or other `hard' evidence, don't
|
||||
// make predictions.
|
||||
//
|
||||
// * These are meant to be used in places that are run `a lot'.
|
||||
// It is wasteful to make predictions in code that is run
|
||||
// seldomly (e.g. at subsystem initialization time) as the
|
||||
// basic block reordering that this affects can often generate
|
||||
// larger code.
|
||||
|
||||
// We define this here since <stddef.h>, <sys/queue.h>, and <sys/types.h>
|
||||
// require it.
|
||||
|
||||
// Given the pointer x to the member m of the struct s, return
|
||||
// a pointer to the containing structure. When using GCC, we first
|
||||
// assign pointer x to a local variable, to check that its type is
|
||||
// compatible with member m.
|
||||
|
||||
// Compiler-dependent macros to declare that functions take printf-like
|
||||
// or scanf-like arguments. They are null except for versions of gcc
|
||||
// that are known to support the features properly (old versions of gcc-2
|
||||
// didn't permit keeping the keywords out of the application namespace).
|
||||
|
||||
// Compiler-dependent macros that rely on FreeBSD-specific extensions.
|
||||
|
||||
// Embed the rcs id of a source file in the resulting library. Note that in
|
||||
// more recent ELF binutils, we use .ident allowing the ID to be stripped.
|
||||
// Usage:
|
||||
// __FBSDID("$FreeBSD$");
|
||||
|
||||
// -
|
||||
// The following definitions are an extension of the behavior originally
|
||||
// implemented in <sys/_posix.h>, but with a different level of granularity.
|
||||
// POSIX.1 requires that the macros we test be defined before any standard
|
||||
// header file is included.
|
||||
//
|
||||
// Here's a quick run-down of the versions:
|
||||
// defined(_POSIX_SOURCE) 1003.1-1988
|
||||
// _POSIX_C_SOURCE == 1 1003.1-1990
|
||||
// _POSIX_C_SOURCE == 2 1003.2-1992 C Language Binding Option
|
||||
// _POSIX_C_SOURCE == 199309 1003.1b-1993
|
||||
// _POSIX_C_SOURCE == 199506 1003.1c-1995, 1003.1i-1995,
|
||||
// and the omnibus ISO/IEC 9945-1: 1996
|
||||
// _POSIX_C_SOURCE == 200112 1003.1-2001
|
||||
// _POSIX_C_SOURCE == 200809 1003.1-2008
|
||||
//
|
||||
// In addition, the X/Open Portability Guide, which is now the Single UNIX
|
||||
// Specification, defines a feature-test macro which indicates the version of
|
||||
// that specification, and which subsumes _POSIX_C_SOURCE.
|
||||
//
|
||||
// Our macros begin with two underscores to avoid namespace screwage.
|
||||
|
||||
// Deal with IEEE Std. 1003.1-1990, in which _POSIX_C_SOURCE == 1.
|
||||
|
||||
// Deal with IEEE Std. 1003.2-1992, in which _POSIX_C_SOURCE == 2.
|
||||
|
||||
// Deal with various X/Open Portability Guides and Single UNIX Spec.
|
||||
|
||||
// Deal with all versions of POSIX. The ordering relative to the tests above is
|
||||
// important.
|
||||
// -
|
||||
// Deal with _ANSI_SOURCE:
|
||||
// If it is defined, and no other compilation environment is explicitly
|
||||
// requested, then define our internal feature-test macros to zero. This
|
||||
// makes no difference to the preprocessor (undefined symbols in preprocessing
|
||||
// expressions are defined to have value zero), but makes it more convenient for
|
||||
// a test program to print out the values.
|
||||
//
|
||||
// If a program mistakenly defines _ANSI_SOURCE and some other macro such as
|
||||
// _POSIX_C_SOURCE, we will assume that it wants the broader compilation
|
||||
// environment (and in fact we will never get here).
|
||||
|
||||
// User override __EXT1_VISIBLE
|
||||
|
||||
// Old versions of GCC use non-standard ARM arch symbols; acle-compat.h
|
||||
// translates them to __ARM_ARCH and the modern feature symbols defined by ARM.
|
||||
|
||||
// Nullability qualifiers: currently only supported by Clang.
|
||||
|
||||
// Type Safety Checking
|
||||
//
|
||||
// Clang provides additional attributes to enable checking type safety
|
||||
// properties that cannot be enforced by the C type system.
|
||||
|
||||
// Lock annotations.
|
||||
//
|
||||
// Clang provides support for doing basic thread-safety tests at
|
||||
// compile-time, by marking which locks will/should be held when
|
||||
// entering/leaving a functions.
|
||||
//
|
||||
// Furthermore, it is also possible to annotate variables and structure
|
||||
// members to enforce that they are only accessed when certain locks are
|
||||
// held.
|
||||
|
||||
// Structure implements a lock.
|
||||
|
||||
// Function acquires an exclusive or shared lock.
|
||||
|
||||
// Function attempts to acquire an exclusive or shared lock.
|
||||
|
||||
// Function releases a lock.
|
||||
|
||||
// Function asserts that an exclusive or shared lock is held.
|
||||
|
||||
// Function requires that an exclusive or shared lock is or is not held.
|
||||
|
||||
// Function should not be analyzed.
|
||||
|
||||
// Function or variable should not be sanitized, e.g., by AddressSanitizer.
|
||||
// GCC has the nosanitize attribute, but as a function attribute only, and
|
||||
// warns on use as a variable attribute.
|
||||
|
||||
// Guard variables and structure members by lock.
|
||||
|
||||
// Alignment builtins for better type checking and improved code generation.
|
||||
// Provide fallback versions for other compilers (GCC/Clang < 10):
|
||||
|
||||
// -
|
||||
// SPDX-License-Identifier: BSD-2-Clause-FreeBSD
|
||||
//
|
||||
// Copyright (c) 2002 Mike Barcroft <mike@FreeBSD.org>
|
||||
// All rights reserved.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
// 1. Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
// 2. Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the distribution.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
||||
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
// ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
|
||||
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
// SUCH DAMAGE.
|
||||
//
|
||||
// $FreeBSD$
|
||||
|
||||
// -
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
//
|
||||
// Copyright (c) 1991, 1993
|
||||
// The Regents of the University of California. All rights reserved.
|
||||
//
|
||||
// This code is derived from software contributed to Berkeley by
|
||||
// Berkeley Software Design, Inc.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
// 1. Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
// 2. Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the distribution.
|
||||
// 3. Neither the name of the University nor the names of its contributors
|
||||
// may be used to endorse or promote products derived from this software
|
||||
// without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||||
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||||
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
// SUCH DAMAGE.
|
||||
//
|
||||
// @(#)cdefs.h 8.8 (Berkeley) 1/9/95
|
||||
// $FreeBSD$
|
||||
|
||||
// -
|
||||
// SPDX-License-Identifier: BSD-4-Clause
|
||||
//
|
||||
// Copyright (c) 2002 Mike Barcroft <mike@FreeBSD.org>
|
||||
// Copyright (c) 1990, 1993
|
||||
// The Regents of the University of California. All rights reserved.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
// 1. Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
// 2. Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the distribution.
|
||||
// 3. All advertising materials mentioning features or use of this software
|
||||
// must display the following acknowledgement:
|
||||
// This product includes software developed by the University of
|
||||
// California, Berkeley and its contributors.
|
||||
// 4. Neither the name of the University nor the names of its contributors
|
||||
// may be used to endorse or promote products derived from this software
|
||||
// without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||||
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||||
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
// SUCH DAMAGE.
|
||||
//
|
||||
// From: @(#)ansi.h 8.2 (Berkeley) 1/4/94
|
||||
// From: @(#)types.h 8.3 (Berkeley) 1/5/94
|
||||
// $FreeBSD$
|
||||
|
||||
// Basic types upon which most other types are built.
|
||||
type X__int8_t = int8 /* _types.h:51:22 */
|
||||
type X__uint8_t = uint8 /* _types.h:52:24 */
|
||||
type X__int16_t = int16 /* _types.h:53:17 */
|
||||
type X__uint16_t = uint16 /* _types.h:54:25 */
|
||||
type X__int32_t = int32 /* _types.h:55:15 */
|
||||
type X__uint32_t = uint32 /* _types.h:56:23 */
|
||||
|
||||
// LONGLONG
|
||||
type X__int64_t = int64 /* _types.h:61:20 */
|
||||
|
||||
// LONGLONG
|
||||
type X__uint64_t = uint64 /* _types.h:66:28 */
|
||||
|
||||
// Standard type definitions.
|
||||
type X__clock_t = X__uint32_t /* _types.h:71:20 */ // clock()...
|
||||
type X__critical_t = X__int32_t /* _types.h:72:19 */
|
||||
type X__double_t = float64 /* _types.h:74:17 */
|
||||
type X__float_t = float32 /* _types.h:75:16 */
|
||||
type X__intfptr_t = X__int32_t /* _types.h:77:19 */
|
||||
type X__intmax_t = X__int64_t /* _types.h:78:19 */
|
||||
type X__intptr_t = X__int32_t /* _types.h:79:19 */
|
||||
type X__int_fast8_t = X__int32_t /* _types.h:80:19 */
|
||||
type X__int_fast16_t = X__int32_t /* _types.h:81:19 */
|
||||
type X__int_fast32_t = X__int32_t /* _types.h:82:19 */
|
||||
type X__int_fast64_t = X__int64_t /* _types.h:83:19 */
|
||||
type X__int_least8_t = X__int8_t /* _types.h:84:18 */
|
||||
type X__int_least16_t = X__int16_t /* _types.h:85:19 */
|
||||
type X__int_least32_t = X__int32_t /* _types.h:86:19 */
|
||||
type X__int_least64_t = X__int64_t /* _types.h:87:19 */
|
||||
type X__ptrdiff_t = X__int32_t /* _types.h:88:19 */ // ptr1 - ptr2
|
||||
type X__register_t = X__int32_t /* _types.h:89:19 */
|
||||
type X__segsz_t = X__int32_t /* _types.h:90:19 */ // segment size (in pages)
|
||||
type X__size_t = X__uint32_t /* _types.h:91:20 */ // sizeof()
|
||||
type X__ssize_t = X__int32_t /* _types.h:92:19 */ // byte count or error
|
||||
type X__time_t = X__int64_t /* _types.h:93:19 */ // time()...
|
||||
type X__uintfptr_t = X__uint32_t /* _types.h:94:20 */
|
||||
type X__uintmax_t = X__uint64_t /* _types.h:95:20 */
|
||||
type X__uintptr_t = X__uint32_t /* _types.h:96:20 */
|
||||
type X__uint_fast8_t = X__uint32_t /* _types.h:97:20 */
|
||||
type X__uint_fast16_t = X__uint32_t /* _types.h:98:20 */
|
||||
type X__uint_fast32_t = X__uint32_t /* _types.h:99:20 */
|
||||
type X__uint_fast64_t = X__uint64_t /* _types.h:100:20 */
|
||||
type X__uint_least8_t = X__uint8_t /* _types.h:101:19 */
|
||||
type X__uint_least16_t = X__uint16_t /* _types.h:102:20 */
|
||||
type X__uint_least32_t = X__uint32_t /* _types.h:103:20 */
|
||||
type X__uint_least64_t = X__uint64_t /* _types.h:104:20 */
|
||||
type X__u_register_t = X__uint32_t /* _types.h:105:20 */
|
||||
type X__vm_offset_t = X__uint32_t /* _types.h:106:20 */
|
||||
type X__vm_paddr_t = X__uint32_t /* _types.h:107:20 */
|
||||
type X__vm_size_t = X__uint32_t /* _types.h:108:20 */
|
||||
|
||||
type X___wchar_t = uint32 /* _types.h:110:22 */
|
||||
|
||||
// Standard type definitions.
|
||||
type X__blksize_t = X__int32_t /* _types.h:40:19 */ // file block size
|
||||
type X__blkcnt_t = X__int64_t /* _types.h:41:19 */ // file block count
|
||||
type X__clockid_t = X__int32_t /* _types.h:42:19 */ // clock_gettime()...
|
||||
type X__fflags_t = X__uint32_t /* _types.h:43:20 */ // file flags
|
||||
type X__fsblkcnt_t = X__uint64_t /* _types.h:44:20 */
|
||||
type X__fsfilcnt_t = X__uint64_t /* _types.h:45:20 */
|
||||
type X__gid_t = X__uint32_t /* _types.h:46:20 */
|
||||
type X__id_t = X__int64_t /* _types.h:47:19 */ // can hold a gid_t, pid_t, or uid_t
|
||||
type X__ino_t = X__uint64_t /* _types.h:48:20 */ // inode number
|
||||
type X__key_t = int32 /* _types.h:49:15 */ // IPC key (for Sys V IPC)
|
||||
type X__lwpid_t = X__int32_t /* _types.h:50:19 */ // Thread ID (a.k.a. LWP)
|
||||
type X__mode_t = X__uint16_t /* _types.h:51:20 */ // permissions
|
||||
type X__accmode_t = int32 /* _types.h:52:14 */ // access permissions
|
||||
type X__nl_item = int32 /* _types.h:53:14 */
|
||||
type X__nlink_t = X__uint64_t /* _types.h:54:20 */ // link count
|
||||
type X__off_t = X__int64_t /* _types.h:55:19 */ // file offset
|
||||
type X__off64_t = X__int64_t /* _types.h:56:19 */ // file offset (alias)
|
||||
type X__pid_t = X__int32_t /* _types.h:57:19 */ // process [group]
|
||||
type X__rlim_t = X__int64_t /* _types.h:58:19 */ // resource limit - intentionally
|
||||
// signed, because of legacy code
|
||||
// that uses -1 for RLIM_INFINITY
|
||||
type X__sa_family_t = X__uint8_t /* _types.h:61:19 */
|
||||
type X__socklen_t = X__uint32_t /* _types.h:62:20 */
|
||||
type X__suseconds_t = int32 /* _types.h:63:15 */ // microseconds (signed)
|
||||
type X__timer_t = uintptr /* _types.h:64:24 */ // timer_gettime()...
|
||||
type X__mqd_t = uintptr /* _types.h:65:21 */ // mq_open()...
|
||||
type X__uid_t = X__uint32_t /* _types.h:66:20 */
|
||||
type X__useconds_t = uint32 /* _types.h:67:22 */ // microseconds (unsigned)
|
||||
type X__cpuwhich_t = int32 /* _types.h:68:14 */ // which parameter for cpuset.
|
||||
type X__cpulevel_t = int32 /* _types.h:69:14 */ // level parameter for cpuset.
|
||||
type X__cpusetid_t = int32 /* _types.h:70:14 */ // cpuset identifier.
|
||||
type X__daddr_t = X__int64_t /* _types.h:71:19 */ // bwrite(3), FIOBMAP2, etc
|
||||
|
||||
// Unusual type definitions.
|
||||
// rune_t is declared to be an “int” instead of the more natural
|
||||
// “unsigned long” or “long”. Two things are happening here. It is not
|
||||
// unsigned so that EOF (-1) can be naturally assigned to it and used. Also,
|
||||
// it looks like 10646 will be a 31 bit standard. This means that if your
|
||||
// ints cannot hold 32 bits, you will be in trouble. The reason an int was
|
||||
// chosen over a long is that the is*() and to*() routines take ints (says
|
||||
// ANSI C), but they use __ct_rune_t instead of int.
|
||||
//
|
||||
// NOTE: rune_t is not covered by ANSI nor other standards, and should not
|
||||
// be instantiated outside of lib/libc/locale. Use wchar_t. wint_t and
|
||||
// rune_t must be the same type. Also, wint_t should be able to hold all
|
||||
// members of the largest character set plus one extra value (WEOF), and
|
||||
// must be at least 16 bits.
|
||||
type X__ct_rune_t = int32 /* _types.h:91:14 */ // arg type for ctype funcs
|
||||
type X__rune_t = X__ct_rune_t /* _types.h:92:21 */ // rune_t (see above)
|
||||
type X__wint_t = X__ct_rune_t /* _types.h:93:21 */ // wint_t (see above)
|
||||
|
||||
// Clang already provides these types as built-ins, but only in C++ mode.
|
||||
type X__char16_t = X__uint_least16_t /* _types.h:97:26 */
|
||||
type X__char32_t = X__uint_least32_t /* _types.h:98:26 */
|
||||
// In C++11, char16_t and char32_t are built-in types.
|
||||
|
||||
type X__max_align_t = struct {
|
||||
F__max_align1 int64
|
||||
F__max_align2 float64
|
||||
} /* _types.h:111:3 */
|
||||
|
||||
type X__dev_t = X__uint64_t /* _types.h:113:20 */ // device number
|
||||
|
||||
type X__fixpt_t = X__uint32_t /* _types.h:115:20 */ // fixed point number
|
||||
|
||||
// mbstate_t is an opaque object to keep conversion state during multibyte
|
||||
// stream conversions.
|
||||
type X__mbstate_t = struct {
|
||||
F__ccgo_pad1 [0]uint64
|
||||
F__mbstate8 [128]uint8
|
||||
} /* _types.h:124:3 */
|
||||
|
||||
type X__rman_res_t = X__uintmax_t /* _types.h:126:25 */
|
||||
|
||||
// Types for varargs. These are all provided by builtin types these
|
||||
// days, so centralize their definition.
|
||||
type X__va_list = X__builtin_va_list /* _types.h:133:27 */ // internally known to gcc
|
||||
type X__gnuc_va_list = X__va_list /* _types.h:140:20 */ // compatibility w/GNU headers
|
||||
|
||||
// When the following macro is defined, the system uses 64-bit inode numbers.
|
||||
// Programs can use this to avoid including <sys/param.h>, with its associated
|
||||
// namespace pollution.
|
||||
|
||||
type Mode_t = X__mode_t /* fcntl.h:53:18 */
|
||||
|
||||
type Off_t = X__off_t /* fcntl.h:58:18 */
|
||||
|
||||
type Pid_t = X__pid_t /* fcntl.h:63:18 */
|
||||
|
||||
// File status flags: these are used by open(2), fcntl(2).
|
||||
// They are also used (indirectly) in the kernel file structure f_flags,
|
||||
// which is a superset of the open/fcntl flags. Open flags and f_flags
|
||||
// are inter-convertible using OFLAGS(fflags) and FFLAGS(oflags).
|
||||
// Open/fcntl flags begin with O_; kernel-internal flags begin with F.
|
||||
// open-only flags
|
||||
|
||||
// Kernel encoding of open mode; separate read and write bits that are
|
||||
// independently testable: 1 greater than the above.
|
||||
//
|
||||
// XXX
|
||||
// FREAD and FWRITE are excluded from the #ifdef _KERNEL so that TIOCFLUSH,
|
||||
// which was documented to use FREAD/FWRITE, continues to work.
|
||||
|
||||
// Defined by POSIX 1003.1; BSD default, but must be distinct from O_RDONLY.
|
||||
|
||||
// Attempt to bypass buffer cache
|
||||
|
||||
// Defined by POSIX 1003.1-2008; BSD default, but reserve for future use.
|
||||
|
||||
// XXX missing O_RSYNC.
|
||||
|
||||
// The O_* flags used to have only F* names, which were used in the kernel
|
||||
// and by fcntl. We retain the F* names for the kernel f_flag field
|
||||
// and for backward compatibility for fcntl. These flags are deprecated.
|
||||
|
||||
// Historically, we ran out of bits in f_flag (which was once a short).
|
||||
// However, the flag bits not set in FMASK are only meaningful in the
|
||||
// initial open syscall. Those bits were thus given a
|
||||
// different meaning for fcntl(2).
|
||||
// Read ahead
|
||||
|
||||
// Magic value that specify the use of the current working directory
|
||||
// to determine the target of relative file paths in the openat() and
|
||||
// similar syscalls.
|
||||
|
||||
// Miscellaneous flags for the *at() syscalls.
|
||||
/* #define AT_UNUSED1 0x1000 */ // Was AT_BENEATH
|
||||
|
||||
// Constants used for fcntl(2)
|
||||
|
||||
// command values
|
||||
|
||||
// Seals (F_ADD_SEALS, F_GET_SEALS).
|
||||
|
||||
// file descriptor flags (F_GETFD, F_SETFD)
|
||||
|
||||
// record locking flags (F_GETLK, F_SETLK, F_SETLKW)
|
||||
|
||||
// Advisory file segment locking data type -
|
||||
// information passed to system by user
|
||||
type Flock = struct {
|
||||
Fl_start Off_t
|
||||
Fl_len Off_t
|
||||
Fl_pid Pid_t
|
||||
Fl_type int16
|
||||
Fl_whence int16
|
||||
Fl_sysid int32
|
||||
F__ccgo_pad1 [4]byte
|
||||
} /* fcntl.h:306:1 */
|
||||
|
||||
// Old advisory file segment locking data type,
|
||||
// before adding l_sysid.
|
||||
type X__oflock = struct {
|
||||
Fl_start Off_t
|
||||
Fl_len Off_t
|
||||
Fl_pid Pid_t
|
||||
Fl_type int16
|
||||
Fl_whence int16
|
||||
} /* fcntl.h:320:1 */
|
||||
|
||||
var _ uint8 /* gen.c:2:13: */
|
||||
775
vendor/modernc.org/libc/fcntl/fcntl_freebsd_arm64.go
generated
vendored
Normal file
775
vendor/modernc.org/libc/fcntl/fcntl_freebsd_arm64.go
generated
vendored
Normal file
@@ -0,0 +1,775 @@
|
||||
// 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_freebsd_amd64.go -pkgname fcntl', DO NOT EDIT.
|
||||
|
||||
package fcntl
|
||||
|
||||
import (
|
||||
"math"
|
||||
"reflect"
|
||||
"sync/atomic"
|
||||
"unsafe"
|
||||
)
|
||||
|
||||
var _ = math.Pi
|
||||
var _ reflect.Kind
|
||||
var _ atomic.Value
|
||||
var _ unsafe.Pointer
|
||||
|
||||
const (
|
||||
AT_EACCESS = 0x0100 // fcntl.h:224:1:
|
||||
AT_EMPTY_PATH = 0x4000 // fcntl.h:234:1:
|
||||
AT_FDCWD = -100 // fcntl.h:219:1:
|
||||
AT_REMOVEDIR = 0x0800 // fcntl.h:228:1:
|
||||
AT_RESOLVE_BENEATH = 0x2000 // fcntl.h:232:1:
|
||||
AT_SYMLINK_FOLLOW = 0x0400 // fcntl.h:227:1:
|
||||
AT_SYMLINK_NOFOLLOW = 0x0200 // fcntl.h:226:1:
|
||||
FAPPEND = 8 // fcntl.h:193:1:
|
||||
FASYNC = 64 // fcntl.h:194:1:
|
||||
FDSYNC = 16777216 // fcntl.h:196:1:
|
||||
FD_CLOEXEC = 1 // fcntl.h:283:1:
|
||||
FD_NONE = -200 // fcntl.h:355:1:
|
||||
FFSYNC = 128 // fcntl.h:195:1:
|
||||
FNDELAY = 4 // fcntl.h:198:1:
|
||||
FNONBLOCK = 4 // fcntl.h:197:1:
|
||||
FRDAHEAD = 512 // fcntl.h:210:1:
|
||||
FREAD = 0x0001 // fcntl.h:89:1:
|
||||
FWRITE = 0x0002 // fcntl.h:90:1:
|
||||
F_ADD_SEALS = 19 // fcntl.h:270:1:
|
||||
F_CANCEL = 5 // fcntl.h:291:1:
|
||||
F_DUP2FD = 10 // fcntl.h:255:1:
|
||||
F_DUP2FD_CLOEXEC = 18 // fcntl.h:269:1:
|
||||
F_DUPFD = 0 // fcntl.h:242:1:
|
||||
F_DUPFD_CLOEXEC = 17 // fcntl.h:266:1:
|
||||
F_GETFD = 1 // fcntl.h:243:1:
|
||||
F_GETFL = 3 // fcntl.h:245:1:
|
||||
F_GETLK = 11 // fcntl.h:257:1:
|
||||
F_GETOWN = 5 // fcntl.h:248:1:
|
||||
F_GET_SEALS = 20 // fcntl.h:271:1:
|
||||
F_ISUNIONSTACK = 21 // fcntl.h:272:1:
|
||||
F_KINFO = 22 // fcntl.h:273:1:
|
||||
F_OGETLK = 7 // fcntl.h:252:1:
|
||||
F_OSETLK = 8 // fcntl.h:253:1:
|
||||
F_OSETLKW = 9 // fcntl.h:254:1:
|
||||
F_RDAHEAD = 16 // fcntl.h:263:1:
|
||||
F_RDLCK = 1 // fcntl.h:286:1:
|
||||
F_READAHEAD = 15 // fcntl.h:262:1:
|
||||
F_SEAL_GROW = 0x0004 // fcntl.h:278:1:
|
||||
F_SEAL_SEAL = 0x0001 // fcntl.h:276:1:
|
||||
F_SEAL_SHRINK = 0x0002 // fcntl.h:277:1:
|
||||
F_SEAL_WRITE = 0x0008 // fcntl.h:279:1:
|
||||
F_SETFD = 2 // fcntl.h:244:1:
|
||||
F_SETFL = 4 // fcntl.h:246:1:
|
||||
F_SETLK = 12 // fcntl.h:258:1:
|
||||
F_SETLKW = 13 // fcntl.h:259:1:
|
||||
F_SETLK_REMOTE = 14 // fcntl.h:261:1:
|
||||
F_SETOWN = 6 // fcntl.h:249:1:
|
||||
F_UNLCK = 2 // fcntl.h:287:1:
|
||||
F_UNLCKSYS = 4 // fcntl.h:290:1:
|
||||
F_WRLCK = 3 // fcntl.h:288:1:
|
||||
LOCK_EX = 0x02 // fcntl.h:332:1:
|
||||
LOCK_NB = 0x04 // fcntl.h:333:1:
|
||||
LOCK_SH = 0x01 // fcntl.h:331:1:
|
||||
LOCK_UN = 0x08 // fcntl.h:334:1:
|
||||
O_ACCMODE = 0x0003 // fcntl.h:78:1:
|
||||
O_APPEND = 0x0008 // fcntl.h:93:1:
|
||||
O_ASYNC = 0x0040 // fcntl.h:97:1:
|
||||
O_CLOEXEC = 0x00100000 // fcntl.h:133:1:
|
||||
O_CREAT = 0x0200 // fcntl.h:104:1:
|
||||
O_DIRECT = 0x00010000 // fcntl.h:116:1:
|
||||
O_DIRECTORY = 0x00020000 // fcntl.h:120:1:
|
||||
O_DSYNC = 0x01000000 // fcntl.h:143:1:
|
||||
O_EMPTY_PATH = 0x02000000 // fcntl.h:145:1:
|
||||
O_EXCL = 0x0800 // fcntl.h:106:1:
|
||||
O_EXEC = 0x00040000 // fcntl.h:121:1:
|
||||
O_EXLOCK = 0x0020 // fcntl.h:96:1:
|
||||
O_FSYNC = 0x0080 // fcntl.h:98:1:
|
||||
O_NDELAY = 4 // fcntl.h:199:1:
|
||||
O_NOCTTY = 0x8000 // fcntl.h:112:1:
|
||||
O_NOFOLLOW = 0x0100 // fcntl.h:102:1:
|
||||
O_NONBLOCK = 0x0004 // fcntl.h:92:1:
|
||||
O_PATH = 0x00400000 // fcntl.h:138:1:
|
||||
O_RDONLY = 0x0000 // fcntl.h:75:1:
|
||||
O_RDWR = 0x0002 // fcntl.h:77:1:
|
||||
O_RESOLVE_BENEATH = 0x00800000 // fcntl.h:139:1:
|
||||
O_SEARCH = 262144 // fcntl.h:122:1:
|
||||
O_SHLOCK = 0x0010 // fcntl.h:95:1:
|
||||
O_SYNC = 0x0080 // fcntl.h:100:1:
|
||||
O_TRUNC = 0x0400 // fcntl.h:105:1:
|
||||
O_TTY_INIT = 0x00080000 // fcntl.h:131:1:
|
||||
O_VERIFY = 0x00200000 // fcntl.h:137:1:
|
||||
O_WRONLY = 0x0001 // fcntl.h:76:1:
|
||||
POSIX_FADV_DONTNEED = 4 // fcntl.h:345:1:
|
||||
POSIX_FADV_NOREUSE = 5 // fcntl.h:346:1:
|
||||
POSIX_FADV_NORMAL = 0 // fcntl.h:341:1:
|
||||
POSIX_FADV_RANDOM = 1 // fcntl.h:342:1:
|
||||
POSIX_FADV_SEQUENTIAL = 2 // fcntl.h:343:1:
|
||||
POSIX_FADV_WILLNEED = 3 // fcntl.h:344:1:
|
||||
X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
|
||||
X_LP64 = 1 // <predefined>:1:1:
|
||||
X_MACHINE__LIMITS_H_ = 0 // _limits.h:36:1:
|
||||
X_MACHINE__TYPES_H_ = 0 // _types.h:42:1:
|
||||
X_MODE_T_DECLARED = 0 // fcntl.h:54:1:
|
||||
X_Nonnull = 0 // cdefs.h:790:1:
|
||||
X_Null_unspecified = 0 // cdefs.h:792:1:
|
||||
X_Nullable = 0 // cdefs.h:791:1:
|
||||
X_OFF_T_DECLARED = 0 // fcntl.h:59:1:
|
||||
X_PID_T_DECLARED = 0 // fcntl.h:64:1:
|
||||
X_SYS_CDEFS_H_ = 0 // cdefs.h:39:1:
|
||||
X_SYS_FCNTL_H_ = 0 // fcntl.h:41:1:
|
||||
X_SYS__TYPES_H_ = 0 // _types.h:32:1:
|
||||
Unix = 1 // <predefined>:340:1:
|
||||
)
|
||||
|
||||
type Ptrdiff_t = int64 /* <builtin>:3:26 */
|
||||
|
||||
type Size_t = uint64 /* <builtin>:9:23 */
|
||||
|
||||
type Wchar_t = int32 /* <builtin>:15:24 */
|
||||
|
||||
type X__int128_t = struct {
|
||||
Flo int64
|
||||
Fhi int64
|
||||
} /* <builtin>:21:43 */ // must match modernc.org/mathutil.Int128
|
||||
type X__uint128_t = struct {
|
||||
Flo uint64
|
||||
Fhi uint64
|
||||
} /* <builtin>:22:44 */ // must match modernc.org/mathutil.Int128
|
||||
|
||||
type X__builtin_va_list = uintptr /* <builtin>:46:14 */
|
||||
type X__float128 = float64 /* <builtin>:47:21 */
|
||||
|
||||
// -
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
//
|
||||
// Copyright (c) 1983, 1990, 1993
|
||||
// The Regents of the University of California. All rights reserved.
|
||||
// (c) UNIX System Laboratories, Inc.
|
||||
// All or some portions of this file are derived from material licensed
|
||||
// to the University of California by American Telephone and Telegraph
|
||||
// Co. or Unix System Laboratories, Inc. and are reproduced herein with
|
||||
// the permission of UNIX System Laboratories, Inc.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
// 1. Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
// 2. Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the distribution.
|
||||
// 3. Neither the name of the University nor the names of its contributors
|
||||
// may be used to endorse or promote products derived from this software
|
||||
// without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||||
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||||
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
// SUCH DAMAGE.
|
||||
//
|
||||
// @(#)fcntl.h 8.3 (Berkeley) 1/21/94
|
||||
// $FreeBSD$
|
||||
|
||||
// This file includes the definitions for open and fcntl
|
||||
// described by POSIX for <fcntl.h>; it also includes
|
||||
// related kernel definitions.
|
||||
|
||||
// -
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
//
|
||||
// Copyright (c) 1991, 1993
|
||||
// The Regents of the University of California. All rights reserved.
|
||||
//
|
||||
// This code is derived from software contributed to Berkeley by
|
||||
// Berkeley Software Design, Inc.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
// 1. Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
// 2. Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the distribution.
|
||||
// 3. Neither the name of the University nor the names of its contributors
|
||||
// may be used to endorse or promote products derived from this software
|
||||
// without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||||
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||||
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
// SUCH DAMAGE.
|
||||
//
|
||||
// @(#)cdefs.h 8.8 (Berkeley) 1/9/95
|
||||
// $FreeBSD$
|
||||
|
||||
// Testing against Clang-specific extensions.
|
||||
|
||||
// This code has been put in place to help reduce the addition of
|
||||
// compiler specific defines in FreeBSD code. It helps to aid in
|
||||
// having a compiler-agnostic source tree.
|
||||
|
||||
// Compiler memory barriers, specific to gcc and clang.
|
||||
|
||||
// XXX: if __GNUC__ >= 2: not tested everywhere originally, where replaced
|
||||
|
||||
// Macro to test if we're using a specific version of gcc or later.
|
||||
|
||||
// The __CONCAT macro is used to concatenate parts of symbol names, e.g.
|
||||
// with "#define OLD(foo) __CONCAT(old,foo)", OLD(foo) produces oldfoo.
|
||||
// The __CONCAT macro is a bit tricky to use if it must work in non-ANSI
|
||||
// mode -- there must be no spaces between its arguments, and for nested
|
||||
// __CONCAT's, all the __CONCAT's must be at the left. __CONCAT can also
|
||||
// concatenate double-quoted strings produced by the __STRING macro, but
|
||||
// this only works with ANSI C.
|
||||
//
|
||||
// __XSTRING is like __STRING, but it expands any macros in its argument
|
||||
// first. It is only available with ANSI C.
|
||||
|
||||
// Compiler-dependent macros to help declare dead (non-returning) and
|
||||
// pure (no side effects) functions, and unused variables. They are
|
||||
// null except for versions of gcc that are known to support the features
|
||||
// properly (old versions of gcc-2 supported the dead and pure features
|
||||
// in a different (wrong) way). If we do not provide an implementation
|
||||
// for a given compiler, let the compile fail if it is told to use
|
||||
// a feature that we cannot live without.
|
||||
|
||||
// Keywords added in C11.
|
||||
|
||||
// Emulation of C11 _Generic(). Unlike the previously defined C11
|
||||
// keywords, it is not possible to implement this using exactly the same
|
||||
// syntax. Therefore implement something similar under the name
|
||||
// __generic(). Unlike _Generic(), this macro can only distinguish
|
||||
// between a single type, so it requires nested invocations to
|
||||
// distinguish multiple cases.
|
||||
|
||||
// C99 Static array indices in function parameter declarations. Syntax such as:
|
||||
// void bar(int myArray[static 10]);
|
||||
// is allowed in C99 but not in C++. Define __min_size appropriately so
|
||||
// headers using it can be compiled in either language. Use like this:
|
||||
// void bar(int myArray[__min_size(10)]);
|
||||
|
||||
// XXX: should use `#if __STDC_VERSION__ < 199901'.
|
||||
|
||||
// C++11 exposes a load of C99 stuff
|
||||
|
||||
// GCC 2.95 provides `__restrict' as an extension to C90 to support the
|
||||
// C99-specific `restrict' type qualifier. We happen to use `__restrict' as
|
||||
// a way to define the `restrict' type qualifier without disturbing older
|
||||
// software that is unaware of C99 keywords.
|
||||
|
||||
// GNU C version 2.96 adds explicit branch prediction so that
|
||||
// the CPU back-end can hint the processor and also so that
|
||||
// code blocks can be reordered such that the predicted path
|
||||
// sees a more linear flow, thus improving cache behavior, etc.
|
||||
//
|
||||
// The following two macros provide us with a way to utilize this
|
||||
// compiler feature. Use __predict_true() if you expect the expression
|
||||
// to evaluate to true, and __predict_false() if you expect the
|
||||
// expression to evaluate to false.
|
||||
//
|
||||
// A few notes about usage:
|
||||
//
|
||||
// * Generally, __predict_false() error condition checks (unless
|
||||
// you have some _strong_ reason to do otherwise, in which case
|
||||
// document it), and/or __predict_true() `no-error' condition
|
||||
// checks, assuming you want to optimize for the no-error case.
|
||||
//
|
||||
// * Other than that, if you don't know the likelihood of a test
|
||||
// succeeding from empirical or other `hard' evidence, don't
|
||||
// make predictions.
|
||||
//
|
||||
// * These are meant to be used in places that are run `a lot'.
|
||||
// It is wasteful to make predictions in code that is run
|
||||
// seldomly (e.g. at subsystem initialization time) as the
|
||||
// basic block reordering that this affects can often generate
|
||||
// larger code.
|
||||
|
||||
// We define this here since <stddef.h>, <sys/queue.h>, and <sys/types.h>
|
||||
// require it.
|
||||
|
||||
// Given the pointer x to the member m of the struct s, return
|
||||
// a pointer to the containing structure. When using GCC, we first
|
||||
// assign pointer x to a local variable, to check that its type is
|
||||
// compatible with member m.
|
||||
|
||||
// Compiler-dependent macros to declare that functions take printf-like
|
||||
// or scanf-like arguments. They are null except for versions of gcc
|
||||
// that are known to support the features properly (old versions of gcc-2
|
||||
// didn't permit keeping the keywords out of the application namespace).
|
||||
|
||||
// Compiler-dependent macros that rely on FreeBSD-specific extensions.
|
||||
|
||||
// Embed the rcs id of a source file in the resulting library. Note that in
|
||||
// more recent ELF binutils, we use .ident allowing the ID to be stripped.
|
||||
// Usage:
|
||||
// __FBSDID("$FreeBSD$");
|
||||
|
||||
// -
|
||||
// The following definitions are an extension of the behavior originally
|
||||
// implemented in <sys/_posix.h>, but with a different level of granularity.
|
||||
// POSIX.1 requires that the macros we test be defined before any standard
|
||||
// header file is included.
|
||||
//
|
||||
// Here's a quick run-down of the versions:
|
||||
// defined(_POSIX_SOURCE) 1003.1-1988
|
||||
// _POSIX_C_SOURCE == 1 1003.1-1990
|
||||
// _POSIX_C_SOURCE == 2 1003.2-1992 C Language Binding Option
|
||||
// _POSIX_C_SOURCE == 199309 1003.1b-1993
|
||||
// _POSIX_C_SOURCE == 199506 1003.1c-1995, 1003.1i-1995,
|
||||
// and the omnibus ISO/IEC 9945-1: 1996
|
||||
// _POSIX_C_SOURCE == 200112 1003.1-2001
|
||||
// _POSIX_C_SOURCE == 200809 1003.1-2008
|
||||
//
|
||||
// In addition, the X/Open Portability Guide, which is now the Single UNIX
|
||||
// Specification, defines a feature-test macro which indicates the version of
|
||||
// that specification, and which subsumes _POSIX_C_SOURCE.
|
||||
//
|
||||
// Our macros begin with two underscores to avoid namespace screwage.
|
||||
|
||||
// Deal with IEEE Std. 1003.1-1990, in which _POSIX_C_SOURCE == 1.
|
||||
|
||||
// Deal with IEEE Std. 1003.2-1992, in which _POSIX_C_SOURCE == 2.
|
||||
|
||||
// Deal with various X/Open Portability Guides and Single UNIX Spec.
|
||||
|
||||
// Deal with all versions of POSIX. The ordering relative to the tests above is
|
||||
// important.
|
||||
// -
|
||||
// Deal with _ANSI_SOURCE:
|
||||
// If it is defined, and no other compilation environment is explicitly
|
||||
// requested, then define our internal feature-test macros to zero. This
|
||||
// makes no difference to the preprocessor (undefined symbols in preprocessing
|
||||
// expressions are defined to have value zero), but makes it more convenient for
|
||||
// a test program to print out the values.
|
||||
//
|
||||
// If a program mistakenly defines _ANSI_SOURCE and some other macro such as
|
||||
// _POSIX_C_SOURCE, we will assume that it wants the broader compilation
|
||||
// environment (and in fact we will never get here).
|
||||
|
||||
// User override __EXT1_VISIBLE
|
||||
|
||||
// Old versions of GCC use non-standard ARM arch symbols; acle-compat.h
|
||||
// translates them to __ARM_ARCH and the modern feature symbols defined by ARM.
|
||||
|
||||
// Nullability qualifiers: currently only supported by Clang.
|
||||
|
||||
// Type Safety Checking
|
||||
//
|
||||
// Clang provides additional attributes to enable checking type safety
|
||||
// properties that cannot be enforced by the C type system.
|
||||
|
||||
// Lock annotations.
|
||||
//
|
||||
// Clang provides support for doing basic thread-safety tests at
|
||||
// compile-time, by marking which locks will/should be held when
|
||||
// entering/leaving a functions.
|
||||
//
|
||||
// Furthermore, it is also possible to annotate variables and structure
|
||||
// members to enforce that they are only accessed when certain locks are
|
||||
// held.
|
||||
|
||||
// Structure implements a lock.
|
||||
|
||||
// Function acquires an exclusive or shared lock.
|
||||
|
||||
// Function attempts to acquire an exclusive or shared lock.
|
||||
|
||||
// Function releases a lock.
|
||||
|
||||
// Function asserts that an exclusive or shared lock is held.
|
||||
|
||||
// Function requires that an exclusive or shared lock is or is not held.
|
||||
|
||||
// Function should not be analyzed.
|
||||
|
||||
// Function or variable should not be sanitized, e.g., by AddressSanitizer.
|
||||
// GCC has the nosanitize attribute, but as a function attribute only, and
|
||||
// warns on use as a variable attribute.
|
||||
|
||||
// Guard variables and structure members by lock.
|
||||
|
||||
// Alignment builtins for better type checking and improved code generation.
|
||||
// Provide fallback versions for other compilers (GCC/Clang < 10):
|
||||
|
||||
// -
|
||||
// SPDX-License-Identifier: BSD-2-Clause-FreeBSD
|
||||
//
|
||||
// Copyright (c) 2002 Mike Barcroft <mike@FreeBSD.org>
|
||||
// All rights reserved.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
// 1. Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
// 2. Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the distribution.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
||||
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
// ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
|
||||
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
// SUCH DAMAGE.
|
||||
//
|
||||
// $FreeBSD$
|
||||
|
||||
// -
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
//
|
||||
// Copyright (c) 1991, 1993
|
||||
// The Regents of the University of California. All rights reserved.
|
||||
//
|
||||
// This code is derived from software contributed to Berkeley by
|
||||
// Berkeley Software Design, Inc.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
// 1. Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
// 2. Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the distribution.
|
||||
// 3. Neither the name of the University nor the names of its contributors
|
||||
// may be used to endorse or promote products derived from this software
|
||||
// without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||||
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||||
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
// SUCH DAMAGE.
|
||||
//
|
||||
// @(#)cdefs.h 8.8 (Berkeley) 1/9/95
|
||||
// $FreeBSD$
|
||||
|
||||
// -
|
||||
// This file is in the public domain.
|
||||
// $FreeBSD$
|
||||
|
||||
// -
|
||||
// SPDX-License-Identifier: BSD-4-Clause
|
||||
//
|
||||
// Copyright (c) 2002 Mike Barcroft <mike@FreeBSD.org>
|
||||
// Copyright (c) 1990, 1993
|
||||
// The Regents of the University of California. All rights reserved.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
// 1. Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
// 2. Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the distribution.
|
||||
// 3. All advertising materials mentioning features or use of this software
|
||||
// must display the following acknowledgement:
|
||||
// This product includes software developed by the University of
|
||||
// California, Berkeley and its contributors.
|
||||
// 4. Neither the name of the University nor the names of its contributors
|
||||
// may be used to endorse or promote products derived from this software
|
||||
// without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||||
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||||
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
// SUCH DAMAGE.
|
||||
//
|
||||
// From: @(#)ansi.h 8.2 (Berkeley) 1/4/94
|
||||
// From: @(#)types.h 8.3 (Berkeley) 1/5/94
|
||||
// $FreeBSD$
|
||||
|
||||
// -
|
||||
// This file is in the public domain.
|
||||
// $FreeBSD$
|
||||
|
||||
// -
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
//
|
||||
// Copyright (c) 1988, 1993
|
||||
// The Regents of the University of California. All rights reserved.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
// 1. Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
// 2. Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the distribution.
|
||||
// 3. Neither the name of the University nor the names of its contributors
|
||||
// may be used to endorse or promote products derived from this software
|
||||
// without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||||
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||||
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
// SUCH DAMAGE.
|
||||
//
|
||||
// @(#)limits.h 8.3 (Berkeley) 1/4/94
|
||||
// $FreeBSD$
|
||||
|
||||
// According to ANSI (section 2.2.4.2), the values below must be usable by
|
||||
// #if preprocessing directives. Additionally, the expression must have the
|
||||
// same type as would an expression that is an object of the corresponding
|
||||
// type converted according to the integral promotions. The subtraction for
|
||||
// INT_MIN, etc., is so the value is not unsigned; e.g., 0x80000000 is an
|
||||
// unsigned int for 32-bit two's complement ANSI compilers (section 3.1.3.2).
|
||||
|
||||
// max value for an unsigned long long
|
||||
|
||||
// Quads and longs are the same on the amd64. Ensure they stay in sync.
|
||||
|
||||
// Minimum signal stack size.
|
||||
|
||||
// Basic types upon which most other types are built.
|
||||
type X__int8_t = int8 /* _types.h:55:22 */
|
||||
type X__uint8_t = uint8 /* _types.h:56:24 */
|
||||
type X__int16_t = int16 /* _types.h:57:17 */
|
||||
type X__uint16_t = uint16 /* _types.h:58:25 */
|
||||
type X__int32_t = int32 /* _types.h:59:15 */
|
||||
type X__uint32_t = uint32 /* _types.h:60:23 */
|
||||
type X__int64_t = int64 /* _types.h:62:16 */
|
||||
type X__uint64_t = uint64 /* _types.h:63:24 */
|
||||
|
||||
// Standard type definitions.
|
||||
type X__clock_t = X__int32_t /* _types.h:75:19 */ // clock()...
|
||||
type X__critical_t = X__int64_t /* _types.h:76:19 */
|
||||
type X__double_t = float64 /* _types.h:78:17 */
|
||||
type X__float_t = float32 /* _types.h:79:16 */
|
||||
type X__intfptr_t = X__int64_t /* _types.h:81:19 */
|
||||
type X__intptr_t = X__int64_t /* _types.h:82:19 */
|
||||
type X__intmax_t = X__int64_t /* _types.h:93:19 */
|
||||
type X__int_fast8_t = X__int32_t /* _types.h:94:19 */
|
||||
type X__int_fast16_t = X__int32_t /* _types.h:95:19 */
|
||||
type X__int_fast32_t = X__int32_t /* _types.h:96:19 */
|
||||
type X__int_fast64_t = X__int64_t /* _types.h:97:19 */
|
||||
type X__int_least8_t = X__int8_t /* _types.h:98:18 */
|
||||
type X__int_least16_t = X__int16_t /* _types.h:99:19 */
|
||||
type X__int_least32_t = X__int32_t /* _types.h:100:19 */
|
||||
type X__int_least64_t = X__int64_t /* _types.h:101:19 */
|
||||
type X__ptrdiff_t = X__int64_t /* _types.h:103:19 */ // ptr1 - ptr2
|
||||
type X__register_t = X__int64_t /* _types.h:104:19 */
|
||||
type X__segsz_t = X__int64_t /* _types.h:105:19 */ // segment size (in pages)
|
||||
type X__size_t = X__uint64_t /* _types.h:106:20 */ // sizeof()
|
||||
type X__ssize_t = X__int64_t /* _types.h:107:19 */ // byte count or error
|
||||
type X__time_t = X__int64_t /* _types.h:108:19 */ // time()...
|
||||
type X__uintfptr_t = X__uint64_t /* _types.h:109:20 */
|
||||
type X__uintptr_t = X__uint64_t /* _types.h:110:20 */
|
||||
type X__uintmax_t = X__uint64_t /* _types.h:121:20 */
|
||||
type X__uint_fast8_t = X__uint32_t /* _types.h:122:20 */
|
||||
type X__uint_fast16_t = X__uint32_t /* _types.h:123:20 */
|
||||
type X__uint_fast32_t = X__uint32_t /* _types.h:124:20 */
|
||||
type X__uint_fast64_t = X__uint64_t /* _types.h:125:20 */
|
||||
type X__uint_least8_t = X__uint8_t /* _types.h:126:19 */
|
||||
type X__uint_least16_t = X__uint16_t /* _types.h:127:20 */
|
||||
type X__uint_least32_t = X__uint32_t /* _types.h:128:20 */
|
||||
type X__uint_least64_t = X__uint64_t /* _types.h:129:20 */
|
||||
type X__u_register_t = X__uint64_t /* _types.h:131:20 */
|
||||
type X__vm_offset_t = X__uint64_t /* _types.h:132:20 */
|
||||
type X__vm_paddr_t = X__uint64_t /* _types.h:133:20 */
|
||||
type X__vm_size_t = X__uint64_t /* _types.h:134:20 */
|
||||
type X___wchar_t = int32 /* _types.h:141:14 */
|
||||
|
||||
// Standard type definitions.
|
||||
type X__blksize_t = X__int32_t /* _types.h:40:19 */ // file block size
|
||||
type X__blkcnt_t = X__int64_t /* _types.h:41:19 */ // file block count
|
||||
type X__clockid_t = X__int32_t /* _types.h:42:19 */ // clock_gettime()...
|
||||
type X__fflags_t = X__uint32_t /* _types.h:43:20 */ // file flags
|
||||
type X__fsblkcnt_t = X__uint64_t /* _types.h:44:20 */
|
||||
type X__fsfilcnt_t = X__uint64_t /* _types.h:45:20 */
|
||||
type X__gid_t = X__uint32_t /* _types.h:46:20 */
|
||||
type X__id_t = X__int64_t /* _types.h:47:19 */ // can hold a gid_t, pid_t, or uid_t
|
||||
type X__ino_t = X__uint64_t /* _types.h:48:20 */ // inode number
|
||||
type X__key_t = int64 /* _types.h:49:15 */ // IPC key (for Sys V IPC)
|
||||
type X__lwpid_t = X__int32_t /* _types.h:50:19 */ // Thread ID (a.k.a. LWP)
|
||||
type X__mode_t = X__uint16_t /* _types.h:51:20 */ // permissions
|
||||
type X__accmode_t = int32 /* _types.h:52:14 */ // access permissions
|
||||
type X__nl_item = int32 /* _types.h:53:14 */
|
||||
type X__nlink_t = X__uint64_t /* _types.h:54:20 */ // link count
|
||||
type X__off_t = X__int64_t /* _types.h:55:19 */ // file offset
|
||||
type X__off64_t = X__int64_t /* _types.h:56:19 */ // file offset (alias)
|
||||
type X__pid_t = X__int32_t /* _types.h:57:19 */ // process [group]
|
||||
type X__rlim_t = X__int64_t /* _types.h:58:19 */ // resource limit - intentionally
|
||||
// signed, because of legacy code
|
||||
// that uses -1 for RLIM_INFINITY
|
||||
type X__sa_family_t = X__uint8_t /* _types.h:61:19 */
|
||||
type X__socklen_t = X__uint32_t /* _types.h:62:20 */
|
||||
type X__suseconds_t = int64 /* _types.h:63:15 */ // microseconds (signed)
|
||||
type X__timer_t = uintptr /* _types.h:64:24 */ // timer_gettime()...
|
||||
type X__mqd_t = uintptr /* _types.h:65:21 */ // mq_open()...
|
||||
type X__uid_t = X__uint32_t /* _types.h:66:20 */
|
||||
type X__useconds_t = uint32 /* _types.h:67:22 */ // microseconds (unsigned)
|
||||
type X__cpuwhich_t = int32 /* _types.h:68:14 */ // which parameter for cpuset.
|
||||
type X__cpulevel_t = int32 /* _types.h:69:14 */ // level parameter for cpuset.
|
||||
type X__cpusetid_t = int32 /* _types.h:70:14 */ // cpuset identifier.
|
||||
type X__daddr_t = X__int64_t /* _types.h:71:19 */ // bwrite(3), FIOBMAP2, etc
|
||||
|
||||
// Unusual type definitions.
|
||||
// rune_t is declared to be an “int” instead of the more natural
|
||||
// “unsigned long” or “long”. Two things are happening here. It is not
|
||||
// unsigned so that EOF (-1) can be naturally assigned to it and used. Also,
|
||||
// it looks like 10646 will be a 31 bit standard. This means that if your
|
||||
// ints cannot hold 32 bits, you will be in trouble. The reason an int was
|
||||
// chosen over a long is that the is*() and to*() routines take ints (says
|
||||
// ANSI C), but they use __ct_rune_t instead of int.
|
||||
//
|
||||
// NOTE: rune_t is not covered by ANSI nor other standards, and should not
|
||||
// be instantiated outside of lib/libc/locale. Use wchar_t. wint_t and
|
||||
// rune_t must be the same type. Also, wint_t should be able to hold all
|
||||
// members of the largest character set plus one extra value (WEOF), and
|
||||
// must be at least 16 bits.
|
||||
type X__ct_rune_t = int32 /* _types.h:91:14 */ // arg type for ctype funcs
|
||||
type X__rune_t = X__ct_rune_t /* _types.h:92:21 */ // rune_t (see above)
|
||||
type X__wint_t = X__ct_rune_t /* _types.h:93:21 */ // wint_t (see above)
|
||||
|
||||
// Clang already provides these types as built-ins, but only in C++ mode.
|
||||
type X__char16_t = X__uint_least16_t /* _types.h:97:26 */
|
||||
type X__char32_t = X__uint_least32_t /* _types.h:98:26 */
|
||||
// In C++11, char16_t and char32_t are built-in types.
|
||||
|
||||
type X__max_align_t = struct {
|
||||
F__max_align1 int64
|
||||
F__max_align2 float64
|
||||
} /* _types.h:111:3 */
|
||||
|
||||
type X__dev_t = X__uint64_t /* _types.h:113:20 */ // device number
|
||||
|
||||
type X__fixpt_t = X__uint32_t /* _types.h:115:20 */ // fixed point number
|
||||
|
||||
// mbstate_t is an opaque object to keep conversion state during multibyte
|
||||
// stream conversions.
|
||||
type X__mbstate_t = struct {
|
||||
F__ccgo_pad1 [0]uint64
|
||||
F__mbstate8 [128]int8
|
||||
} /* _types.h:124:3 */
|
||||
|
||||
type X__rman_res_t = X__uintmax_t /* _types.h:126:25 */
|
||||
|
||||
// Types for varargs. These are all provided by builtin types these
|
||||
// days, so centralize their definition.
|
||||
type X__va_list = X__builtin_va_list /* _types.h:133:27 */ // internally known to gcc
|
||||
type X__gnuc_va_list = X__va_list /* _types.h:140:20 */ // compatibility w/GNU headers
|
||||
|
||||
// When the following macro is defined, the system uses 64-bit inode numbers.
|
||||
// Programs can use this to avoid including <sys/param.h>, with its associated
|
||||
// namespace pollution.
|
||||
|
||||
type Mode_t = X__mode_t /* fcntl.h:53:18 */
|
||||
|
||||
type Off_t = X__off_t /* fcntl.h:58:18 */
|
||||
|
||||
type Pid_t = X__pid_t /* fcntl.h:63:18 */
|
||||
|
||||
// File status flags: these are used by open(2), fcntl(2).
|
||||
// They are also used (indirectly) in the kernel file structure f_flags,
|
||||
// which is a superset of the open/fcntl flags. Open flags and f_flags
|
||||
// are inter-convertible using OFLAGS(fflags) and FFLAGS(oflags).
|
||||
// Open/fcntl flags begin with O_; kernel-internal flags begin with F.
|
||||
// open-only flags
|
||||
|
||||
// Kernel encoding of open mode; separate read and write bits that are
|
||||
// independently testable: 1 greater than the above.
|
||||
//
|
||||
// XXX
|
||||
// FREAD and FWRITE are excluded from the #ifdef _KERNEL so that TIOCFLUSH,
|
||||
// which was documented to use FREAD/FWRITE, continues to work.
|
||||
|
||||
// Defined by POSIX 1003.1; BSD default, but must be distinct from O_RDONLY.
|
||||
|
||||
// Attempt to bypass buffer cache
|
||||
|
||||
// Defined by POSIX 1003.1-2008; BSD default, but reserve for future use.
|
||||
|
||||
// XXX missing O_RSYNC.
|
||||
|
||||
// The O_* flags used to have only F* names, which were used in the kernel
|
||||
// and by fcntl. We retain the F* names for the kernel f_flag field
|
||||
// and for backward compatibility for fcntl. These flags are deprecated.
|
||||
|
||||
// Historically, we ran out of bits in f_flag (which was once a short).
|
||||
// However, the flag bits not set in FMASK are only meaningful in the
|
||||
// initial open syscall. Those bits were thus given a
|
||||
// different meaning for fcntl(2).
|
||||
// Read ahead
|
||||
|
||||
// Magic value that specify the use of the current working directory
|
||||
// to determine the target of relative file paths in the openat() and
|
||||
// similar syscalls.
|
||||
|
||||
// Miscellaneous flags for the *at() syscalls.
|
||||
/* #define AT_UNUSED1 0x1000 */ // Was AT_BENEATH
|
||||
|
||||
// Constants used for fcntl(2)
|
||||
|
||||
// command values
|
||||
|
||||
// Seals (F_ADD_SEALS, F_GET_SEALS).
|
||||
|
||||
// file descriptor flags (F_GETFD, F_SETFD)
|
||||
|
||||
// record locking flags (F_GETLK, F_SETLK, F_SETLKW)
|
||||
|
||||
// Advisory file segment locking data type -
|
||||
// information passed to system by user
|
||||
type Flock = struct {
|
||||
Fl_start Off_t
|
||||
Fl_len Off_t
|
||||
Fl_pid Pid_t
|
||||
Fl_type int16
|
||||
Fl_whence int16
|
||||
Fl_sysid int32
|
||||
F__ccgo_pad1 [4]byte
|
||||
} /* fcntl.h:306:1 */
|
||||
|
||||
// Old advisory file segment locking data type,
|
||||
// before adding l_sysid.
|
||||
type X__oflock = struct {
|
||||
Fl_start Off_t
|
||||
Fl_len Off_t
|
||||
Fl_pid Pid_t
|
||||
Fl_type int16
|
||||
Fl_whence int16
|
||||
} /* fcntl.h:320:1 */
|
||||
|
||||
var _ int8 /* gen.c:2:13: */
|
||||
21
vendor/modernc.org/libc/fcntl/fcntl_linux_386.go
generated
vendored
21
vendor/modernc.org/libc/fcntl/fcntl_linux_386.go
generated
vendored
@@ -822,7 +822,8 @@ type X__syscall_slong_t = int32 /* types.h:196:33 */
|
||||
type X__syscall_ulong_t = uint32 /* types.h:198:33 */
|
||||
|
||||
// These few don't really vary by system, they always correspond
|
||||
// to one of the other defined types.
|
||||
//
|
||||
// to one of the other defined types.
|
||||
type X__loff_t = X__off64_t /* types.h:202:19 */ // Type of file sizes and offsets (LFS).
|
||||
type X__caddr_t = uintptr /* types.h:203:14 */
|
||||
|
||||
@@ -833,13 +834,15 @@ type X__intptr_t = int32 /* types.h:206:25 */
|
||||
type X__socklen_t = uint32 /* types.h:209:23 */
|
||||
|
||||
// C99: An integer type that can be accessed as an atomic entity,
|
||||
// even in the presence of asynchronous interrupts.
|
||||
// It is not currently necessary for this to be machine-specific.
|
||||
//
|
||||
// even in the presence of asynchronous interrupts.
|
||||
// It is not currently necessary for this to be machine-specific.
|
||||
type X__sig_atomic_t = int32 /* types.h:214:13 */
|
||||
|
||||
// Seconds since the Epoch, visible to user code when time_t is too
|
||||
// narrow only for consistency with the old way of widening too-narrow
|
||||
// types. User code should never use __time64_t.
|
||||
//
|
||||
// narrow only for consistency with the old way of widening too-narrow
|
||||
// types. User code should never use __time64_t.
|
||||
type X__time64_t = X__int64_t /* types.h:222:28 */
|
||||
|
||||
// Get the definitions of O_*, F_*, FD_*: all the
|
||||
@@ -941,8 +944,9 @@ type Flock = struct {
|
||||
// argument).
|
||||
|
||||
// POSIX.1-2001 specifies that these types are defined by <fcntl.h>.
|
||||
// Earlier POSIX standards permitted any type ending in `_t' to be defined
|
||||
// by any POSIX header, so we don't conditionalize the definitions here.
|
||||
//
|
||||
// Earlier POSIX standards permitted any type ending in `_t' to be defined
|
||||
// by any POSIX header, so we don't conditionalize the definitions here.
|
||||
type Mode_t = X__mode_t /* fcntl.h:50:18 */
|
||||
|
||||
type Off_t = X__off64_t /* fcntl.h:58:19 */
|
||||
@@ -1006,7 +1010,8 @@ type Pid_t = X__pid_t /* fcntl.h:69:17 */
|
||||
// values.
|
||||
|
||||
// POSIX.1b structure for a time value. This is like a `struct timeval' but
|
||||
// has nanoseconds instead of microseconds.
|
||||
//
|
||||
// has nanoseconds instead of microseconds.
|
||||
type Timespec = struct {
|
||||
Ftv_sec X__time_t
|
||||
Ftv_nsec X__syscall_slong_t
|
||||
|
||||
16
vendor/modernc.org/libc/fcntl/fcntl_linux_amd64.go
generated
vendored
16
vendor/modernc.org/libc/fcntl/fcntl_linux_amd64.go
generated
vendored
@@ -837,7 +837,8 @@ type X__syscall_slong_t = int64 /* types.h:196:33 */
|
||||
type X__syscall_ulong_t = uint64 /* types.h:198:33 */
|
||||
|
||||
// These few don't really vary by system, they always correspond
|
||||
// to one of the other defined types.
|
||||
//
|
||||
// to one of the other defined types.
|
||||
type X__loff_t = X__off64_t /* types.h:202:19 */ // Type of file sizes and offsets (LFS).
|
||||
type X__caddr_t = uintptr /* types.h:203:14 */
|
||||
|
||||
@@ -848,8 +849,9 @@ type X__intptr_t = int64 /* types.h:206:25 */
|
||||
type X__socklen_t = uint32 /* types.h:209:23 */
|
||||
|
||||
// C99: An integer type that can be accessed as an atomic entity,
|
||||
// even in the presence of asynchronous interrupts.
|
||||
// It is not currently necessary for this to be machine-specific.
|
||||
//
|
||||
// even in the presence of asynchronous interrupts.
|
||||
// It is not currently necessary for this to be machine-specific.
|
||||
type X__sig_atomic_t = int32 /* types.h:214:13 */
|
||||
|
||||
// Seconds since the Epoch, visible to user code when time_t is too
|
||||
@@ -959,8 +961,9 @@ type Flock = struct {
|
||||
// argument).
|
||||
|
||||
// POSIX.1-2001 specifies that these types are defined by <fcntl.h>.
|
||||
// Earlier POSIX standards permitted any type ending in `_t' to be defined
|
||||
// by any POSIX header, so we don't conditionalize the definitions here.
|
||||
//
|
||||
// Earlier POSIX standards permitted any type ending in `_t' to be defined
|
||||
// by any POSIX header, so we don't conditionalize the definitions here.
|
||||
type Mode_t = X__mode_t /* fcntl.h:50:18 */
|
||||
|
||||
type Off_t = X__off64_t /* fcntl.h:58:19 */
|
||||
@@ -1024,7 +1027,8 @@ type Pid_t = X__pid_t /* fcntl.h:69:17 */
|
||||
// values.
|
||||
|
||||
// POSIX.1b structure for a time value. This is like a `struct timeval' but
|
||||
// has nanoseconds instead of microseconds.
|
||||
//
|
||||
// has nanoseconds instead of microseconds.
|
||||
type Timespec = struct {
|
||||
Ftv_sec X__time_t
|
||||
Ftv_nsec X__syscall_slong_t
|
||||
|
||||
21
vendor/modernc.org/libc/fcntl/fcntl_linux_arm.go
generated
vendored
21
vendor/modernc.org/libc/fcntl/fcntl_linux_arm.go
generated
vendored
@@ -881,7 +881,8 @@ type X__syscall_slong_t = int32 /* types.h:196:33 */
|
||||
type X__syscall_ulong_t = uint32 /* types.h:198:33 */
|
||||
|
||||
// These few don't really vary by system, they always correspond
|
||||
// to one of the other defined types.
|
||||
//
|
||||
// to one of the other defined types.
|
||||
type X__loff_t = X__off64_t /* types.h:202:19 */ // Type of file sizes and offsets (LFS).
|
||||
type X__caddr_t = uintptr /* types.h:203:14 */
|
||||
|
||||
@@ -892,13 +893,15 @@ type X__intptr_t = int32 /* types.h:206:25 */
|
||||
type X__socklen_t = uint32 /* types.h:209:23 */
|
||||
|
||||
// C99: An integer type that can be accessed as an atomic entity,
|
||||
// even in the presence of asynchronous interrupts.
|
||||
// It is not currently necessary for this to be machine-specific.
|
||||
//
|
||||
// even in the presence of asynchronous interrupts.
|
||||
// It is not currently necessary for this to be machine-specific.
|
||||
type X__sig_atomic_t = int32 /* types.h:214:13 */
|
||||
|
||||
// Seconds since the Epoch, visible to user code when time_t is too
|
||||
// narrow only for consistency with the old way of widening too-narrow
|
||||
// types. User code should never use __time64_t.
|
||||
//
|
||||
// narrow only for consistency with the old way of widening too-narrow
|
||||
// types. User code should never use __time64_t.
|
||||
type X__time64_t = X__int64_t /* types.h:222:28 */
|
||||
|
||||
// Get the definitions of O_*, F_*, FD_*: all the
|
||||
@@ -1002,8 +1005,9 @@ type Flock = struct {
|
||||
// argument).
|
||||
|
||||
// POSIX.1-2001 specifies that these types are defined by <fcntl.h>.
|
||||
// Earlier POSIX standards permitted any type ending in `_t' to be defined
|
||||
// by any POSIX header, so we don't conditionalize the definitions here.
|
||||
//
|
||||
// Earlier POSIX standards permitted any type ending in `_t' to be defined
|
||||
// by any POSIX header, so we don't conditionalize the definitions here.
|
||||
type Mode_t = X__mode_t /* fcntl.h:50:18 */
|
||||
|
||||
type Off_t = X__off64_t /* fcntl.h:58:19 */
|
||||
@@ -1067,7 +1071,8 @@ type Pid_t = X__pid_t /* fcntl.h:69:17 */
|
||||
// values.
|
||||
|
||||
// POSIX.1b structure for a time value. This is like a `struct timeval' but
|
||||
// has nanoseconds instead of microseconds.
|
||||
//
|
||||
// has nanoseconds instead of microseconds.
|
||||
type Timespec = struct {
|
||||
Ftv_sec X__time_t
|
||||
Ftv_nsec X__syscall_slong_t
|
||||
|
||||
16
vendor/modernc.org/libc/fcntl/fcntl_linux_arm64.go
generated
vendored
16
vendor/modernc.org/libc/fcntl/fcntl_linux_arm64.go
generated
vendored
@@ -905,7 +905,8 @@ type X__syscall_slong_t = int64 /* types.h:196:33 */
|
||||
type X__syscall_ulong_t = uint64 /* types.h:198:33 */
|
||||
|
||||
// These few don't really vary by system, they always correspond
|
||||
// to one of the other defined types.
|
||||
//
|
||||
// to one of the other defined types.
|
||||
type X__loff_t = X__off64_t /* types.h:202:19 */ // Type of file sizes and offsets (LFS).
|
||||
type X__caddr_t = uintptr /* types.h:203:14 */
|
||||
|
||||
@@ -916,8 +917,9 @@ type X__intptr_t = int64 /* types.h:206:25 */
|
||||
type X__socklen_t = uint32 /* types.h:209:23 */
|
||||
|
||||
// C99: An integer type that can be accessed as an atomic entity,
|
||||
// even in the presence of asynchronous interrupts.
|
||||
// It is not currently necessary for this to be machine-specific.
|
||||
//
|
||||
// even in the presence of asynchronous interrupts.
|
||||
// It is not currently necessary for this to be machine-specific.
|
||||
type X__sig_atomic_t = int32 /* types.h:214:13 */
|
||||
|
||||
// Seconds since the Epoch, visible to user code when time_t is too
|
||||
@@ -1026,8 +1028,9 @@ type Flock = struct {
|
||||
// argument).
|
||||
|
||||
// POSIX.1-2001 specifies that these types are defined by <fcntl.h>.
|
||||
// Earlier POSIX standards permitted any type ending in `_t' to be defined
|
||||
// by any POSIX header, so we don't conditionalize the definitions here.
|
||||
//
|
||||
// Earlier POSIX standards permitted any type ending in `_t' to be defined
|
||||
// by any POSIX header, so we don't conditionalize the definitions here.
|
||||
type Mode_t = X__mode_t /* fcntl.h:50:18 */
|
||||
|
||||
type Off_t = X__off64_t /* fcntl.h:58:19 */
|
||||
@@ -1091,7 +1094,8 @@ type Pid_t = X__pid_t /* fcntl.h:69:17 */
|
||||
// values.
|
||||
|
||||
// POSIX.1b structure for a time value. This is like a `struct timeval' but
|
||||
// has nanoseconds instead of microseconds.
|
||||
//
|
||||
// has nanoseconds instead of microseconds.
|
||||
type Timespec = struct {
|
||||
Ftv_sec X__time_t
|
||||
Ftv_nsec X__syscall_slong_t
|
||||
|
||||
16
vendor/modernc.org/libc/fcntl/fcntl_linux_ppc64le.go
generated
vendored
16
vendor/modernc.org/libc/fcntl/fcntl_linux_ppc64le.go
generated
vendored
@@ -851,7 +851,8 @@ type X__syscall_slong_t = int64 /* types.h:196:33 */
|
||||
type X__syscall_ulong_t = uint64 /* types.h:198:33 */
|
||||
|
||||
// These few don't really vary by system, they always correspond
|
||||
// to one of the other defined types.
|
||||
//
|
||||
// to one of the other defined types.
|
||||
type X__loff_t = X__off64_t /* types.h:202:19 */ // Type of file sizes and offsets (LFS).
|
||||
type X__caddr_t = uintptr /* types.h:203:14 */
|
||||
|
||||
@@ -862,8 +863,9 @@ type X__intptr_t = int64 /* types.h:206:25 */
|
||||
type X__socklen_t = uint32 /* types.h:209:23 */
|
||||
|
||||
// C99: An integer type that can be accessed as an atomic entity,
|
||||
// even in the presence of asynchronous interrupts.
|
||||
// It is not currently necessary for this to be machine-specific.
|
||||
//
|
||||
// even in the presence of asynchronous interrupts.
|
||||
// It is not currently necessary for this to be machine-specific.
|
||||
type X__sig_atomic_t = int32 /* types.h:214:13 */
|
||||
|
||||
// Seconds since the Epoch, visible to user code when time_t is too
|
||||
@@ -975,8 +977,9 @@ type Flock = struct {
|
||||
// argument).
|
||||
|
||||
// POSIX.1-2001 specifies that these types are defined by <fcntl.h>.
|
||||
// Earlier POSIX standards permitted any type ending in `_t' to be defined
|
||||
// by any POSIX header, so we don't conditionalize the definitions here.
|
||||
//
|
||||
// Earlier POSIX standards permitted any type ending in `_t' to be defined
|
||||
// by any POSIX header, so we don't conditionalize the definitions here.
|
||||
type Mode_t = X__mode_t /* fcntl.h:50:18 */
|
||||
|
||||
type Off_t = X__off64_t /* fcntl.h:58:19 */
|
||||
@@ -1040,7 +1043,8 @@ type Pid_t = X__pid_t /* fcntl.h:69:17 */
|
||||
// values.
|
||||
|
||||
// POSIX.1b structure for a time value. This is like a `struct timeval' but
|
||||
// has nanoseconds instead of microseconds.
|
||||
//
|
||||
// has nanoseconds instead of microseconds.
|
||||
type Timespec = struct {
|
||||
Ftv_sec X__time_t
|
||||
Ftv_nsec X__syscall_slong_t
|
||||
|
||||
16
vendor/modernc.org/libc/fcntl/fcntl_linux_riscv64.go
generated
vendored
16
vendor/modernc.org/libc/fcntl/fcntl_linux_riscv64.go
generated
vendored
@@ -1006,7 +1006,8 @@ type X__syscall_slong_t = int64 /* types.h:197:33 */
|
||||
type X__syscall_ulong_t = uint64 /* types.h:199:33 */
|
||||
|
||||
// These few don't really vary by system, they always correspond
|
||||
// to one of the other defined types.
|
||||
//
|
||||
// to one of the other defined types.
|
||||
type X__loff_t = X__off64_t /* types.h:203:19 */ // Type of file sizes and offsets (LFS).
|
||||
type X__caddr_t = uintptr /* types.h:204:14 */
|
||||
|
||||
@@ -1017,8 +1018,9 @@ type X__intptr_t = int64 /* types.h:207:25 */
|
||||
type X__socklen_t = uint32 /* types.h:210:23 */
|
||||
|
||||
// C99: An integer type that can be accessed as an atomic entity,
|
||||
// even in the presence of asynchronous interrupts.
|
||||
// It is not currently necessary for this to be machine-specific.
|
||||
//
|
||||
// even in the presence of asynchronous interrupts.
|
||||
// It is not currently necessary for this to be machine-specific.
|
||||
type X__sig_atomic_t = int32 /* types.h:215:13 */
|
||||
|
||||
// Seconds since the Epoch, visible to user code when time_t is too
|
||||
@@ -1148,8 +1150,9 @@ type Flock = struct {
|
||||
// argument).
|
||||
|
||||
// POSIX.1-2001 specifies that these types are defined by <fcntl.h>.
|
||||
// Earlier POSIX standards permitted any type ending in `_t' to be defined
|
||||
// by any POSIX header, so we don't conditionalize the definitions here.
|
||||
//
|
||||
// Earlier POSIX standards permitted any type ending in `_t' to be defined
|
||||
// by any POSIX header, so we don't conditionalize the definitions here.
|
||||
type Mode_t = X__mode_t /* fcntl.h:50:18 */
|
||||
|
||||
type Off_t = X__off64_t /* fcntl.h:58:19 */
|
||||
@@ -1236,7 +1239,8 @@ type Pid_t = X__pid_t /* fcntl.h:69:17 */
|
||||
type Time_t = X__time_t /* time_t.h:10:18 */
|
||||
|
||||
// POSIX.1b structure for a time value. This is like a `struct timeval' but
|
||||
// has nanoseconds instead of microseconds.
|
||||
//
|
||||
// has nanoseconds instead of microseconds.
|
||||
type Timespec = struct {
|
||||
Ftv_sec X__time_t
|
||||
Ftv_nsec X__syscall_slong_t
|
||||
|
||||
16
vendor/modernc.org/libc/fcntl/fcntl_linux_s390x.go
generated
vendored
16
vendor/modernc.org/libc/fcntl/fcntl_linux_s390x.go
generated
vendored
@@ -836,7 +836,8 @@ type X__syscall_slong_t = int64 /* types.h:196:33 */
|
||||
type X__syscall_ulong_t = uint64 /* types.h:198:33 */
|
||||
|
||||
// These few don't really vary by system, they always correspond
|
||||
// to one of the other defined types.
|
||||
//
|
||||
// to one of the other defined types.
|
||||
type X__loff_t = X__off64_t /* types.h:202:19 */ // Type of file sizes and offsets (LFS).
|
||||
type X__caddr_t = uintptr /* types.h:203:14 */
|
||||
|
||||
@@ -847,8 +848,9 @@ type X__intptr_t = int64 /* types.h:206:25 */
|
||||
type X__socklen_t = uint32 /* types.h:209:23 */
|
||||
|
||||
// C99: An integer type that can be accessed as an atomic entity,
|
||||
// even in the presence of asynchronous interrupts.
|
||||
// It is not currently necessary for this to be machine-specific.
|
||||
//
|
||||
// even in the presence of asynchronous interrupts.
|
||||
// It is not currently necessary for this to be machine-specific.
|
||||
type X__sig_atomic_t = int32 /* types.h:214:13 */
|
||||
|
||||
// Seconds since the Epoch, visible to user code when time_t is too
|
||||
@@ -962,8 +964,9 @@ type Flock = struct {
|
||||
// argument).
|
||||
|
||||
// POSIX.1-2001 specifies that these types are defined by <fcntl.h>.
|
||||
// Earlier POSIX standards permitted any type ending in `_t' to be defined
|
||||
// by any POSIX header, so we don't conditionalize the definitions here.
|
||||
//
|
||||
// Earlier POSIX standards permitted any type ending in `_t' to be defined
|
||||
// by any POSIX header, so we don't conditionalize the definitions here.
|
||||
type Mode_t = X__mode_t /* fcntl.h:50:18 */
|
||||
|
||||
type Off_t = X__off64_t /* fcntl.h:58:19 */
|
||||
@@ -1027,7 +1030,8 @@ type Pid_t = X__pid_t /* fcntl.h:69:17 */
|
||||
// values.
|
||||
|
||||
// POSIX.1b structure for a time value. This is like a `struct timeval' but
|
||||
// has nanoseconds instead of microseconds.
|
||||
//
|
||||
// has nanoseconds instead of microseconds.
|
||||
type Timespec = struct {
|
||||
Ftv_sec X__time_t
|
||||
Ftv_nsec X__syscall_slong_t
|
||||
|
||||
1455
vendor/modernc.org/libc/fcntl/fcntl_netbsd_arm.go
generated
vendored
Normal file
1455
vendor/modernc.org/libc/fcntl/fcntl_netbsd_arm.go
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
816
vendor/modernc.org/libc/fcntl/fcntl_openbsd_386.go
generated
vendored
Normal file
816
vendor/modernc.org/libc/fcntl/fcntl_openbsd_386.go
generated
vendored
Normal file
@@ -0,0 +1,816 @@
|
||||
// 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_openbsd_386.go -pkgname fcntl', DO NOT EDIT.
|
||||
|
||||
package fcntl
|
||||
|
||||
import (
|
||||
"math"
|
||||
"reflect"
|
||||
"sync/atomic"
|
||||
"unsafe"
|
||||
)
|
||||
|
||||
var _ = math.Pi
|
||||
var _ reflect.Kind
|
||||
var _ atomic.Value
|
||||
var _ unsafe.Pointer
|
||||
|
||||
const (
|
||||
AT_EACCESS = 0x01 // fcntl.h:200:1:
|
||||
AT_FDCWD = -100 // fcntl.h:198:1:
|
||||
AT_REMOVEDIR = 0x08 // fcntl.h:203:1:
|
||||
AT_SYMLINK_FOLLOW = 0x04 // fcntl.h:202:1:
|
||||
AT_SYMLINK_NOFOLLOW = 0x02 // fcntl.h:201:1:
|
||||
BIG_ENDIAN = 4321 // endian.h:45:1:
|
||||
BYTE_ORDER = 1234 // endian.h:47:1:
|
||||
FAPPEND = 8 // fcntl.h:130:1:
|
||||
FASYNC = 64 // fcntl.h:131:1:
|
||||
FD_CLOEXEC = 1 // fcntl.h:163:1:
|
||||
FFSYNC = 128 // fcntl.h:132:1:
|
||||
FNDELAY = 4 // fcntl.h:134:1:
|
||||
FNONBLOCK = 4 // fcntl.h:133:1:
|
||||
FREAD = 0x0001 // fcntl.h:76:1:
|
||||
FWRITE = 0x0002 // fcntl.h:77:1:
|
||||
F_DUPFD = 0 // fcntl.h:143:1:
|
||||
F_DUPFD_CLOEXEC = 10 // fcntl.h:156:1:
|
||||
F_GETFD = 1 // fcntl.h:144:1:
|
||||
F_GETFL = 3 // fcntl.h:146:1:
|
||||
F_GETLK = 7 // fcntl.h:152:1:
|
||||
F_GETOWN = 5 // fcntl.h:149:1:
|
||||
F_ISATTY = 11 // fcntl.h:159:1:
|
||||
F_RDLCK = 1 // fcntl.h:166:1:
|
||||
F_SETFD = 2 // fcntl.h:145:1:
|
||||
F_SETFL = 4 // fcntl.h:147:1:
|
||||
F_SETLK = 8 // fcntl.h:153:1:
|
||||
F_SETLKW = 9 // fcntl.h:154:1:
|
||||
F_SETOWN = 6 // fcntl.h:150:1:
|
||||
F_UNLCK = 2 // fcntl.h:167:1:
|
||||
F_WRLCK = 3 // fcntl.h:168:1:
|
||||
LITTLE_ENDIAN = 1234 // endian.h:44:1:
|
||||
LOCK_EX = 0x02 // fcntl.h:192:1:
|
||||
LOCK_NB = 0x04 // fcntl.h:193:1:
|
||||
LOCK_SH = 0x01 // fcntl.h:191:1:
|
||||
LOCK_UN = 0x08 // fcntl.h:194:1:
|
||||
O_ACCMODE = 0x0003 // fcntl.h:65:1:
|
||||
O_APPEND = 0x0008 // fcntl.h:80:1:
|
||||
O_ASYNC = 0x0040 // fcntl.h:84:1:
|
||||
O_CLOEXEC = 0x10000 // fcntl.h:107:1:
|
||||
O_CREAT = 0x0200 // fcntl.h:91:1:
|
||||
O_DIRECTORY = 0x20000 // fcntl.h:108:1:
|
||||
O_DSYNC = 128 // fcntl.h:100:1:
|
||||
O_EXCL = 0x0800 // fcntl.h:93:1:
|
||||
O_EXLOCK = 0x0020 // fcntl.h:83:1:
|
||||
O_FSYNC = 0x0080 // fcntl.h:85:1:
|
||||
O_NDELAY = 4 // fcntl.h:135:1:
|
||||
O_NOCTTY = 0x8000 // fcntl.h:104:1:
|
||||
O_NOFOLLOW = 0x0100 // fcntl.h:86:1:
|
||||
O_NONBLOCK = 0x0004 // fcntl.h:79:1:
|
||||
O_RDONLY = 0x0000 // fcntl.h:62:1:
|
||||
O_RDWR = 0x0002 // fcntl.h:64:1:
|
||||
O_RSYNC = 128 // fcntl.h:101:1:
|
||||
O_SHLOCK = 0x0010 // fcntl.h:82:1:
|
||||
O_SYNC = 0x0080 // fcntl.h:89:1:
|
||||
O_TRUNC = 0x0400 // fcntl.h:92:1:
|
||||
O_WRONLY = 0x0001 // fcntl.h:63:1:
|
||||
PDP_ENDIAN = 3412 // endian.h:46:1:
|
||||
X_BIG_ENDIAN = 4321 // _endian.h:43:1:
|
||||
X_BYTE_ORDER = 1234 // endian.h:58:1:
|
||||
X_CLOCKID_T_DEFINED_ = 0 // types.h:162:1:
|
||||
X_CLOCK_T_DEFINED_ = 0 // types.h:157:1:
|
||||
X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
|
||||
X_ILP32 = 1 // <predefined>:1:1:
|
||||
X_INT16_T_DEFINED_ = 0 // types.h:84:1:
|
||||
X_INT32_T_DEFINED_ = 0 // types.h:94:1:
|
||||
X_INT64_T_DEFINED_ = 0 // types.h:104:1:
|
||||
X_INT8_T_DEFINED_ = 0 // types.h:74:1:
|
||||
X_LITTLE_ENDIAN = 1234 // _endian.h:42:1:
|
||||
X_MACHINE_CDEFS_H_ = 0 // cdefs.h:9:1:
|
||||
X_MACHINE_ENDIAN_H_ = 0 // endian.h:28:1:
|
||||
X_MACHINE__TYPES_H_ = 0 // _types.h:36:1:
|
||||
X_MAX_PAGE_SHIFT = 12 // _types.h:52:1:
|
||||
X_OFF_T_DEFINED_ = 0 // types.h:192:1:
|
||||
X_PDP_ENDIAN = 3412 // _endian.h:44:1:
|
||||
X_PID_T_DEFINED_ = 0 // types.h:167:1:
|
||||
X_QUAD_HIGHWORD = 1 // _endian.h:95:1:
|
||||
X_QUAD_LOWWORD = 0 // _endian.h:96:1:
|
||||
X_SIZE_T_DEFINED_ = 0 // types.h:172:1:
|
||||
X_SSIZE_T_DEFINED_ = 0 // types.h:177:1:
|
||||
X_STACKALIGNBYTES = 15 // _types.h:49:1:
|
||||
X_SYS_CDEFS_H_ = 0 // cdefs.h:39:1:
|
||||
X_SYS_ENDIAN_H_ = 0 // endian.h:38:1:
|
||||
X_SYS_FCNTL_H_ = 0 // fcntl.h:41:1:
|
||||
X_SYS_TYPES_H_ = 0 // types.h:41:1:
|
||||
X_SYS__ENDIAN_H_ = 0 // _endian.h:34:1:
|
||||
X_SYS__TYPES_H_ = 0 // _types.h:35:1:
|
||||
X_TIMER_T_DEFINED_ = 0 // types.h:187:1:
|
||||
X_TIME_T_DEFINED_ = 0 // types.h:182:1:
|
||||
X_UINT16_T_DEFINED_ = 0 // types.h:89:1:
|
||||
X_UINT32_T_DEFINED_ = 0 // types.h:99:1:
|
||||
X_UINT64_T_DEFINED_ = 0 // types.h:109:1:
|
||||
X_UINT8_T_DEFINED_ = 0 // types.h:79:1:
|
||||
I386 = 1 // <predefined>:339:1:
|
||||
Unix = 1 // <predefined>:340:1:
|
||||
)
|
||||
|
||||
type Ptrdiff_t = int32 /* <builtin>:3:26 */
|
||||
|
||||
type Size_t = uint32 /* <builtin>:9:23 */
|
||||
|
||||
type Wchar_t = int32 /* <builtin>:15:24 */
|
||||
|
||||
type X__builtin_va_list = uintptr /* <builtin>:46:14 */
|
||||
type X__float128 = float64 /* <builtin>:47:21 */
|
||||
|
||||
// $OpenBSD: fcntl.h,v 1.22 2019/01/21 18:09:21 anton Exp $
|
||||
// $NetBSD: fcntl.h,v 1.8 1995/03/26 20:24:12 jtc Exp $
|
||||
|
||||
// -
|
||||
// Copyright (c) 1983, 1990, 1993
|
||||
// The Regents of the University of California. All rights reserved.
|
||||
// (c) UNIX System Laboratories, Inc.
|
||||
// All or some portions of this file are derived from material licensed
|
||||
// to the University of California by American Telephone and Telegraph
|
||||
// Co. or Unix System Laboratories, Inc. and are reproduced herein with
|
||||
// the permission of UNIX System Laboratories, Inc.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
// 1. Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
// 2. Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the distribution.
|
||||
// 3. Neither the name of the University nor the names of its contributors
|
||||
// may be used to endorse or promote products derived from this software
|
||||
// without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||||
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||||
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
// SUCH DAMAGE.
|
||||
//
|
||||
// @(#)fcntl.h 8.3 (Berkeley) 1/21/94
|
||||
|
||||
// This file includes the definitions for open and fcntl
|
||||
// described by POSIX for <fcntl.h>; it also includes
|
||||
// related kernel definitions.
|
||||
|
||||
// $OpenBSD: cdefs.h,v 1.43 2018/10/29 17:10:40 guenther Exp $
|
||||
// $NetBSD: cdefs.h,v 1.16 1996/04/03 20:46:39 christos Exp $
|
||||
|
||||
// Copyright (c) 1991, 1993
|
||||
// The Regents of the University of California. All rights reserved.
|
||||
//
|
||||
// This code is derived from software contributed to Berkeley by
|
||||
// Berkeley Software Design, Inc.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
// 1. Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
// 2. Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the distribution.
|
||||
// 3. Neither the name of the University nor the names of its contributors
|
||||
// may be used to endorse or promote products derived from this software
|
||||
// without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||||
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||||
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
// SUCH DAMAGE.
|
||||
//
|
||||
// @(#)cdefs.h 8.7 (Berkeley) 1/21/94
|
||||
|
||||
// $OpenBSD: cdefs.h,v 1.10 2013/03/28 17:30:45 martynas Exp $
|
||||
|
||||
// Written by J.T. Conklin <jtc@wimsey.com> 01/17/95.
|
||||
// Public domain.
|
||||
|
||||
// Macro to test if we're using a specific version of gcc or later.
|
||||
|
||||
// The __CONCAT macro is used to concatenate parts of symbol names, e.g.
|
||||
// with "#define OLD(foo) __CONCAT(old,foo)", OLD(foo) produces oldfoo.
|
||||
// The __CONCAT macro is a bit tricky -- make sure you don't put spaces
|
||||
// in between its arguments. Do not use __CONCAT on double-quoted strings,
|
||||
// such as those from the __STRING macro: to concatenate strings just put
|
||||
// them next to each other.
|
||||
|
||||
// GCC1 and some versions of GCC2 declare dead (non-returning) and
|
||||
// pure (no side effects) functions using "volatile" and "const";
|
||||
// unfortunately, these then cause warnings under "-ansi -pedantic".
|
||||
// GCC >= 2.5 uses the __attribute__((attrs)) style. All of these
|
||||
// work for GNU C++ (modulo a slight glitch in the C++ grammar in
|
||||
// the distribution version of 2.5.5).
|
||||
|
||||
// __returns_twice makes the compiler not assume the function
|
||||
// only returns once. This affects registerisation of variables:
|
||||
// even local variables need to be in memory across such a call.
|
||||
// Example: setjmp()
|
||||
|
||||
// __only_inline makes the compiler only use this function definition
|
||||
// for inlining; references that can't be inlined will be left as
|
||||
// external references instead of generating a local copy. The
|
||||
// matching library should include a simple extern definition for
|
||||
// the function to handle those references. c.f. ctype.h
|
||||
|
||||
// GNU C version 2.96 adds explicit branch prediction so that
|
||||
// the CPU back-end can hint the processor and also so that
|
||||
// code blocks can be reordered such that the predicted path
|
||||
// sees a more linear flow, thus improving cache behavior, etc.
|
||||
//
|
||||
// The following two macros provide us with a way to utilize this
|
||||
// compiler feature. Use __predict_true() if you expect the expression
|
||||
// to evaluate to true, and __predict_false() if you expect the
|
||||
// expression to evaluate to false.
|
||||
//
|
||||
// A few notes about usage:
|
||||
//
|
||||
// * Generally, __predict_false() error condition checks (unless
|
||||
// you have some _strong_ reason to do otherwise, in which case
|
||||
// document it), and/or __predict_true() `no-error' condition
|
||||
// checks, assuming you want to optimize for the no-error case.
|
||||
//
|
||||
// * Other than that, if you don't know the likelihood of a test
|
||||
// succeeding from empirical or other `hard' evidence, don't
|
||||
// make predictions.
|
||||
//
|
||||
// * These are meant to be used in places that are run `a lot'.
|
||||
// It is wasteful to make predictions in code that is run
|
||||
// seldomly (e.g. at subsystem initialization time) as the
|
||||
// basic block reordering that this affects can often generate
|
||||
// larger code.
|
||||
|
||||
// Delete pseudo-keywords wherever they are not available or needed.
|
||||
|
||||
// The __packed macro indicates that a variable or structure members
|
||||
// should have the smallest possible alignment, despite any host CPU
|
||||
// alignment requirements.
|
||||
//
|
||||
// The __aligned(x) macro specifies the minimum alignment of a
|
||||
// variable or structure.
|
||||
//
|
||||
// These macros together are useful for describing the layout and
|
||||
// alignment of messages exchanged with hardware or other systems.
|
||||
|
||||
// "The nice thing about standards is that there are so many to choose from."
|
||||
// There are a number of "feature test macros" specified by (different)
|
||||
// standards that determine which interfaces and types the header files
|
||||
// should expose.
|
||||
//
|
||||
// Because of inconsistencies in these macros, we define our own
|
||||
// set in the private name space that end in _VISIBLE. These are
|
||||
// always defined and so headers can test their values easily.
|
||||
// Things can get tricky when multiple feature macros are defined.
|
||||
// We try to take the union of all the features requested.
|
||||
//
|
||||
// The following macros are guaranteed to have a value after cdefs.h
|
||||
// has been included:
|
||||
// __POSIX_VISIBLE
|
||||
// __XPG_VISIBLE
|
||||
// __ISO_C_VISIBLE
|
||||
// __BSD_VISIBLE
|
||||
|
||||
// X/Open Portability Guides and Single Unix Specifications.
|
||||
// _XOPEN_SOURCE XPG3
|
||||
// _XOPEN_SOURCE && _XOPEN_VERSION = 4 XPG4
|
||||
// _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED = 1 XPG4v2
|
||||
// _XOPEN_SOURCE == 500 XPG5
|
||||
// _XOPEN_SOURCE == 520 XPG5v2
|
||||
// _XOPEN_SOURCE == 600 POSIX 1003.1-2001 with XSI
|
||||
// _XOPEN_SOURCE == 700 POSIX 1003.1-2008 with XSI
|
||||
//
|
||||
// The XPG spec implies a specific value for _POSIX_C_SOURCE.
|
||||
|
||||
// POSIX macros, these checks must follow the XOPEN ones above.
|
||||
//
|
||||
// _POSIX_SOURCE == 1 1003.1-1988 (superseded by _POSIX_C_SOURCE)
|
||||
// _POSIX_C_SOURCE == 1 1003.1-1990
|
||||
// _POSIX_C_SOURCE == 2 1003.2-1992
|
||||
// _POSIX_C_SOURCE == 199309L 1003.1b-1993
|
||||
// _POSIX_C_SOURCE == 199506L 1003.1c-1995, 1003.1i-1995,
|
||||
// and the omnibus ISO/IEC 9945-1:1996
|
||||
// _POSIX_C_SOURCE == 200112L 1003.1-2001
|
||||
// _POSIX_C_SOURCE == 200809L 1003.1-2008
|
||||
//
|
||||
// The POSIX spec implies a specific value for __ISO_C_VISIBLE, though
|
||||
// this may be overridden by the _ISOC99_SOURCE macro later.
|
||||
|
||||
// _ANSI_SOURCE means to expose ANSI C89 interfaces only.
|
||||
// If the user defines it in addition to one of the POSIX or XOPEN
|
||||
// macros, assume the POSIX/XOPEN macro(s) should take precedence.
|
||||
|
||||
// _ISOC99_SOURCE, _ISOC11_SOURCE, __STDC_VERSION__, and __cplusplus
|
||||
// override any of the other macros since they are non-exclusive.
|
||||
|
||||
// Finally deal with BSD-specific interfaces that are not covered
|
||||
// by any standards. We expose these when none of the POSIX or XPG
|
||||
// macros is defined or if the user explicitly asks for them.
|
||||
|
||||
// Default values.
|
||||
|
||||
// $OpenBSD: types.h,v 1.49 2022/08/06 13:31:13 semarie Exp $
|
||||
// $NetBSD: types.h,v 1.29 1996/11/15 22:48:25 jtc Exp $
|
||||
|
||||
// -
|
||||
// Copyright (c) 1982, 1986, 1991, 1993
|
||||
// The Regents of the University of California. All rights reserved.
|
||||
// (c) UNIX System Laboratories, Inc.
|
||||
// All or some portions of this file are derived from material licensed
|
||||
// to the University of California by American Telephone and Telegraph
|
||||
// Co. or Unix System Laboratories, Inc. and are reproduced herein with
|
||||
// the permission of UNIX System Laboratories, Inc.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
// 1. Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
// 2. Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the distribution.
|
||||
// 3. Neither the name of the University nor the names of its contributors
|
||||
// may be used to endorse or promote products derived from this software
|
||||
// without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||||
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||||
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
// SUCH DAMAGE.
|
||||
//
|
||||
// @(#)types.h 8.4 (Berkeley) 1/21/94
|
||||
|
||||
// $OpenBSD: cdefs.h,v 1.43 2018/10/29 17:10:40 guenther Exp $
|
||||
// $NetBSD: cdefs.h,v 1.16 1996/04/03 20:46:39 christos Exp $
|
||||
|
||||
// Copyright (c) 1991, 1993
|
||||
// The Regents of the University of California. All rights reserved.
|
||||
//
|
||||
// This code is derived from software contributed to Berkeley by
|
||||
// Berkeley Software Design, Inc.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
// 1. Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
// 2. Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the distribution.
|
||||
// 3. Neither the name of the University nor the names of its contributors
|
||||
// may be used to endorse or promote products derived from this software
|
||||
// without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||||
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||||
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
// SUCH DAMAGE.
|
||||
//
|
||||
// @(#)cdefs.h 8.7 (Berkeley) 1/21/94
|
||||
|
||||
// $OpenBSD: endian.h,v 1.25 2014/12/21 04:49:00 guenther Exp $
|
||||
|
||||
// -
|
||||
// Copyright (c) 1997 Niklas Hallqvist. All rights reserved.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
// 1. Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
// 2. Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the distribution.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
// OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
// IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
// INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||
// NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
// THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
// Public definitions for little- and big-endian systems.
|
||||
// This file should be included as <endian.h> in userspace and as
|
||||
// <sys/endian.h> in the kernel.
|
||||
//
|
||||
// System headers that need endian information but that can't or don't
|
||||
// want to export the public names here should include <sys/_endian.h>
|
||||
// and use the internal names: _BYTE_ORDER, _*_ENDIAN, etc.
|
||||
|
||||
// $OpenBSD: cdefs.h,v 1.43 2018/10/29 17:10:40 guenther Exp $
|
||||
// $NetBSD: cdefs.h,v 1.16 1996/04/03 20:46:39 christos Exp $
|
||||
|
||||
// Copyright (c) 1991, 1993
|
||||
// The Regents of the University of California. All rights reserved.
|
||||
//
|
||||
// This code is derived from software contributed to Berkeley by
|
||||
// Berkeley Software Design, Inc.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
// 1. Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
// 2. Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the distribution.
|
||||
// 3. Neither the name of the University nor the names of its contributors
|
||||
// may be used to endorse or promote products derived from this software
|
||||
// without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||||
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||||
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
// SUCH DAMAGE.
|
||||
//
|
||||
// @(#)cdefs.h 8.7 (Berkeley) 1/21/94
|
||||
|
||||
// $OpenBSD: _endian.h,v 1.8 2018/01/11 23:13:37 dlg Exp $
|
||||
|
||||
// -
|
||||
// Copyright (c) 1997 Niklas Hallqvist. All rights reserved.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
// 1. Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
// 2. Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the distribution.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
// OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
// IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
// INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||
// NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
// THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
// Internal endianness macros. This pulls in <machine/endian.h> to
|
||||
// get the correct setting direction for the platform and sets internal
|
||||
// ('__' prefix) macros appropriately.
|
||||
|
||||
// $OpenBSD: _types.h,v 1.10 2022/08/06 13:31:13 semarie Exp $
|
||||
|
||||
// -
|
||||
// Copyright (c) 1990, 1993
|
||||
// The Regents of the University of California. All rights reserved.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
// 1. Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
// 2. Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the distribution.
|
||||
// 3. Neither the name of the University nor the names of its contributors
|
||||
// may be used to endorse or promote products derived from this software
|
||||
// without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||||
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||||
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
// SUCH DAMAGE.
|
||||
//
|
||||
// @(#)types.h 8.3 (Berkeley) 1/5/94
|
||||
|
||||
// $OpenBSD: _types.h,v 1.23 2018/03/05 01:15:25 deraadt Exp $
|
||||
|
||||
// -
|
||||
// Copyright (c) 1990, 1993
|
||||
// The Regents of the University of California. All rights reserved.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
// 1. Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
// 2. Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the distribution.
|
||||
// 3. Neither the name of the University nor the names of its contributors
|
||||
// may be used to endorse or promote products derived from this software
|
||||
// without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||||
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||||
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
// SUCH DAMAGE.
|
||||
//
|
||||
// @(#)types.h 8.3 (Berkeley) 1/5/94
|
||||
// @(#)ansi.h 8.2 (Berkeley) 1/4/94
|
||||
|
||||
// _ALIGN(p) rounds p (pointer or byte index) up to a correctly-aligned
|
||||
// value for all data types (int, long, ...). The result is an
|
||||
// unsigned long and must be cast to any desired pointer type.
|
||||
//
|
||||
// _ALIGNED_POINTER is a boolean macro that checks whether an address
|
||||
// is valid to fetch data elements of type t from on this architecture.
|
||||
// This does not reflect the optimal alignment, just the possibility
|
||||
// (within reasonable limits).
|
||||
|
||||
// 7.18.1.1 Exact-width integer types
|
||||
type X__int8_t = int8 /* _types.h:61:22 */
|
||||
type X__uint8_t = uint8 /* _types.h:62:24 */
|
||||
type X__int16_t = int16 /* _types.h:63:17 */
|
||||
type X__uint16_t = uint16 /* _types.h:64:25 */
|
||||
type X__int32_t = int32 /* _types.h:65:15 */
|
||||
type X__uint32_t = uint32 /* _types.h:66:23 */
|
||||
type X__int64_t = int64 /* _types.h:67:20 */
|
||||
type X__uint64_t = uint64 /* _types.h:68:28 */
|
||||
|
||||
// 7.18.1.2 Minimum-width integer types
|
||||
type X__int_least8_t = X__int8_t /* _types.h:71:19 */
|
||||
type X__uint_least8_t = X__uint8_t /* _types.h:72:20 */
|
||||
type X__int_least16_t = X__int16_t /* _types.h:73:20 */
|
||||
type X__uint_least16_t = X__uint16_t /* _types.h:74:21 */
|
||||
type X__int_least32_t = X__int32_t /* _types.h:75:20 */
|
||||
type X__uint_least32_t = X__uint32_t /* _types.h:76:21 */
|
||||
type X__int_least64_t = X__int64_t /* _types.h:77:20 */
|
||||
type X__uint_least64_t = X__uint64_t /* _types.h:78:21 */
|
||||
|
||||
// 7.18.1.3 Fastest minimum-width integer types
|
||||
type X__int_fast8_t = X__int32_t /* _types.h:81:20 */
|
||||
type X__uint_fast8_t = X__uint32_t /* _types.h:82:21 */
|
||||
type X__int_fast16_t = X__int32_t /* _types.h:83:20 */
|
||||
type X__uint_fast16_t = X__uint32_t /* _types.h:84:21 */
|
||||
type X__int_fast32_t = X__int32_t /* _types.h:85:20 */
|
||||
type X__uint_fast32_t = X__uint32_t /* _types.h:86:21 */
|
||||
type X__int_fast64_t = X__int64_t /* _types.h:87:20 */
|
||||
type X__uint_fast64_t = X__uint64_t /* _types.h:88:21 */
|
||||
|
||||
// 7.18.1.4 Integer types capable of holding object pointers
|
||||
type X__intptr_t = int32 /* _types.h:103:16 */
|
||||
type X__uintptr_t = uint32 /* _types.h:104:24 */
|
||||
|
||||
// 7.18.1.5 Greatest-width integer types
|
||||
type X__intmax_t = X__int64_t /* _types.h:107:20 */
|
||||
type X__uintmax_t = X__uint64_t /* _types.h:108:21 */
|
||||
|
||||
// Register size
|
||||
type X__register_t = int32 /* _types.h:111:16 */
|
||||
|
||||
// VM system types
|
||||
type X__vaddr_t = uint32 /* _types.h:114:24 */
|
||||
type X__paddr_t = uint32 /* _types.h:115:24 */
|
||||
type X__vsize_t = uint32 /* _types.h:116:24 */
|
||||
type X__psize_t = uint32 /* _types.h:117:24 */
|
||||
|
||||
// Standard system types
|
||||
type X__double_t = float64 /* _types.h:120:22 */
|
||||
type X__float_t = float64 /* _types.h:121:22 */
|
||||
type X__ptrdiff_t = int32 /* _types.h:122:16 */
|
||||
type X__size_t = uint32 /* _types.h:123:24 */
|
||||
type X__ssize_t = int32 /* _types.h:124:16 */
|
||||
type X__va_list = X__builtin_va_list /* _types.h:126:27 */
|
||||
|
||||
// Wide character support types
|
||||
type X__wchar_t = int32 /* _types.h:133:15 */
|
||||
type X__wint_t = int32 /* _types.h:135:15 */
|
||||
type X__rune_t = int32 /* _types.h:136:15 */
|
||||
type X__wctrans_t = uintptr /* _types.h:137:14 */
|
||||
type X__wctype_t = uintptr /* _types.h:138:14 */
|
||||
|
||||
type X__blkcnt_t = X__int64_t /* _types.h:39:19 */ // blocks allocated for file
|
||||
type X__blksize_t = X__int32_t /* _types.h:40:19 */ // optimal blocksize for I/O
|
||||
type X__clock_t = X__int64_t /* _types.h:41:19 */ // ticks in CLOCKS_PER_SEC
|
||||
type X__clockid_t = X__int32_t /* _types.h:42:19 */ // CLOCK_* identifiers
|
||||
type X__cpuid_t = uint32 /* _types.h:43:23 */ // CPU id
|
||||
type X__dev_t = X__int32_t /* _types.h:44:19 */ // device number
|
||||
type X__fixpt_t = X__uint32_t /* _types.h:45:20 */ // fixed point number
|
||||
type X__fsblkcnt_t = X__uint64_t /* _types.h:46:20 */ // file system block count
|
||||
type X__fsfilcnt_t = X__uint64_t /* _types.h:47:20 */ // file system file count
|
||||
type X__gid_t = X__uint32_t /* _types.h:48:20 */ // group id
|
||||
type X__id_t = X__uint32_t /* _types.h:49:20 */ // may contain pid, uid or gid
|
||||
type X__in_addr_t = X__uint32_t /* _types.h:50:20 */ // base type for internet address
|
||||
type X__in_port_t = X__uint16_t /* _types.h:51:20 */ // IP port type
|
||||
type X__ino_t = X__uint64_t /* _types.h:52:20 */ // inode number
|
||||
type X__key_t = int32 /* _types.h:53:15 */ // IPC key (for Sys V IPC)
|
||||
type X__mode_t = X__uint32_t /* _types.h:54:20 */ // permissions
|
||||
type X__nlink_t = X__uint32_t /* _types.h:55:20 */ // link count
|
||||
type X__off_t = X__int64_t /* _types.h:56:19 */ // file offset or size
|
||||
type X__pid_t = X__int32_t /* _types.h:57:19 */ // process id
|
||||
type X__rlim_t = X__uint64_t /* _types.h:58:20 */ // resource limit
|
||||
type X__sa_family_t = X__uint8_t /* _types.h:59:19 */ // sockaddr address family type
|
||||
type X__segsz_t = X__int32_t /* _types.h:60:19 */ // segment size
|
||||
type X__socklen_t = X__uint32_t /* _types.h:61:20 */ // length type for network syscalls
|
||||
type X__suseconds_t = int32 /* _types.h:62:15 */ // microseconds (signed)
|
||||
type X__time_t = X__int64_t /* _types.h:63:19 */ // epoch time
|
||||
type X__timer_t = X__int32_t /* _types.h:64:19 */ // POSIX timer identifiers
|
||||
type X__uid_t = X__uint32_t /* _types.h:65:20 */ // user id
|
||||
type X__useconds_t = X__uint32_t /* _types.h:66:20 */ // microseconds
|
||||
|
||||
// mbstate_t is an opaque object to keep conversion state, during multibyte
|
||||
// stream conversions. The content must not be referenced by user programs.
|
||||
type X__mbstate_t = struct {
|
||||
F__ccgo_pad1 [0]uint32
|
||||
F__mbstate8 [128]int8
|
||||
} /* _types.h:75:3 */
|
||||
|
||||
// Tell sys/endian.h we have MD variants of the swap macros.
|
||||
|
||||
// Note that these macros evaluate their arguments several times.
|
||||
|
||||
// Public names
|
||||
|
||||
// These are specified to be function-like macros to match the spec
|
||||
|
||||
// POSIX names
|
||||
|
||||
// original BSD names
|
||||
|
||||
// these were exposed here before
|
||||
|
||||
// ancient stuff
|
||||
|
||||
type U_char = uint8 /* types.h:51:23 */
|
||||
type U_short = uint16 /* types.h:52:24 */
|
||||
type U_int = uint32 /* types.h:53:22 */
|
||||
type U_long = uint32 /* types.h:54:23 */
|
||||
|
||||
type Unchar = uint8 /* types.h:56:23 */ // Sys V compatibility
|
||||
type Ushort = uint16 /* types.h:57:24 */ // Sys V compatibility
|
||||
type Uint = uint32 /* types.h:58:22 */ // Sys V compatibility
|
||||
type Ulong = uint32 /* types.h:59:23 */ // Sys V compatibility
|
||||
|
||||
type Cpuid_t = X__cpuid_t /* types.h:61:19 */ // CPU id
|
||||
type Register_t = X__register_t /* types.h:62:22 */ // register-sized type
|
||||
|
||||
// XXX The exact-width bit types should only be exposed if __BSD_VISIBLE
|
||||
// but the rest of the includes are not ready for that yet.
|
||||
|
||||
type Int8_t = X__int8_t /* types.h:75:19 */
|
||||
|
||||
type Uint8_t = X__uint8_t /* types.h:80:20 */
|
||||
|
||||
type Int16_t = X__int16_t /* types.h:85:20 */
|
||||
|
||||
type Uint16_t = X__uint16_t /* types.h:90:21 */
|
||||
|
||||
type Int32_t = X__int32_t /* types.h:95:20 */
|
||||
|
||||
type Uint32_t = X__uint32_t /* types.h:100:21 */
|
||||
|
||||
type Int64_t = X__int64_t /* types.h:105:20 */
|
||||
|
||||
type Uint64_t = X__uint64_t /* types.h:110:21 */
|
||||
|
||||
// BSD-style unsigned bits types
|
||||
type U_int8_t = X__uint8_t /* types.h:114:19 */
|
||||
type U_int16_t = X__uint16_t /* types.h:115:20 */
|
||||
type U_int32_t = X__uint32_t /* types.h:116:20 */
|
||||
type U_int64_t = X__uint64_t /* types.h:117:20 */
|
||||
|
||||
// quads, deprecated in favor of 64 bit int types
|
||||
type Quad_t = X__int64_t /* types.h:120:19 */
|
||||
type U_quad_t = X__uint64_t /* types.h:121:20 */
|
||||
|
||||
// VM system types
|
||||
type Vaddr_t = X__vaddr_t /* types.h:125:19 */
|
||||
type Paddr_t = X__paddr_t /* types.h:126:19 */
|
||||
type Vsize_t = X__vsize_t /* types.h:127:19 */
|
||||
type Psize_t = X__psize_t /* types.h:128:19 */
|
||||
|
||||
// Standard system types
|
||||
type Blkcnt_t = X__blkcnt_t /* types.h:132:20 */ // blocks allocated for file
|
||||
type Blksize_t = X__blksize_t /* types.h:133:21 */ // optimal blocksize for I/O
|
||||
type Caddr_t = uintptr /* types.h:134:14 */ // core address
|
||||
type Daddr32_t = X__int32_t /* types.h:135:19 */ // 32-bit disk address
|
||||
type Daddr_t = X__int64_t /* types.h:136:19 */ // 64-bit disk address
|
||||
type Dev_t = X__dev_t /* types.h:137:18 */ // device number
|
||||
type Fixpt_t = X__fixpt_t /* types.h:138:19 */ // fixed point number
|
||||
type Gid_t = X__gid_t /* types.h:139:18 */ // group id
|
||||
type Id_t = X__id_t /* types.h:140:17 */ // may contain pid, uid or gid
|
||||
type Ino_t = X__ino_t /* types.h:141:18 */ // inode number
|
||||
type Key_t = X__key_t /* types.h:142:18 */ // IPC key (for Sys V IPC)
|
||||
type Mode_t = X__mode_t /* types.h:143:18 */ // permissions
|
||||
type Nlink_t = X__nlink_t /* types.h:144:19 */ // link count
|
||||
type Rlim_t = X__rlim_t /* types.h:145:18 */ // resource limit
|
||||
type Segsz_t = X__segsz_t /* types.h:146:19 */ // segment size
|
||||
type Uid_t = X__uid_t /* types.h:147:18 */ // user id
|
||||
type Useconds_t = X__useconds_t /* types.h:148:22 */ // microseconds
|
||||
type Suseconds_t = X__suseconds_t /* types.h:149:23 */ // microseconds (signed)
|
||||
type Fsblkcnt_t = X__fsblkcnt_t /* types.h:150:22 */ // file system block count
|
||||
type Fsfilcnt_t = X__fsfilcnt_t /* types.h:151:22 */ // file system file count
|
||||
|
||||
// The following types may be defined in multiple header files.
|
||||
type Clock_t = X__clock_t /* types.h:158:19 */
|
||||
|
||||
type Clockid_t = X__clockid_t /* types.h:163:21 */
|
||||
|
||||
type Pid_t = X__pid_t /* types.h:168:18 */
|
||||
|
||||
type Ssize_t = X__ssize_t /* types.h:178:19 */
|
||||
|
||||
type Time_t = X__time_t /* types.h:183:18 */
|
||||
|
||||
type Timer_t = X__timer_t /* types.h:188:19 */
|
||||
|
||||
type Off_t = X__off_t /* types.h:193:18 */
|
||||
|
||||
// Major, minor numbers, dev_t's.
|
||||
|
||||
// File status flags: these are used by open(2), fcntl(2).
|
||||
// They are also used (indirectly) in the kernel file structure f_flags,
|
||||
// which is a superset of the open/fcntl flags. Open flags and f_flags
|
||||
// are inter-convertible using OFLAGS(fflags) and FFLAGS(oflags).
|
||||
// Open/fcntl flags begin with O_; kernel-internal flags begin with F.
|
||||
// open-only flags
|
||||
|
||||
// Kernel encoding of open mode; separate read and write bits that are
|
||||
// independently testable: 1 greater than the above.
|
||||
//
|
||||
// XXX
|
||||
// FREAD and FWRITE are excluded from the #ifdef _KERNEL so that TIOCFLUSH,
|
||||
// which was documented to use FREAD/FWRITE, continues to work.
|
||||
|
||||
// POSIX 1003.1 specifies a higher granularity for synchronous operations
|
||||
// than we support. Since synchronicity is all or nothing in OpenBSD
|
||||
// we just define these to be the same as O_SYNC.
|
||||
|
||||
// defined by POSIX 1003.1; BSD default, this bit is not required
|
||||
|
||||
// defined by POSIX Issue 7
|
||||
|
||||
// The O_* flags used to have only F* names, which were used in the kernel
|
||||
// and by fcntl. We retain the F* names for the kernel f_flags field
|
||||
// and for backward compatibility for fcntl.
|
||||
|
||||
// Constants used for fcntl(2)
|
||||
|
||||
// command values
|
||||
|
||||
// file descriptor flags (F_GETFD, F_SETFD)
|
||||
|
||||
// record locking flags (F_GETLK, F_SETLK, F_SETLKW)
|
||||
|
||||
// Advisory file segment locking data type -
|
||||
// information passed to system by user
|
||||
type Flock = struct {
|
||||
Fl_start Off_t
|
||||
Fl_len Off_t
|
||||
Fl_pid Pid_t
|
||||
Fl_type int16
|
||||
Fl_whence int16
|
||||
} /* fcntl.h:180:1 */
|
||||
|
||||
var _ int8 /* gen.c:2:13: */
|
||||
58
vendor/modernc.org/libc/fcntl/fcntl_openbsd_amd64.go
generated
vendored
58
vendor/modernc.org/libc/fcntl/fcntl_openbsd_amd64.go
generated
vendored
@@ -74,8 +74,8 @@ const (
|
||||
PDP_ENDIAN = 3412 // endian.h:46:1:
|
||||
X_BIG_ENDIAN = 4321 // _endian.h:43:1:
|
||||
X_BYTE_ORDER = 1234 // endian.h:58:1:
|
||||
X_CLOCKID_T_DEFINED_ = 0 // types.h:163:1:
|
||||
X_CLOCK_T_DEFINED_ = 0 // types.h:158:1:
|
||||
X_CLOCKID_T_DEFINED_ = 0 // types.h:162:1:
|
||||
X_CLOCK_T_DEFINED_ = 0 // types.h:157:1:
|
||||
X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
|
||||
X_INT16_T_DEFINED_ = 0 // types.h:84:1:
|
||||
X_INT32_T_DEFINED_ = 0 // types.h:94:1:
|
||||
@@ -87,14 +87,14 @@ const (
|
||||
X_MACHINE_ENDIAN_H_ = 0 // endian.h:28:1:
|
||||
X_MACHINE__TYPES_H_ = 0 // _types.h:36:1:
|
||||
X_MAX_PAGE_SHIFT = 12 // _types.h:52:1:
|
||||
X_OFF_T_DEFINED_ = 0 // types.h:193:1:
|
||||
X_OFF_T_DEFINED_ = 0 // types.h:192:1:
|
||||
X_PDP_ENDIAN = 3412 // _endian.h:44:1:
|
||||
X_PID_T_DEFINED_ = 0 // types.h:168:1:
|
||||
X_PID_T_DEFINED_ = 0 // types.h:167:1:
|
||||
X_QUAD_HIGHWORD = 1 // _endian.h:95:1:
|
||||
X_QUAD_LOWWORD = 0 // _endian.h:96:1:
|
||||
X_RET_PROTECTOR = 1 // <predefined>:2:1:
|
||||
X_SIZE_T_DEFINED_ = 0 // types.h:173:1:
|
||||
X_SSIZE_T_DEFINED_ = 0 // types.h:178:1:
|
||||
X_SIZE_T_DEFINED_ = 0 // types.h:172:1:
|
||||
X_SSIZE_T_DEFINED_ = 0 // types.h:177:1:
|
||||
X_STACKALIGNBYTES = 15 // _types.h:49:1:
|
||||
X_SYS_CDEFS_H_ = 0 // cdefs.h:39:1:
|
||||
X_SYS_ENDIAN_H_ = 0 // endian.h:38:1:
|
||||
@@ -102,13 +102,13 @@ const (
|
||||
X_SYS_TYPES_H_ = 0 // types.h:41:1:
|
||||
X_SYS__ENDIAN_H_ = 0 // _endian.h:34:1:
|
||||
X_SYS__TYPES_H_ = 0 // _types.h:35:1:
|
||||
X_TIMER_T_DEFINED_ = 0 // types.h:188:1:
|
||||
X_TIME_T_DEFINED_ = 0 // types.h:183:1:
|
||||
X_TIMER_T_DEFINED_ = 0 // types.h:187:1:
|
||||
X_TIME_T_DEFINED_ = 0 // types.h:182:1:
|
||||
X_UINT16_T_DEFINED_ = 0 // types.h:89:1:
|
||||
X_UINT32_T_DEFINED_ = 0 // types.h:99:1:
|
||||
X_UINT64_T_DEFINED_ = 0 // types.h:109:1:
|
||||
X_UINT8_T_DEFINED_ = 0 // types.h:79:1:
|
||||
Unix = 1 // <predefined>:340:1:
|
||||
Unix = 1 // <predefined>:344:1:
|
||||
)
|
||||
|
||||
type Ptrdiff_t = int64 /* <builtin>:3:26 */
|
||||
@@ -333,7 +333,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
|
||||
|
||||
// Default values.
|
||||
|
||||
// $OpenBSD: types.h,v 1.48 2019/02/09 04:54:11 guenther Exp $
|
||||
// $OpenBSD: types.h,v 1.49 2022/08/06 13:31:13 semarie Exp $
|
||||
// $NetBSD: types.h,v 1.29 1996/11/15 22:48:25 jtc Exp $
|
||||
|
||||
// -
|
||||
@@ -503,7 +503,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
|
||||
// get the correct setting direction for the platform and sets internal
|
||||
// ('__' prefix) macros appropriately.
|
||||
|
||||
// $OpenBSD: _types.h,v 1.9 2014/08/22 23:05:15 krw Exp $
|
||||
// $OpenBSD: _types.h,v 1.10 2022/08/06 13:31:13 semarie Exp $
|
||||
|
||||
// -
|
||||
// Copyright (c) 1990, 1993
|
||||
@@ -663,18 +663,17 @@ type X__sa_family_t = X__uint8_t /* _types.h:59:19 */ // sockaddr address family
|
||||
type X__segsz_t = X__int32_t /* _types.h:60:19 */ // segment size
|
||||
type X__socklen_t = X__uint32_t /* _types.h:61:20 */ // length type for network syscalls
|
||||
type X__suseconds_t = int64 /* _types.h:62:15 */ // microseconds (signed)
|
||||
type X__swblk_t = X__int32_t /* _types.h:63:19 */ // swap offset
|
||||
type X__time_t = X__int64_t /* _types.h:64:19 */ // epoch time
|
||||
type X__timer_t = X__int32_t /* _types.h:65:19 */ // POSIX timer identifiers
|
||||
type X__uid_t = X__uint32_t /* _types.h:66:20 */ // user id
|
||||
type X__useconds_t = X__uint32_t /* _types.h:67:20 */ // microseconds
|
||||
type X__time_t = X__int64_t /* _types.h:63:19 */ // epoch time
|
||||
type X__timer_t = X__int32_t /* _types.h:64:19 */ // POSIX timer identifiers
|
||||
type X__uid_t = X__uint32_t /* _types.h:65:20 */ // user id
|
||||
type X__useconds_t = X__uint32_t /* _types.h:66:20 */ // microseconds
|
||||
|
||||
// mbstate_t is an opaque object to keep conversion state, during multibyte
|
||||
// stream conversions. The content must not be referenced by user programs.
|
||||
type X__mbstate_t = struct {
|
||||
F__ccgo_pad1 [0]uint64
|
||||
F__mbstate8 [128]int8
|
||||
} /* _types.h:76:3 */
|
||||
} /* _types.h:75:3 */
|
||||
|
||||
// Tell sys/endian.h we have MD variants of the swap macros.
|
||||
|
||||
@@ -756,27 +755,26 @@ type Mode_t = X__mode_t /* types.h:143:18 */ // permissions
|
||||
type Nlink_t = X__nlink_t /* types.h:144:19 */ // link count
|
||||
type Rlim_t = X__rlim_t /* types.h:145:18 */ // resource limit
|
||||
type Segsz_t = X__segsz_t /* types.h:146:19 */ // segment size
|
||||
type Swblk_t = X__swblk_t /* types.h:147:19 */ // swap offset
|
||||
type Uid_t = X__uid_t /* types.h:148:18 */ // user id
|
||||
type Useconds_t = X__useconds_t /* types.h:149:22 */ // microseconds
|
||||
type Suseconds_t = X__suseconds_t /* types.h:150:23 */ // microseconds (signed)
|
||||
type Fsblkcnt_t = X__fsblkcnt_t /* types.h:151:22 */ // file system block count
|
||||
type Fsfilcnt_t = X__fsfilcnt_t /* types.h:152:22 */ // file system file count
|
||||
type Uid_t = X__uid_t /* types.h:147:18 */ // user id
|
||||
type Useconds_t = X__useconds_t /* types.h:148:22 */ // microseconds
|
||||
type Suseconds_t = X__suseconds_t /* types.h:149:23 */ // microseconds (signed)
|
||||
type Fsblkcnt_t = X__fsblkcnt_t /* types.h:150:22 */ // file system block count
|
||||
type Fsfilcnt_t = X__fsfilcnt_t /* types.h:151:22 */ // file system file count
|
||||
|
||||
// The following types may be defined in multiple header files.
|
||||
type Clock_t = X__clock_t /* types.h:159:19 */
|
||||
type Clock_t = X__clock_t /* types.h:158:19 */
|
||||
|
||||
type Clockid_t = X__clockid_t /* types.h:164:21 */
|
||||
type Clockid_t = X__clockid_t /* types.h:163:21 */
|
||||
|
||||
type Pid_t = X__pid_t /* types.h:169:18 */
|
||||
type Pid_t = X__pid_t /* types.h:168:18 */
|
||||
|
||||
type Ssize_t = X__ssize_t /* types.h:179:19 */
|
||||
type Ssize_t = X__ssize_t /* types.h:178:19 */
|
||||
|
||||
type Time_t = X__time_t /* types.h:184:18 */
|
||||
type Time_t = X__time_t /* types.h:183:18 */
|
||||
|
||||
type Timer_t = X__timer_t /* types.h:189:19 */
|
||||
type Timer_t = X__timer_t /* types.h:188:19 */
|
||||
|
||||
type Off_t = X__off_t /* types.h:194:18 */
|
||||
type Off_t = X__off_t /* types.h:193:18 */
|
||||
|
||||
// Major, minor numbers, dev_t's.
|
||||
|
||||
|
||||
823
vendor/modernc.org/libc/fcntl/fcntl_openbsd_arm64.go
generated
vendored
Normal file
823
vendor/modernc.org/libc/fcntl/fcntl_openbsd_arm64.go
generated
vendored
Normal file
@@ -0,0 +1,823 @@
|
||||
// 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_openbsd_arm64.go -pkgname fcntl', DO NOT EDIT.
|
||||
|
||||
package fcntl
|
||||
|
||||
import (
|
||||
"math"
|
||||
"reflect"
|
||||
"sync/atomic"
|
||||
"unsafe"
|
||||
)
|
||||
|
||||
var _ = math.Pi
|
||||
var _ reflect.Kind
|
||||
var _ atomic.Value
|
||||
var _ unsafe.Pointer
|
||||
|
||||
const (
|
||||
AT_EACCESS = 0x01 // fcntl.h:200:1:
|
||||
AT_FDCWD = -100 // fcntl.h:198:1:
|
||||
AT_REMOVEDIR = 0x08 // fcntl.h:203:1:
|
||||
AT_SYMLINK_FOLLOW = 0x04 // fcntl.h:202:1:
|
||||
AT_SYMLINK_NOFOLLOW = 0x02 // fcntl.h:201:1:
|
||||
BIG_ENDIAN = 4321 // endian.h:45:1:
|
||||
BYTE_ORDER = 1234 // endian.h:47:1:
|
||||
FAPPEND = 8 // fcntl.h:130:1:
|
||||
FASYNC = 64 // fcntl.h:131:1:
|
||||
FD_CLOEXEC = 1 // fcntl.h:163:1:
|
||||
FFSYNC = 128 // fcntl.h:132:1:
|
||||
FNDELAY = 4 // fcntl.h:134:1:
|
||||
FNONBLOCK = 4 // fcntl.h:133:1:
|
||||
FREAD = 0x0001 // fcntl.h:76:1:
|
||||
FWRITE = 0x0002 // fcntl.h:77:1:
|
||||
F_DUPFD = 0 // fcntl.h:143:1:
|
||||
F_DUPFD_CLOEXEC = 10 // fcntl.h:156:1:
|
||||
F_GETFD = 1 // fcntl.h:144:1:
|
||||
F_GETFL = 3 // fcntl.h:146:1:
|
||||
F_GETLK = 7 // fcntl.h:152:1:
|
||||
F_GETOWN = 5 // fcntl.h:149:1:
|
||||
F_ISATTY = 11 // fcntl.h:159:1:
|
||||
F_RDLCK = 1 // fcntl.h:166:1:
|
||||
F_SETFD = 2 // fcntl.h:145:1:
|
||||
F_SETFL = 4 // fcntl.h:147:1:
|
||||
F_SETLK = 8 // fcntl.h:153:1:
|
||||
F_SETLKW = 9 // fcntl.h:154:1:
|
||||
F_SETOWN = 6 // fcntl.h:150:1:
|
||||
F_UNLCK = 2 // fcntl.h:167:1:
|
||||
F_WRLCK = 3 // fcntl.h:168:1:
|
||||
LITTLE_ENDIAN = 1234 // endian.h:44:1:
|
||||
LOCK_EX = 0x02 // fcntl.h:192:1:
|
||||
LOCK_NB = 0x04 // fcntl.h:193:1:
|
||||
LOCK_SH = 0x01 // fcntl.h:191:1:
|
||||
LOCK_UN = 0x08 // fcntl.h:194:1:
|
||||
O_ACCMODE = 0x0003 // fcntl.h:65:1:
|
||||
O_APPEND = 0x0008 // fcntl.h:80:1:
|
||||
O_ASYNC = 0x0040 // fcntl.h:84:1:
|
||||
O_CLOEXEC = 0x10000 // fcntl.h:107:1:
|
||||
O_CREAT = 0x0200 // fcntl.h:91:1:
|
||||
O_DIRECTORY = 0x20000 // fcntl.h:108:1:
|
||||
O_DSYNC = 128 // fcntl.h:100:1:
|
||||
O_EXCL = 0x0800 // fcntl.h:93:1:
|
||||
O_EXLOCK = 0x0020 // fcntl.h:83:1:
|
||||
O_FSYNC = 0x0080 // fcntl.h:85:1:
|
||||
O_NDELAY = 4 // fcntl.h:135:1:
|
||||
O_NOCTTY = 0x8000 // fcntl.h:104:1:
|
||||
O_NOFOLLOW = 0x0100 // fcntl.h:86:1:
|
||||
O_NONBLOCK = 0x0004 // fcntl.h:79:1:
|
||||
O_RDONLY = 0x0000 // fcntl.h:62:1:
|
||||
O_RDWR = 0x0002 // fcntl.h:64:1:
|
||||
O_RSYNC = 128 // fcntl.h:101:1:
|
||||
O_SHLOCK = 0x0010 // fcntl.h:82:1:
|
||||
O_SYNC = 0x0080 // fcntl.h:89:1:
|
||||
O_TRUNC = 0x0400 // fcntl.h:92:1:
|
||||
O_WRONLY = 0x0001 // fcntl.h:63:1:
|
||||
PDP_ENDIAN = 3412 // endian.h:46:1:
|
||||
X_BIG_ENDIAN = 4321 // _endian.h:43:1:
|
||||
X_BYTE_ORDER = 1234 // endian.h:60:1:
|
||||
X_CLOCKID_T_DEFINED_ = 0 // types.h:162:1:
|
||||
X_CLOCK_T_DEFINED_ = 0 // types.h:157:1:
|
||||
X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
|
||||
X_INT16_T_DEFINED_ = 0 // types.h:84:1:
|
||||
X_INT32_T_DEFINED_ = 0 // types.h:94:1:
|
||||
X_INT64_T_DEFINED_ = 0 // types.h:104:1:
|
||||
X_INT8_T_DEFINED_ = 0 // types.h:74:1:
|
||||
X_LITTLE_ENDIAN = 1234 // _endian.h:42:1:
|
||||
X_LP64 = 1 // <predefined>:1:1:
|
||||
X_MACHINE_CDEFS_H_ = 0 // cdefs.h:4:1:
|
||||
X_MACHINE_ENDIAN_H_ = 0 // endian.h:20:1:
|
||||
X_MACHINE__TYPES_H_ = 0 // _types.h:35:1:
|
||||
X_MAX_PAGE_SHIFT = 12 // _types.h:57:1:
|
||||
X_OFF_T_DEFINED_ = 0 // types.h:192:1:
|
||||
X_PDP_ENDIAN = 3412 // _endian.h:44:1:
|
||||
X_PID_T_DEFINED_ = 0 // types.h:167:1:
|
||||
X_QUAD_HIGHWORD = 1 // _endian.h:95:1:
|
||||
X_QUAD_LOWWORD = 0 // _endian.h:96:1:
|
||||
X_RET_PROTECTOR = 1 // <predefined>:2:1:
|
||||
X_SIZE_T_DEFINED_ = 0 // types.h:172:1:
|
||||
X_SSIZE_T_DEFINED_ = 0 // types.h:177:1:
|
||||
X_STACKALIGNBYTES = 15 // _types.h:54:1:
|
||||
X_SYS_CDEFS_H_ = 0 // cdefs.h:39:1:
|
||||
X_SYS_ENDIAN_H_ = 0 // endian.h:38:1:
|
||||
X_SYS_FCNTL_H_ = 0 // fcntl.h:41:1:
|
||||
X_SYS_TYPES_H_ = 0 // types.h:41:1:
|
||||
X_SYS__ENDIAN_H_ = 0 // _endian.h:34:1:
|
||||
X_SYS__TYPES_H_ = 0 // _types.h:35:1:
|
||||
X_TIMER_T_DEFINED_ = 0 // types.h:187:1:
|
||||
X_TIME_T_DEFINED_ = 0 // types.h:182:1:
|
||||
X_UINT16_T_DEFINED_ = 0 // types.h:89:1:
|
||||
X_UINT32_T_DEFINED_ = 0 // types.h:99:1:
|
||||
X_UINT64_T_DEFINED_ = 0 // types.h:109:1:
|
||||
X_UINT8_T_DEFINED_ = 0 // types.h:79:1:
|
||||
Unix = 1 // <predefined>:360:1:
|
||||
)
|
||||
|
||||
type Ptrdiff_t = int64 /* <builtin>:3:26 */
|
||||
|
||||
type Size_t = uint64 /* <builtin>:9:23 */
|
||||
|
||||
type Wchar_t = int32 /* <builtin>:15:24 */
|
||||
|
||||
type X__int128_t = struct {
|
||||
Flo int64
|
||||
Fhi int64
|
||||
} /* <builtin>:21:43 */ // must match modernc.org/mathutil.Int128
|
||||
type X__uint128_t = struct {
|
||||
Flo uint64
|
||||
Fhi uint64
|
||||
} /* <builtin>:22:44 */ // must match modernc.org/mathutil.Int128
|
||||
|
||||
type X__builtin_va_list = uintptr /* <builtin>:46:14 */
|
||||
type X__float128 = float64 /* <builtin>:47:21 */
|
||||
|
||||
// $OpenBSD: fcntl.h,v 1.22 2019/01/21 18:09:21 anton Exp $
|
||||
// $NetBSD: fcntl.h,v 1.8 1995/03/26 20:24:12 jtc Exp $
|
||||
|
||||
// -
|
||||
// Copyright (c) 1983, 1990, 1993
|
||||
// The Regents of the University of California. All rights reserved.
|
||||
// (c) UNIX System Laboratories, Inc.
|
||||
// All or some portions of this file are derived from material licensed
|
||||
// to the University of California by American Telephone and Telegraph
|
||||
// Co. or Unix System Laboratories, Inc. and are reproduced herein with
|
||||
// the permission of UNIX System Laboratories, Inc.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
// 1. Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
// 2. Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the distribution.
|
||||
// 3. Neither the name of the University nor the names of its contributors
|
||||
// may be used to endorse or promote products derived from this software
|
||||
// without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||||
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||||
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
// SUCH DAMAGE.
|
||||
//
|
||||
// @(#)fcntl.h 8.3 (Berkeley) 1/21/94
|
||||
|
||||
// This file includes the definitions for open and fcntl
|
||||
// described by POSIX for <fcntl.h>; it also includes
|
||||
// related kernel definitions.
|
||||
|
||||
// $OpenBSD: cdefs.h,v 1.43 2018/10/29 17:10:40 guenther Exp $
|
||||
// $NetBSD: cdefs.h,v 1.16 1996/04/03 20:46:39 christos Exp $
|
||||
|
||||
// Copyright (c) 1991, 1993
|
||||
// The Regents of the University of California. All rights reserved.
|
||||
//
|
||||
// This code is derived from software contributed to Berkeley by
|
||||
// Berkeley Software Design, Inc.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
// 1. Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
// 2. Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the distribution.
|
||||
// 3. Neither the name of the University nor the names of its contributors
|
||||
// may be used to endorse or promote products derived from this software
|
||||
// without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||||
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||||
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
// SUCH DAMAGE.
|
||||
//
|
||||
// @(#)cdefs.h 8.7 (Berkeley) 1/21/94
|
||||
|
||||
// $OpenBSD: cdefs.h,v 1.1 2016/12/17 23:38:33 patrick Exp $
|
||||
|
||||
// Macro to test if we're using a specific version of gcc or later.
|
||||
|
||||
// The __CONCAT macro is used to concatenate parts of symbol names, e.g.
|
||||
// with "#define OLD(foo) __CONCAT(old,foo)", OLD(foo) produces oldfoo.
|
||||
// The __CONCAT macro is a bit tricky -- make sure you don't put spaces
|
||||
// in between its arguments. Do not use __CONCAT on double-quoted strings,
|
||||
// such as those from the __STRING macro: to concatenate strings just put
|
||||
// them next to each other.
|
||||
|
||||
// GCC1 and some versions of GCC2 declare dead (non-returning) and
|
||||
// pure (no side effects) functions using "volatile" and "const";
|
||||
// unfortunately, these then cause warnings under "-ansi -pedantic".
|
||||
// GCC >= 2.5 uses the __attribute__((attrs)) style. All of these
|
||||
// work for GNU C++ (modulo a slight glitch in the C++ grammar in
|
||||
// the distribution version of 2.5.5).
|
||||
|
||||
// __returns_twice makes the compiler not assume the function
|
||||
// only returns once. This affects registerisation of variables:
|
||||
// even local variables need to be in memory across such a call.
|
||||
// Example: setjmp()
|
||||
|
||||
// __only_inline makes the compiler only use this function definition
|
||||
// for inlining; references that can't be inlined will be left as
|
||||
// external references instead of generating a local copy. The
|
||||
// matching library should include a simple extern definition for
|
||||
// the function to handle those references. c.f. ctype.h
|
||||
|
||||
// GNU C version 2.96 adds explicit branch prediction so that
|
||||
// the CPU back-end can hint the processor and also so that
|
||||
// code blocks can be reordered such that the predicted path
|
||||
// sees a more linear flow, thus improving cache behavior, etc.
|
||||
//
|
||||
// The following two macros provide us with a way to utilize this
|
||||
// compiler feature. Use __predict_true() if you expect the expression
|
||||
// to evaluate to true, and __predict_false() if you expect the
|
||||
// expression to evaluate to false.
|
||||
//
|
||||
// A few notes about usage:
|
||||
//
|
||||
// * Generally, __predict_false() error condition checks (unless
|
||||
// you have some _strong_ reason to do otherwise, in which case
|
||||
// document it), and/or __predict_true() `no-error' condition
|
||||
// checks, assuming you want to optimize for the no-error case.
|
||||
//
|
||||
// * Other than that, if you don't know the likelihood of a test
|
||||
// succeeding from empirical or other `hard' evidence, don't
|
||||
// make predictions.
|
||||
//
|
||||
// * These are meant to be used in places that are run `a lot'.
|
||||
// It is wasteful to make predictions in code that is run
|
||||
// seldomly (e.g. at subsystem initialization time) as the
|
||||
// basic block reordering that this affects can often generate
|
||||
// larger code.
|
||||
|
||||
// Delete pseudo-keywords wherever they are not available or needed.
|
||||
|
||||
// The __packed macro indicates that a variable or structure members
|
||||
// should have the smallest possible alignment, despite any host CPU
|
||||
// alignment requirements.
|
||||
//
|
||||
// The __aligned(x) macro specifies the minimum alignment of a
|
||||
// variable or structure.
|
||||
//
|
||||
// These macros together are useful for describing the layout and
|
||||
// alignment of messages exchanged with hardware or other systems.
|
||||
|
||||
// "The nice thing about standards is that there are so many to choose from."
|
||||
// There are a number of "feature test macros" specified by (different)
|
||||
// standards that determine which interfaces and types the header files
|
||||
// should expose.
|
||||
//
|
||||
// Because of inconsistencies in these macros, we define our own
|
||||
// set in the private name space that end in _VISIBLE. These are
|
||||
// always defined and so headers can test their values easily.
|
||||
// Things can get tricky when multiple feature macros are defined.
|
||||
// We try to take the union of all the features requested.
|
||||
//
|
||||
// The following macros are guaranteed to have a value after cdefs.h
|
||||
// has been included:
|
||||
// __POSIX_VISIBLE
|
||||
// __XPG_VISIBLE
|
||||
// __ISO_C_VISIBLE
|
||||
// __BSD_VISIBLE
|
||||
|
||||
// X/Open Portability Guides and Single Unix Specifications.
|
||||
// _XOPEN_SOURCE XPG3
|
||||
// _XOPEN_SOURCE && _XOPEN_VERSION = 4 XPG4
|
||||
// _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED = 1 XPG4v2
|
||||
// _XOPEN_SOURCE == 500 XPG5
|
||||
// _XOPEN_SOURCE == 520 XPG5v2
|
||||
// _XOPEN_SOURCE == 600 POSIX 1003.1-2001 with XSI
|
||||
// _XOPEN_SOURCE == 700 POSIX 1003.1-2008 with XSI
|
||||
//
|
||||
// The XPG spec implies a specific value for _POSIX_C_SOURCE.
|
||||
|
||||
// POSIX macros, these checks must follow the XOPEN ones above.
|
||||
//
|
||||
// _POSIX_SOURCE == 1 1003.1-1988 (superseded by _POSIX_C_SOURCE)
|
||||
// _POSIX_C_SOURCE == 1 1003.1-1990
|
||||
// _POSIX_C_SOURCE == 2 1003.2-1992
|
||||
// _POSIX_C_SOURCE == 199309L 1003.1b-1993
|
||||
// _POSIX_C_SOURCE == 199506L 1003.1c-1995, 1003.1i-1995,
|
||||
// and the omnibus ISO/IEC 9945-1:1996
|
||||
// _POSIX_C_SOURCE == 200112L 1003.1-2001
|
||||
// _POSIX_C_SOURCE == 200809L 1003.1-2008
|
||||
//
|
||||
// The POSIX spec implies a specific value for __ISO_C_VISIBLE, though
|
||||
// this may be overridden by the _ISOC99_SOURCE macro later.
|
||||
|
||||
// _ANSI_SOURCE means to expose ANSI C89 interfaces only.
|
||||
// If the user defines it in addition to one of the POSIX or XOPEN
|
||||
// macros, assume the POSIX/XOPEN macro(s) should take precedence.
|
||||
|
||||
// _ISOC99_SOURCE, _ISOC11_SOURCE, __STDC_VERSION__, and __cplusplus
|
||||
// override any of the other macros since they are non-exclusive.
|
||||
|
||||
// Finally deal with BSD-specific interfaces that are not covered
|
||||
// by any standards. We expose these when none of the POSIX or XPG
|
||||
// macros is defined or if the user explicitly asks for them.
|
||||
|
||||
// Default values.
|
||||
|
||||
// $OpenBSD: types.h,v 1.49 2022/08/06 13:31:13 semarie Exp $
|
||||
// $NetBSD: types.h,v 1.29 1996/11/15 22:48:25 jtc Exp $
|
||||
|
||||
// -
|
||||
// Copyright (c) 1982, 1986, 1991, 1993
|
||||
// The Regents of the University of California. All rights reserved.
|
||||
// (c) UNIX System Laboratories, Inc.
|
||||
// All or some portions of this file are derived from material licensed
|
||||
// to the University of California by American Telephone and Telegraph
|
||||
// Co. or Unix System Laboratories, Inc. and are reproduced herein with
|
||||
// the permission of UNIX System Laboratories, Inc.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
// 1. Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
// 2. Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the distribution.
|
||||
// 3. Neither the name of the University nor the names of its contributors
|
||||
// may be used to endorse or promote products derived from this software
|
||||
// without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||||
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||||
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
// SUCH DAMAGE.
|
||||
//
|
||||
// @(#)types.h 8.4 (Berkeley) 1/21/94
|
||||
|
||||
// $OpenBSD: cdefs.h,v 1.43 2018/10/29 17:10:40 guenther Exp $
|
||||
// $NetBSD: cdefs.h,v 1.16 1996/04/03 20:46:39 christos Exp $
|
||||
|
||||
// Copyright (c) 1991, 1993
|
||||
// The Regents of the University of California. All rights reserved.
|
||||
//
|
||||
// This code is derived from software contributed to Berkeley by
|
||||
// Berkeley Software Design, Inc.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
// 1. Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
// 2. Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the distribution.
|
||||
// 3. Neither the name of the University nor the names of its contributors
|
||||
// may be used to endorse or promote products derived from this software
|
||||
// without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||||
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||||
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
// SUCH DAMAGE.
|
||||
//
|
||||
// @(#)cdefs.h 8.7 (Berkeley) 1/21/94
|
||||
|
||||
// $OpenBSD: endian.h,v 1.25 2014/12/21 04:49:00 guenther Exp $
|
||||
|
||||
// -
|
||||
// Copyright (c) 1997 Niklas Hallqvist. All rights reserved.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
// 1. Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
// 2. Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the distribution.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
// OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
// IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
// INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||
// NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
// THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
// Public definitions for little- and big-endian systems.
|
||||
// This file should be included as <endian.h> in userspace and as
|
||||
// <sys/endian.h> in the kernel.
|
||||
//
|
||||
// System headers that need endian information but that can't or don't
|
||||
// want to export the public names here should include <sys/_endian.h>
|
||||
// and use the internal names: _BYTE_ORDER, _*_ENDIAN, etc.
|
||||
|
||||
// $OpenBSD: cdefs.h,v 1.43 2018/10/29 17:10:40 guenther Exp $
|
||||
// $NetBSD: cdefs.h,v 1.16 1996/04/03 20:46:39 christos Exp $
|
||||
|
||||
// Copyright (c) 1991, 1993
|
||||
// The Regents of the University of California. All rights reserved.
|
||||
//
|
||||
// This code is derived from software contributed to Berkeley by
|
||||
// Berkeley Software Design, Inc.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
// 1. Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
// 2. Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the distribution.
|
||||
// 3. Neither the name of the University nor the names of its contributors
|
||||
// may be used to endorse or promote products derived from this software
|
||||
// without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||||
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||||
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
// SUCH DAMAGE.
|
||||
//
|
||||
// @(#)cdefs.h 8.7 (Berkeley) 1/21/94
|
||||
|
||||
// $OpenBSD: _endian.h,v 1.8 2018/01/11 23:13:37 dlg Exp $
|
||||
|
||||
// -
|
||||
// Copyright (c) 1997 Niklas Hallqvist. All rights reserved.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
// 1. Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
// 2. Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the distribution.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
// OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
// IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
// INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||
// NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
// THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
// Internal endianness macros. This pulls in <machine/endian.h> to
|
||||
// get the correct setting direction for the platform and sets internal
|
||||
// ('__' prefix) macros appropriately.
|
||||
|
||||
// $OpenBSD: _types.h,v 1.10 2022/08/06 13:31:13 semarie Exp $
|
||||
|
||||
// -
|
||||
// Copyright (c) 1990, 1993
|
||||
// The Regents of the University of California. All rights reserved.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
// 1. Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
// 2. Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the distribution.
|
||||
// 3. Neither the name of the University nor the names of its contributors
|
||||
// may be used to endorse or promote products derived from this software
|
||||
// without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||||
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||||
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
// SUCH DAMAGE.
|
||||
//
|
||||
// @(#)types.h 8.3 (Berkeley) 1/5/94
|
||||
|
||||
// $OpenBSD: _types.h,v 1.4 2018/03/05 01:15:25 deraadt Exp $
|
||||
// -
|
||||
// Copyright (c) 1990, 1993
|
||||
// The Regents of the University of California. All rights reserved.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
// 1. Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
// 2. Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the distribution.
|
||||
// 3. Neither the name of the University nor the names of its contributors
|
||||
// may be used to endorse or promote products derived from this software
|
||||
// without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||||
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||||
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
// SUCH DAMAGE.
|
||||
//
|
||||
// @(#)types.h 8.3 (Berkeley) 1/5/94
|
||||
// @(#)ansi.h 8.2 (Berkeley) 1/4/94
|
||||
|
||||
// _ALIGN(p) rounds p (pointer or byte index) up to a correctly-aligned
|
||||
// value for all data types (int, long, ...). The result is an
|
||||
// unsigned long and must be cast to any desired pointer type.
|
||||
//
|
||||
// _ALIGNED_POINTER is a boolean macro that checks whether an address
|
||||
// is valid to fetch data elements of type t from on this architecture.
|
||||
// This does not reflect the optimal alignment, just the possibility
|
||||
// (within reasonable limits).
|
||||
|
||||
// 7.18.1.1 Exact-width integer types
|
||||
type X__int8_t = int8 /* _types.h:60:22 */
|
||||
type X__uint8_t = uint8 /* _types.h:61:24 */
|
||||
type X__int16_t = int16 /* _types.h:62:17 */
|
||||
type X__uint16_t = uint16 /* _types.h:63:25 */
|
||||
type X__int32_t = int32 /* _types.h:64:15 */
|
||||
type X__uint32_t = uint32 /* _types.h:65:23 */
|
||||
// LONGLONG
|
||||
type X__int64_t = int64 /* _types.h:67:20 */
|
||||
// LONGLONG
|
||||
type X__uint64_t = uint64 /* _types.h:69:28 */
|
||||
|
||||
// 7.18.1.2 Minimum-width integer types
|
||||
type X__int_least8_t = X__int8_t /* _types.h:72:19 */
|
||||
type X__uint_least8_t = X__uint8_t /* _types.h:73:20 */
|
||||
type X__int_least16_t = X__int16_t /* _types.h:74:20 */
|
||||
type X__uint_least16_t = X__uint16_t /* _types.h:75:21 */
|
||||
type X__int_least32_t = X__int32_t /* _types.h:76:20 */
|
||||
type X__uint_least32_t = X__uint32_t /* _types.h:77:21 */
|
||||
type X__int_least64_t = X__int64_t /* _types.h:78:20 */
|
||||
type X__uint_least64_t = X__uint64_t /* _types.h:79:21 */
|
||||
|
||||
// 7.18.1.3 Fastest minimum-width integer types
|
||||
type X__int_fast8_t = X__int32_t /* _types.h:82:20 */
|
||||
type X__uint_fast8_t = X__uint32_t /* _types.h:83:21 */
|
||||
type X__int_fast16_t = X__int32_t /* _types.h:84:20 */
|
||||
type X__uint_fast16_t = X__uint32_t /* _types.h:85:21 */
|
||||
type X__int_fast32_t = X__int32_t /* _types.h:86:20 */
|
||||
type X__uint_fast32_t = X__uint32_t /* _types.h:87:21 */
|
||||
type X__int_fast64_t = X__int64_t /* _types.h:88:20 */
|
||||
type X__uint_fast64_t = X__uint64_t /* _types.h:89:21 */
|
||||
|
||||
// 7.18.1.4 Integer types capable of holding object pointers
|
||||
type X__intptr_t = int64 /* _types.h:104:16 */
|
||||
type X__uintptr_t = uint64 /* _types.h:105:24 */
|
||||
|
||||
// 7.18.1.5 Greatest-width integer types
|
||||
type X__intmax_t = X__int64_t /* _types.h:108:20 */
|
||||
type X__uintmax_t = X__uint64_t /* _types.h:109:21 */
|
||||
|
||||
// Register size
|
||||
type X__register_t = int64 /* _types.h:112:16 */
|
||||
|
||||
// VM system types
|
||||
type X__vaddr_t = uint64 /* _types.h:115:24 */
|
||||
type X__paddr_t = uint64 /* _types.h:116:24 */
|
||||
type X__vsize_t = uint64 /* _types.h:117:24 */
|
||||
type X__psize_t = uint64 /* _types.h:118:24 */
|
||||
|
||||
// Standard system types
|
||||
type X__double_t = float64 /* _types.h:121:18 */
|
||||
type X__float_t = float32 /* _types.h:122:17 */
|
||||
type X__ptrdiff_t = int64 /* _types.h:123:16 */
|
||||
type X__size_t = uint64 /* _types.h:124:24 */
|
||||
type X__ssize_t = int64 /* _types.h:125:16 */
|
||||
type X__va_list = X__builtin_va_list /* _types.h:127:27 */
|
||||
|
||||
// Wide character support types
|
||||
type X__wchar_t = int32 /* _types.h:137:15 */
|
||||
type X__wint_t = int32 /* _types.h:140:15 */
|
||||
type X__rune_t = int32 /* _types.h:141:15 */
|
||||
type X__wctrans_t = uintptr /* _types.h:142:14 */
|
||||
type X__wctype_t = uintptr /* _types.h:143:14 */
|
||||
|
||||
type X__blkcnt_t = X__int64_t /* _types.h:39:19 */ // blocks allocated for file
|
||||
type X__blksize_t = X__int32_t /* _types.h:40:19 */ // optimal blocksize for I/O
|
||||
type X__clock_t = X__int64_t /* _types.h:41:19 */ // ticks in CLOCKS_PER_SEC
|
||||
type X__clockid_t = X__int32_t /* _types.h:42:19 */ // CLOCK_* identifiers
|
||||
type X__cpuid_t = uint64 /* _types.h:43:23 */ // CPU id
|
||||
type X__dev_t = X__int32_t /* _types.h:44:19 */ // device number
|
||||
type X__fixpt_t = X__uint32_t /* _types.h:45:20 */ // fixed point number
|
||||
type X__fsblkcnt_t = X__uint64_t /* _types.h:46:20 */ // file system block count
|
||||
type X__fsfilcnt_t = X__uint64_t /* _types.h:47:20 */ // file system file count
|
||||
type X__gid_t = X__uint32_t /* _types.h:48:20 */ // group id
|
||||
type X__id_t = X__uint32_t /* _types.h:49:20 */ // may contain pid, uid or gid
|
||||
type X__in_addr_t = X__uint32_t /* _types.h:50:20 */ // base type for internet address
|
||||
type X__in_port_t = X__uint16_t /* _types.h:51:20 */ // IP port type
|
||||
type X__ino_t = X__uint64_t /* _types.h:52:20 */ // inode number
|
||||
type X__key_t = int64 /* _types.h:53:15 */ // IPC key (for Sys V IPC)
|
||||
type X__mode_t = X__uint32_t /* _types.h:54:20 */ // permissions
|
||||
type X__nlink_t = X__uint32_t /* _types.h:55:20 */ // link count
|
||||
type X__off_t = X__int64_t /* _types.h:56:19 */ // file offset or size
|
||||
type X__pid_t = X__int32_t /* _types.h:57:19 */ // process id
|
||||
type X__rlim_t = X__uint64_t /* _types.h:58:20 */ // resource limit
|
||||
type X__sa_family_t = X__uint8_t /* _types.h:59:19 */ // sockaddr address family type
|
||||
type X__segsz_t = X__int32_t /* _types.h:60:19 */ // segment size
|
||||
type X__socklen_t = X__uint32_t /* _types.h:61:20 */ // length type for network syscalls
|
||||
type X__suseconds_t = int64 /* _types.h:62:15 */ // microseconds (signed)
|
||||
type X__time_t = X__int64_t /* _types.h:63:19 */ // epoch time
|
||||
type X__timer_t = X__int32_t /* _types.h:64:19 */ // POSIX timer identifiers
|
||||
type X__uid_t = X__uint32_t /* _types.h:65:20 */ // user id
|
||||
type X__useconds_t = X__uint32_t /* _types.h:66:20 */ // microseconds
|
||||
|
||||
// mbstate_t is an opaque object to keep conversion state, during multibyte
|
||||
// stream conversions. The content must not be referenced by user programs.
|
||||
type X__mbstate_t = struct {
|
||||
F__ccgo_pad1 [0]uint64
|
||||
F__mbstate8 [128]int8
|
||||
} /* _types.h:75:3 */
|
||||
|
||||
// Tell sys/endian.h we have MD variants of the swap macros.
|
||||
|
||||
// Note that these macros evaluate their arguments several times.
|
||||
|
||||
// Public names
|
||||
|
||||
// These are specified to be function-like macros to match the spec
|
||||
|
||||
// POSIX names
|
||||
|
||||
// original BSD names
|
||||
|
||||
// these were exposed here before
|
||||
|
||||
// ancient stuff
|
||||
|
||||
type U_char = uint8 /* types.h:51:23 */
|
||||
type U_short = uint16 /* types.h:52:24 */
|
||||
type U_int = uint32 /* types.h:53:22 */
|
||||
type U_long = uint64 /* types.h:54:23 */
|
||||
|
||||
type Unchar = uint8 /* types.h:56:23 */ // Sys V compatibility
|
||||
type Ushort = uint16 /* types.h:57:24 */ // Sys V compatibility
|
||||
type Uint = uint32 /* types.h:58:22 */ // Sys V compatibility
|
||||
type Ulong = uint64 /* types.h:59:23 */ // Sys V compatibility
|
||||
|
||||
type Cpuid_t = X__cpuid_t /* types.h:61:19 */ // CPU id
|
||||
type Register_t = X__register_t /* types.h:62:22 */ // register-sized type
|
||||
|
||||
// XXX The exact-width bit types should only be exposed if __BSD_VISIBLE
|
||||
// but the rest of the includes are not ready for that yet.
|
||||
|
||||
type Int8_t = X__int8_t /* types.h:75:19 */
|
||||
|
||||
type Uint8_t = X__uint8_t /* types.h:80:20 */
|
||||
|
||||
type Int16_t = X__int16_t /* types.h:85:20 */
|
||||
|
||||
type Uint16_t = X__uint16_t /* types.h:90:21 */
|
||||
|
||||
type Int32_t = X__int32_t /* types.h:95:20 */
|
||||
|
||||
type Uint32_t = X__uint32_t /* types.h:100:21 */
|
||||
|
||||
type Int64_t = X__int64_t /* types.h:105:20 */
|
||||
|
||||
type Uint64_t = X__uint64_t /* types.h:110:21 */
|
||||
|
||||
// BSD-style unsigned bits types
|
||||
type U_int8_t = X__uint8_t /* types.h:114:19 */
|
||||
type U_int16_t = X__uint16_t /* types.h:115:20 */
|
||||
type U_int32_t = X__uint32_t /* types.h:116:20 */
|
||||
type U_int64_t = X__uint64_t /* types.h:117:20 */
|
||||
|
||||
// quads, deprecated in favor of 64 bit int types
|
||||
type Quad_t = X__int64_t /* types.h:120:19 */
|
||||
type U_quad_t = X__uint64_t /* types.h:121:20 */
|
||||
|
||||
// VM system types
|
||||
type Vaddr_t = X__vaddr_t /* types.h:125:19 */
|
||||
type Paddr_t = X__paddr_t /* types.h:126:19 */
|
||||
type Vsize_t = X__vsize_t /* types.h:127:19 */
|
||||
type Psize_t = X__psize_t /* types.h:128:19 */
|
||||
|
||||
// Standard system types
|
||||
type Blkcnt_t = X__blkcnt_t /* types.h:132:20 */ // blocks allocated for file
|
||||
type Blksize_t = X__blksize_t /* types.h:133:21 */ // optimal blocksize for I/O
|
||||
type Caddr_t = uintptr /* types.h:134:14 */ // core address
|
||||
type Daddr32_t = X__int32_t /* types.h:135:19 */ // 32-bit disk address
|
||||
type Daddr_t = X__int64_t /* types.h:136:19 */ // 64-bit disk address
|
||||
type Dev_t = X__dev_t /* types.h:137:18 */ // device number
|
||||
type Fixpt_t = X__fixpt_t /* types.h:138:19 */ // fixed point number
|
||||
type Gid_t = X__gid_t /* types.h:139:18 */ // group id
|
||||
type Id_t = X__id_t /* types.h:140:17 */ // may contain pid, uid or gid
|
||||
type Ino_t = X__ino_t /* types.h:141:18 */ // inode number
|
||||
type Key_t = X__key_t /* types.h:142:18 */ // IPC key (for Sys V IPC)
|
||||
type Mode_t = X__mode_t /* types.h:143:18 */ // permissions
|
||||
type Nlink_t = X__nlink_t /* types.h:144:19 */ // link count
|
||||
type Rlim_t = X__rlim_t /* types.h:145:18 */ // resource limit
|
||||
type Segsz_t = X__segsz_t /* types.h:146:19 */ // segment size
|
||||
type Uid_t = X__uid_t /* types.h:147:18 */ // user id
|
||||
type Useconds_t = X__useconds_t /* types.h:148:22 */ // microseconds
|
||||
type Suseconds_t = X__suseconds_t /* types.h:149:23 */ // microseconds (signed)
|
||||
type Fsblkcnt_t = X__fsblkcnt_t /* types.h:150:22 */ // file system block count
|
||||
type Fsfilcnt_t = X__fsfilcnt_t /* types.h:151:22 */ // file system file count
|
||||
|
||||
// The following types may be defined in multiple header files.
|
||||
type Clock_t = X__clock_t /* types.h:158:19 */
|
||||
|
||||
type Clockid_t = X__clockid_t /* types.h:163:21 */
|
||||
|
||||
type Pid_t = X__pid_t /* types.h:168:18 */
|
||||
|
||||
type Ssize_t = X__ssize_t /* types.h:178:19 */
|
||||
|
||||
type Time_t = X__time_t /* types.h:183:18 */
|
||||
|
||||
type Timer_t = X__timer_t /* types.h:188:19 */
|
||||
|
||||
type Off_t = X__off_t /* types.h:193:18 */
|
||||
|
||||
// Major, minor numbers, dev_t's.
|
||||
|
||||
// File status flags: these are used by open(2), fcntl(2).
|
||||
// They are also used (indirectly) in the kernel file structure f_flags,
|
||||
// which is a superset of the open/fcntl flags. Open flags and f_flags
|
||||
// are inter-convertible using OFLAGS(fflags) and FFLAGS(oflags).
|
||||
// Open/fcntl flags begin with O_; kernel-internal flags begin with F.
|
||||
// open-only flags
|
||||
|
||||
// Kernel encoding of open mode; separate read and write bits that are
|
||||
// independently testable: 1 greater than the above.
|
||||
//
|
||||
// XXX
|
||||
// FREAD and FWRITE are excluded from the #ifdef _KERNEL so that TIOCFLUSH,
|
||||
// which was documented to use FREAD/FWRITE, continues to work.
|
||||
|
||||
// POSIX 1003.1 specifies a higher granularity for synchronous operations
|
||||
// than we support. Since synchronicity is all or nothing in OpenBSD
|
||||
// we just define these to be the same as O_SYNC.
|
||||
|
||||
// defined by POSIX 1003.1; BSD default, this bit is not required
|
||||
|
||||
// defined by POSIX Issue 7
|
||||
|
||||
// The O_* flags used to have only F* names, which were used in the kernel
|
||||
// and by fcntl. We retain the F* names for the kernel f_flags field
|
||||
// and for backward compatibility for fcntl.
|
||||
|
||||
// Constants used for fcntl(2)
|
||||
|
||||
// command values
|
||||
|
||||
// file descriptor flags (F_GETFD, F_SETFD)
|
||||
|
||||
// record locking flags (F_GETLK, F_SETLK, F_SETLKW)
|
||||
|
||||
// Advisory file segment locking data type -
|
||||
// information passed to system by user
|
||||
type Flock = struct {
|
||||
Fl_start Off_t
|
||||
Fl_len Off_t
|
||||
Fl_pid Pid_t
|
||||
Fl_type int16
|
||||
Fl_whence int16
|
||||
} /* fcntl.h:180:1 */
|
||||
|
||||
var _ int8 /* gen.c:2:13: */
|
||||
339
vendor/modernc.org/libc/fcntl/fcntl_windows_386.go
generated
vendored
339
vendor/modernc.org/libc/fcntl/fcntl_windows_386.go
generated
vendored
@@ -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_windows_386.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_windows_386.go -pkgname fcntl', DO NOT EDIT.
|
||||
|
||||
package fcntl
|
||||
|
||||
@@ -15,148 +15,148 @@ var _ atomic.Value
|
||||
var _ unsafe.Pointer
|
||||
|
||||
const (
|
||||
DUMMYSTRUCTNAME = 0
|
||||
DUMMYSTRUCTNAME1 = 0
|
||||
DUMMYSTRUCTNAME2 = 0
|
||||
DUMMYSTRUCTNAME3 = 0
|
||||
DUMMYSTRUCTNAME4 = 0
|
||||
DUMMYSTRUCTNAME5 = 0
|
||||
DUMMYUNIONNAME = 0
|
||||
DUMMYUNIONNAME1 = 0
|
||||
DUMMYUNIONNAME2 = 0
|
||||
DUMMYUNIONNAME3 = 0
|
||||
DUMMYUNIONNAME4 = 0
|
||||
DUMMYUNIONNAME5 = 0
|
||||
DUMMYUNIONNAME6 = 0
|
||||
DUMMYUNIONNAME7 = 0
|
||||
DUMMYUNIONNAME8 = 0
|
||||
DUMMYUNIONNAME9 = 0
|
||||
F_OK = 0
|
||||
MINGW_DDK_H = 0
|
||||
MINGW_DDRAW_VERSION = 7
|
||||
MINGW_HAS_DDK_H = 1
|
||||
MINGW_HAS_DDRAW_H = 1
|
||||
MINGW_HAS_SECURE_API = 1
|
||||
MINGW_SDK_INIT = 0
|
||||
O_ACCMODE = 3
|
||||
O_APPEND = 8
|
||||
O_BINARY = 32768
|
||||
O_CREAT = 256
|
||||
O_EXCL = 1024
|
||||
O_NOINHERIT = 128
|
||||
O_RANDOM = 16
|
||||
O_RAW = 32768
|
||||
O_RDONLY = 0
|
||||
O_RDWR = 2
|
||||
O_SEQUENTIAL = 32
|
||||
O_TEMPORARY = 64
|
||||
O_TEXT = 16384
|
||||
O_TRUNC = 512
|
||||
O_WRONLY = 1
|
||||
R_OK = 4
|
||||
UNALIGNED = 0
|
||||
USE___UUIDOF = 0
|
||||
WIN32 = 1
|
||||
WINNT = 1
|
||||
W_OK = 2
|
||||
X_OK = 1
|
||||
X_AGLOBAL = 0
|
||||
X_ANONYMOUS_STRUCT = 0
|
||||
X_ANONYMOUS_UNION = 0
|
||||
X_ARGMAX = 100
|
||||
X_A_ARCH = 0x20
|
||||
X_A_HIDDEN = 0x02
|
||||
X_A_NORMAL = 0x00
|
||||
X_A_RDONLY = 0x01
|
||||
X_A_SUBDIR = 0x10
|
||||
X_A_SYSTEM = 0x04
|
||||
X_CONST_RETURN = 0
|
||||
X_CRTNOALIAS = 0
|
||||
X_CRTRESTRICT = 0
|
||||
X_CRT_ALTERNATIVE_IMPORTED = 0
|
||||
X_CRT_DIRECTORY_DEFINED = 0
|
||||
X_CRT_MANAGED_HEAP_DEPRECATE = 0
|
||||
X_CRT_MEMORY_DEFINED = 0
|
||||
X_CRT_PACKING = 8
|
||||
X_CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES = 0
|
||||
X_CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES_MEMORY = 0
|
||||
X_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES = 0
|
||||
X_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_COUNT = 0
|
||||
X_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_MEMORY = 0
|
||||
X_DLL = 0
|
||||
X_ERRCODE_DEFINED = 0
|
||||
X_FILE_OFFSET_BITS = 64
|
||||
X_FILE_OFFSET_BITS_SET_LSEEK = 0
|
||||
X_FILE_OFFSET_BITS_SET_OFFT = 0
|
||||
X_FINDDATA_T_DEFINED = 0
|
||||
X_FSIZE_T_DEFINED = 0
|
||||
X_INC_CRTDEFS = 0
|
||||
X_INC_CRTDEFS_MACRO = 0
|
||||
X_INC_FCNTL = 0
|
||||
X_INC_MINGW_SECAPI = 0
|
||||
X_INC_STRING = 0
|
||||
X_INC_STRING_S = 0
|
||||
X_INC_VADEFS = 0
|
||||
X_INC__MINGW_H = 0
|
||||
X_INT128_DEFINED = 0
|
||||
X_INTEGRAL_MAX_BITS = 64
|
||||
X_INTPTR_T_DEFINED = 0
|
||||
X_IO_H_ = 0
|
||||
X_MT = 0
|
||||
X_M_IX86 = 600
|
||||
X_NLSCMPERROR = 2147483647
|
||||
X_NLSCMP_DEFINED = 0
|
||||
X_OFF64_T_DEFINED = 0
|
||||
X_OFF_T_ = 0
|
||||
X_OFF_T_DEFINED = 0
|
||||
X_O_ACCMODE = 3
|
||||
X_O_APPEND = 0x0008
|
||||
X_O_BINARY = 0x8000
|
||||
X_O_CREAT = 0x0100
|
||||
X_O_EXCL = 0x0400
|
||||
X_O_NOINHERIT = 0x0080
|
||||
X_O_RANDOM = 0x0010
|
||||
X_O_RAW = 32768
|
||||
X_O_RDONLY = 0x0000
|
||||
X_O_RDWR = 0x0002
|
||||
X_O_SEQUENTIAL = 0x0020
|
||||
X_O_SHORT_LIVED = 0x1000
|
||||
X_O_TEMPORARY = 0x0040
|
||||
X_O_TEXT = 0x4000
|
||||
X_O_TRUNC = 0x0200
|
||||
X_O_U16TEXT = 0x20000
|
||||
X_O_U8TEXT = 0x40000
|
||||
X_O_WRONLY = 0x0001
|
||||
X_O_WTEXT = 0x10000
|
||||
X_PGLOBAL = 0
|
||||
X_PTRDIFF_T_ = 0
|
||||
X_PTRDIFF_T_DEFINED = 0
|
||||
X_REENTRANT = 1
|
||||
X_RSIZE_T_DEFINED = 0
|
||||
X_SECURECRT_FILL_BUFFER_PATTERN = 0xFD
|
||||
X_SIZE_T_DEFINED = 0
|
||||
X_SSIZE_T_DEFINED = 0
|
||||
X_TAGLC_ID_DEFINED = 0
|
||||
X_THREADLOCALEINFO = 0
|
||||
X_TIME32_T_DEFINED = 0
|
||||
X_TIME64_T_DEFINED = 0
|
||||
X_TIME_T_DEFINED = 0
|
||||
X_UINTPTR_T_DEFINED = 0
|
||||
X_USE_32BIT_TIME_T = 0
|
||||
X_VA_LIST_DEFINED = 0
|
||||
X_W64 = 0
|
||||
X_WCHAR_T_DEFINED = 0
|
||||
X_WCTYPE_T_DEFINED = 0
|
||||
X_WConst_return = 0
|
||||
X_WFINDDATA_T_DEFINED = 0
|
||||
X_WIN32 = 1
|
||||
X_WIN32_WINNT = 0x502
|
||||
X_WINT_T = 0
|
||||
X_WIO_DEFINED = 0
|
||||
X_WSTRING_DEFINED = 0
|
||||
X_WSTRING_S_DEFINED = 0
|
||||
X_X86_ = 1
|
||||
I386 = 1
|
||||
DUMMYSTRUCTNAME = 0 // _mingw.h:519:1:
|
||||
DUMMYSTRUCTNAME1 = 0 // _mingw.h:520:1:
|
||||
DUMMYSTRUCTNAME2 = 0 // _mingw.h:521:1:
|
||||
DUMMYSTRUCTNAME3 = 0 // _mingw.h:522:1:
|
||||
DUMMYSTRUCTNAME4 = 0 // _mingw.h:523:1:
|
||||
DUMMYSTRUCTNAME5 = 0 // _mingw.h:524:1:
|
||||
DUMMYUNIONNAME = 0 // _mingw.h:497:1:
|
||||
DUMMYUNIONNAME1 = 0 // _mingw.h:498:1:
|
||||
DUMMYUNIONNAME2 = 0 // _mingw.h:499:1:
|
||||
DUMMYUNIONNAME3 = 0 // _mingw.h:500:1:
|
||||
DUMMYUNIONNAME4 = 0 // _mingw.h:501:1:
|
||||
DUMMYUNIONNAME5 = 0 // _mingw.h:502:1:
|
||||
DUMMYUNIONNAME6 = 0 // _mingw.h:503:1:
|
||||
DUMMYUNIONNAME7 = 0 // _mingw.h:504:1:
|
||||
DUMMYUNIONNAME8 = 0 // _mingw.h:505:1:
|
||||
DUMMYUNIONNAME9 = 0 // _mingw.h:506:1:
|
||||
F_OK = 0 // io.h:182:1:
|
||||
MINGW_DDK_H = 0 // _mingw_ddk.h:2:1:
|
||||
MINGW_HAS_DDK_H = 1 // _mingw_ddk.h:4:1:
|
||||
MINGW_HAS_SECURE_API = 1 // _mingw.h:602:1:
|
||||
MINGW_SDK_INIT = 0 // _mingw.h:598:1:
|
||||
O_ACCMODE = 3 // fcntl.h:50:1:
|
||||
O_APPEND = 8 // fcntl.h:39:1:
|
||||
O_BINARY = 32768 // fcntl.h:44:1:
|
||||
O_CREAT = 256 // fcntl.h:40:1:
|
||||
O_EXCL = 1024 // fcntl.h:42:1:
|
||||
O_NOINHERIT = 128 // fcntl.h:47:1:
|
||||
O_RANDOM = 16 // fcntl.h:49:1:
|
||||
O_RAW = 32768 // fcntl.h:45:1:
|
||||
O_RDONLY = 0 // fcntl.h:36:1:
|
||||
O_RDWR = 2 // fcntl.h:38:1:
|
||||
O_SEQUENTIAL = 32 // fcntl.h:48:1:
|
||||
O_TEMPORARY = 64 // fcntl.h:46:1:
|
||||
O_TEXT = 16384 // fcntl.h:43:1:
|
||||
O_TRUNC = 512 // fcntl.h:41:1:
|
||||
O_WRONLY = 1 // fcntl.h:37:1:
|
||||
R_OK = 4 // io.h:185:1:
|
||||
UNALIGNED = 0 // _mingw.h:384:1:
|
||||
USE___UUIDOF = 0 // _mingw.h:77:1:
|
||||
WIN32 = 1 // <predefined>:258:1:
|
||||
WINNT = 1 // <predefined>:306:1:
|
||||
W_OK = 2 // io.h:184:1:
|
||||
X_OK = 1 // io.h:183:1:
|
||||
X_AGLOBAL = 0 // _mingw.h:346:1:
|
||||
X_ANONYMOUS_STRUCT = 0 // _mingw.h:474:1:
|
||||
X_ANONYMOUS_UNION = 0 // _mingw.h:473:1:
|
||||
X_ARGMAX = 100 // _mingw.h:402:1:
|
||||
X_A_ARCH = 0x20 // io.h:156:1:
|
||||
X_A_HIDDEN = 0x02 // io.h:153:1:
|
||||
X_A_NORMAL = 0x00 // io.h:151:1:
|
||||
X_A_RDONLY = 0x01 // io.h:152:1:
|
||||
X_A_SUBDIR = 0x10 // io.h:155:1:
|
||||
X_A_SYSTEM = 0x04 // io.h:154:1:
|
||||
X_CONST_RETURN = 0 // _mingw.h:377:1:
|
||||
X_CRTNOALIAS = 0 // corecrt.h:29:1:
|
||||
X_CRTRESTRICT = 0 // corecrt.h:33:1:
|
||||
X_CRT_ALTERNATIVE_IMPORTED = 0 // _mingw.h:313:1:
|
||||
X_CRT_DIRECTORY_DEFINED = 0 // io.h:214:1:
|
||||
X_CRT_MANAGED_HEAP_DEPRECATE = 0 // _mingw.h:361:1:
|
||||
X_CRT_MEMORY_DEFINED = 0 // string.h:44:1:
|
||||
X_CRT_PACKING = 8 // corecrt.h:14:1:
|
||||
X_CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES = 0 // _mingw_secapi.h:34:1:
|
||||
X_CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES_MEMORY = 0 // _mingw_secapi.h:35:1:
|
||||
X_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES = 0 // _mingw_secapi.h:36:1:
|
||||
X_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_COUNT = 0 // _mingw_secapi.h:37:1:
|
||||
X_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_MEMORY = 0 // _mingw_secapi.h:38:1:
|
||||
X_CRT_USE_WINAPI_FAMILY_DESKTOP_APP = 0 // corecrt.h:501:1:
|
||||
X_DLL = 0 // _mingw.h:326:1:
|
||||
X_ERRCODE_DEFINED = 0 // corecrt.h:117:1:
|
||||
X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
|
||||
X_FILE_OFFSET_BITS_SET_LSEEK = 0 // io.h:350:1:
|
||||
X_FILE_OFFSET_BITS_SET_OFFT = 0 // _mingw_off_t.h:21:1:
|
||||
X_FINDDATA_T_DEFINED = 0 // io.h:89:1:
|
||||
X_FSIZE_T_DEFINED = 0 // io.h:30:1:
|
||||
X_ILP32 = 1 // <predefined>:211:1:
|
||||
X_INC_CORECRT = 0 // corecrt.h:8:1:
|
||||
X_INC_CRTDEFS = 0 // crtdefs.h:8:1:
|
||||
X_INC_CRTDEFS_MACRO = 0 // _mingw_mac.h:8:1:
|
||||
X_INC_FCNTL = 0 // fcntl.h:11:1:
|
||||
X_INC_MINGW_SECAPI = 0 // _mingw_secapi.h:8:1:
|
||||
X_INC_STRING = 0 // string.h:7:1:
|
||||
X_INC_STRING_S = 0 // string_s.h:7:1:
|
||||
X_INC_VADEFS = 0 // vadefs.h:7:1:
|
||||
X_INC__MINGW_H = 0 // _mingw.h:8:1:
|
||||
X_INT128_DEFINED = 0 // _mingw.h:237:1:
|
||||
X_INTEGRAL_MAX_BITS = 64 // <predefined>:320:1:
|
||||
X_INTPTR_T_DEFINED = 0 // corecrt.h:62:1:
|
||||
X_IO_H_ = 0 // io.h:7:1:
|
||||
X_MT = 0 // _mingw.h:330:1:
|
||||
X_M_IX86 = 600 // _mingw_mac.h:54:1:
|
||||
X_NLSCMPERROR = 2147483647 // string.h:26:1:
|
||||
X_NLSCMP_DEFINED = 0 // string.h:25:1:
|
||||
X_OFF64_T_DEFINED = 0 // _mingw_off_t.h:12:1:
|
||||
X_OFF_T_ = 0 // _mingw_off_t.h:4:1:
|
||||
X_OFF_T_DEFINED = 0 // _mingw_off_t.h:2:1:
|
||||
X_O_ACCMODE = 3 // fcntl.h:25:1:
|
||||
X_O_APPEND = 0x0008 // fcntl.h:16:1:
|
||||
X_O_BINARY = 0x8000 // fcntl.h:21:1:
|
||||
X_O_CREAT = 0x0100 // fcntl.h:17:1:
|
||||
X_O_EXCL = 0x0400 // fcntl.h:19:1:
|
||||
X_O_NOINHERIT = 0x0080 // fcntl.h:28:1:
|
||||
X_O_RANDOM = 0x0010 // fcntl.h:33:1:
|
||||
X_O_RAW = 32768 // fcntl.h:27:1:
|
||||
X_O_RDONLY = 0x0000 // fcntl.h:13:1:
|
||||
X_O_RDWR = 0x0002 // fcntl.h:15:1:
|
||||
X_O_SEQUENTIAL = 0x0020 // fcntl.h:32:1:
|
||||
X_O_SHORT_LIVED = 0x1000 // fcntl.h:30:1:
|
||||
X_O_TEMPORARY = 0x0040 // fcntl.h:29:1:
|
||||
X_O_TEXT = 0x4000 // fcntl.h:20:1:
|
||||
X_O_TRUNC = 0x0200 // fcntl.h:18:1:
|
||||
X_O_U16TEXT = 0x20000 // fcntl.h:23:1:
|
||||
X_O_U8TEXT = 0x40000 // fcntl.h:24:1:
|
||||
X_O_WRONLY = 0x0001 // fcntl.h:14:1:
|
||||
X_O_WTEXT = 0x10000 // fcntl.h:22:1:
|
||||
X_PGLOBAL = 0 // _mingw.h:342:1:
|
||||
X_PTRDIFF_T_ = 0 // corecrt.h:90:1:
|
||||
X_PTRDIFF_T_DEFINED = 0 // corecrt.h:88:1:
|
||||
X_RSIZE_T_DEFINED = 0 // corecrt.h:58:1:
|
||||
X_SECURECRT_FILL_BUFFER_PATTERN = 0xFD // _mingw.h:349:1:
|
||||
X_SIZE_T_DEFINED = 0 // corecrt.h:37:1:
|
||||
X_SSIZE_T_DEFINED = 0 // corecrt.h:47:1:
|
||||
X_TAGLC_ID_DEFINED = 0 // corecrt.h:447:1:
|
||||
X_THREADLOCALEINFO = 0 // corecrt.h:456:1:
|
||||
X_TIME32_T_DEFINED = 0 // corecrt.h:122:1:
|
||||
X_TIME64_T_DEFINED = 0 // corecrt.h:127:1:
|
||||
X_TIME_T_DEFINED = 0 // corecrt.h:139:1:
|
||||
X_UINTPTR_T_DEFINED = 0 // corecrt.h:75:1:
|
||||
X_USE_32BIT_TIME_T = 0 // _mingw.h:372:1:
|
||||
X_VA_LIST_DEFINED = 0 // <builtin>:55:1:
|
||||
X_W64 = 0 // _mingw.h:296:1:
|
||||
X_WCHAR_T_DEFINED = 0 // corecrt.h:101:1:
|
||||
X_WCTYPE_T_DEFINED = 0 // corecrt.h:108:1:
|
||||
X_WConst_return = 0 // string.h:41:1:
|
||||
X_WFINDDATA_T_DEFINED = 0 // io.h:148:1:
|
||||
X_WIN32 = 1 // <predefined>:164:1:
|
||||
X_WIN32_WINNT = 0x502 // _mingw.h:233:1:
|
||||
X_WINT_T = 0 // corecrt.h:110:1:
|
||||
X_WIO_DEFINED = 0 // io.h:295:1:
|
||||
X_WSTRING_DEFINED = 0 // string.h:129:1:
|
||||
X_WSTRING_S_DEFINED = 0 // string_s.h:48:1:
|
||||
X_X86_ = 1 // <predefined>:169:1:
|
||||
I386 = 1 // <predefined>:171:1:
|
||||
)
|
||||
|
||||
type Ptrdiff_t = int32 /* <builtin>:3:26 */
|
||||
@@ -189,6 +189,11 @@ type Va_list = X__builtin_va_list /* <builtin>:50:27 */
|
||||
// This file is part of the mingw-w64 runtime package.
|
||||
// No warranty is given; refer to the file DISCLAIMER.PD within this package.
|
||||
|
||||
// *
|
||||
// This file has no copyright assigned and is placed in the Public Domain.
|
||||
// This file is part of the mingw-w64 runtime package.
|
||||
// No warranty is given; refer to the file DISCLAIMER.PD within this package.
|
||||
|
||||
// This macro holds an monotonic increasing value, which indicates
|
||||
// a specific fix/patch is present on trunk. This value isn't related to
|
||||
// minor/major version-macros. It is increased on demand, if a big
|
||||
@@ -209,6 +214,12 @@ type Va_list = X__builtin_va_list /* <builtin>:50:27 */
|
||||
// MinGW-w64 has some additional C99 printf/scanf feature support.
|
||||
// So we add some helper macros to ease recognition of them.
|
||||
|
||||
// If _FORTIFY_SOURCE is enabled, some inline functions may use
|
||||
// __builtin_va_arg_pack(). GCC may report an error if the address
|
||||
// of such a function is used. Set _FORTIFY_VA_ARG=0 in this case.
|
||||
|
||||
// Enable workaround for ABI incompatibility on affected platforms
|
||||
|
||||
// *
|
||||
// This file has no copyright assigned and is placed in the Public Domain.
|
||||
// This file is part of the mingw-w64 runtime package.
|
||||
@@ -249,26 +260,28 @@ type Va_list = X__builtin_va_list /* <builtin>:50:27 */
|
||||
// This file is part of the mingw-w64 runtime package.
|
||||
// No warranty is given; refer to the file DISCLAIMER.PD within this package.
|
||||
|
||||
// for backward compatibility
|
||||
|
||||
type X__gnuc_va_list = X__builtin_va_list /* vadefs.h:24:29 */
|
||||
|
||||
type Ssize_t = int32 /* crtdefs.h:47:13 */
|
||||
type Ssize_t = int32 /* corecrt.h:52:13 */
|
||||
|
||||
type Rsize_t = Size_t /* crtdefs.h:52:16 */
|
||||
type Rsize_t = Size_t /* corecrt.h:57:16 */
|
||||
|
||||
type Intptr_t = int32 /* crtdefs.h:64:13 */
|
||||
type Intptr_t = int32 /* corecrt.h:69:13 */
|
||||
|
||||
type Uintptr_t = uint32 /* crtdefs.h:77:22 */
|
||||
type Uintptr_t = uint32 /* corecrt.h:82:22 */
|
||||
|
||||
type Wint_t = uint16 /* crtdefs.h:106:24 */
|
||||
type Wctype_t = uint16 /* crtdefs.h:107:24 */
|
||||
type Wint_t = uint16 /* corecrt.h:111:24 */
|
||||
type Wctype_t = uint16 /* corecrt.h:112:24 */
|
||||
|
||||
type Errno_t = int32 /* crtdefs.h:113:13 */
|
||||
type Errno_t = int32 /* corecrt.h:118:13 */
|
||||
|
||||
type X__time32_t = int32 /* crtdefs.h:118:14 */
|
||||
type X__time32_t = int32 /* corecrt.h:123:14 */
|
||||
|
||||
type X__time64_t = int64 /* crtdefs.h:123:35 */
|
||||
type X__time64_t = int64 /* corecrt.h:128:35 */
|
||||
|
||||
type Time_t = X__time32_t /* crtdefs.h:136:20 */
|
||||
type Time_t = X__time32_t /* corecrt.h:141:20 */
|
||||
|
||||
type Threadlocaleinfostruct = struct {
|
||||
Frefcount int32
|
||||
@@ -294,29 +307,29 @@ type Threadlocaleinfostruct = struct {
|
||||
Fpclmap uintptr
|
||||
Fpcumap uintptr
|
||||
Flc_time_curr uintptr
|
||||
} /* crtdefs.h:422:1 */
|
||||
} /* corecrt.h:435:1 */
|
||||
|
||||
type Pthreadlocinfo = uintptr /* crtdefs.h:424:39 */
|
||||
type Pthreadmbcinfo = uintptr /* crtdefs.h:425:36 */
|
||||
type Pthreadlocinfo = uintptr /* corecrt.h:437:39 */
|
||||
type Pthreadmbcinfo = uintptr /* corecrt.h:438:36 */
|
||||
|
||||
type Localeinfo_struct = struct {
|
||||
Flocinfo Pthreadlocinfo
|
||||
Fmbcinfo Pthreadmbcinfo
|
||||
} /* crtdefs.h:428:9 */
|
||||
} /* corecrt.h:441:9 */
|
||||
|
||||
type X_locale_tstruct = Localeinfo_struct /* crtdefs.h:431:3 */
|
||||
type X_locale_t = uintptr /* crtdefs.h:431:19 */
|
||||
type X_locale_tstruct = Localeinfo_struct /* corecrt.h:444:3 */
|
||||
type X_locale_t = uintptr /* corecrt.h:444:19 */
|
||||
|
||||
type TagLC_ID = struct {
|
||||
FwLanguage uint16
|
||||
FwCountry uint16
|
||||
FwCodePage uint16
|
||||
} /* crtdefs.h:422:1 */
|
||||
} /* corecrt.h:435:1 */
|
||||
|
||||
type LC_ID = TagLC_ID /* crtdefs.h:439:3 */
|
||||
type LPLC_ID = uintptr /* crtdefs.h:439:9 */
|
||||
type LC_ID = TagLC_ID /* corecrt.h:452:3 */
|
||||
type LPLC_ID = uintptr /* corecrt.h:452:9 */
|
||||
|
||||
type Threadlocinfo = Threadlocaleinfostruct /* crtdefs.h:468:3 */
|
||||
type Threadlocinfo = Threadlocaleinfostruct /* corecrt.h:487:3 */
|
||||
type X_fsize_t = uint32 /* io.h:29:25 */
|
||||
|
||||
type X_finddata32_t = struct {
|
||||
|
||||
2
vendor/modernc.org/libc/fts/capi_darwin_amd64.go
generated
vendored
2
vendor/modernc.org/libc/fts/capi_darwin_amd64.go
generated
vendored
@@ -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_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_darwin_amd64.go -pkgname fts', DO NOT EDIT.
|
||||
|
||||
package fts
|
||||
|
||||
|
||||
5
vendor/modernc.org/libc/fts/capi_freebsd_arm.go
generated
vendored
Normal file
5
vendor/modernc.org/libc/fts/capi_freebsd_arm.go
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
// 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_freebsd_arm.go -pkgname fts', DO NOT EDIT.
|
||||
|
||||
package fts
|
||||
|
||||
var CAPI = map[string]struct{}{}
|
||||
5
vendor/modernc.org/libc/fts/capi_freebsd_arm64.go
generated
vendored
Normal file
5
vendor/modernc.org/libc/fts/capi_freebsd_arm64.go
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
// 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_freebsd_amd64.go -pkgname fts', DO NOT EDIT.
|
||||
|
||||
package fts
|
||||
|
||||
var CAPI = map[string]struct{}{}
|
||||
5
vendor/modernc.org/libc/fts/capi_netbsd_arm.go
generated
vendored
Normal file
5
vendor/modernc.org/libc/fts/capi_netbsd_arm.go
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
// 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_netbsd_arm.go -pkgname fts', DO NOT EDIT.
|
||||
|
||||
package fts
|
||||
|
||||
var CAPI = map[string]struct{}{}
|
||||
5
vendor/modernc.org/libc/fts/capi_openbsd_386.go
generated
vendored
Normal file
5
vendor/modernc.org/libc/fts/capi_openbsd_386.go
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
// 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_openbsd_386.go -pkgname fts', DO NOT EDIT.
|
||||
|
||||
package fts
|
||||
|
||||
var CAPI = map[string]struct{}{}
|
||||
5
vendor/modernc.org/libc/fts/capi_openbsd_arm64.go
generated
vendored
Normal file
5
vendor/modernc.org/libc/fts/capi_openbsd_arm64.go
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
// 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_openbsd_arm64.go -pkgname fts', DO NOT EDIT.
|
||||
|
||||
package fts
|
||||
|
||||
var CAPI = map[string]struct{}{}
|
||||
360
vendor/modernc.org/libc/fts/fts_darwin_amd64.go
generated
vendored
360
vendor/modernc.org/libc/fts/fts_darwin_amd64.go
generated
vendored
@@ -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_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_darwin_amd64.go -pkgname fts', DO NOT EDIT.
|
||||
|
||||
package fts
|
||||
|
||||
@@ -15,185 +15,185 @@ 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_MAY_SHARE_BLOCKS = 0x00000001
|
||||
EF_NO_XATTRS = 0x00000002
|
||||
FD_SETSIZE = 1024
|
||||
FTS_AGAIN = 1
|
||||
FTS_BLOCK_COMPAR = 0x80000000
|
||||
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
|
||||
LITTLE_ENDIAN = 1234
|
||||
NBBY = 8
|
||||
PDP_ENDIAN = 3412
|
||||
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_BLKCNT_T = 0
|
||||
X_BLKSIZE_T = 0
|
||||
X_BSD_I386__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_UNIX_CONFORMANCE = 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_I386__ENDIAN_H_ = 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__OSBYTEORDERI386_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:94:1:
|
||||
BYTE_ORDER = 1234 // endian.h:97:1:
|
||||
DEFFILEMODE = 438 // stat.h:301:1:
|
||||
EF_IS_PURGEABLE = 0x00000008 // stat.h:370:1:
|
||||
EF_IS_SPARSE = 0x00000010 // stat.h:371:1:
|
||||
EF_IS_SYNC_ROOT = 0x00000004 // stat.h:369:1:
|
||||
EF_MAY_SHARE_BLOCKS = 0x00000001 // stat.h:367:1:
|
||||
EF_NO_XATTRS = 0x00000002 // stat.h:368:1:
|
||||
FD_SETSIZE = 1024 // _fd_setsize.h:29:1:
|
||||
FTS_AGAIN = 1 // fts.h:156:1:
|
||||
FTS_BLOCK_COMPAR = 0x80000000 // fts.h:108: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:157: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:158: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:159: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:
|
||||
LITTLE_ENDIAN = 1234 // endian.h:93:1:
|
||||
NBBY = 8 // types.h:186:1:
|
||||
PDP_ENDIAN = 3412 // endian.h:95: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:393:1:
|
||||
UTIME_OMIT = -2 // stat.h:394:1:
|
||||
X_BLKCNT_T = 0 // _blkcnt_t.h:29:1:
|
||||
X_BLKSIZE_T = 0 // _blksize_t.h:29:1:
|
||||
X_BSD_I386__TYPES_H_ = 0 // _types.h:29: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:745:1:
|
||||
X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1 // cdefs.h:771:1:
|
||||
X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3 // cdefs.h:779: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_I386__ENDIAN_H_ = 0 // endian.h:67: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:67:1:
|
||||
X_MODE_T = 0 // _mode_t.h:29:1:
|
||||
X_NLINK_T = 0 // _nlink_t.h:29:1:
|
||||
X_Nonnull = 0 // cdefs.h:243:1:
|
||||
X_Null_unspecified = 0 // cdefs.h:246:1:
|
||||
X_Nullable = 0 // cdefs.h:240:1:
|
||||
X_OFF_T = 0 // _off_t.h:29:1:
|
||||
X_OS__OSBYTEORDERI386_H = 0 // _OSByteOrder.h:30: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:78:1:
|
||||
X_QUAD_LOWWORD = 0 // endian.h:79: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 */
|
||||
|
||||
11
vendor/modernc.org/libc/fts/fts_freebsd_386.go
generated
vendored
11
vendor/modernc.org/libc/fts/fts_freebsd_386.go
generated
vendored
@@ -171,7 +171,7 @@ const (
|
||||
X_IN_PORT_T_DECLARED = 0 // types.h:136:1:
|
||||
X_KEY_T_DECLARED = 0 // types.h:151:1:
|
||||
X_LITTLE_ENDIAN = 1234 // _endian.h:46:1:
|
||||
X_LOCALE_T_DEFINED = 0 // _time.h:35:1:
|
||||
X_LOCALE_T_DEFINED = 0 // _time.h:34:1:
|
||||
X_LSEEK_DECLARED = 0 // types.h:421:1:
|
||||
X_LWPID_T_DECLARED = 0 // types.h:156:1:
|
||||
X_MACHINE_ENDIAN_H_ = 0 // endian.h:36:1:
|
||||
@@ -226,7 +226,7 @@ const (
|
||||
X_UINTMAX_T_DECLARED = 0 // _stdint.h:89:1:
|
||||
X_UINTPTR_T_DECLARED = 0 // _stdint.h:81:1:
|
||||
X_USECONDS_T_DECLARED = 0 // types.h:239:1:
|
||||
X_XLOCALE_LOCALE1_H = 0 // _time.h:45:1:
|
||||
X_XLOCALE_LOCALE1_H = 0 // _time.h:44:1:
|
||||
I386 = 1 // <predefined>:335:1:
|
||||
Unix = 1 // <predefined>:336:1:
|
||||
)
|
||||
@@ -783,8 +783,8 @@ type X__cpusetid_t = int32 /* _types.h:70:14 */ // cpuset identifier.
|
||||
type X__daddr_t = X__int64_t /* _types.h:71:19 */ // bwrite(3), FIOBMAP2, etc
|
||||
|
||||
// Unusual type definitions.
|
||||
// rune_t is declared to be an ``int'' instead of the more natural
|
||||
// ``unsigned long'' or ``long''. Two things are happening here. It is not
|
||||
// rune_t is declared to be an “int” instead of the more natural
|
||||
// “unsigned long” or “long”. Two things are happening here. It is not
|
||||
// unsigned so that EOF (-1) can be naturally assigned to it and used. Also,
|
||||
// it looks like 10646 will be a 31 bit standard. This means that if your
|
||||
// ints cannot hold 32 bits, you will be in trouble. The reason an int was
|
||||
@@ -2124,7 +2124,6 @@ type Tm = struct {
|
||||
// SPDX-License-Identifier: BSD-2-Clause-FreeBSD
|
||||
//
|
||||
// Copyright (c) 2011, 2012 The FreeBSD Foundation
|
||||
// All rights reserved.
|
||||
//
|
||||
// This software was developed by David Chisnall under sponsorship from
|
||||
// the FreeBSD Foundation.
|
||||
@@ -2152,7 +2151,7 @@ type Tm = struct {
|
||||
//
|
||||
// $FreeBSD$
|
||||
|
||||
type Locale_t = uintptr /* _time.h:36:25 */
|
||||
type Locale_t = uintptr /* _time.h:35:25 */
|
||||
|
||||
type Stat = struct {
|
||||
Fst_dev Dev_t
|
||||
|
||||
254
vendor/modernc.org/libc/fts/fts_freebsd_amd64.go
generated
vendored
254
vendor/modernc.org/libc/fts/fts_freebsd_amd64.go
generated
vendored
@@ -17,34 +17,37 @@ var _ unsafe.Pointer
|
||||
const (
|
||||
ACCESSPERMS = 511 // stat.h:298:1:
|
||||
ALLPERMS = 4095 // stat.h:300:1:
|
||||
BIG_ENDIAN = 4321 // endian.h:63:1:
|
||||
BYTE_ORDER = 1234 // endian.h:65:1:
|
||||
CLK_TCK = 128 // time.h:55:1:
|
||||
CLOCKS_PER_SEC = 128 // time.h:59:1:
|
||||
CLOCK_MONOTONIC = 4 // time.h:472:1:
|
||||
CLOCK_MONOTONIC_FAST = 12 // time.h:479:1:
|
||||
CLOCK_MONOTONIC_PRECISE = 11 // time.h:478:1:
|
||||
CLOCK_PROCESS_CPUTIME_ID = 15 // time.h:482:1:
|
||||
CLOCK_PROF = 2 // time.h:469:1:
|
||||
CLOCK_REALTIME = 0 // time.h:465:1:
|
||||
CLOCK_REALTIME_FAST = 10 // time.h:477:1:
|
||||
CLOCK_REALTIME_PRECISE = 9 // time.h:476:1:
|
||||
CLOCK_SECOND = 13 // time.h:480:1:
|
||||
CLOCK_THREAD_CPUTIME_ID = 14 // time.h:481:1:
|
||||
CLOCK_UPTIME = 5 // time.h:473:1:
|
||||
CLOCK_UPTIME_FAST = 8 // time.h:475:1:
|
||||
CLOCK_UPTIME_PRECISE = 7 // time.h:474:1:
|
||||
CLOCK_VIRTUAL = 1 // time.h:468:1:
|
||||
CPUCLOCK_WHICH_PID = 0 // time.h:491:1:
|
||||
CPUCLOCK_WHICH_TID = 1 // time.h:492:1:
|
||||
BIG_ENDIAN = 4321 // _endian.h:70:1:
|
||||
BYTE_ORDER = 1234 // _endian.h:72:1:
|
||||
CLK_TCK = 128 // time.h:56:1:
|
||||
CLOCKS_PER_SEC = 128 // time.h:60:1:
|
||||
CLOCK_BOOTTIME = 5 // _clock_id.h:92:1:
|
||||
CLOCK_MONOTONIC = 4 // _clock_id.h:67:1:
|
||||
CLOCK_MONOTONIC_COARSE = 12 // _clock_id.h:94:1:
|
||||
CLOCK_MONOTONIC_FAST = 12 // _clock_id.h:79:1:
|
||||
CLOCK_MONOTONIC_PRECISE = 11 // _clock_id.h:78:1:
|
||||
CLOCK_PROCESS_CPUTIME_ID = 15 // _clock_id.h:85:1:
|
||||
CLOCK_PROF = 2 // _clock_id.h:64:1:
|
||||
CLOCK_REALTIME = 0 // _clock_id.h:60:1:
|
||||
CLOCK_REALTIME_COARSE = 10 // _clock_id.h:93:1:
|
||||
CLOCK_REALTIME_FAST = 10 // _clock_id.h:77:1:
|
||||
CLOCK_REALTIME_PRECISE = 9 // _clock_id.h:76:1:
|
||||
CLOCK_SECOND = 13 // _clock_id.h:80:1:
|
||||
CLOCK_THREAD_CPUTIME_ID = 14 // _clock_id.h:84:1:
|
||||
CLOCK_UPTIME = 5 // _clock_id.h:74:1:
|
||||
CLOCK_UPTIME_FAST = 8 // _clock_id.h:68:1:
|
||||
CLOCK_UPTIME_PRECISE = 7 // _clock_id.h:75:1:
|
||||
CLOCK_VIRTUAL = 1 // _clock_id.h:63:1:
|
||||
CPUCLOCK_WHICH_PID = 0 // time.h:476:1:
|
||||
CPUCLOCK_WHICH_TID = 1 // time.h:477:1:
|
||||
DEFFILEMODE = 438 // stat.h:302:1:
|
||||
DST_AUST = 2 // time.h:48:1:
|
||||
DST_CAN = 6 // time.h:52:1:
|
||||
DST_EET = 5 // time.h:51:1:
|
||||
DST_MET = 4 // time.h:50:1:
|
||||
DST_NONE = 0 // time.h:46:1:
|
||||
DST_USA = 1 // time.h:47:1:
|
||||
DST_WET = 3 // time.h:49:1:
|
||||
DST_AUST = 2 // time.h:49:1:
|
||||
DST_CAN = 6 // time.h:53:1:
|
||||
DST_EET = 5 // time.h:52:1:
|
||||
DST_MET = 4 // time.h:51:1:
|
||||
DST_NONE = 0 // time.h:47:1:
|
||||
DST_USA = 1 // time.h:48:1:
|
||||
DST_WET = 3 // time.h:50:1:
|
||||
FD_SETSIZE = 1024 // select.h:61:1:
|
||||
FTS_AGAIN = 1 // fts.h:111:1:
|
||||
FTS_COMFOLLOW = 0x001 // fts.h:52:1:
|
||||
@@ -80,12 +83,12 @@ const (
|
||||
FTS_W = 14 // fts.h:103:1:
|
||||
FTS_WHITEOUT = 0x080 // fts.h:59:1:
|
||||
FTS_XDEV = 0x040 // fts.h:58:1:
|
||||
ITIMER_PROF = 2 // time.h:445:1:
|
||||
ITIMER_REAL = 0 // time.h:443:1:
|
||||
ITIMER_VIRTUAL = 1 // time.h:444:1:
|
||||
LITTLE_ENDIAN = 1234 // endian.h:62:1:
|
||||
PDP_ENDIAN = 3412 // endian.h:64:1:
|
||||
SBT_MAX = 0x7fffffffffffffff // time.h:134:1:
|
||||
ITIMER_PROF = 2 // time.h:457:1:
|
||||
ITIMER_REAL = 0 // time.h:455:1:
|
||||
ITIMER_VIRTUAL = 1 // time.h:456:1:
|
||||
LITTLE_ENDIAN = 1234 // _endian.h:69:1:
|
||||
PDP_ENDIAN = 3412 // _endian.h:71:1:
|
||||
SBT_MAX = 0x7fffffffffffffff // time.h:135:1:
|
||||
SF_APPEND = 0x00040000 // stat.h:341:1:
|
||||
SF_ARCHIVED = 0x00010000 // stat.h:339:1:
|
||||
SF_IMMUTABLE = 0x00020000 // stat.h:340:1:
|
||||
@@ -121,9 +124,9 @@ const (
|
||||
S_IXGRP = 0000010 // stat.h:262:1:
|
||||
S_IXOTH = 0000001 // stat.h:267:1:
|
||||
S_IXUSR = 0000100 // stat.h:251:1:
|
||||
TIMER_ABSTIME = 0x1 // time.h:487:1:
|
||||
TIMER_RELTIME = 0x0 // time.h:123:1:
|
||||
TIME_UTC = 1 // time.h:216:1:
|
||||
TIMER_ABSTIME = 0x1 // _clock_id.h:101:1:
|
||||
TIMER_RELTIME = 0x0 // _clock_id.h:98:1:
|
||||
TIME_UTC = 1 // time.h:188:1:
|
||||
UF_APPEND = 0x00000004 // stat.h:314:1:
|
||||
UF_ARCHIVE = 0x00000800 // stat.h:330:1:
|
||||
UF_HIDDEN = 0x00008000 // stat.h:333:1:
|
||||
@@ -140,10 +143,10 @@ const (
|
||||
UTIME_NOW = -1 // stat.h:358:1:
|
||||
UTIME_OMIT = -2 // stat.h:359:1:
|
||||
X_ACCMODE_T_DECLARED = 0 // types.h:166:1:
|
||||
X_BIG_ENDIAN = 4321 // endian.h:52:1:
|
||||
X_BIG_ENDIAN = 4321 // _endian.h:47:1:
|
||||
X_BLKCNT_T_DECLARED = 0 // types.h:90:1:
|
||||
X_BLKSIZE_T_DECLARED = 0 // types.h:81:1:
|
||||
X_BYTE_ORDER = 1234 // endian.h:55:1:
|
||||
X_BYTE_ORDER = 1234 // _endian.h:40:1:
|
||||
X_CAP_IOCTL_T_DECLARED = 0 // types.h:243:1:
|
||||
X_CAP_RIGHTS_T_DECLARED = 0 // types.h:248:1:
|
||||
X_CLOCKID_T_DECLARED = 0 // types.h:100:1:
|
||||
@@ -166,8 +169,8 @@ const (
|
||||
X_IN_ADDR_T_DECLARED = 0 // types.h:131:1:
|
||||
X_IN_PORT_T_DECLARED = 0 // types.h:136:1:
|
||||
X_KEY_T_DECLARED = 0 // types.h:151:1:
|
||||
X_LITTLE_ENDIAN = 1234 // endian.h:51:1:
|
||||
X_LOCALE_T_DEFINED = 0 // _time.h:35:1:
|
||||
X_LITTLE_ENDIAN = 1234 // _endian.h:46:1:
|
||||
X_LOCALE_T_DEFINED = 0 // _time.h:34:1:
|
||||
X_LP64 = 1 // <predefined>:1:1:
|
||||
X_LSEEK_DECLARED = 0 // types.h:421:1:
|
||||
X_LWPID_T_DECLARED = 0 // types.h:156:1:
|
||||
@@ -179,16 +182,16 @@ const (
|
||||
X_MODE_T_DECLARED = 0 // types.h:161:1:
|
||||
X_MQD_T_DECLARED = 0 // types.h:227:1:
|
||||
X_NLINK_T_DECLARED = 0 // types.h:171:1:
|
||||
X_Nonnull = 0 // cdefs.h:783:1:
|
||||
X_Null_unspecified = 0 // cdefs.h:785:1:
|
||||
X_Nullable = 0 // cdefs.h:784:1:
|
||||
X_Nonnull = 0 // cdefs.h:790:1:
|
||||
X_Null_unspecified = 0 // cdefs.h:792:1:
|
||||
X_Nullable = 0 // cdefs.h:791:1:
|
||||
X_OFF64_T_DECLARED = 0 // types.h:181:1:
|
||||
X_OFF_T_DECLARED = 0 // types.h:176:1:
|
||||
X_PDP_ENDIAN = 3412 // endian.h:53:1:
|
||||
X_PDP_ENDIAN = 3412 // _endian.h:48:1:
|
||||
X_PID_T_DECLARED = 0 // types.h:186:1:
|
||||
X_PTHREAD_T_DECLARED = 0 // _pthreadtypes.h:68:1:
|
||||
X_QUAD_HIGHWORD = 1 // endian.h:44:1:
|
||||
X_QUAD_LOWWORD = 0 // endian.h:45:1:
|
||||
X_QUAD_HIGHWORD = 1 // _endian.h:55:1:
|
||||
X_QUAD_LOWWORD = 0 // _endian.h:56:1:
|
||||
X_RLIM_T_DECLARED = 0 // types.h:193:1:
|
||||
X_SELECT_DECLARED = 0 // select.h:103:1:
|
||||
X_SIGSET_T_DECLARED = 0 // select.h:50:1:
|
||||
@@ -200,9 +203,11 @@ const (
|
||||
X_SYS_CDEFS_H_ = 0 // cdefs.h:39:1:
|
||||
X_SYS_SELECT_H_ = 0 // select.h:35:1:
|
||||
X_SYS_STAT_H_ = 0 // stat.h:41:1:
|
||||
X_SYS_SYS__CLOCK_ID_H = 0 // _clock_id.h:40:1:
|
||||
X_SYS_TIMESPEC_H_ = 0 // timespec.h:37:1:
|
||||
X_SYS_TIME_H_ = 0 // time.h:36:1:
|
||||
X_SYS_TYPES_H_ = 0 // types.h:41:1:
|
||||
X_SYS__ENDIAN_H_ = 0 // _endian.h:33:1:
|
||||
X_SYS__PTHREADTYPES_H_ = 0 // _pthreadtypes.h:39:1:
|
||||
X_SYS__SIGSET_H_ = 0 // _sigset.h:41:1:
|
||||
X_SYS__STDINT_H_ = 0 // _stdint.h:33:1:
|
||||
@@ -221,8 +226,8 @@ const (
|
||||
X_UINTMAX_T_DECLARED = 0 // _stdint.h:89:1:
|
||||
X_UINTPTR_T_DECLARED = 0 // _stdint.h:81:1:
|
||||
X_USECONDS_T_DECLARED = 0 // types.h:239:1:
|
||||
X_XLOCALE_LOCALE1_H = 0 // _time.h:45:1:
|
||||
Unix = 1 // <predefined>:337:1:
|
||||
X_XLOCALE_LOCALE1_H = 0 // _time.h:44:1:
|
||||
Unix = 1 // <predefined>:340:1:
|
||||
)
|
||||
|
||||
type Ptrdiff_t = int64 /* <builtin>:3:26 */
|
||||
@@ -497,12 +502,15 @@ type X__float128 = float64 /* <builtin>:47:21 */
|
||||
|
||||
// Function should not be analyzed.
|
||||
|
||||
// Function or variable should not be sanitized, i.e. by AddressSanitizer.
|
||||
// Function or variable should not be sanitized, e.g., by AddressSanitizer.
|
||||
// GCC has the nosanitize attribute, but as a function attribute only, and
|
||||
// warns on use as a variable attribute.
|
||||
|
||||
// Guard variables and structure members by lock.
|
||||
|
||||
// Alignment builtins for better type checking and improved code generation.
|
||||
// Provide fallback versions for other compilers (GCC/Clang < 10):
|
||||
|
||||
// Machine type dependent parameters.
|
||||
// -
|
||||
// This file is in the public domain.
|
||||
@@ -541,42 +549,6 @@ type X__float128 = float64 /* <builtin>:47:21 */
|
||||
// @(#)endian.h 7.8 (Berkeley) 4/3/91
|
||||
// $FreeBSD$
|
||||
|
||||
// -
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
//
|
||||
// Copyright (c) 1991, 1993
|
||||
// The Regents of the University of California. All rights reserved.
|
||||
//
|
||||
// This code is derived from software contributed to Berkeley by
|
||||
// Berkeley Software Design, Inc.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
// 1. Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
// 2. Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the distribution.
|
||||
// 3. Neither the name of the University nor the names of its contributors
|
||||
// may be used to endorse or promote products derived from this software
|
||||
// without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||||
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||||
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
// SUCH DAMAGE.
|
||||
//
|
||||
// @(#)cdefs.h 8.8 (Berkeley) 1/9/95
|
||||
// $FreeBSD$
|
||||
|
||||
// -
|
||||
// SPDX-License-Identifier: BSD-2-Clause-FreeBSD
|
||||
//
|
||||
@@ -819,8 +791,8 @@ type X__cpusetid_t = int32 /* _types.h:70:14 */ // cpuset identifier.
|
||||
type X__daddr_t = X__int64_t /* _types.h:71:19 */ // bwrite(3), FIOBMAP2, etc
|
||||
|
||||
// Unusual type definitions.
|
||||
// rune_t is declared to be an ``int'' instead of the more natural
|
||||
// ``unsigned long'' or ``long''. Two things are happening here. It is not
|
||||
// rune_t is declared to be an “int” instead of the more natural
|
||||
// “unsigned long” or “long”. Two things are happening here. It is not
|
||||
// unsigned so that EOF (-1) can be naturally assigned to it and used. Also,
|
||||
// it looks like 10646 will be a 31 bit standard. This means that if your
|
||||
// ints cannot hold 32 bits, you will be in trouble. The reason an int was
|
||||
@@ -1843,15 +1815,69 @@ type Fd_set = Fd_set1 /* select.h:75:3 */
|
||||
// from: FreeBSD: src/sys/sys/time.h,v 1.43 2000/03/20 14:09:05 phk Exp
|
||||
// $FreeBSD$
|
||||
|
||||
// -
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
//
|
||||
// Copyright (c) 1989, 1993
|
||||
// The Regents of the University of California. All rights reserved.
|
||||
// (c) UNIX System Laboratories, Inc.
|
||||
// All or some portions of this file are derived from material licensed
|
||||
// to the University of California by American Telephone and Telegraph
|
||||
// Co. or Unix System Laboratories, Inc. and are reproduced herein with
|
||||
// the permission of UNIX System Laboratories, Inc.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
// 1. Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
// 2. Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the distribution.
|
||||
// 3. Neither the name of the University nor the names of its contributors
|
||||
// may be used to endorse or promote products derived from this software
|
||||
// without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||||
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||||
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
// SUCH DAMAGE.
|
||||
//
|
||||
// @(#)time.h 8.3 (Berkeley) 1/21/94
|
||||
|
||||
// These macros are shared between time.h and sys/time.h.
|
||||
|
||||
// Note: The values shown below as a comment for the __POSIX_VISIBLE values are
|
||||
// the ones FreeBSD traditionally used based on our reading of the POSIX
|
||||
// standards. However, glibc uses 199309 for all of them, even those many were
|
||||
// not defined there. To remain bug compatible with glibc means more software
|
||||
// that relied on the glibc behavior will compile easily on FreeBSD.
|
||||
//
|
||||
// Also, CLOCK_UPTIME_FAST is improperly visible temporarily for the lang/pocl
|
||||
// port until it can be updated properly. It incorrectly assumes that this was a
|
||||
// standard value. It will be moved back to the __BSD_VISIBLE section once the
|
||||
// issue is corrected.
|
||||
|
||||
// FreeBSD-specific clocks.
|
||||
|
||||
// Linux compatible names.
|
||||
|
||||
type Timezone = struct {
|
||||
Ftz_minuteswest int32
|
||||
Ftz_dsttime int32
|
||||
} /* time.h:42:1 */
|
||||
} /* time.h:43:1 */
|
||||
|
||||
type Bintime = struct {
|
||||
Fsec Time_t
|
||||
Ffrac Uint64_t
|
||||
} /* time.h:55:1 */
|
||||
} /* time.h:56:1 */
|
||||
|
||||
// Operations on timespecs
|
||||
|
||||
@@ -1867,7 +1893,7 @@ type Itimerval = struct {
|
||||
Ftv_sec Time_t
|
||||
Ftv_usec Suseconds_t
|
||||
}
|
||||
} /* time.h:447:1 */
|
||||
} /* time.h:459:1 */
|
||||
|
||||
// Getkerninfo clock information structure
|
||||
type Clockinfo = struct {
|
||||
@@ -1876,9 +1902,7 @@ type Clockinfo = struct {
|
||||
Fspare int32
|
||||
Fstathz int32
|
||||
Fprofhz int32
|
||||
} /* time.h:455:1 */
|
||||
|
||||
// These macros are also in time.h.
|
||||
} /* time.h:467:1 */
|
||||
|
||||
// -
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
@@ -2013,6 +2037,43 @@ type Clockinfo = struct {
|
||||
//
|
||||
// $FreeBSD$
|
||||
|
||||
// -
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
//
|
||||
// Copyright (c) 1989, 1993
|
||||
// The Regents of the University of California. All rights reserved.
|
||||
// (c) UNIX System Laboratories, Inc.
|
||||
// All or some portions of this file are derived from material licensed
|
||||
// to the University of California by American Telephone and Telegraph
|
||||
// Co. or Unix System Laboratories, Inc. and are reproduced herein with
|
||||
// the permission of UNIX System Laboratories, Inc.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
// 1. Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
// 2. Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the distribution.
|
||||
// 3. Neither the name of the University nor the names of its contributors
|
||||
// may be used to endorse or promote products derived from this software
|
||||
// without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||||
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||||
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
// SUCH DAMAGE.
|
||||
//
|
||||
// @(#)time.h 8.3 (Berkeley) 1/21/94
|
||||
|
||||
// Frequency of the clock ticks reported by times(). Deprecated - use
|
||||
// sysconf(_SC_CLK_TCK) instead. (Removed in 1003.1-2001.)
|
||||
|
||||
@@ -2054,8 +2115,6 @@ type Clockinfo = struct {
|
||||
// from: FreeBSD: src/sys/sys/time.h,v 1.43 2000/03/20 14:09:05 phk Exp
|
||||
// $FreeBSD$
|
||||
|
||||
// These macros are also in sys/time.h.
|
||||
|
||||
type Tm = struct {
|
||||
Ftm_sec int32
|
||||
Ftm_min int32
|
||||
@@ -2069,13 +2128,12 @@ type Tm = struct {
|
||||
F__ccgo_pad1 [4]byte
|
||||
Ftm_gmtoff int64
|
||||
Ftm_zone uintptr
|
||||
} /* time.h:129:1 */
|
||||
} /* time.h:101:1 */
|
||||
|
||||
// -
|
||||
// SPDX-License-Identifier: BSD-2-Clause-FreeBSD
|
||||
//
|
||||
// Copyright (c) 2011, 2012 The FreeBSD Foundation
|
||||
// All rights reserved.
|
||||
//
|
||||
// This software was developed by David Chisnall under sponsorship from
|
||||
// the FreeBSD Foundation.
|
||||
@@ -2103,7 +2161,7 @@ type Tm = struct {
|
||||
//
|
||||
// $FreeBSD$
|
||||
|
||||
type Locale_t = uintptr /* _time.h:36:25 */
|
||||
type Locale_t = uintptr /* _time.h:35:25 */
|
||||
|
||||
type Stat = struct {
|
||||
Fst_dev Dev_t
|
||||
|
||||
2314
vendor/modernc.org/libc/fts/fts_freebsd_arm.go
generated
vendored
Normal file
2314
vendor/modernc.org/libc/fts/fts_freebsd_arm.go
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
2367
vendor/modernc.org/libc/fts/fts_freebsd_arm64.go
generated
vendored
Normal file
2367
vendor/modernc.org/libc/fts/fts_freebsd_arm64.go
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
34
vendor/modernc.org/libc/fts/fts_linux_386.go
generated
vendored
34
vendor/modernc.org/libc/fts/fts_linux_386.go
generated
vendored
@@ -818,7 +818,8 @@ type X__syscall_slong_t = int32 /* types.h:196:33 */
|
||||
type X__syscall_ulong_t = uint32 /* types.h:198:33 */
|
||||
|
||||
// These few don't really vary by system, they always correspond
|
||||
// to one of the other defined types.
|
||||
//
|
||||
// to one of the other defined types.
|
||||
type X__loff_t = X__off64_t /* types.h:202:19 */ // Type of file sizes and offsets (LFS).
|
||||
type X__caddr_t = uintptr /* types.h:203:14 */
|
||||
|
||||
@@ -829,13 +830,15 @@ type X__intptr_t = int32 /* types.h:206:25 */
|
||||
type X__socklen_t = uint32 /* types.h:209:23 */
|
||||
|
||||
// C99: An integer type that can be accessed as an atomic entity,
|
||||
// even in the presence of asynchronous interrupts.
|
||||
// It is not currently necessary for this to be machine-specific.
|
||||
//
|
||||
// even in the presence of asynchronous interrupts.
|
||||
// It is not currently necessary for this to be machine-specific.
|
||||
type X__sig_atomic_t = int32 /* types.h:214:13 */
|
||||
|
||||
// Seconds since the Epoch, visible to user code when time_t is too
|
||||
// narrow only for consistency with the old way of widening too-narrow
|
||||
// types. User code should never use __time64_t.
|
||||
//
|
||||
// narrow only for consistency with the old way of widening too-narrow
|
||||
// types. User code should never use __time64_t.
|
||||
type X__time64_t = X__int64_t /* types.h:222:28 */
|
||||
|
||||
type U_char = X__u_char /* types.h:33:18 */
|
||||
@@ -1141,7 +1144,8 @@ type Sigset_t = X__sigset_t /* sigset_t.h:7:20 */
|
||||
// Never include this file directly; use <sys/types.h> instead.
|
||||
|
||||
// A time value that is accurate to the nearest
|
||||
// microsecond but also has a range of years.
|
||||
//
|
||||
// microsecond but also has a range of years.
|
||||
type Timeval = struct {
|
||||
Ftv_sec X__time_t
|
||||
Ftv_usec X__suseconds_t
|
||||
@@ -1188,7 +1192,8 @@ type Timeval = struct {
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
|
||||
// POSIX.1b structure for a time value. This is like a `struct timeval' but
|
||||
// has nanoseconds instead of microseconds.
|
||||
//
|
||||
// has nanoseconds instead of microseconds.
|
||||
type Timespec = struct {
|
||||
Ftv_sec X__time_t
|
||||
Ftv_nsec X__syscall_slong_t
|
||||
@@ -1502,18 +1507,21 @@ type X__pthread_cond_s = struct {
|
||||
} /* thread-shared-types.h:92:1 */
|
||||
|
||||
// Thread identifiers. The structure of the attribute type is not
|
||||
// exposed on purpose.
|
||||
//
|
||||
// exposed on purpose.
|
||||
type Pthread_t = uint32 /* pthreadtypes.h:27:27 */
|
||||
|
||||
// Data structures for mutex handling. The structure of the attribute
|
||||
// type is not exposed on purpose.
|
||||
//
|
||||
// type is not exposed on purpose.
|
||||
type Pthread_mutexattr_t = struct {
|
||||
F__ccgo_pad1 [0]uint32
|
||||
F__size [4]int8
|
||||
} /* pthreadtypes.h:36:3 */
|
||||
|
||||
// Data structure for condition variable handling. The structure of
|
||||
// the attribute type is not exposed on purpose.
|
||||
//
|
||||
// the attribute type is not exposed on purpose.
|
||||
type Pthread_condattr_t = struct {
|
||||
F__ccgo_pad1 [0]uint32
|
||||
F__size [4]int8
|
||||
@@ -1537,7 +1545,8 @@ type Pthread_mutex_t = struct{ F__data X__pthread_mutex_s } /* pthreadtypes.h:72
|
||||
type Pthread_cond_t = struct{ F__data X__pthread_cond_s } /* pthreadtypes.h:80:3 */
|
||||
|
||||
// Data structure for reader-writer lock variable handling. The
|
||||
// structure of the attribute type is deliberately not exposed.
|
||||
//
|
||||
// structure of the attribute type is deliberately not exposed.
|
||||
type Pthread_rwlock_t = struct{ F__data X__pthread_rwlock_arch_t } /* pthreadtypes.h:91:3 */
|
||||
|
||||
type Pthread_rwlockattr_t = struct {
|
||||
@@ -1549,7 +1558,8 @@ type Pthread_rwlockattr_t = struct {
|
||||
type Pthread_spinlock_t = int32 /* pthreadtypes.h:103:22 */
|
||||
|
||||
// POSIX barriers data type. The structure of the type is
|
||||
// deliberately not exposed.
|
||||
//
|
||||
// deliberately not exposed.
|
||||
type Pthread_barrier_t = struct {
|
||||
F__ccgo_pad1 [0]uint32
|
||||
F__size [20]int8
|
||||
|
||||
29
vendor/modernc.org/libc/fts/fts_linux_amd64.go
generated
vendored
29
vendor/modernc.org/libc/fts/fts_linux_amd64.go
generated
vendored
@@ -834,7 +834,8 @@ type X__syscall_slong_t = int64 /* types.h:196:33 */
|
||||
type X__syscall_ulong_t = uint64 /* types.h:198:33 */
|
||||
|
||||
// These few don't really vary by system, they always correspond
|
||||
// to one of the other defined types.
|
||||
//
|
||||
// to one of the other defined types.
|
||||
type X__loff_t = X__off64_t /* types.h:202:19 */ // Type of file sizes and offsets (LFS).
|
||||
type X__caddr_t = uintptr /* types.h:203:14 */
|
||||
|
||||
@@ -845,8 +846,9 @@ type X__intptr_t = int64 /* types.h:206:25 */
|
||||
type X__socklen_t = uint32 /* types.h:209:23 */
|
||||
|
||||
// C99: An integer type that can be accessed as an atomic entity,
|
||||
// even in the presence of asynchronous interrupts.
|
||||
// It is not currently necessary for this to be machine-specific.
|
||||
//
|
||||
// even in the presence of asynchronous interrupts.
|
||||
// It is not currently necessary for this to be machine-specific.
|
||||
type X__sig_atomic_t = int32 /* types.h:214:13 */
|
||||
|
||||
// Seconds since the Epoch, visible to user code when time_t is too
|
||||
@@ -1158,7 +1160,8 @@ type Sigset_t = X__sigset_t /* sigset_t.h:7:20 */
|
||||
// Never include this file directly; use <sys/types.h> instead.
|
||||
|
||||
// A time value that is accurate to the nearest
|
||||
// microsecond but also has a range of years.
|
||||
//
|
||||
// microsecond but also has a range of years.
|
||||
type Timeval = struct {
|
||||
Ftv_sec X__time_t
|
||||
Ftv_usec X__suseconds_t
|
||||
@@ -1205,7 +1208,8 @@ type Timeval = struct {
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
|
||||
// POSIX.1b structure for a time value. This is like a `struct timeval' but
|
||||
// has nanoseconds instead of microseconds.
|
||||
//
|
||||
// has nanoseconds instead of microseconds.
|
||||
type Timespec = struct {
|
||||
Ftv_sec X__time_t
|
||||
Ftv_nsec X__syscall_slong_t
|
||||
@@ -1517,18 +1521,21 @@ type X__pthread_cond_s = struct {
|
||||
} /* thread-shared-types.h:92:1 */
|
||||
|
||||
// Thread identifiers. The structure of the attribute type is not
|
||||
// exposed on purpose.
|
||||
//
|
||||
// exposed on purpose.
|
||||
type Pthread_t = uint64 /* pthreadtypes.h:27:27 */
|
||||
|
||||
// Data structures for mutex handling. The structure of the attribute
|
||||
// type is not exposed on purpose.
|
||||
//
|
||||
// type is not exposed on purpose.
|
||||
type Pthread_mutexattr_t = struct {
|
||||
F__ccgo_pad1 [0]uint32
|
||||
F__size [4]int8
|
||||
} /* pthreadtypes.h:36:3 */
|
||||
|
||||
// Data structure for condition variable handling. The structure of
|
||||
// the attribute type is not exposed on purpose.
|
||||
//
|
||||
// the attribute type is not exposed on purpose.
|
||||
type Pthread_condattr_t = struct {
|
||||
F__ccgo_pad1 [0]uint32
|
||||
F__size [4]int8
|
||||
@@ -1552,7 +1559,8 @@ type Pthread_mutex_t = struct{ F__data X__pthread_mutex_s } /* pthreadtypes.h:72
|
||||
type Pthread_cond_t = struct{ F__data X__pthread_cond_s } /* pthreadtypes.h:80:3 */
|
||||
|
||||
// Data structure for reader-writer lock variable handling. The
|
||||
// structure of the attribute type is deliberately not exposed.
|
||||
//
|
||||
// structure of the attribute type is deliberately not exposed.
|
||||
type Pthread_rwlock_t = struct{ F__data X__pthread_rwlock_arch_t } /* pthreadtypes.h:91:3 */
|
||||
|
||||
type Pthread_rwlockattr_t = struct {
|
||||
@@ -1564,7 +1572,8 @@ type Pthread_rwlockattr_t = struct {
|
||||
type Pthread_spinlock_t = int32 /* pthreadtypes.h:103:22 */
|
||||
|
||||
// POSIX barriers data type. The structure of the type is
|
||||
// deliberately not exposed.
|
||||
//
|
||||
// deliberately not exposed.
|
||||
type Pthread_barrier_t = struct {
|
||||
F__ccgo_pad1 [0]uint64
|
||||
F__size [32]int8
|
||||
|
||||
34
vendor/modernc.org/libc/fts/fts_linux_arm.go
generated
vendored
34
vendor/modernc.org/libc/fts/fts_linux_arm.go
generated
vendored
@@ -876,7 +876,8 @@ type X__syscall_slong_t = int32 /* types.h:196:33 */
|
||||
type X__syscall_ulong_t = uint32 /* types.h:198:33 */
|
||||
|
||||
// These few don't really vary by system, they always correspond
|
||||
// to one of the other defined types.
|
||||
//
|
||||
// to one of the other defined types.
|
||||
type X__loff_t = X__off64_t /* types.h:202:19 */ // Type of file sizes and offsets (LFS).
|
||||
type X__caddr_t = uintptr /* types.h:203:14 */
|
||||
|
||||
@@ -887,13 +888,15 @@ type X__intptr_t = int32 /* types.h:206:25 */
|
||||
type X__socklen_t = uint32 /* types.h:209:23 */
|
||||
|
||||
// C99: An integer type that can be accessed as an atomic entity,
|
||||
// even in the presence of asynchronous interrupts.
|
||||
// It is not currently necessary for this to be machine-specific.
|
||||
//
|
||||
// even in the presence of asynchronous interrupts.
|
||||
// It is not currently necessary for this to be machine-specific.
|
||||
type X__sig_atomic_t = int32 /* types.h:214:13 */
|
||||
|
||||
// Seconds since the Epoch, visible to user code when time_t is too
|
||||
// narrow only for consistency with the old way of widening too-narrow
|
||||
// types. User code should never use __time64_t.
|
||||
//
|
||||
// narrow only for consistency with the old way of widening too-narrow
|
||||
// types. User code should never use __time64_t.
|
||||
type X__time64_t = X__int64_t /* types.h:222:28 */
|
||||
|
||||
type U_char = X__u_char /* types.h:33:18 */
|
||||
@@ -1200,7 +1203,8 @@ type Sigset_t = X__sigset_t /* sigset_t.h:7:20 */
|
||||
// Never include this file directly; use <sys/types.h> instead.
|
||||
|
||||
// A time value that is accurate to the nearest
|
||||
// microsecond but also has a range of years.
|
||||
//
|
||||
// microsecond but also has a range of years.
|
||||
type Timeval = struct {
|
||||
Ftv_sec X__time_t
|
||||
Ftv_usec X__suseconds_t
|
||||
@@ -1247,7 +1251,8 @@ type Timeval = struct {
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
|
||||
// POSIX.1b structure for a time value. This is like a `struct timeval' but
|
||||
// has nanoseconds instead of microseconds.
|
||||
//
|
||||
// has nanoseconds instead of microseconds.
|
||||
type Timespec = struct {
|
||||
Ftv_sec X__time_t
|
||||
Ftv_nsec X__syscall_slong_t
|
||||
@@ -1612,18 +1617,21 @@ type X__pthread_cond_s = struct {
|
||||
} /* thread-shared-types.h:92:1 */
|
||||
|
||||
// Thread identifiers. The structure of the attribute type is not
|
||||
// exposed on purpose.
|
||||
//
|
||||
// exposed on purpose.
|
||||
type Pthread_t = uint32 /* pthreadtypes.h:27:27 */
|
||||
|
||||
// Data structures for mutex handling. The structure of the attribute
|
||||
// type is not exposed on purpose.
|
||||
//
|
||||
// type is not exposed on purpose.
|
||||
type Pthread_mutexattr_t = struct {
|
||||
F__ccgo_pad1 [0]uint32
|
||||
F__size [4]uint8
|
||||
} /* pthreadtypes.h:36:3 */
|
||||
|
||||
// Data structure for condition variable handling. The structure of
|
||||
// the attribute type is not exposed on purpose.
|
||||
//
|
||||
// the attribute type is not exposed on purpose.
|
||||
type Pthread_condattr_t = struct {
|
||||
F__ccgo_pad1 [0]uint32
|
||||
F__size [4]uint8
|
||||
@@ -1647,7 +1655,8 @@ type Pthread_mutex_t = struct{ F__data X__pthread_mutex_s } /* pthreadtypes.h:72
|
||||
type Pthread_cond_t = struct{ F__data X__pthread_cond_s } /* pthreadtypes.h:80:3 */
|
||||
|
||||
// Data structure for reader-writer lock variable handling. The
|
||||
// structure of the attribute type is deliberately not exposed.
|
||||
//
|
||||
// structure of the attribute type is deliberately not exposed.
|
||||
type Pthread_rwlock_t = struct{ F__data X__pthread_rwlock_arch_t } /* pthreadtypes.h:91:3 */
|
||||
|
||||
type Pthread_rwlockattr_t = struct {
|
||||
@@ -1659,7 +1668,8 @@ type Pthread_rwlockattr_t = struct {
|
||||
type Pthread_spinlock_t = int32 /* pthreadtypes.h:103:22 */
|
||||
|
||||
// POSIX barriers data type. The structure of the type is
|
||||
// deliberately not exposed.
|
||||
//
|
||||
// deliberately not exposed.
|
||||
type Pthread_barrier_t = struct {
|
||||
F__ccgo_pad1 [0]uint32
|
||||
F__size [20]uint8
|
||||
|
||||
29
vendor/modernc.org/libc/fts/fts_linux_arm64.go
generated
vendored
29
vendor/modernc.org/libc/fts/fts_linux_arm64.go
generated
vendored
@@ -902,7 +902,8 @@ type X__syscall_slong_t = int64 /* types.h:196:33 */
|
||||
type X__syscall_ulong_t = uint64 /* types.h:198:33 */
|
||||
|
||||
// These few don't really vary by system, they always correspond
|
||||
// to one of the other defined types.
|
||||
//
|
||||
// to one of the other defined types.
|
||||
type X__loff_t = X__off64_t /* types.h:202:19 */ // Type of file sizes and offsets (LFS).
|
||||
type X__caddr_t = uintptr /* types.h:203:14 */
|
||||
|
||||
@@ -913,8 +914,9 @@ type X__intptr_t = int64 /* types.h:206:25 */
|
||||
type X__socklen_t = uint32 /* types.h:209:23 */
|
||||
|
||||
// C99: An integer type that can be accessed as an atomic entity,
|
||||
// even in the presence of asynchronous interrupts.
|
||||
// It is not currently necessary for this to be machine-specific.
|
||||
//
|
||||
// even in the presence of asynchronous interrupts.
|
||||
// It is not currently necessary for this to be machine-specific.
|
||||
type X__sig_atomic_t = int32 /* types.h:214:13 */
|
||||
|
||||
// Seconds since the Epoch, visible to user code when time_t is too
|
||||
@@ -1225,7 +1227,8 @@ type Sigset_t = X__sigset_t /* sigset_t.h:7:20 */
|
||||
// Never include this file directly; use <sys/types.h> instead.
|
||||
|
||||
// A time value that is accurate to the nearest
|
||||
// microsecond but also has a range of years.
|
||||
//
|
||||
// microsecond but also has a range of years.
|
||||
type Timeval = struct {
|
||||
Ftv_sec X__time_t
|
||||
Ftv_usec X__suseconds_t
|
||||
@@ -1272,7 +1275,8 @@ type Timeval = struct {
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
|
||||
// POSIX.1b structure for a time value. This is like a `struct timeval' but
|
||||
// has nanoseconds instead of microseconds.
|
||||
//
|
||||
// has nanoseconds instead of microseconds.
|
||||
type Timespec = struct {
|
||||
Ftv_sec X__time_t
|
||||
Ftv_nsec X__syscall_slong_t
|
||||
@@ -1617,18 +1621,21 @@ type X__pthread_cond_s = struct {
|
||||
} /* thread-shared-types.h:92:1 */
|
||||
|
||||
// Thread identifiers. The structure of the attribute type is not
|
||||
// exposed on purpose.
|
||||
//
|
||||
// exposed on purpose.
|
||||
type Pthread_t = uint64 /* pthreadtypes.h:27:27 */
|
||||
|
||||
// Data structures for mutex handling. The structure of the attribute
|
||||
// type is not exposed on purpose.
|
||||
//
|
||||
// type is not exposed on purpose.
|
||||
type Pthread_mutexattr_t = struct {
|
||||
F__ccgo_pad1 [0]uint32
|
||||
F__size [8]uint8
|
||||
} /* pthreadtypes.h:36:3 */
|
||||
|
||||
// Data structure for condition variable handling. The structure of
|
||||
// the attribute type is not exposed on purpose.
|
||||
//
|
||||
// the attribute type is not exposed on purpose.
|
||||
type Pthread_condattr_t = struct {
|
||||
F__ccgo_pad1 [0]uint32
|
||||
F__size [8]uint8
|
||||
@@ -1655,7 +1662,8 @@ type Pthread_mutex_t = struct {
|
||||
type Pthread_cond_t = struct{ F__data X__pthread_cond_s } /* pthreadtypes.h:80:3 */
|
||||
|
||||
// Data structure for reader-writer lock variable handling. The
|
||||
// structure of the attribute type is deliberately not exposed.
|
||||
//
|
||||
// structure of the attribute type is deliberately not exposed.
|
||||
type Pthread_rwlock_t = struct{ F__data X__pthread_rwlock_arch_t } /* pthreadtypes.h:91:3 */
|
||||
|
||||
type Pthread_rwlockattr_t = struct {
|
||||
@@ -1667,7 +1675,8 @@ type Pthread_rwlockattr_t = struct {
|
||||
type Pthread_spinlock_t = int32 /* pthreadtypes.h:103:22 */
|
||||
|
||||
// POSIX barriers data type. The structure of the type is
|
||||
// deliberately not exposed.
|
||||
//
|
||||
// deliberately not exposed.
|
||||
type Pthread_barrier_t = struct {
|
||||
F__ccgo_pad1 [0]uint64
|
||||
F__size [32]uint8
|
||||
|
||||
29
vendor/modernc.org/libc/fts/fts_linux_ppc64le.go
generated
vendored
29
vendor/modernc.org/libc/fts/fts_linux_ppc64le.go
generated
vendored
@@ -847,7 +847,8 @@ type X__syscall_slong_t = int64 /* types.h:196:33 */
|
||||
type X__syscall_ulong_t = uint64 /* types.h:198:33 */
|
||||
|
||||
// These few don't really vary by system, they always correspond
|
||||
// to one of the other defined types.
|
||||
//
|
||||
// to one of the other defined types.
|
||||
type X__loff_t = X__off64_t /* types.h:202:19 */ // Type of file sizes and offsets (LFS).
|
||||
type X__caddr_t = uintptr /* types.h:203:14 */
|
||||
|
||||
@@ -858,8 +859,9 @@ type X__intptr_t = int64 /* types.h:206:25 */
|
||||
type X__socklen_t = uint32 /* types.h:209:23 */
|
||||
|
||||
// C99: An integer type that can be accessed as an atomic entity,
|
||||
// even in the presence of asynchronous interrupts.
|
||||
// It is not currently necessary for this to be machine-specific.
|
||||
//
|
||||
// even in the presence of asynchronous interrupts.
|
||||
// It is not currently necessary for this to be machine-specific.
|
||||
type X__sig_atomic_t = int32 /* types.h:214:13 */
|
||||
|
||||
// Seconds since the Epoch, visible to user code when time_t is too
|
||||
@@ -1170,7 +1172,8 @@ type Sigset_t = X__sigset_t /* sigset_t.h:7:20 */
|
||||
// Never include this file directly; use <sys/types.h> instead.
|
||||
|
||||
// A time value that is accurate to the nearest
|
||||
// microsecond but also has a range of years.
|
||||
//
|
||||
// microsecond but also has a range of years.
|
||||
type Timeval = struct {
|
||||
Ftv_sec X__time_t
|
||||
Ftv_usec X__suseconds_t
|
||||
@@ -1217,7 +1220,8 @@ type Timeval = struct {
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
|
||||
// POSIX.1b structure for a time value. This is like a `struct timeval' but
|
||||
// has nanoseconds instead of microseconds.
|
||||
//
|
||||
// has nanoseconds instead of microseconds.
|
||||
type Timespec = struct {
|
||||
Ftv_sec X__time_t
|
||||
Ftv_nsec X__syscall_slong_t
|
||||
@@ -1529,18 +1533,21 @@ type X__pthread_cond_s = struct {
|
||||
} /* thread-shared-types.h:92:1 */
|
||||
|
||||
// Thread identifiers. The structure of the attribute type is not
|
||||
// exposed on purpose.
|
||||
//
|
||||
// exposed on purpose.
|
||||
type Pthread_t = uint64 /* pthreadtypes.h:27:27 */
|
||||
|
||||
// Data structures for mutex handling. The structure of the attribute
|
||||
// type is not exposed on purpose.
|
||||
//
|
||||
// type is not exposed on purpose.
|
||||
type Pthread_mutexattr_t = struct {
|
||||
F__ccgo_pad1 [0]uint32
|
||||
F__size [4]uint8
|
||||
} /* pthreadtypes.h:36:3 */
|
||||
|
||||
// Data structure for condition variable handling. The structure of
|
||||
// the attribute type is not exposed on purpose.
|
||||
//
|
||||
// the attribute type is not exposed on purpose.
|
||||
type Pthread_condattr_t = struct {
|
||||
F__ccgo_pad1 [0]uint32
|
||||
F__size [4]uint8
|
||||
@@ -1564,7 +1571,8 @@ type Pthread_mutex_t = struct{ F__data X__pthread_mutex_s } /* pthreadtypes.h:72
|
||||
type Pthread_cond_t = struct{ F__data X__pthread_cond_s } /* pthreadtypes.h:80:3 */
|
||||
|
||||
// Data structure for reader-writer lock variable handling. The
|
||||
// structure of the attribute type is deliberately not exposed.
|
||||
//
|
||||
// structure of the attribute type is deliberately not exposed.
|
||||
type Pthread_rwlock_t = struct{ F__data X__pthread_rwlock_arch_t } /* pthreadtypes.h:91:3 */
|
||||
|
||||
type Pthread_rwlockattr_t = struct {
|
||||
@@ -1576,7 +1584,8 @@ type Pthread_rwlockattr_t = struct {
|
||||
type Pthread_spinlock_t = int32 /* pthreadtypes.h:103:22 */
|
||||
|
||||
// POSIX barriers data type. The structure of the type is
|
||||
// deliberately not exposed.
|
||||
//
|
||||
// deliberately not exposed.
|
||||
type Pthread_barrier_t = struct {
|
||||
F__ccgo_pad1 [0]uint64
|
||||
F__size [32]uint8
|
||||
|
||||
36
vendor/modernc.org/libc/fts/fts_linux_riscv64.go
generated
vendored
36
vendor/modernc.org/libc/fts/fts_linux_riscv64.go
generated
vendored
@@ -1002,7 +1002,8 @@ type X__syscall_slong_t = int64 /* types.h:197:33 */
|
||||
type X__syscall_ulong_t = uint64 /* types.h:199:33 */
|
||||
|
||||
// These few don't really vary by system, they always correspond
|
||||
// to one of the other defined types.
|
||||
//
|
||||
// to one of the other defined types.
|
||||
type X__loff_t = X__off64_t /* types.h:203:19 */ // Type of file sizes and offsets (LFS).
|
||||
type X__caddr_t = uintptr /* types.h:204:14 */
|
||||
|
||||
@@ -1013,8 +1014,9 @@ type X__intptr_t = int64 /* types.h:207:25 */
|
||||
type X__socklen_t = uint32 /* types.h:210:23 */
|
||||
|
||||
// C99: An integer type that can be accessed as an atomic entity,
|
||||
// even in the presence of asynchronous interrupts.
|
||||
// It is not currently necessary for this to be machine-specific.
|
||||
//
|
||||
// even in the presence of asynchronous interrupts.
|
||||
// It is not currently necessary for this to be machine-specific.
|
||||
type X__sig_atomic_t = int32 /* types.h:215:13 */
|
||||
|
||||
// Seconds since the Epoch, visible to user code when time_t is too
|
||||
@@ -1325,7 +1327,8 @@ type Sigset_t = X__sigset_t /* sigset_t.h:7:20 */
|
||||
// Never include this file directly; use <sys/types.h> instead.
|
||||
|
||||
// A time value that is accurate to the nearest
|
||||
// microsecond but also has a range of years.
|
||||
//
|
||||
// microsecond but also has a range of years.
|
||||
type Timeval = struct {
|
||||
Ftv_sec X__time_t
|
||||
Ftv_usec X__suseconds_t
|
||||
@@ -1372,7 +1375,8 @@ type Timeval = struct {
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
|
||||
// POSIX.1b structure for a time value. This is like a `struct timeval' but
|
||||
// has nanoseconds instead of microseconds.
|
||||
//
|
||||
// has nanoseconds instead of microseconds.
|
||||
type Timespec = struct {
|
||||
Ftv_sec X__time_t
|
||||
Ftv_nsec X__syscall_slong_t
|
||||
@@ -1690,9 +1694,10 @@ type X__pthread_mutex_s = struct {
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// There is a lot of padding in this structure. While it's not strictly
|
||||
// necessary on RISC-V, we're going to leave it in to be on the safe side in
|
||||
// case it's needed in the future. Most other architectures have the padding,
|
||||
// so this gives us the same extensibility as everyone else has.
|
||||
//
|
||||
// necessary on RISC-V, we're going to leave it in to be on the safe side in
|
||||
// case it's needed in the future. Most other architectures have the padding,
|
||||
// so this gives us the same extensibility as everyone else has.
|
||||
type X__pthread_rwlock_arch_t = struct {
|
||||
F__readers uint32
|
||||
F__writers uint32
|
||||
@@ -1726,18 +1731,21 @@ type X__thrd_t = uint64 /* thread-shared-types.h:120:27 */
|
||||
type X__once_flag = struct{ F__data int32 } /* thread-shared-types.h:125:3 */
|
||||
|
||||
// Thread identifiers. The structure of the attribute type is not
|
||||
// exposed on purpose.
|
||||
//
|
||||
// exposed on purpose.
|
||||
type Pthread_t = uint64 /* pthreadtypes.h:27:27 */
|
||||
|
||||
// Data structures for mutex handling. The structure of the attribute
|
||||
// type is not exposed on purpose.
|
||||
//
|
||||
// type is not exposed on purpose.
|
||||
type Pthread_mutexattr_t = struct {
|
||||
F__ccgo_pad1 [0]uint32
|
||||
F__size [4]uint8
|
||||
} /* pthreadtypes.h:36:3 */
|
||||
|
||||
// Data structure for condition variable handling. The structure of
|
||||
// the attribute type is not exposed on purpose.
|
||||
//
|
||||
// the attribute type is not exposed on purpose.
|
||||
type Pthread_condattr_t = struct {
|
||||
F__ccgo_pad1 [0]uint32
|
||||
F__size [4]uint8
|
||||
@@ -1761,7 +1769,8 @@ type Pthread_mutex_t = struct{ F__data X__pthread_mutex_s } /* pthreadtypes.h:72
|
||||
type Pthread_cond_t = struct{ F__data X__pthread_cond_s } /* pthreadtypes.h:80:3 */
|
||||
|
||||
// Data structure for reader-writer lock variable handling. The
|
||||
// structure of the attribute type is deliberately not exposed.
|
||||
//
|
||||
// structure of the attribute type is deliberately not exposed.
|
||||
type Pthread_rwlock_t = struct{ F__data X__pthread_rwlock_arch_t } /* pthreadtypes.h:91:3 */
|
||||
|
||||
type Pthread_rwlockattr_t = struct {
|
||||
@@ -1773,7 +1782,8 @@ type Pthread_rwlockattr_t = struct {
|
||||
type Pthread_spinlock_t = int32 /* pthreadtypes.h:103:22 */
|
||||
|
||||
// POSIX barriers data type. The structure of the type is
|
||||
// deliberately not exposed.
|
||||
//
|
||||
// deliberately not exposed.
|
||||
type Pthread_barrier_t = struct {
|
||||
F__ccgo_pad1 [0]uint64
|
||||
F__size [32]uint8
|
||||
|
||||
29
vendor/modernc.org/libc/fts/fts_linux_s390x.go
generated
vendored
29
vendor/modernc.org/libc/fts/fts_linux_s390x.go
generated
vendored
@@ -833,7 +833,8 @@ type X__syscall_slong_t = int64 /* types.h:196:33 */
|
||||
type X__syscall_ulong_t = uint64 /* types.h:198:33 */
|
||||
|
||||
// These few don't really vary by system, they always correspond
|
||||
// to one of the other defined types.
|
||||
//
|
||||
// to one of the other defined types.
|
||||
type X__loff_t = X__off64_t /* types.h:202:19 */ // Type of file sizes and offsets (LFS).
|
||||
type X__caddr_t = uintptr /* types.h:203:14 */
|
||||
|
||||
@@ -844,8 +845,9 @@ type X__intptr_t = int64 /* types.h:206:25 */
|
||||
type X__socklen_t = uint32 /* types.h:209:23 */
|
||||
|
||||
// C99: An integer type that can be accessed as an atomic entity,
|
||||
// even in the presence of asynchronous interrupts.
|
||||
// It is not currently necessary for this to be machine-specific.
|
||||
//
|
||||
// even in the presence of asynchronous interrupts.
|
||||
// It is not currently necessary for this to be machine-specific.
|
||||
type X__sig_atomic_t = int32 /* types.h:214:13 */
|
||||
|
||||
// Seconds since the Epoch, visible to user code when time_t is too
|
||||
@@ -1156,7 +1158,8 @@ type Sigset_t = X__sigset_t /* sigset_t.h:7:20 */
|
||||
// Never include this file directly; use <sys/types.h> instead.
|
||||
|
||||
// A time value that is accurate to the nearest
|
||||
// microsecond but also has a range of years.
|
||||
//
|
||||
// microsecond but also has a range of years.
|
||||
type Timeval = struct {
|
||||
Ftv_sec X__time_t
|
||||
Ftv_usec X__suseconds_t
|
||||
@@ -1203,7 +1206,8 @@ type Timeval = struct {
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
|
||||
// POSIX.1b structure for a time value. This is like a `struct timeval' but
|
||||
// has nanoseconds instead of microseconds.
|
||||
//
|
||||
// has nanoseconds instead of microseconds.
|
||||
type Timespec = struct {
|
||||
Ftv_sec X__time_t
|
||||
Ftv_nsec X__syscall_slong_t
|
||||
@@ -1514,18 +1518,21 @@ type X__pthread_cond_s = struct {
|
||||
} /* thread-shared-types.h:92:1 */
|
||||
|
||||
// Thread identifiers. The structure of the attribute type is not
|
||||
// exposed on purpose.
|
||||
//
|
||||
// exposed on purpose.
|
||||
type Pthread_t = uint64 /* pthreadtypes.h:27:27 */
|
||||
|
||||
// Data structures for mutex handling. The structure of the attribute
|
||||
// type is not exposed on purpose.
|
||||
//
|
||||
// type is not exposed on purpose.
|
||||
type Pthread_mutexattr_t = struct {
|
||||
F__ccgo_pad1 [0]uint32
|
||||
F__size [4]uint8
|
||||
} /* pthreadtypes.h:36:3 */
|
||||
|
||||
// Data structure for condition variable handling. The structure of
|
||||
// the attribute type is not exposed on purpose.
|
||||
//
|
||||
// the attribute type is not exposed on purpose.
|
||||
type Pthread_condattr_t = struct {
|
||||
F__ccgo_pad1 [0]uint32
|
||||
F__size [4]uint8
|
||||
@@ -1549,7 +1556,8 @@ type Pthread_mutex_t = struct{ F__data X__pthread_mutex_s } /* pthreadtypes.h:72
|
||||
type Pthread_cond_t = struct{ F__data X__pthread_cond_s } /* pthreadtypes.h:80:3 */
|
||||
|
||||
// Data structure for reader-writer lock variable handling. The
|
||||
// structure of the attribute type is deliberately not exposed.
|
||||
//
|
||||
// structure of the attribute type is deliberately not exposed.
|
||||
type Pthread_rwlock_t = struct{ F__data X__pthread_rwlock_arch_t } /* pthreadtypes.h:91:3 */
|
||||
|
||||
type Pthread_rwlockattr_t = struct {
|
||||
@@ -1561,7 +1569,8 @@ type Pthread_rwlockattr_t = struct {
|
||||
type Pthread_spinlock_t = int32 /* pthreadtypes.h:103:22 */
|
||||
|
||||
// POSIX barriers data type. The structure of the type is
|
||||
// deliberately not exposed.
|
||||
//
|
||||
// deliberately not exposed.
|
||||
type Pthread_barrier_t = struct {
|
||||
F__ccgo_pad1 [0]uint64
|
||||
F__size [32]uint8
|
||||
|
||||
1
vendor/modernc.org/libc/fts/fts_netbsd_amd64.go
generated
vendored
1
vendor/modernc.org/libc/fts/fts_netbsd_amd64.go
generated
vendored
@@ -1889,6 +1889,7 @@ type Timezone = struct {
|
||||
|
||||
// hide bintime for _STANDALONE because this header is used for hpcboot.exe,
|
||||
// which is built with compilers which don't recognize LL suffix.
|
||||
//
|
||||
// http://mail-index.NetBSD.org/tech-userlevel/2008/02/27/msg000181.html
|
||||
type Bintime = struct {
|
||||
Fsec Time_t
|
||||
|
||||
2605
vendor/modernc.org/libc/fts/fts_netbsd_arm.go
generated
vendored
Normal file
2605
vendor/modernc.org/libc/fts/fts_netbsd_arm.go
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1254
vendor/modernc.org/libc/fts/fts_openbsd_386.go
generated
vendored
Normal file
1254
vendor/modernc.org/libc/fts/fts_openbsd_386.go
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
66
vendor/modernc.org/libc/fts/fts_openbsd_amd64.go
generated
vendored
66
vendor/modernc.org/libc/fts/fts_openbsd_amd64.go
generated
vendored
@@ -118,8 +118,8 @@ const (
|
||||
UTIME_OMIT = -1 // stat.h:189:1:
|
||||
X_BIG_ENDIAN = 4321 // _endian.h:43:1:
|
||||
X_BYTE_ORDER = 1234 // endian.h:58:1:
|
||||
X_CLOCKID_T_DEFINED_ = 0 // types.h:163:1:
|
||||
X_CLOCK_T_DEFINED_ = 0 // types.h:158:1:
|
||||
X_CLOCKID_T_DEFINED_ = 0 // types.h:162:1:
|
||||
X_CLOCK_T_DEFINED_ = 0 // types.h:157:1:
|
||||
X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
|
||||
X_FTS_H_ = 0 // fts.h:36:1:
|
||||
X_INT16_T_DEFINED_ = 0 // types.h:84:1:
|
||||
@@ -133,16 +133,16 @@ const (
|
||||
X_MACHINE_ENDIAN_H_ = 0 // endian.h:28:1:
|
||||
X_MACHINE__TYPES_H_ = 0 // _types.h:36:1:
|
||||
X_MAX_PAGE_SHIFT = 12 // _types.h:52:1:
|
||||
X_OFF_T_DEFINED_ = 0 // types.h:193:1:
|
||||
X_OFF_T_DEFINED_ = 0 // types.h:192:1:
|
||||
X_PDP_ENDIAN = 3412 // _endian.h:44:1:
|
||||
X_PID_T_DEFINED_ = 0 // types.h:168:1:
|
||||
X_PID_T_DEFINED_ = 0 // types.h:167:1:
|
||||
X_QUAD_HIGHWORD = 1 // _endian.h:95:1:
|
||||
X_QUAD_LOWWORD = 0 // _endian.h:96:1:
|
||||
X_RET_PROTECTOR = 1 // <predefined>:2:1:
|
||||
X_SELECT_DEFINED_ = 0 // select.h:126:1:
|
||||
X_SIGSET_T_DEFINED_ = 0 // select.h:121:1:
|
||||
X_SIZE_T_DEFINED_ = 0 // types.h:173:1:
|
||||
X_SSIZE_T_DEFINED_ = 0 // types.h:178:1:
|
||||
X_SIZE_T_DEFINED_ = 0 // types.h:172:1:
|
||||
X_SSIZE_T_DEFINED_ = 0 // types.h:177:1:
|
||||
X_STACKALIGNBYTES = 15 // _types.h:49:1:
|
||||
X_SYS_CDEFS_H_ = 0 // cdefs.h:39:1:
|
||||
X_SYS_ENDIAN_H_ = 0 // endian.h:38:1:
|
||||
@@ -153,16 +153,16 @@ const (
|
||||
X_SYS__ENDIAN_H_ = 0 // _endian.h:34:1:
|
||||
X_SYS__TIME_H_ = 0 // _time.h:33:1:
|
||||
X_SYS__TYPES_H_ = 0 // _types.h:35:1:
|
||||
X_TIMER_T_DEFINED_ = 0 // types.h:188:1:
|
||||
X_TIMER_T_DEFINED_ = 0 // types.h:187:1:
|
||||
X_TIMESPEC_DECLARED = 0 // select.h:48:1:
|
||||
X_TIMEVAL_DECLARED = 0 // select.h:40:1:
|
||||
X_TIME_H_ = 0 // time.h:42:1:
|
||||
X_TIME_T_DEFINED_ = 0 // types.h:183:1:
|
||||
X_TIME_T_DEFINED_ = 0 // types.h:182:1:
|
||||
X_UINT16_T_DEFINED_ = 0 // types.h:89:1:
|
||||
X_UINT32_T_DEFINED_ = 0 // types.h:99:1:
|
||||
X_UINT64_T_DEFINED_ = 0 // types.h:109:1:
|
||||
X_UINT8_T_DEFINED_ = 0 // types.h:79:1:
|
||||
Unix = 1 // <predefined>:340:1:
|
||||
Unix = 1 // <predefined>:344:1:
|
||||
)
|
||||
|
||||
type Ptrdiff_t = int64 /* <builtin>:3:26 */
|
||||
@@ -183,7 +183,7 @@ type X__uint128_t = struct {
|
||||
type X__builtin_va_list = uintptr /* <builtin>:46:14 */
|
||||
type X__float128 = float64 /* <builtin>:47:21 */
|
||||
|
||||
// $OpenBSD: types.h,v 1.48 2019/02/09 04:54:11 guenther Exp $
|
||||
// $OpenBSD: types.h,v 1.49 2022/08/06 13:31:13 semarie Exp $
|
||||
// $NetBSD: types.h,v 1.29 1996/11/15 22:48:25 jtc Exp $
|
||||
|
||||
// -
|
||||
@@ -480,7 +480,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
|
||||
// get the correct setting direction for the platform and sets internal
|
||||
// ('__' prefix) macros appropriately.
|
||||
|
||||
// $OpenBSD: _types.h,v 1.9 2014/08/22 23:05:15 krw Exp $
|
||||
// $OpenBSD: _types.h,v 1.10 2022/08/06 13:31:13 semarie Exp $
|
||||
|
||||
// -
|
||||
// Copyright (c) 1990, 1993
|
||||
@@ -640,18 +640,17 @@ type X__sa_family_t = X__uint8_t /* _types.h:59:19 */ // sockaddr address family
|
||||
type X__segsz_t = X__int32_t /* _types.h:60:19 */ // segment size
|
||||
type X__socklen_t = X__uint32_t /* _types.h:61:20 */ // length type for network syscalls
|
||||
type X__suseconds_t = int64 /* _types.h:62:15 */ // microseconds (signed)
|
||||
type X__swblk_t = X__int32_t /* _types.h:63:19 */ // swap offset
|
||||
type X__time_t = X__int64_t /* _types.h:64:19 */ // epoch time
|
||||
type X__timer_t = X__int32_t /* _types.h:65:19 */ // POSIX timer identifiers
|
||||
type X__uid_t = X__uint32_t /* _types.h:66:20 */ // user id
|
||||
type X__useconds_t = X__uint32_t /* _types.h:67:20 */ // microseconds
|
||||
type X__time_t = X__int64_t /* _types.h:63:19 */ // epoch time
|
||||
type X__timer_t = X__int32_t /* _types.h:64:19 */ // POSIX timer identifiers
|
||||
type X__uid_t = X__uint32_t /* _types.h:65:20 */ // user id
|
||||
type X__useconds_t = X__uint32_t /* _types.h:66:20 */ // microseconds
|
||||
|
||||
// mbstate_t is an opaque object to keep conversion state, during multibyte
|
||||
// stream conversions. The content must not be referenced by user programs.
|
||||
type X__mbstate_t = struct {
|
||||
F__ccgo_pad1 [0]uint64
|
||||
F__mbstate8 [128]int8
|
||||
} /* _types.h:76:3 */
|
||||
} /* _types.h:75:3 */
|
||||
|
||||
// Tell sys/endian.h we have MD variants of the swap macros.
|
||||
|
||||
@@ -733,31 +732,30 @@ type Mode_t = X__mode_t /* types.h:143:18 */ // permissions
|
||||
type Nlink_t = X__nlink_t /* types.h:144:19 */ // link count
|
||||
type Rlim_t = X__rlim_t /* types.h:145:18 */ // resource limit
|
||||
type Segsz_t = X__segsz_t /* types.h:146:19 */ // segment size
|
||||
type Swblk_t = X__swblk_t /* types.h:147:19 */ // swap offset
|
||||
type Uid_t = X__uid_t /* types.h:148:18 */ // user id
|
||||
type Useconds_t = X__useconds_t /* types.h:149:22 */ // microseconds
|
||||
type Suseconds_t = X__suseconds_t /* types.h:150:23 */ // microseconds (signed)
|
||||
type Fsblkcnt_t = X__fsblkcnt_t /* types.h:151:22 */ // file system block count
|
||||
type Fsfilcnt_t = X__fsfilcnt_t /* types.h:152:22 */ // file system file count
|
||||
type Uid_t = X__uid_t /* types.h:147:18 */ // user id
|
||||
type Useconds_t = X__useconds_t /* types.h:148:22 */ // microseconds
|
||||
type Suseconds_t = X__suseconds_t /* types.h:149:23 */ // microseconds (signed)
|
||||
type Fsblkcnt_t = X__fsblkcnt_t /* types.h:150:22 */ // file system block count
|
||||
type Fsfilcnt_t = X__fsfilcnt_t /* types.h:151:22 */ // file system file count
|
||||
|
||||
// The following types may be defined in multiple header files.
|
||||
type Clock_t = X__clock_t /* types.h:159:19 */
|
||||
type Clock_t = X__clock_t /* types.h:158:19 */
|
||||
|
||||
type Clockid_t = X__clockid_t /* types.h:164:21 */
|
||||
type Clockid_t = X__clockid_t /* types.h:163:21 */
|
||||
|
||||
type Pid_t = X__pid_t /* types.h:169:18 */
|
||||
type Pid_t = X__pid_t /* types.h:168:18 */
|
||||
|
||||
type Ssize_t = X__ssize_t /* types.h:179:19 */
|
||||
type Ssize_t = X__ssize_t /* types.h:178:19 */
|
||||
|
||||
type Time_t = X__time_t /* types.h:184:18 */
|
||||
type Time_t = X__time_t /* types.h:183:18 */
|
||||
|
||||
type Timer_t = X__timer_t /* types.h:189:19 */
|
||||
type Timer_t = X__timer_t /* types.h:188:19 */
|
||||
|
||||
type Off_t = X__off_t /* types.h:194:18 */
|
||||
type Off_t = X__off_t /* types.h:193:18 */
|
||||
|
||||
// Major, minor numbers, dev_t's.
|
||||
|
||||
// $OpenBSD: stat.h,v 1.28 2015/04/04 18:06:08 jca Exp $
|
||||
// $OpenBSD: stat.h,v 1.29 2022/01/11 23:59:55 jsg Exp $
|
||||
// $NetBSD: stat.h,v 1.20 1996/05/16 22:17:49 cgd Exp $
|
||||
|
||||
// -
|
||||
@@ -795,7 +793,7 @@ type Off_t = X__off_t /* types.h:194:18 */
|
||||
//
|
||||
// @(#)stat.h 8.9 (Berkeley) 8/17/94
|
||||
|
||||
// $OpenBSD: time.h,v 1.61 2021/06/19 13:49:39 cheloha Exp $
|
||||
// $OpenBSD: time.h,v 1.62 2022/07/23 22:58:51 cheloha Exp $
|
||||
// $NetBSD: time.h,v 1.18 1996/04/23 10:29:33 mycroft Exp $
|
||||
|
||||
// Copyright (c) 1982, 1986, 1993
|
||||
@@ -859,7 +857,7 @@ type Off_t = X__off_t /* types.h:194:18 */
|
||||
//
|
||||
// @(#)select.h 8.2 (Berkeley) 1/4/94
|
||||
|
||||
// $OpenBSD: types.h,v 1.48 2019/02/09 04:54:11 guenther Exp $
|
||||
// $OpenBSD: types.h,v 1.49 2022/08/06 13:31:13 semarie Exp $
|
||||
// $NetBSD: types.h,v 1.29 1996/11/15 22:48:25 jtc Exp $
|
||||
|
||||
// -
|
||||
@@ -1031,7 +1029,7 @@ type Clockinfo = struct {
|
||||
// Written by Todd C. Miller, September 9, 2016
|
||||
// Public domain.
|
||||
|
||||
// $OpenBSD: _types.h,v 1.9 2014/08/22 23:05:15 krw Exp $
|
||||
// $OpenBSD: _types.h,v 1.10 2022/08/06 13:31:13 semarie Exp $
|
||||
|
||||
// -
|
||||
// Copyright (c) 1990, 1993
|
||||
|
||||
1268
vendor/modernc.org/libc/fts/fts_openbsd_arm64.go
generated
vendored
Normal file
1268
vendor/modernc.org/libc/fts/fts_openbsd_arm64.go
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
2
vendor/modernc.org/libc/grp/capi_darwin_amd64.go
generated
vendored
2
vendor/modernc.org/libc/grp/capi_darwin_amd64.go
generated
vendored
@@ -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_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_darwin_amd64.go -pkgname grp', DO NOT EDIT.
|
||||
|
||||
package grp
|
||||
|
||||
|
||||
5
vendor/modernc.org/libc/grp/capi_freebsd_arm.go
generated
vendored
Normal file
5
vendor/modernc.org/libc/grp/capi_freebsd_arm.go
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
// 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_freebsd_arm.go -pkgname grp', DO NOT EDIT.
|
||||
|
||||
package grp
|
||||
|
||||
var CAPI = map[string]struct{}{}
|
||||
5
vendor/modernc.org/libc/grp/capi_freebsd_arm64.go
generated
vendored
Normal file
5
vendor/modernc.org/libc/grp/capi_freebsd_arm64.go
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
// 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_freebsd_amd64.go -pkgname grp', DO NOT EDIT.
|
||||
|
||||
package grp
|
||||
|
||||
var CAPI = map[string]struct{}{}
|
||||
5
vendor/modernc.org/libc/grp/capi_netbsd_arm.go
generated
vendored
Normal file
5
vendor/modernc.org/libc/grp/capi_netbsd_arm.go
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
// 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_netbsd_arm.go -pkgname grp', DO NOT EDIT.
|
||||
|
||||
package grp
|
||||
|
||||
var CAPI = map[string]struct{}{}
|
||||
5
vendor/modernc.org/libc/grp/capi_openbsd_386.go
generated
vendored
Normal file
5
vendor/modernc.org/libc/grp/capi_openbsd_386.go
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
// 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_openbsd_386.go -pkgname grp', DO NOT EDIT.
|
||||
|
||||
package grp
|
||||
|
||||
var CAPI = map[string]struct{}{}
|
||||
5
vendor/modernc.org/libc/grp/capi_openbsd_arm64.go
generated
vendored
Normal file
5
vendor/modernc.org/libc/grp/capi_openbsd_arm64.go
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
// 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_openbsd_arm64.go -pkgname grp', DO NOT EDIT.
|
||||
|
||||
package grp
|
||||
|
||||
var CAPI = map[string]struct{}{}
|
||||
44
vendor/modernc.org/libc/grp/grp_darwin_amd64.go
generated
vendored
44
vendor/modernc.org/libc/grp/grp_darwin_amd64.go
generated
vendored
@@ -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_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_darwin_amd64.go -pkgname grp', DO NOT EDIT.
|
||||
|
||||
package grp
|
||||
|
||||
@@ -15,27 +15,27 @@ var _ atomic.Value
|
||||
var _ unsafe.Pointer
|
||||
|
||||
const (
|
||||
X_BSD_I386__TYPES_H_ = 0
|
||||
X_BSD_MACHINE__TYPES_H_ = 0
|
||||
X_CDEFS_H_ = 0
|
||||
X_DARWIN_FEATURE_64_BIT_INODE = 1
|
||||
X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 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_I386__TYPES_H_ = 0 // _types.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:745:1:
|
||||
X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1 // cdefs.h:771:1:
|
||||
X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3 // cdefs.h:779: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:243:1:
|
||||
X_Null_unspecified = 0 // cdefs.h:246:1:
|
||||
X_Nullable = 0 // cdefs.h:240: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 */
|
||||
|
||||
4
vendor/modernc.org/libc/grp/grp_freebsd_386.go
generated
vendored
4
vendor/modernc.org/libc/grp/grp_freebsd_386.go
generated
vendored
@@ -546,8 +546,8 @@ type X__cpusetid_t = int32 /* _types.h:70:14 */ // cpuset identifier.
|
||||
type X__daddr_t = X__int64_t /* _types.h:71:19 */ // bwrite(3), FIOBMAP2, etc
|
||||
|
||||
// Unusual type definitions.
|
||||
// rune_t is declared to be an ``int'' instead of the more natural
|
||||
// ``unsigned long'' or ``long''. Two things are happening here. It is not
|
||||
// rune_t is declared to be an “int” instead of the more natural
|
||||
// “unsigned long” or “long”. Two things are happening here. It is not
|
||||
// unsigned so that EOF (-1) can be naturally assigned to it and used. Also,
|
||||
// it looks like 10646 will be a 31 bit standard. This means that if your
|
||||
// ints cannot hold 32 bits, you will be in trouble. The reason an int was
|
||||
|
||||
17
vendor/modernc.org/libc/grp/grp_freebsd_amd64.go
generated
vendored
17
vendor/modernc.org/libc/grp/grp_freebsd_amd64.go
generated
vendored
@@ -21,14 +21,14 @@ const (
|
||||
X_LP64 = 1 // <predefined>:1:1:
|
||||
X_MACHINE__LIMITS_H_ = 0 // _limits.h:36:1:
|
||||
X_MACHINE__TYPES_H_ = 0 // _types.h:42:1:
|
||||
X_Nonnull = 0 // cdefs.h:783:1:
|
||||
X_Null_unspecified = 0 // cdefs.h:785:1:
|
||||
X_Nullable = 0 // cdefs.h:784:1:
|
||||
X_Nonnull = 0 // cdefs.h:790:1:
|
||||
X_Null_unspecified = 0 // cdefs.h:792:1:
|
||||
X_Nullable = 0 // cdefs.h:791:1:
|
||||
X_PATH_GROUP = "/etc/group" // grp.h:46:1:
|
||||
X_SIZE_T_DECLARED = 0 // grp.h:55:1:
|
||||
X_SYS_CDEFS_H_ = 0 // cdefs.h:39:1:
|
||||
X_SYS__TYPES_H_ = 0 // _types.h:32:1:
|
||||
Unix = 1 // <predefined>:337:1:
|
||||
Unix = 1 // <predefined>:340:1:
|
||||
)
|
||||
|
||||
type Ptrdiff_t = int64 /* <builtin>:3:26 */
|
||||
@@ -303,12 +303,15 @@ type X__float128 = float64 /* <builtin>:47:21 */
|
||||
|
||||
// Function should not be analyzed.
|
||||
|
||||
// Function or variable should not be sanitized, i.e. by AddressSanitizer.
|
||||
// Function or variable should not be sanitized, e.g., by AddressSanitizer.
|
||||
// GCC has the nosanitize attribute, but as a function attribute only, and
|
||||
// warns on use as a variable attribute.
|
||||
|
||||
// Guard variables and structure members by lock.
|
||||
|
||||
// Alignment builtins for better type checking and improved code generation.
|
||||
// Provide fallback versions for other compilers (GCC/Clang < 10):
|
||||
|
||||
// -
|
||||
// SPDX-License-Identifier: BSD-2-Clause-FreeBSD
|
||||
//
|
||||
@@ -551,8 +554,8 @@ type X__cpusetid_t = int32 /* _types.h:70:14 */ // cpuset identifier.
|
||||
type X__daddr_t = X__int64_t /* _types.h:71:19 */ // bwrite(3), FIOBMAP2, etc
|
||||
|
||||
// Unusual type definitions.
|
||||
// rune_t is declared to be an ``int'' instead of the more natural
|
||||
// ``unsigned long'' or ``long''. Two things are happening here. It is not
|
||||
// rune_t is declared to be an “int” instead of the more natural
|
||||
// “unsigned long” or “long”. Two things are happening here. It is not
|
||||
// unsigned so that EOF (-1) can be naturally assigned to it and used. Also,
|
||||
// it looks like 10646 will be a 31 bit standard. This means that if your
|
||||
// ints cannot hold 32 bits, you will be in trouble. The reason an int was
|
||||
|
||||
556
vendor/modernc.org/libc/grp/grp_freebsd_arm.go
generated
vendored
Normal file
556
vendor/modernc.org/libc/grp/grp_freebsd_arm.go
generated
vendored
Normal file
@@ -0,0 +1,556 @@
|
||||
// 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_freebsd_arm.go -pkgname grp', DO NOT EDIT.
|
||||
|
||||
package grp
|
||||
|
||||
import (
|
||||
"math"
|
||||
"reflect"
|
||||
"sync/atomic"
|
||||
"unsafe"
|
||||
)
|
||||
|
||||
var _ = math.Pi
|
||||
var _ reflect.Kind
|
||||
var _ atomic.Value
|
||||
var _ unsafe.Pointer
|
||||
|
||||
const (
|
||||
X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
|
||||
X_GID_T_DECLARED = 0 // grp.h:50:1:
|
||||
X_GRP_H_ = 0 // grp.h:41:1:
|
||||
X_ILP32 = 1 // <predefined>:1:1:
|
||||
X_MACHINE__TYPES_H_ = 0 // _types.h:42:1:
|
||||
X_Nonnull = 0 // cdefs.h:790:1:
|
||||
X_Null_unspecified = 0 // cdefs.h:792:1:
|
||||
X_Nullable = 0 // cdefs.h:791:1:
|
||||
X_PATH_GROUP = "/etc/group" // grp.h:46:1:
|
||||
X_SIZE_T_DECLARED = 0 // grp.h:55:1:
|
||||
X_SYS_CDEFS_H_ = 0 // cdefs.h:39:1:
|
||||
X_SYS__TYPES_H_ = 0 // _types.h:32:1:
|
||||
Unix = 1 // <predefined>:367:1:
|
||||
)
|
||||
|
||||
type Ptrdiff_t = int32 /* <builtin>:3:26 */
|
||||
|
||||
type Size_t = uint32 /* <builtin>:9:23 */
|
||||
|
||||
type Wchar_t = uint32 /* <builtin>:15:24 */
|
||||
|
||||
type X__builtin_va_list = uintptr /* <builtin>:46:14 */
|
||||
type X__float128 = float64 /* <builtin>:47:21 */
|
||||
|
||||
// -
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
//
|
||||
// Copyright (c) 1989, 1993
|
||||
// The Regents of the University of California. All rights reserved.
|
||||
// (c) UNIX System Laboratories, Inc.
|
||||
// All or some portions of this file are derived from material licensed
|
||||
// to the University of California by American Telephone and Telegraph
|
||||
// Co. or Unix System Laboratories, Inc. and are reproduced herein with
|
||||
// the permission of UNIX System Laboratories, Inc.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
// 1. Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
// 2. Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the distribution.
|
||||
// 3. Neither the name of the University nor the names of its contributors
|
||||
// may be used to endorse or promote products derived from this software
|
||||
// without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||||
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||||
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
// SUCH DAMAGE.
|
||||
//
|
||||
// @(#)grp.h 8.2 (Berkeley) 1/21/94
|
||||
// $FreeBSD$
|
||||
|
||||
// -
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
//
|
||||
// Copyright (c) 1991, 1993
|
||||
// The Regents of the University of California. All rights reserved.
|
||||
//
|
||||
// This code is derived from software contributed to Berkeley by
|
||||
// Berkeley Software Design, Inc.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
// 1. Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
// 2. Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the distribution.
|
||||
// 3. Neither the name of the University nor the names of its contributors
|
||||
// may be used to endorse or promote products derived from this software
|
||||
// without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||||
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||||
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
// SUCH DAMAGE.
|
||||
//
|
||||
// @(#)cdefs.h 8.8 (Berkeley) 1/9/95
|
||||
// $FreeBSD$
|
||||
|
||||
// Testing against Clang-specific extensions.
|
||||
|
||||
// This code has been put in place to help reduce the addition of
|
||||
// compiler specific defines in FreeBSD code. It helps to aid in
|
||||
// having a compiler-agnostic source tree.
|
||||
|
||||
// Compiler memory barriers, specific to gcc and clang.
|
||||
|
||||
// XXX: if __GNUC__ >= 2: not tested everywhere originally, where replaced
|
||||
|
||||
// Macro to test if we're using a specific version of gcc or later.
|
||||
|
||||
// The __CONCAT macro is used to concatenate parts of symbol names, e.g.
|
||||
// with "#define OLD(foo) __CONCAT(old,foo)", OLD(foo) produces oldfoo.
|
||||
// The __CONCAT macro is a bit tricky to use if it must work in non-ANSI
|
||||
// mode -- there must be no spaces between its arguments, and for nested
|
||||
// __CONCAT's, all the __CONCAT's must be at the left. __CONCAT can also
|
||||
// concatenate double-quoted strings produced by the __STRING macro, but
|
||||
// this only works with ANSI C.
|
||||
//
|
||||
// __XSTRING is like __STRING, but it expands any macros in its argument
|
||||
// first. It is only available with ANSI C.
|
||||
|
||||
// Compiler-dependent macros to help declare dead (non-returning) and
|
||||
// pure (no side effects) functions, and unused variables. They are
|
||||
// null except for versions of gcc that are known to support the features
|
||||
// properly (old versions of gcc-2 supported the dead and pure features
|
||||
// in a different (wrong) way). If we do not provide an implementation
|
||||
// for a given compiler, let the compile fail if it is told to use
|
||||
// a feature that we cannot live without.
|
||||
|
||||
// Keywords added in C11.
|
||||
|
||||
// Emulation of C11 _Generic(). Unlike the previously defined C11
|
||||
// keywords, it is not possible to implement this using exactly the same
|
||||
// syntax. Therefore implement something similar under the name
|
||||
// __generic(). Unlike _Generic(), this macro can only distinguish
|
||||
// between a single type, so it requires nested invocations to
|
||||
// distinguish multiple cases.
|
||||
|
||||
// C99 Static array indices in function parameter declarations. Syntax such as:
|
||||
// void bar(int myArray[static 10]);
|
||||
// is allowed in C99 but not in C++. Define __min_size appropriately so
|
||||
// headers using it can be compiled in either language. Use like this:
|
||||
// void bar(int myArray[__min_size(10)]);
|
||||
|
||||
// XXX: should use `#if __STDC_VERSION__ < 199901'.
|
||||
|
||||
// C++11 exposes a load of C99 stuff
|
||||
|
||||
// GCC 2.95 provides `__restrict' as an extension to C90 to support the
|
||||
// C99-specific `restrict' type qualifier. We happen to use `__restrict' as
|
||||
// a way to define the `restrict' type qualifier without disturbing older
|
||||
// software that is unaware of C99 keywords.
|
||||
|
||||
// GNU C version 2.96 adds explicit branch prediction so that
|
||||
// the CPU back-end can hint the processor and also so that
|
||||
// code blocks can be reordered such that the predicted path
|
||||
// sees a more linear flow, thus improving cache behavior, etc.
|
||||
//
|
||||
// The following two macros provide us with a way to utilize this
|
||||
// compiler feature. Use __predict_true() if you expect the expression
|
||||
// to evaluate to true, and __predict_false() if you expect the
|
||||
// expression to evaluate to false.
|
||||
//
|
||||
// A few notes about usage:
|
||||
//
|
||||
// * Generally, __predict_false() error condition checks (unless
|
||||
// you have some _strong_ reason to do otherwise, in which case
|
||||
// document it), and/or __predict_true() `no-error' condition
|
||||
// checks, assuming you want to optimize for the no-error case.
|
||||
//
|
||||
// * Other than that, if you don't know the likelihood of a test
|
||||
// succeeding from empirical or other `hard' evidence, don't
|
||||
// make predictions.
|
||||
//
|
||||
// * These are meant to be used in places that are run `a lot'.
|
||||
// It is wasteful to make predictions in code that is run
|
||||
// seldomly (e.g. at subsystem initialization time) as the
|
||||
// basic block reordering that this affects can often generate
|
||||
// larger code.
|
||||
|
||||
// We define this here since <stddef.h>, <sys/queue.h>, and <sys/types.h>
|
||||
// require it.
|
||||
|
||||
// Given the pointer x to the member m of the struct s, return
|
||||
// a pointer to the containing structure. When using GCC, we first
|
||||
// assign pointer x to a local variable, to check that its type is
|
||||
// compatible with member m.
|
||||
|
||||
// Compiler-dependent macros to declare that functions take printf-like
|
||||
// or scanf-like arguments. They are null except for versions of gcc
|
||||
// that are known to support the features properly (old versions of gcc-2
|
||||
// didn't permit keeping the keywords out of the application namespace).
|
||||
|
||||
// Compiler-dependent macros that rely on FreeBSD-specific extensions.
|
||||
|
||||
// Embed the rcs id of a source file in the resulting library. Note that in
|
||||
// more recent ELF binutils, we use .ident allowing the ID to be stripped.
|
||||
// Usage:
|
||||
// __FBSDID("$FreeBSD$");
|
||||
|
||||
// -
|
||||
// The following definitions are an extension of the behavior originally
|
||||
// implemented in <sys/_posix.h>, but with a different level of granularity.
|
||||
// POSIX.1 requires that the macros we test be defined before any standard
|
||||
// header file is included.
|
||||
//
|
||||
// Here's a quick run-down of the versions:
|
||||
// defined(_POSIX_SOURCE) 1003.1-1988
|
||||
// _POSIX_C_SOURCE == 1 1003.1-1990
|
||||
// _POSIX_C_SOURCE == 2 1003.2-1992 C Language Binding Option
|
||||
// _POSIX_C_SOURCE == 199309 1003.1b-1993
|
||||
// _POSIX_C_SOURCE == 199506 1003.1c-1995, 1003.1i-1995,
|
||||
// and the omnibus ISO/IEC 9945-1: 1996
|
||||
// _POSIX_C_SOURCE == 200112 1003.1-2001
|
||||
// _POSIX_C_SOURCE == 200809 1003.1-2008
|
||||
//
|
||||
// In addition, the X/Open Portability Guide, which is now the Single UNIX
|
||||
// Specification, defines a feature-test macro which indicates the version of
|
||||
// that specification, and which subsumes _POSIX_C_SOURCE.
|
||||
//
|
||||
// Our macros begin with two underscores to avoid namespace screwage.
|
||||
|
||||
// Deal with IEEE Std. 1003.1-1990, in which _POSIX_C_SOURCE == 1.
|
||||
|
||||
// Deal with IEEE Std. 1003.2-1992, in which _POSIX_C_SOURCE == 2.
|
||||
|
||||
// Deal with various X/Open Portability Guides and Single UNIX Spec.
|
||||
|
||||
// Deal with all versions of POSIX. The ordering relative to the tests above is
|
||||
// important.
|
||||
// -
|
||||
// Deal with _ANSI_SOURCE:
|
||||
// If it is defined, and no other compilation environment is explicitly
|
||||
// requested, then define our internal feature-test macros to zero. This
|
||||
// makes no difference to the preprocessor (undefined symbols in preprocessing
|
||||
// expressions are defined to have value zero), but makes it more convenient for
|
||||
// a test program to print out the values.
|
||||
//
|
||||
// If a program mistakenly defines _ANSI_SOURCE and some other macro such as
|
||||
// _POSIX_C_SOURCE, we will assume that it wants the broader compilation
|
||||
// environment (and in fact we will never get here).
|
||||
|
||||
// User override __EXT1_VISIBLE
|
||||
|
||||
// Old versions of GCC use non-standard ARM arch symbols; acle-compat.h
|
||||
// translates them to __ARM_ARCH and the modern feature symbols defined by ARM.
|
||||
|
||||
// Nullability qualifiers: currently only supported by Clang.
|
||||
|
||||
// Type Safety Checking
|
||||
//
|
||||
// Clang provides additional attributes to enable checking type safety
|
||||
// properties that cannot be enforced by the C type system.
|
||||
|
||||
// Lock annotations.
|
||||
//
|
||||
// Clang provides support for doing basic thread-safety tests at
|
||||
// compile-time, by marking which locks will/should be held when
|
||||
// entering/leaving a functions.
|
||||
//
|
||||
// Furthermore, it is also possible to annotate variables and structure
|
||||
// members to enforce that they are only accessed when certain locks are
|
||||
// held.
|
||||
|
||||
// Structure implements a lock.
|
||||
|
||||
// Function acquires an exclusive or shared lock.
|
||||
|
||||
// Function attempts to acquire an exclusive or shared lock.
|
||||
|
||||
// Function releases a lock.
|
||||
|
||||
// Function asserts that an exclusive or shared lock is held.
|
||||
|
||||
// Function requires that an exclusive or shared lock is or is not held.
|
||||
|
||||
// Function should not be analyzed.
|
||||
|
||||
// Function or variable should not be sanitized, e.g., by AddressSanitizer.
|
||||
// GCC has the nosanitize attribute, but as a function attribute only, and
|
||||
// warns on use as a variable attribute.
|
||||
|
||||
// Guard variables and structure members by lock.
|
||||
|
||||
// Alignment builtins for better type checking and improved code generation.
|
||||
// Provide fallback versions for other compilers (GCC/Clang < 10):
|
||||
|
||||
// -
|
||||
// SPDX-License-Identifier: BSD-2-Clause-FreeBSD
|
||||
//
|
||||
// Copyright (c) 2002 Mike Barcroft <mike@FreeBSD.org>
|
||||
// All rights reserved.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
// 1. Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
// 2. Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the distribution.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
||||
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
// ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
|
||||
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
// SUCH DAMAGE.
|
||||
//
|
||||
// $FreeBSD$
|
||||
|
||||
// -
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
//
|
||||
// Copyright (c) 1991, 1993
|
||||
// The Regents of the University of California. All rights reserved.
|
||||
//
|
||||
// This code is derived from software contributed to Berkeley by
|
||||
// Berkeley Software Design, Inc.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
// 1. Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
// 2. Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the distribution.
|
||||
// 3. Neither the name of the University nor the names of its contributors
|
||||
// may be used to endorse or promote products derived from this software
|
||||
// without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||||
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||||
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
// SUCH DAMAGE.
|
||||
//
|
||||
// @(#)cdefs.h 8.8 (Berkeley) 1/9/95
|
||||
// $FreeBSD$
|
||||
|
||||
// -
|
||||
// SPDX-License-Identifier: BSD-4-Clause
|
||||
//
|
||||
// Copyright (c) 2002 Mike Barcroft <mike@FreeBSD.org>
|
||||
// Copyright (c) 1990, 1993
|
||||
// The Regents of the University of California. All rights reserved.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
// 1. Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
// 2. Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the distribution.
|
||||
// 3. All advertising materials mentioning features or use of this software
|
||||
// must display the following acknowledgement:
|
||||
// This product includes software developed by the University of
|
||||
// California, Berkeley and its contributors.
|
||||
// 4. Neither the name of the University nor the names of its contributors
|
||||
// may be used to endorse or promote products derived from this software
|
||||
// without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||||
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||||
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
// SUCH DAMAGE.
|
||||
//
|
||||
// From: @(#)ansi.h 8.2 (Berkeley) 1/4/94
|
||||
// From: @(#)types.h 8.3 (Berkeley) 1/5/94
|
||||
// $FreeBSD$
|
||||
|
||||
// Basic types upon which most other types are built.
|
||||
type X__int8_t = int8 /* _types.h:51:22 */
|
||||
type X__uint8_t = uint8 /* _types.h:52:24 */
|
||||
type X__int16_t = int16 /* _types.h:53:17 */
|
||||
type X__uint16_t = uint16 /* _types.h:54:25 */
|
||||
type X__int32_t = int32 /* _types.h:55:15 */
|
||||
type X__uint32_t = uint32 /* _types.h:56:23 */
|
||||
|
||||
// LONGLONG
|
||||
type X__int64_t = int64 /* _types.h:61:20 */
|
||||
|
||||
// LONGLONG
|
||||
type X__uint64_t = uint64 /* _types.h:66:28 */
|
||||
|
||||
// Standard type definitions.
|
||||
type X__clock_t = X__uint32_t /* _types.h:71:20 */ // clock()...
|
||||
type X__critical_t = X__int32_t /* _types.h:72:19 */
|
||||
type X__double_t = float64 /* _types.h:74:17 */
|
||||
type X__float_t = float32 /* _types.h:75:16 */
|
||||
type X__intfptr_t = X__int32_t /* _types.h:77:19 */
|
||||
type X__intmax_t = X__int64_t /* _types.h:78:19 */
|
||||
type X__intptr_t = X__int32_t /* _types.h:79:19 */
|
||||
type X__int_fast8_t = X__int32_t /* _types.h:80:19 */
|
||||
type X__int_fast16_t = X__int32_t /* _types.h:81:19 */
|
||||
type X__int_fast32_t = X__int32_t /* _types.h:82:19 */
|
||||
type X__int_fast64_t = X__int64_t /* _types.h:83:19 */
|
||||
type X__int_least8_t = X__int8_t /* _types.h:84:18 */
|
||||
type X__int_least16_t = X__int16_t /* _types.h:85:19 */
|
||||
type X__int_least32_t = X__int32_t /* _types.h:86:19 */
|
||||
type X__int_least64_t = X__int64_t /* _types.h:87:19 */
|
||||
type X__ptrdiff_t = X__int32_t /* _types.h:88:19 */ // ptr1 - ptr2
|
||||
type X__register_t = X__int32_t /* _types.h:89:19 */
|
||||
type X__segsz_t = X__int32_t /* _types.h:90:19 */ // segment size (in pages)
|
||||
type X__size_t = X__uint32_t /* _types.h:91:20 */ // sizeof()
|
||||
type X__ssize_t = X__int32_t /* _types.h:92:19 */ // byte count or error
|
||||
type X__time_t = X__int64_t /* _types.h:93:19 */ // time()...
|
||||
type X__uintfptr_t = X__uint32_t /* _types.h:94:20 */
|
||||
type X__uintmax_t = X__uint64_t /* _types.h:95:20 */
|
||||
type X__uintptr_t = X__uint32_t /* _types.h:96:20 */
|
||||
type X__uint_fast8_t = X__uint32_t /* _types.h:97:20 */
|
||||
type X__uint_fast16_t = X__uint32_t /* _types.h:98:20 */
|
||||
type X__uint_fast32_t = X__uint32_t /* _types.h:99:20 */
|
||||
type X__uint_fast64_t = X__uint64_t /* _types.h:100:20 */
|
||||
type X__uint_least8_t = X__uint8_t /* _types.h:101:19 */
|
||||
type X__uint_least16_t = X__uint16_t /* _types.h:102:20 */
|
||||
type X__uint_least32_t = X__uint32_t /* _types.h:103:20 */
|
||||
type X__uint_least64_t = X__uint64_t /* _types.h:104:20 */
|
||||
type X__u_register_t = X__uint32_t /* _types.h:105:20 */
|
||||
type X__vm_offset_t = X__uint32_t /* _types.h:106:20 */
|
||||
type X__vm_paddr_t = X__uint32_t /* _types.h:107:20 */
|
||||
type X__vm_size_t = X__uint32_t /* _types.h:108:20 */
|
||||
|
||||
type X___wchar_t = uint32 /* _types.h:110:22 */
|
||||
|
||||
// Standard type definitions.
|
||||
type X__blksize_t = X__int32_t /* _types.h:40:19 */ // file block size
|
||||
type X__blkcnt_t = X__int64_t /* _types.h:41:19 */ // file block count
|
||||
type X__clockid_t = X__int32_t /* _types.h:42:19 */ // clock_gettime()...
|
||||
type X__fflags_t = X__uint32_t /* _types.h:43:20 */ // file flags
|
||||
type X__fsblkcnt_t = X__uint64_t /* _types.h:44:20 */
|
||||
type X__fsfilcnt_t = X__uint64_t /* _types.h:45:20 */
|
||||
type X__gid_t = X__uint32_t /* _types.h:46:20 */
|
||||
type X__id_t = X__int64_t /* _types.h:47:19 */ // can hold a gid_t, pid_t, or uid_t
|
||||
type X__ino_t = X__uint64_t /* _types.h:48:20 */ // inode number
|
||||
type X__key_t = int32 /* _types.h:49:15 */ // IPC key (for Sys V IPC)
|
||||
type X__lwpid_t = X__int32_t /* _types.h:50:19 */ // Thread ID (a.k.a. LWP)
|
||||
type X__mode_t = X__uint16_t /* _types.h:51:20 */ // permissions
|
||||
type X__accmode_t = int32 /* _types.h:52:14 */ // access permissions
|
||||
type X__nl_item = int32 /* _types.h:53:14 */
|
||||
type X__nlink_t = X__uint64_t /* _types.h:54:20 */ // link count
|
||||
type X__off_t = X__int64_t /* _types.h:55:19 */ // file offset
|
||||
type X__off64_t = X__int64_t /* _types.h:56:19 */ // file offset (alias)
|
||||
type X__pid_t = X__int32_t /* _types.h:57:19 */ // process [group]
|
||||
type X__rlim_t = X__int64_t /* _types.h:58:19 */ // resource limit - intentionally
|
||||
// signed, because of legacy code
|
||||
// that uses -1 for RLIM_INFINITY
|
||||
type X__sa_family_t = X__uint8_t /* _types.h:61:19 */
|
||||
type X__socklen_t = X__uint32_t /* _types.h:62:20 */
|
||||
type X__suseconds_t = int32 /* _types.h:63:15 */ // microseconds (signed)
|
||||
type X__timer_t = uintptr /* _types.h:64:24 */ // timer_gettime()...
|
||||
type X__mqd_t = uintptr /* _types.h:65:21 */ // mq_open()...
|
||||
type X__uid_t = X__uint32_t /* _types.h:66:20 */
|
||||
type X__useconds_t = uint32 /* _types.h:67:22 */ // microseconds (unsigned)
|
||||
type X__cpuwhich_t = int32 /* _types.h:68:14 */ // which parameter for cpuset.
|
||||
type X__cpulevel_t = int32 /* _types.h:69:14 */ // level parameter for cpuset.
|
||||
type X__cpusetid_t = int32 /* _types.h:70:14 */ // cpuset identifier.
|
||||
type X__daddr_t = X__int64_t /* _types.h:71:19 */ // bwrite(3), FIOBMAP2, etc
|
||||
|
||||
// Unusual type definitions.
|
||||
// rune_t is declared to be an “int” instead of the more natural
|
||||
// “unsigned long” or “long”. Two things are happening here. It is not
|
||||
// unsigned so that EOF (-1) can be naturally assigned to it and used. Also,
|
||||
// it looks like 10646 will be a 31 bit standard. This means that if your
|
||||
// ints cannot hold 32 bits, you will be in trouble. The reason an int was
|
||||
// chosen over a long is that the is*() and to*() routines take ints (says
|
||||
// ANSI C), but they use __ct_rune_t instead of int.
|
||||
//
|
||||
// NOTE: rune_t is not covered by ANSI nor other standards, and should not
|
||||
// be instantiated outside of lib/libc/locale. Use wchar_t. wint_t and
|
||||
// rune_t must be the same type. Also, wint_t should be able to hold all
|
||||
// members of the largest character set plus one extra value (WEOF), and
|
||||
// must be at least 16 bits.
|
||||
type X__ct_rune_t = int32 /* _types.h:91:14 */ // arg type for ctype funcs
|
||||
type X__rune_t = X__ct_rune_t /* _types.h:92:21 */ // rune_t (see above)
|
||||
type X__wint_t = X__ct_rune_t /* _types.h:93:21 */ // wint_t (see above)
|
||||
|
||||
// Clang already provides these types as built-ins, but only in C++ mode.
|
||||
type X__char16_t = X__uint_least16_t /* _types.h:97:26 */
|
||||
type X__char32_t = X__uint_least32_t /* _types.h:98:26 */
|
||||
// In C++11, char16_t and char32_t are built-in types.
|
||||
|
||||
type X__max_align_t = struct {
|
||||
F__max_align1 int64
|
||||
F__max_align2 float64
|
||||
} /* _types.h:111:3 */
|
||||
|
||||
type X__dev_t = X__uint64_t /* _types.h:113:20 */ // device number
|
||||
|
||||
type X__fixpt_t = X__uint32_t /* _types.h:115:20 */ // fixed point number
|
||||
|
||||
// mbstate_t is an opaque object to keep conversion state during multibyte
|
||||
// stream conversions.
|
||||
type X__mbstate_t = struct {
|
||||
F__ccgo_pad1 [0]uint64
|
||||
F__mbstate8 [128]uint8
|
||||
} /* _types.h:124:3 */
|
||||
|
||||
type X__rman_res_t = X__uintmax_t /* _types.h:126:25 */
|
||||
|
||||
// Types for varargs. These are all provided by builtin types these
|
||||
// days, so centralize their definition.
|
||||
type X__va_list = X__builtin_va_list /* _types.h:133:27 */ // internally known to gcc
|
||||
type X__gnuc_va_list = X__va_list /* _types.h:140:20 */ // compatibility w/GNU headers
|
||||
|
||||
// When the following macro is defined, the system uses 64-bit inode numbers.
|
||||
// Programs can use this to avoid including <sys/param.h>, with its associated
|
||||
// namespace pollution.
|
||||
|
||||
type Gid_t = X__gid_t /* grp.h:49:18 */
|
||||
|
||||
type Group = struct {
|
||||
Fgr_name uintptr
|
||||
Fgr_passwd uintptr
|
||||
Fgr_gid Gid_t
|
||||
Fgr_mem uintptr
|
||||
} /* grp.h:58:1 */
|
||||
|
||||
var _ uint8 /* gen.c:2:13: */
|
||||
616
vendor/modernc.org/libc/grp/grp_freebsd_arm64.go
generated
vendored
Normal file
616
vendor/modernc.org/libc/grp/grp_freebsd_arm64.go
generated
vendored
Normal file
@@ -0,0 +1,616 @@
|
||||
// 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_freebsd_amd64.go -pkgname grp', DO NOT EDIT.
|
||||
|
||||
package grp
|
||||
|
||||
import (
|
||||
"math"
|
||||
"reflect"
|
||||
"sync/atomic"
|
||||
"unsafe"
|
||||
)
|
||||
|
||||
var _ = math.Pi
|
||||
var _ reflect.Kind
|
||||
var _ atomic.Value
|
||||
var _ unsafe.Pointer
|
||||
|
||||
const (
|
||||
X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
|
||||
X_GID_T_DECLARED = 0 // grp.h:50:1:
|
||||
X_GRP_H_ = 0 // grp.h:41:1:
|
||||
X_LP64 = 1 // <predefined>:1:1:
|
||||
X_MACHINE__LIMITS_H_ = 0 // _limits.h:36:1:
|
||||
X_MACHINE__TYPES_H_ = 0 // _types.h:42:1:
|
||||
X_Nonnull = 0 // cdefs.h:790:1:
|
||||
X_Null_unspecified = 0 // cdefs.h:792:1:
|
||||
X_Nullable = 0 // cdefs.h:791:1:
|
||||
X_PATH_GROUP = "/etc/group" // grp.h:46:1:
|
||||
X_SIZE_T_DECLARED = 0 // grp.h:55:1:
|
||||
X_SYS_CDEFS_H_ = 0 // cdefs.h:39:1:
|
||||
X_SYS__TYPES_H_ = 0 // _types.h:32:1:
|
||||
Unix = 1 // <predefined>:340:1:
|
||||
)
|
||||
|
||||
type Ptrdiff_t = int64 /* <builtin>:3:26 */
|
||||
|
||||
type Size_t = uint64 /* <builtin>:9:23 */
|
||||
|
||||
type Wchar_t = int32 /* <builtin>:15:24 */
|
||||
|
||||
type X__int128_t = struct {
|
||||
Flo int64
|
||||
Fhi int64
|
||||
} /* <builtin>:21:43 */ // must match modernc.org/mathutil.Int128
|
||||
type X__uint128_t = struct {
|
||||
Flo uint64
|
||||
Fhi uint64
|
||||
} /* <builtin>:22:44 */ // must match modernc.org/mathutil.Int128
|
||||
|
||||
type X__builtin_va_list = uintptr /* <builtin>:46:14 */
|
||||
type X__float128 = float64 /* <builtin>:47:21 */
|
||||
|
||||
// -
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
//
|
||||
// Copyright (c) 1989, 1993
|
||||
// The Regents of the University of California. All rights reserved.
|
||||
// (c) UNIX System Laboratories, Inc.
|
||||
// All or some portions of this file are derived from material licensed
|
||||
// to the University of California by American Telephone and Telegraph
|
||||
// Co. or Unix System Laboratories, Inc. and are reproduced herein with
|
||||
// the permission of UNIX System Laboratories, Inc.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
// 1. Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
// 2. Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the distribution.
|
||||
// 3. Neither the name of the University nor the names of its contributors
|
||||
// may be used to endorse or promote products derived from this software
|
||||
// without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||||
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||||
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
// SUCH DAMAGE.
|
||||
//
|
||||
// @(#)grp.h 8.2 (Berkeley) 1/21/94
|
||||
// $FreeBSD$
|
||||
|
||||
// -
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
//
|
||||
// Copyright (c) 1991, 1993
|
||||
// The Regents of the University of California. All rights reserved.
|
||||
//
|
||||
// This code is derived from software contributed to Berkeley by
|
||||
// Berkeley Software Design, Inc.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
// 1. Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
// 2. Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the distribution.
|
||||
// 3. Neither the name of the University nor the names of its contributors
|
||||
// may be used to endorse or promote products derived from this software
|
||||
// without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||||
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||||
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
// SUCH DAMAGE.
|
||||
//
|
||||
// @(#)cdefs.h 8.8 (Berkeley) 1/9/95
|
||||
// $FreeBSD$
|
||||
|
||||
// Testing against Clang-specific extensions.
|
||||
|
||||
// This code has been put in place to help reduce the addition of
|
||||
// compiler specific defines in FreeBSD code. It helps to aid in
|
||||
// having a compiler-agnostic source tree.
|
||||
|
||||
// Compiler memory barriers, specific to gcc and clang.
|
||||
|
||||
// XXX: if __GNUC__ >= 2: not tested everywhere originally, where replaced
|
||||
|
||||
// Macro to test if we're using a specific version of gcc or later.
|
||||
|
||||
// The __CONCAT macro is used to concatenate parts of symbol names, e.g.
|
||||
// with "#define OLD(foo) __CONCAT(old,foo)", OLD(foo) produces oldfoo.
|
||||
// The __CONCAT macro is a bit tricky to use if it must work in non-ANSI
|
||||
// mode -- there must be no spaces between its arguments, and for nested
|
||||
// __CONCAT's, all the __CONCAT's must be at the left. __CONCAT can also
|
||||
// concatenate double-quoted strings produced by the __STRING macro, but
|
||||
// this only works with ANSI C.
|
||||
//
|
||||
// __XSTRING is like __STRING, but it expands any macros in its argument
|
||||
// first. It is only available with ANSI C.
|
||||
|
||||
// Compiler-dependent macros to help declare dead (non-returning) and
|
||||
// pure (no side effects) functions, and unused variables. They are
|
||||
// null except for versions of gcc that are known to support the features
|
||||
// properly (old versions of gcc-2 supported the dead and pure features
|
||||
// in a different (wrong) way). If we do not provide an implementation
|
||||
// for a given compiler, let the compile fail if it is told to use
|
||||
// a feature that we cannot live without.
|
||||
|
||||
// Keywords added in C11.
|
||||
|
||||
// Emulation of C11 _Generic(). Unlike the previously defined C11
|
||||
// keywords, it is not possible to implement this using exactly the same
|
||||
// syntax. Therefore implement something similar under the name
|
||||
// __generic(). Unlike _Generic(), this macro can only distinguish
|
||||
// between a single type, so it requires nested invocations to
|
||||
// distinguish multiple cases.
|
||||
|
||||
// C99 Static array indices in function parameter declarations. Syntax such as:
|
||||
// void bar(int myArray[static 10]);
|
||||
// is allowed in C99 but not in C++. Define __min_size appropriately so
|
||||
// headers using it can be compiled in either language. Use like this:
|
||||
// void bar(int myArray[__min_size(10)]);
|
||||
|
||||
// XXX: should use `#if __STDC_VERSION__ < 199901'.
|
||||
|
||||
// C++11 exposes a load of C99 stuff
|
||||
|
||||
// GCC 2.95 provides `__restrict' as an extension to C90 to support the
|
||||
// C99-specific `restrict' type qualifier. We happen to use `__restrict' as
|
||||
// a way to define the `restrict' type qualifier without disturbing older
|
||||
// software that is unaware of C99 keywords.
|
||||
|
||||
// GNU C version 2.96 adds explicit branch prediction so that
|
||||
// the CPU back-end can hint the processor and also so that
|
||||
// code blocks can be reordered such that the predicted path
|
||||
// sees a more linear flow, thus improving cache behavior, etc.
|
||||
//
|
||||
// The following two macros provide us with a way to utilize this
|
||||
// compiler feature. Use __predict_true() if you expect the expression
|
||||
// to evaluate to true, and __predict_false() if you expect the
|
||||
// expression to evaluate to false.
|
||||
//
|
||||
// A few notes about usage:
|
||||
//
|
||||
// * Generally, __predict_false() error condition checks (unless
|
||||
// you have some _strong_ reason to do otherwise, in which case
|
||||
// document it), and/or __predict_true() `no-error' condition
|
||||
// checks, assuming you want to optimize for the no-error case.
|
||||
//
|
||||
// * Other than that, if you don't know the likelihood of a test
|
||||
// succeeding from empirical or other `hard' evidence, don't
|
||||
// make predictions.
|
||||
//
|
||||
// * These are meant to be used in places that are run `a lot'.
|
||||
// It is wasteful to make predictions in code that is run
|
||||
// seldomly (e.g. at subsystem initialization time) as the
|
||||
// basic block reordering that this affects can often generate
|
||||
// larger code.
|
||||
|
||||
// We define this here since <stddef.h>, <sys/queue.h>, and <sys/types.h>
|
||||
// require it.
|
||||
|
||||
// Given the pointer x to the member m of the struct s, return
|
||||
// a pointer to the containing structure. When using GCC, we first
|
||||
// assign pointer x to a local variable, to check that its type is
|
||||
// compatible with member m.
|
||||
|
||||
// Compiler-dependent macros to declare that functions take printf-like
|
||||
// or scanf-like arguments. They are null except for versions of gcc
|
||||
// that are known to support the features properly (old versions of gcc-2
|
||||
// didn't permit keeping the keywords out of the application namespace).
|
||||
|
||||
// Compiler-dependent macros that rely on FreeBSD-specific extensions.
|
||||
|
||||
// Embed the rcs id of a source file in the resulting library. Note that in
|
||||
// more recent ELF binutils, we use .ident allowing the ID to be stripped.
|
||||
// Usage:
|
||||
// __FBSDID("$FreeBSD$");
|
||||
|
||||
// -
|
||||
// The following definitions are an extension of the behavior originally
|
||||
// implemented in <sys/_posix.h>, but with a different level of granularity.
|
||||
// POSIX.1 requires that the macros we test be defined before any standard
|
||||
// header file is included.
|
||||
//
|
||||
// Here's a quick run-down of the versions:
|
||||
// defined(_POSIX_SOURCE) 1003.1-1988
|
||||
// _POSIX_C_SOURCE == 1 1003.1-1990
|
||||
// _POSIX_C_SOURCE == 2 1003.2-1992 C Language Binding Option
|
||||
// _POSIX_C_SOURCE == 199309 1003.1b-1993
|
||||
// _POSIX_C_SOURCE == 199506 1003.1c-1995, 1003.1i-1995,
|
||||
// and the omnibus ISO/IEC 9945-1: 1996
|
||||
// _POSIX_C_SOURCE == 200112 1003.1-2001
|
||||
// _POSIX_C_SOURCE == 200809 1003.1-2008
|
||||
//
|
||||
// In addition, the X/Open Portability Guide, which is now the Single UNIX
|
||||
// Specification, defines a feature-test macro which indicates the version of
|
||||
// that specification, and which subsumes _POSIX_C_SOURCE.
|
||||
//
|
||||
// Our macros begin with two underscores to avoid namespace screwage.
|
||||
|
||||
// Deal with IEEE Std. 1003.1-1990, in which _POSIX_C_SOURCE == 1.
|
||||
|
||||
// Deal with IEEE Std. 1003.2-1992, in which _POSIX_C_SOURCE == 2.
|
||||
|
||||
// Deal with various X/Open Portability Guides and Single UNIX Spec.
|
||||
|
||||
// Deal with all versions of POSIX. The ordering relative to the tests above is
|
||||
// important.
|
||||
// -
|
||||
// Deal with _ANSI_SOURCE:
|
||||
// If it is defined, and no other compilation environment is explicitly
|
||||
// requested, then define our internal feature-test macros to zero. This
|
||||
// makes no difference to the preprocessor (undefined symbols in preprocessing
|
||||
// expressions are defined to have value zero), but makes it more convenient for
|
||||
// a test program to print out the values.
|
||||
//
|
||||
// If a program mistakenly defines _ANSI_SOURCE and some other macro such as
|
||||
// _POSIX_C_SOURCE, we will assume that it wants the broader compilation
|
||||
// environment (and in fact we will never get here).
|
||||
|
||||
// User override __EXT1_VISIBLE
|
||||
|
||||
// Old versions of GCC use non-standard ARM arch symbols; acle-compat.h
|
||||
// translates them to __ARM_ARCH and the modern feature symbols defined by ARM.
|
||||
|
||||
// Nullability qualifiers: currently only supported by Clang.
|
||||
|
||||
// Type Safety Checking
|
||||
//
|
||||
// Clang provides additional attributes to enable checking type safety
|
||||
// properties that cannot be enforced by the C type system.
|
||||
|
||||
// Lock annotations.
|
||||
//
|
||||
// Clang provides support for doing basic thread-safety tests at
|
||||
// compile-time, by marking which locks will/should be held when
|
||||
// entering/leaving a functions.
|
||||
//
|
||||
// Furthermore, it is also possible to annotate variables and structure
|
||||
// members to enforce that they are only accessed when certain locks are
|
||||
// held.
|
||||
|
||||
// Structure implements a lock.
|
||||
|
||||
// Function acquires an exclusive or shared lock.
|
||||
|
||||
// Function attempts to acquire an exclusive or shared lock.
|
||||
|
||||
// Function releases a lock.
|
||||
|
||||
// Function asserts that an exclusive or shared lock is held.
|
||||
|
||||
// Function requires that an exclusive or shared lock is or is not held.
|
||||
|
||||
// Function should not be analyzed.
|
||||
|
||||
// Function or variable should not be sanitized, e.g., by AddressSanitizer.
|
||||
// GCC has the nosanitize attribute, but as a function attribute only, and
|
||||
// warns on use as a variable attribute.
|
||||
|
||||
// Guard variables and structure members by lock.
|
||||
|
||||
// Alignment builtins for better type checking and improved code generation.
|
||||
// Provide fallback versions for other compilers (GCC/Clang < 10):
|
||||
|
||||
// -
|
||||
// SPDX-License-Identifier: BSD-2-Clause-FreeBSD
|
||||
//
|
||||
// Copyright (c) 2002 Mike Barcroft <mike@FreeBSD.org>
|
||||
// All rights reserved.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
// 1. Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
// 2. Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the distribution.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
||||
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
// ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
|
||||
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
// SUCH DAMAGE.
|
||||
//
|
||||
// $FreeBSD$
|
||||
|
||||
// -
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
//
|
||||
// Copyright (c) 1991, 1993
|
||||
// The Regents of the University of California. All rights reserved.
|
||||
//
|
||||
// This code is derived from software contributed to Berkeley by
|
||||
// Berkeley Software Design, Inc.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
// 1. Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
// 2. Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the distribution.
|
||||
// 3. Neither the name of the University nor the names of its contributors
|
||||
// may be used to endorse or promote products derived from this software
|
||||
// without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||||
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||||
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
// SUCH DAMAGE.
|
||||
//
|
||||
// @(#)cdefs.h 8.8 (Berkeley) 1/9/95
|
||||
// $FreeBSD$
|
||||
|
||||
// -
|
||||
// This file is in the public domain.
|
||||
// $FreeBSD$
|
||||
|
||||
// -
|
||||
// SPDX-License-Identifier: BSD-4-Clause
|
||||
//
|
||||
// Copyright (c) 2002 Mike Barcroft <mike@FreeBSD.org>
|
||||
// Copyright (c) 1990, 1993
|
||||
// The Regents of the University of California. All rights reserved.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
// 1. Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
// 2. Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the distribution.
|
||||
// 3. All advertising materials mentioning features or use of this software
|
||||
// must display the following acknowledgement:
|
||||
// This product includes software developed by the University of
|
||||
// California, Berkeley and its contributors.
|
||||
// 4. Neither the name of the University nor the names of its contributors
|
||||
// may be used to endorse or promote products derived from this software
|
||||
// without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||||
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||||
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
// SUCH DAMAGE.
|
||||
//
|
||||
// From: @(#)ansi.h 8.2 (Berkeley) 1/4/94
|
||||
// From: @(#)types.h 8.3 (Berkeley) 1/5/94
|
||||
// $FreeBSD$
|
||||
|
||||
// -
|
||||
// This file is in the public domain.
|
||||
// $FreeBSD$
|
||||
|
||||
// -
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
//
|
||||
// Copyright (c) 1988, 1993
|
||||
// The Regents of the University of California. All rights reserved.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
// 1. Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
// 2. Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the distribution.
|
||||
// 3. Neither the name of the University nor the names of its contributors
|
||||
// may be used to endorse or promote products derived from this software
|
||||
// without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||||
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||||
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
// SUCH DAMAGE.
|
||||
//
|
||||
// @(#)limits.h 8.3 (Berkeley) 1/4/94
|
||||
// $FreeBSD$
|
||||
|
||||
// According to ANSI (section 2.2.4.2), the values below must be usable by
|
||||
// #if preprocessing directives. Additionally, the expression must have the
|
||||
// same type as would an expression that is an object of the corresponding
|
||||
// type converted according to the integral promotions. The subtraction for
|
||||
// INT_MIN, etc., is so the value is not unsigned; e.g., 0x80000000 is an
|
||||
// unsigned int for 32-bit two's complement ANSI compilers (section 3.1.3.2).
|
||||
|
||||
// max value for an unsigned long long
|
||||
|
||||
// Quads and longs are the same on the amd64. Ensure they stay in sync.
|
||||
|
||||
// Minimum signal stack size.
|
||||
|
||||
// Basic types upon which most other types are built.
|
||||
type X__int8_t = int8 /* _types.h:55:22 */
|
||||
type X__uint8_t = uint8 /* _types.h:56:24 */
|
||||
type X__int16_t = int16 /* _types.h:57:17 */
|
||||
type X__uint16_t = uint16 /* _types.h:58:25 */
|
||||
type X__int32_t = int32 /* _types.h:59:15 */
|
||||
type X__uint32_t = uint32 /* _types.h:60:23 */
|
||||
type X__int64_t = int64 /* _types.h:62:16 */
|
||||
type X__uint64_t = uint64 /* _types.h:63:24 */
|
||||
|
||||
// Standard type definitions.
|
||||
type X__clock_t = X__int32_t /* _types.h:75:19 */ // clock()...
|
||||
type X__critical_t = X__int64_t /* _types.h:76:19 */
|
||||
type X__double_t = float64 /* _types.h:78:17 */
|
||||
type X__float_t = float32 /* _types.h:79:16 */
|
||||
type X__intfptr_t = X__int64_t /* _types.h:81:19 */
|
||||
type X__intptr_t = X__int64_t /* _types.h:82:19 */
|
||||
type X__intmax_t = X__int64_t /* _types.h:93:19 */
|
||||
type X__int_fast8_t = X__int32_t /* _types.h:94:19 */
|
||||
type X__int_fast16_t = X__int32_t /* _types.h:95:19 */
|
||||
type X__int_fast32_t = X__int32_t /* _types.h:96:19 */
|
||||
type X__int_fast64_t = X__int64_t /* _types.h:97:19 */
|
||||
type X__int_least8_t = X__int8_t /* _types.h:98:18 */
|
||||
type X__int_least16_t = X__int16_t /* _types.h:99:19 */
|
||||
type X__int_least32_t = X__int32_t /* _types.h:100:19 */
|
||||
type X__int_least64_t = X__int64_t /* _types.h:101:19 */
|
||||
type X__ptrdiff_t = X__int64_t /* _types.h:103:19 */ // ptr1 - ptr2
|
||||
type X__register_t = X__int64_t /* _types.h:104:19 */
|
||||
type X__segsz_t = X__int64_t /* _types.h:105:19 */ // segment size (in pages)
|
||||
type X__size_t = X__uint64_t /* _types.h:106:20 */ // sizeof()
|
||||
type X__ssize_t = X__int64_t /* _types.h:107:19 */ // byte count or error
|
||||
type X__time_t = X__int64_t /* _types.h:108:19 */ // time()...
|
||||
type X__uintfptr_t = X__uint64_t /* _types.h:109:20 */
|
||||
type X__uintptr_t = X__uint64_t /* _types.h:110:20 */
|
||||
type X__uintmax_t = X__uint64_t /* _types.h:121:20 */
|
||||
type X__uint_fast8_t = X__uint32_t /* _types.h:122:20 */
|
||||
type X__uint_fast16_t = X__uint32_t /* _types.h:123:20 */
|
||||
type X__uint_fast32_t = X__uint32_t /* _types.h:124:20 */
|
||||
type X__uint_fast64_t = X__uint64_t /* _types.h:125:20 */
|
||||
type X__uint_least8_t = X__uint8_t /* _types.h:126:19 */
|
||||
type X__uint_least16_t = X__uint16_t /* _types.h:127:20 */
|
||||
type X__uint_least32_t = X__uint32_t /* _types.h:128:20 */
|
||||
type X__uint_least64_t = X__uint64_t /* _types.h:129:20 */
|
||||
type X__u_register_t = X__uint64_t /* _types.h:131:20 */
|
||||
type X__vm_offset_t = X__uint64_t /* _types.h:132:20 */
|
||||
type X__vm_paddr_t = X__uint64_t /* _types.h:133:20 */
|
||||
type X__vm_size_t = X__uint64_t /* _types.h:134:20 */
|
||||
type X___wchar_t = int32 /* _types.h:141:14 */
|
||||
|
||||
// Standard type definitions.
|
||||
type X__blksize_t = X__int32_t /* _types.h:40:19 */ // file block size
|
||||
type X__blkcnt_t = X__int64_t /* _types.h:41:19 */ // file block count
|
||||
type X__clockid_t = X__int32_t /* _types.h:42:19 */ // clock_gettime()...
|
||||
type X__fflags_t = X__uint32_t /* _types.h:43:20 */ // file flags
|
||||
type X__fsblkcnt_t = X__uint64_t /* _types.h:44:20 */
|
||||
type X__fsfilcnt_t = X__uint64_t /* _types.h:45:20 */
|
||||
type X__gid_t = X__uint32_t /* _types.h:46:20 */
|
||||
type X__id_t = X__int64_t /* _types.h:47:19 */ // can hold a gid_t, pid_t, or uid_t
|
||||
type X__ino_t = X__uint64_t /* _types.h:48:20 */ // inode number
|
||||
type X__key_t = int64 /* _types.h:49:15 */ // IPC key (for Sys V IPC)
|
||||
type X__lwpid_t = X__int32_t /* _types.h:50:19 */ // Thread ID (a.k.a. LWP)
|
||||
type X__mode_t = X__uint16_t /* _types.h:51:20 */ // permissions
|
||||
type X__accmode_t = int32 /* _types.h:52:14 */ // access permissions
|
||||
type X__nl_item = int32 /* _types.h:53:14 */
|
||||
type X__nlink_t = X__uint64_t /* _types.h:54:20 */ // link count
|
||||
type X__off_t = X__int64_t /* _types.h:55:19 */ // file offset
|
||||
type X__off64_t = X__int64_t /* _types.h:56:19 */ // file offset (alias)
|
||||
type X__pid_t = X__int32_t /* _types.h:57:19 */ // process [group]
|
||||
type X__rlim_t = X__int64_t /* _types.h:58:19 */ // resource limit - intentionally
|
||||
// signed, because of legacy code
|
||||
// that uses -1 for RLIM_INFINITY
|
||||
type X__sa_family_t = X__uint8_t /* _types.h:61:19 */
|
||||
type X__socklen_t = X__uint32_t /* _types.h:62:20 */
|
||||
type X__suseconds_t = int64 /* _types.h:63:15 */ // microseconds (signed)
|
||||
type X__timer_t = uintptr /* _types.h:64:24 */ // timer_gettime()...
|
||||
type X__mqd_t = uintptr /* _types.h:65:21 */ // mq_open()...
|
||||
type X__uid_t = X__uint32_t /* _types.h:66:20 */
|
||||
type X__useconds_t = uint32 /* _types.h:67:22 */ // microseconds (unsigned)
|
||||
type X__cpuwhich_t = int32 /* _types.h:68:14 */ // which parameter for cpuset.
|
||||
type X__cpulevel_t = int32 /* _types.h:69:14 */ // level parameter for cpuset.
|
||||
type X__cpusetid_t = int32 /* _types.h:70:14 */ // cpuset identifier.
|
||||
type X__daddr_t = X__int64_t /* _types.h:71:19 */ // bwrite(3), FIOBMAP2, etc
|
||||
|
||||
// Unusual type definitions.
|
||||
// rune_t is declared to be an “int” instead of the more natural
|
||||
// “unsigned long” or “long”. Two things are happening here. It is not
|
||||
// unsigned so that EOF (-1) can be naturally assigned to it and used. Also,
|
||||
// it looks like 10646 will be a 31 bit standard. This means that if your
|
||||
// ints cannot hold 32 bits, you will be in trouble. The reason an int was
|
||||
// chosen over a long is that the is*() and to*() routines take ints (says
|
||||
// ANSI C), but they use __ct_rune_t instead of int.
|
||||
//
|
||||
// NOTE: rune_t is not covered by ANSI nor other standards, and should not
|
||||
// be instantiated outside of lib/libc/locale. Use wchar_t. wint_t and
|
||||
// rune_t must be the same type. Also, wint_t should be able to hold all
|
||||
// members of the largest character set plus one extra value (WEOF), and
|
||||
// must be at least 16 bits.
|
||||
type X__ct_rune_t = int32 /* _types.h:91:14 */ // arg type for ctype funcs
|
||||
type X__rune_t = X__ct_rune_t /* _types.h:92:21 */ // rune_t (see above)
|
||||
type X__wint_t = X__ct_rune_t /* _types.h:93:21 */ // wint_t (see above)
|
||||
|
||||
// Clang already provides these types as built-ins, but only in C++ mode.
|
||||
type X__char16_t = X__uint_least16_t /* _types.h:97:26 */
|
||||
type X__char32_t = X__uint_least32_t /* _types.h:98:26 */
|
||||
// In C++11, char16_t and char32_t are built-in types.
|
||||
|
||||
type X__max_align_t = struct {
|
||||
F__max_align1 int64
|
||||
F__max_align2 float64
|
||||
} /* _types.h:111:3 */
|
||||
|
||||
type X__dev_t = X__uint64_t /* _types.h:113:20 */ // device number
|
||||
|
||||
type X__fixpt_t = X__uint32_t /* _types.h:115:20 */ // fixed point number
|
||||
|
||||
// mbstate_t is an opaque object to keep conversion state during multibyte
|
||||
// stream conversions.
|
||||
type X__mbstate_t = struct {
|
||||
F__ccgo_pad1 [0]uint64
|
||||
F__mbstate8 [128]int8
|
||||
} /* _types.h:124:3 */
|
||||
|
||||
type X__rman_res_t = X__uintmax_t /* _types.h:126:25 */
|
||||
|
||||
// Types for varargs. These are all provided by builtin types these
|
||||
// days, so centralize their definition.
|
||||
type X__va_list = X__builtin_va_list /* _types.h:133:27 */ // internally known to gcc
|
||||
type X__gnuc_va_list = X__va_list /* _types.h:140:20 */ // compatibility w/GNU headers
|
||||
|
||||
// When the following macro is defined, the system uses 64-bit inode numbers.
|
||||
// Programs can use this to avoid including <sys/param.h>, with its associated
|
||||
// namespace pollution.
|
||||
|
||||
type Gid_t = X__gid_t /* grp.h:49:18 */
|
||||
|
||||
type Group = struct {
|
||||
Fgr_name uintptr
|
||||
Fgr_passwd uintptr
|
||||
Fgr_gid Gid_t
|
||||
F__ccgo_pad1 [4]byte
|
||||
Fgr_mem uintptr
|
||||
} /* grp.h:58:1 */
|
||||
|
||||
var _ int8 /* gen.c:2:13: */
|
||||
13
vendor/modernc.org/libc/grp/grp_linux_386.go
generated
vendored
13
vendor/modernc.org/libc/grp/grp_linux_386.go
generated
vendored
@@ -722,7 +722,8 @@ type X__syscall_slong_t = int32 /* types.h:196:33 */
|
||||
type X__syscall_ulong_t = uint32 /* types.h:198:33 */
|
||||
|
||||
// These few don't really vary by system, they always correspond
|
||||
// to one of the other defined types.
|
||||
//
|
||||
// to one of the other defined types.
|
||||
type X__loff_t = X__off64_t /* types.h:202:19 */ // Type of file sizes and offsets (LFS).
|
||||
type X__caddr_t = uintptr /* types.h:203:14 */
|
||||
|
||||
@@ -733,13 +734,15 @@ type X__intptr_t = int32 /* types.h:206:25 */
|
||||
type X__socklen_t = uint32 /* types.h:209:23 */
|
||||
|
||||
// C99: An integer type that can be accessed as an atomic entity,
|
||||
// even in the presence of asynchronous interrupts.
|
||||
// It is not currently necessary for this to be machine-specific.
|
||||
//
|
||||
// even in the presence of asynchronous interrupts.
|
||||
// It is not currently necessary for this to be machine-specific.
|
||||
type X__sig_atomic_t = int32 /* types.h:214:13 */
|
||||
|
||||
// Seconds since the Epoch, visible to user code when time_t is too
|
||||
// narrow only for consistency with the old way of widening too-narrow
|
||||
// types. User code should never use __time64_t.
|
||||
//
|
||||
// narrow only for consistency with the old way of widening too-narrow
|
||||
// types. User code should never use __time64_t.
|
||||
type X__time64_t = X__int64_t /* types.h:222:28 */
|
||||
|
||||
// Wide character type.
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user