Update dependencies (#1831)

This commit is contained in:
Wim
2022-05-09 23:00:23 +02:00
committed by GitHub
parent 700b95546b
commit 1e55dd47f2
306 changed files with 435896 additions and 195113 deletions
+8
View File
@@ -96,6 +96,10 @@ linux_s390x:
CCGO_CPP=s390x-linux-gnu-cpp TARGET_GOOS=linux TARGET_GOARCH=s390x go generate
GOOS=linux GOARCH=s390x go build -v ./...
linux_ppc64le:
CCGO_CPP=powerpc64le-linux-gnu-cpp TARGET_GOOS=linux TARGET_GOARCH=ppc64le go generate
GOOS=linux GOARCH=ppc64le go build -v ./...
# only on openbsd/amd64
openbsd_amd64:
@echo "Should be executed only on openbsd/amd64."
@@ -137,6 +141,10 @@ build_all_targets:
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 ./...
+3
View File
@@ -117,11 +117,14 @@ var CAPI = map[string]struct{}{
"__sincosf_stret": {},
"__sincospi_stret": {},
"__sincospif_stret": {},
"__srget": {},
"__stderrp": {},
"__stdinp": {},
"__stdoutp": {},
"__strchrnul": {},
"__strncasecmp_l": {},
"__svfscanf": {},
"__swbuf": {},
"__sync_add_and_fetch_uint32": {},
"__sync_sub_and_fetch_uint32": {},
"__tolower": {},
+11
View File
@@ -93,11 +93,16 @@ var CAPI = map[string]struct{}{
"__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": {},
@@ -143,6 +148,7 @@ var CAPI = map[string]struct{}{
"backtrace": {},
"backtrace_symbols_fd": {},
"bind": {},
"bsearch": {},
"bzero": {},
"calloc": {},
"ceil": {},
@@ -270,9 +276,14 @@ var CAPI = map[string]struct{}{
"isascii": {},
"isatty": {},
"isdigit": {},
"islower": {},
"isnan": {},
"isnanf": {},
"isnanl": {},
"isprint": {},
"isspace": {},
"isupper": {},
"isxdigit": {},
"kill": {},
"ldexp": {},
"link": {},
+1
View File
@@ -110,6 +110,7 @@ var CAPI = map[string]struct{}{
"__runes_for_locale": {},
"__shgetc": {},
"__shlim": {},
"__srget": {},
"__stderrp": {},
"__stdinp": {},
"__stdoutp": {},
+523
View File
@@ -0,0 +1,523 @@
// Code generated by 'go generate' - DO NOT EDIT.
package libc // import "modernc.org/libc"
var CAPI = map[string]struct{}{
"_IO_putc": {},
"___errno_location": {},
"__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_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_b_loc": {},
"__ctype_get_mb_cur_max": {},
"__errno_location": {},
"__floatscan": {},
"__fpclassify": {},
"__fpclassifyf": {},
"__fpclassifyl": {},
"__fsmu8": {},
"__h_errno_location": {},
"__inet_aton": {},
"__intscan": {},
"__isalnum_l": {},
"__isalpha_l": {},
"__isdigit_l": {},
"__islower_l": {},
"__isnan": {},
"__isnanf": {},
"__isnanl": {},
"__isoc99_sscanf": {},
"__isprint_l": {},
"__isupper_l": {},
"__isxdigit_l": {},
"__lockfile": {},
"__lookup_ipliteral": {},
"__lookup_name": {},
"__lookup_serv": {},
"__shgetc": {},
"__shlim": {},
"__strncasecmp_l": {},
"__sync_add_and_fetch_uint32": {},
"__sync_sub_and_fetch_uint32": {},
"__syscall1": {},
"__syscall3": {},
"__syscall4": {},
"__toread": {},
"__toread_needs_stdio_exit": {},
"__uflow": {},
"__unlockfile": {},
"_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": {},
"bzero": {},
"calloc": {},
"ceil": {},
"ceilf": {},
"cfgetospeed": {},
"cfsetispeed": {},
"cfsetospeed": {},
"chdir": {},
"chmod": {},
"chown": {},
"clock_gettime": {},
"close": {},
"closedir": {},
"confstr": {},
"connect": {},
"copysign": {},
"copysignf": {},
"copysignl": {},
"cos": {},
"cosf": {},
"cosh": {},
"ctime": {},
"ctime_r": {},
"dlclose": {},
"dlerror": {},
"dlopen": {},
"dlsym": {},
"dup2": {},
"dup3": {},
"endpwent": {},
"environ": {},
"execvp": {},
"exit": {},
"exp": {},
"fabs": {},
"fabsf": {},
"fabsl": {},
"faccessat": {},
"fchmod": {},
"fchmodat": {},
"fchown": {},
"fchownat": {},
"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": {},
"fstatfs": {},
"fsync": {},
"ftell": {},
"ftruncate": {},
"ftruncate64": {},
"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": {},
"gethostbyname_r": {},
"gethostname": {},
"getnameinfo": {},
"getpeername": {},
"getpid": {},
"getpwnam": {},
"getpwnam_r": {},
"getpwuid": {},
"getpwuid_r": {},
"getrandom": {},
"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": {},
"isupper": {},
"iswalnum": {},
"iswspace": {},
"isxdigit": {},
"kill": {},
"ldexp": {},
"link": {},
"linkat": {},
"listen": {},
"localeconv": {},
"localtime": {},
"localtime_r": {},
"log": {},
"log10": {},
"longjmp": {},
"lrand48": {},
"lseek": {},
"lseek64": {},
"lstat": {},
"lstat64": {},
"malloc": {},
"mblen": {},
"mbrtowc": {},
"mbsinit": {},
"mbstowcs": {},
"mbtowc": {},
"memchr": {},
"memcmp": {},
"memcpy": {},
"memmove": {},
"memset": {},
"mkdir": {},
"mkdirat": {},
"mkfifo": {},
"mknod": {},
"mknodat": {},
"mkostemp": {},
"mkstemp": {},
"mkstemp64": {},
"mkstemps": {},
"mkstemps64": {},
"mktime": {},
"mmap": {},
"mmap64": {},
"modf": {},
"mremap": {},
"munmap": {},
"nanf": {},
"nl_langinfo": {},
"ntohs": {},
"obstack_free": {},
"obstack_vprintf": {},
"open": {},
"open64": {},
"openat": {},
"opendir": {},
"openpty": {},
"pathconf": {},
"pause": {},
"pclose": {},
"perror": {},
"pipe": {},
"pipe2": {},
"poll": {},
"popen": {},
"posix_fadvise": {},
"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": {},
"pwrite": {},
"qsort": {},
"raise": {},
"rand": {},
"rand_r": {},
"random": {},
"random_r": {},
"read": {},
"readdir": {},
"readdir64": {},
"readlink": {},
"readlinkat": {},
"readv": {},
"realloc": {},
"reallocarray": {},
"realpath": {},
"recv": {},
"recvfrom": {},
"recvmsg": {},
"remove": {},
"rename": {},
"renameat2": {},
"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": {},
"strlcat": {},
"strlcpy": {},
"strlen": {},
"strncasecmp": {},
"strncat": {},
"strncmp": {},
"strncpy": {},
"strnlen": {},
"strpbrk": {},
"strrchr": {},
"strspn": {},
"strstr": {},
"strtod": {},
"strtof": {},
"strtoimax": {},
"strtok": {},
"strtol": {},
"strtold": {},
"strtoll": {},
"strtoul": {},
"strtoull": {},
"strtoumax": {},
"symlink": {},
"symlinkat": {},
"sysconf": {},
"system": {},
"tan": {},
"tanh": {},
"tcgetattr": {},
"tcsendbreak": {},
"tcsetattr": {},
"time": {},
"tmpfile": {},
"tolower": {},
"toupper": {},
"trunc": {},
"tzset": {},
"umask": {},
"uname": {},
"ungetc": {},
"unlink": {},
"unlinkat": {},
"unsetenv": {},
"usleep": {},
"utime": {},
"utimensat": {},
"utimes": {},
"uuid_copy": {},
"uuid_generate_random": {},
"uuid_parse": {},
"uuid_unparse": {},
"vasprintf": {},
"vfprintf": {},
"vfscanf": {},
"vprintf": {},
"vsnprintf": {},
"vsprintf": {},
"vsscanf": {},
"waitpid": {},
"wcschr": {},
"wctomb": {},
"wcwidth": {},
"write": {},
"writev": {},
"zero_struct_address": {},
}
+3
View File
@@ -98,6 +98,7 @@ var CAPI = map[string]struct{}{
"__isnanf": {},
"__isnanl": {},
"__isoc99_sscanf": {},
"__isprint_l": {},
"__isthreaded": {},
"__lookup_ipliteral": {},
"__lookup_name": {},
@@ -107,6 +108,7 @@ var CAPI = map[string]struct{}{
"__sF": {},
"__shgetc": {},
"__shlim": {},
"__srget": {},
"__stderrp": {},
"__stdinp": {},
"__stdoutp": {},
@@ -278,6 +280,7 @@ var CAPI = map[string]struct{}{
"isnan": {},
"isnanf": {},
"isnanl": {},
"isprint": {},
"kill": {},
"ldexp": {},
"link": {},
+1 -1
View File
@@ -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_freebsd_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_freebsd_386.go -pkgname errno', DO NOT EDIT.
package errno
+1 -1
View File
@@ -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_freebsd_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_freebsd_amd64.go -pkgname errno', DO NOT EDIT.
package errno
+5
View 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_linux_ppc64le.go -pkgname errno', DO NOT EDIT.
package errno
var CAPI = map[string]struct{}{}
+1 -1
View File
@@ -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_netbsd_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_netbsd_amd64.go -pkgname errno', DO NOT EDIT.
package errno
+1 -1
View File
@@ -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_openbsd_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_openbsd_amd64.go -pkgname errno', DO NOT EDIT.
package errno
+111 -111
View File
@@ -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_freebsd_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_freebsd_386.go -pkgname errno', DO NOT EDIT.
package errno
@@ -15,116 +15,116 @@ var _ atomic.Value
var _ unsafe.Pointer
const (
E2BIG = 7
EACCES = 13
EADDRINUSE = 48
EADDRNOTAVAIL = 49
EAFNOSUPPORT = 47
EAGAIN = 35
EALREADY = 37
EAUTH = 80
EBADF = 9
EBADMSG = 89
EBADRPC = 72
EBUSY = 16
ECANCELED = 85
ECAPMODE = 94
ECHILD = 10
ECONNABORTED = 53
ECONNREFUSED = 61
ECONNRESET = 54
EDEADLK = 11
EDESTADDRREQ = 39
EDOM = 33
EDOOFUS = 88
EDQUOT = 69
EEXIST = 17
EFAULT = 14
EFBIG = 27
EFTYPE = 79
EHOSTDOWN = 64
EHOSTUNREACH = 65
EIDRM = 82
EILSEQ = 86
EINPROGRESS = 36
EINTEGRITY = 97
EINTR = 4
EINVAL = 22
EIO = 5
EISCONN = 56
EISDIR = 21
ELAST = 97
ELOOP = 62
EMFILE = 24
EMLINK = 31
EMSGSIZE = 40
EMULTIHOP = 90
ENAMETOOLONG = 63
ENEEDAUTH = 81
ENETDOWN = 50
ENETRESET = 52
ENETUNREACH = 51
ENFILE = 23
ENOATTR = 87
ENOBUFS = 55
ENODEV = 19
ENOENT = 2
ENOEXEC = 8
ENOLCK = 77
ENOLINK = 91
ENOMEM = 12
ENOMSG = 83
ENOPROTOOPT = 42
ENOSPC = 28
ENOSYS = 78
ENOTBLK = 15
ENOTCAPABLE = 93
ENOTCONN = 57
ENOTDIR = 20
ENOTEMPTY = 66
ENOTRECOVERABLE = 95
ENOTSOCK = 38
ENOTSUP = 45
ENOTTY = 25
ENXIO = 6
EOPNOTSUPP = 45
EOVERFLOW = 84
EOWNERDEAD = 96
EPERM = 1
EPFNOSUPPORT = 46
EPIPE = 32
EPROCLIM = 67
EPROCUNAVAIL = 76
EPROGMISMATCH = 75
EPROGUNAVAIL = 74
EPROTO = 92
EPROTONOSUPPORT = 43
EPROTOTYPE = 41
ERANGE = 34
EREMOTE = 71
EROFS = 30
ERPCMISMATCH = 73
ESHUTDOWN = 58
ESOCKTNOSUPPORT = 44
ESPIPE = 29
ESRCH = 3
ESTALE = 70
ETIMEDOUT = 60
ETOOMANYREFS = 59
ETXTBSY = 26
EUSERS = 68
EWOULDBLOCK = 35
EXDEV = 18
X_ERRNO_T_DEFINED = 0
X_FILE_OFFSET_BITS = 64
X_ILP32 = 1
X_Nonnull = 0
X_Null_unspecified = 0
X_Nullable = 0
X_SYS_CDEFS_H_ = 0
X_SYS_ERRNO_H_ = 0
I386 = 1
Unix = 1
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:
I386 = 1 // <predefined>:335:1:
Unix = 1 // <predefined>:336:1:
)
type Ptrdiff_t = int32 /* <builtin>:3:26 */
+110 -110
View File
@@ -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_freebsd_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_freebsd_amd64.go -pkgname errno', DO NOT EDIT.
package errno
@@ -15,115 +15,115 @@ var _ atomic.Value
var _ unsafe.Pointer
const (
E2BIG = 7
EACCES = 13
EADDRINUSE = 48
EADDRNOTAVAIL = 49
EAFNOSUPPORT = 47
EAGAIN = 35
EALREADY = 37
EAUTH = 80
EBADF = 9
EBADMSG = 89
EBADRPC = 72
EBUSY = 16
ECANCELED = 85
ECAPMODE = 94
ECHILD = 10
ECONNABORTED = 53
ECONNREFUSED = 61
ECONNRESET = 54
EDEADLK = 11
EDESTADDRREQ = 39
EDOM = 33
EDOOFUS = 88
EDQUOT = 69
EEXIST = 17
EFAULT = 14
EFBIG = 27
EFTYPE = 79
EHOSTDOWN = 64
EHOSTUNREACH = 65
EIDRM = 82
EILSEQ = 86
EINPROGRESS = 36
EINTEGRITY = 97
EINTR = 4
EINVAL = 22
EIO = 5
EISCONN = 56
EISDIR = 21
ELAST = 97
ELOOP = 62
EMFILE = 24
EMLINK = 31
EMSGSIZE = 40
EMULTIHOP = 90
ENAMETOOLONG = 63
ENEEDAUTH = 81
ENETDOWN = 50
ENETRESET = 52
ENETUNREACH = 51
ENFILE = 23
ENOATTR = 87
ENOBUFS = 55
ENODEV = 19
ENOENT = 2
ENOEXEC = 8
ENOLCK = 77
ENOLINK = 91
ENOMEM = 12
ENOMSG = 83
ENOPROTOOPT = 42
ENOSPC = 28
ENOSYS = 78
ENOTBLK = 15
ENOTCAPABLE = 93
ENOTCONN = 57
ENOTDIR = 20
ENOTEMPTY = 66
ENOTRECOVERABLE = 95
ENOTSOCK = 38
ENOTSUP = 45
ENOTTY = 25
ENXIO = 6
EOPNOTSUPP = 45
EOVERFLOW = 84
EOWNERDEAD = 96
EPERM = 1
EPFNOSUPPORT = 46
EPIPE = 32
EPROCLIM = 67
EPROCUNAVAIL = 76
EPROGMISMATCH = 75
EPROGUNAVAIL = 74
EPROTO = 92
EPROTONOSUPPORT = 43
EPROTOTYPE = 41
ERANGE = 34
EREMOTE = 71
EROFS = 30
ERPCMISMATCH = 73
ESHUTDOWN = 58
ESOCKTNOSUPPORT = 44
ESPIPE = 29
ESRCH = 3
ESTALE = 70
ETIMEDOUT = 60
ETOOMANYREFS = 59
ETXTBSY = 26
EUSERS = 68
EWOULDBLOCK = 35
EXDEV = 18
X_ERRNO_T_DEFINED = 0
X_FILE_OFFSET_BITS = 64
X_LP64 = 1
X_Nonnull = 0
X_Null_unspecified = 0
X_Nullable = 0
X_SYS_CDEFS_H_ = 0
X_SYS_ERRNO_H_ = 0
Unix = 1
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:783:1:
X_Null_unspecified = 0 // cdefs.h:785:1:
X_Nullable = 0 // cdefs.h:784:1:
X_SYS_CDEFS_H_ = 0 // cdefs.h:39:1:
X_SYS_ERRNO_H_ = 0 // errno.h:41:1:
Unix = 1 // <predefined>:337:1:
)
type Ptrdiff_t = int64 /* <builtin>:3:26 */
+201
View File
@@ -0,0 +1,201 @@
// Code generated by 'ccgo errno/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o errno/errno_linux_ppc64le.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-base.h:11:1:
EACCES = 13 // errno-base.h:17:1:
EADDRINUSE = 98 // errno.h:81:1:
EADDRNOTAVAIL = 99 // errno.h:82:1:
EADV = 68 // errno.h:51:1:
EAFNOSUPPORT = 97 // errno.h:80:1:
EAGAIN = 11 // errno-base.h:15:1:
EALREADY = 114 // errno.h:97:1:
EBADE = 52 // errno.h:33:1:
EBADF = 9 // errno-base.h:13:1:
EBADFD = 77 // errno.h:60:1:
EBADMSG = 74 // errno.h:57:1:
EBADR = 53 // errno.h:34:1:
EBADRQC = 56 // errno.h:37:1:
EBADSLT = 57 // errno.h:38:1:
EBFONT = 59 // errno.h:42:1:
EBUSY = 16 // errno-base.h:20:1:
ECANCELED = 125 // errno.h:109:1:
ECHILD = 10 // errno-base.h:14:1:
ECHRNG = 44 // errno.h:25:1:
ECOMM = 70 // errno.h:53:1:
ECONNABORTED = 103 // errno.h:86:1:
ECONNREFUSED = 111 // errno.h:94:1:
ECONNRESET = 104 // errno.h:87:1:
EDEADLK = 35 // errno.h:7:1:
EDEADLOCK = 58 // errno.h:8:1:
EDESTADDRREQ = 89 // errno.h:72:1:
EDOM = 33 // errno-base.h:37:1:
EDOTDOT = 73 // errno.h:56:1:
EDQUOT = 122 // errno.h:105:1:
EEXIST = 17 // errno-base.h:21:1:
EFAULT = 14 // errno-base.h:18:1:
EFBIG = 27 // errno-base.h:31:1:
EHOSTDOWN = 112 // errno.h:95:1:
EHOSTUNREACH = 113 // errno.h:96:1:
EHWPOISON = 133 // errno.h:121:1:
EIDRM = 43 // errno.h:24:1:
EILSEQ = 84 // errno.h:67:1:
EINPROGRESS = 115 // errno.h:98:1:
EINTR = 4 // errno-base.h:8:1:
EINVAL = 22 // errno-base.h:26:1:
EIO = 5 // errno-base.h:9:1:
EISCONN = 106 // errno.h:89:1:
EISDIR = 21 // errno-base.h:25:1:
EISNAM = 120 // errno.h:103:1:
EKEYEXPIRED = 127 // errno.h:111:1:
EKEYREJECTED = 129 // errno.h:113:1:
EKEYREVOKED = 128 // errno.h:112:1:
EL2HLT = 51 // errno.h:32:1:
EL2NSYNC = 45 // errno.h:26:1:
EL3HLT = 46 // errno.h:27:1:
EL3RST = 47 // errno.h:28:1:
ELIBACC = 79 // errno.h:62:1:
ELIBBAD = 80 // errno.h:63:1:
ELIBEXEC = 83 // errno.h:66:1:
ELIBMAX = 82 // errno.h:65:1:
ELIBSCN = 81 // errno.h:64:1:
ELNRNG = 48 // errno.h:29:1:
ELOOP = 40 // errno.h:21:1:
EMEDIUMTYPE = 124 // errno.h:108:1:
EMFILE = 24 // errno-base.h:28:1:
EMLINK = 31 // errno-base.h:35:1:
EMSGSIZE = 90 // errno.h:73:1:
EMULTIHOP = 72 // errno.h:55:1:
ENAMETOOLONG = 36 // errno.h:8:1:
ENAVAIL = 119 // errno.h:102:1:
ENETDOWN = 100 // errno.h:83:1:
ENETRESET = 102 // errno.h:85:1:
ENETUNREACH = 101 // errno.h:84:1:
ENFILE = 23 // errno-base.h:27:1:
ENOANO = 55 // errno.h:36:1:
ENOBUFS = 105 // errno.h:88:1:
ENOCSI = 50 // errno.h:31:1:
ENODATA = 61 // errno.h:44:1:
ENODEV = 19 // errno-base.h:23:1:
ENOENT = 2 // errno-base.h:6:1:
ENOEXEC = 8 // errno-base.h:12:1:
ENOKEY = 126 // errno.h:110:1:
ENOLCK = 37 // errno.h:9:1:
ENOLINK = 67 // errno.h:50:1:
ENOMEDIUM = 123 // errno.h:107:1:
ENOMEM = 12 // errno-base.h:16:1:
ENOMSG = 42 // errno.h:23:1:
ENONET = 64 // errno.h:47:1:
ENOPKG = 65 // errno.h:48:1:
ENOPROTOOPT = 92 // errno.h:75:1:
ENOSPC = 28 // errno-base.h:32:1:
ENOSR = 63 // errno.h:46:1:
ENOSTR = 60 // errno.h:43:1:
ENOSYS = 38 // errno.h:18:1:
ENOTBLK = 15 // errno-base.h:19:1:
ENOTCONN = 107 // errno.h:90:1:
ENOTDIR = 20 // errno-base.h:24:1:
ENOTEMPTY = 39 // errno.h:20:1:
ENOTNAM = 118 // errno.h:101:1:
ENOTRECOVERABLE = 131 // errno.h:117:1:
ENOTSOCK = 88 // errno.h:71:1:
ENOTSUP = 95 // errno.h:30:1:
ENOTTY = 25 // errno-base.h:29:1:
ENOTUNIQ = 76 // errno.h:59:1:
ENXIO = 6 // errno-base.h:10:1:
EOPNOTSUPP = 95 // errno.h:78:1:
EOVERFLOW = 75 // errno.h:58:1:
EOWNERDEAD = 130 // errno.h:116:1:
EPERM = 1 // errno-base.h:5:1:
EPFNOSUPPORT = 96 // errno.h:79:1:
EPIPE = 32 // errno-base.h:36:1:
EPROTO = 71 // errno.h:54:1:
EPROTONOSUPPORT = 93 // errno.h:76:1:
EPROTOTYPE = 91 // errno.h:74:1:
ERANGE = 34 // errno-base.h:38:1:
EREMCHG = 78 // errno.h:61:1:
EREMOTE = 66 // errno.h:49:1:
EREMOTEIO = 121 // errno.h:104:1:
ERESTART = 85 // errno.h:68:1:
ERFKILL = 132 // errno.h:119:1:
EROFS = 30 // errno-base.h:34:1:
ESHUTDOWN = 108 // errno.h:91:1:
ESOCKTNOSUPPORT = 94 // errno.h:77:1:
ESPIPE = 29 // errno-base.h:33:1:
ESRCH = 3 // errno-base.h:7:1:
ESRMNT = 69 // errno.h:52:1:
ESTALE = 116 // errno.h:99:1:
ESTRPIPE = 86 // errno.h:69:1:
ETIME = 62 // errno.h:45:1:
ETIMEDOUT = 110 // errno.h:93:1:
ETOOMANYREFS = 109 // errno.h:92:1:
ETXTBSY = 26 // errno-base.h:30:1:
EUCLEAN = 117 // errno.h:100:1:
EUNATCH = 49 // errno.h:30:1:
EUSERS = 87 // errno.h:70:1:
EWOULDBLOCK = 11 // errno.h:22:1:
EXDEV = 18 // errno-base.h:22:1:
EXFULL = 54 // errno.h:35:1:
X_ARCH_PPC = 1 // <predefined>:198:1:
X_ARCH_PPC64 = 1 // <predefined>:402:1:
X_ARCH_PPCGR = 1 // <predefined>:15:1:
X_ARCH_PPCSQ = 1 // <predefined>:43:1:
X_ARCH_PWR4 = 1 // <predefined>:381:1:
X_ARCH_PWR5 = 1 // <predefined>:90:1:
X_ARCH_PWR5X = 1 // <predefined>:137:1:
X_ARCH_PWR6 = 1 // <predefined>:91:1:
X_ARCH_PWR7 = 1 // <predefined>:92:1:
X_ARCH_PWR8 = 1 // <predefined>:93:1:
X_ASM_GENERIC_ERRNO_BASE_H = 0 // errno-base.h:3:1:
X_ASM_GENERIC_ERRNO_H = 0 // errno.h:3:1:
X_ASM_POWERPC_ERRNO_H = 0 // errno.h:3:1:
X_ATFILE_SOURCE = 1 // features.h:342:1:
X_BITS_ERRNO_H = 1 // errno.h:20:1:
X_CALL_ELF = 2 // <predefined>:415:1:
X_CALL_LINUX = 1 // <predefined>:123:1:
X_DEFAULT_SOURCE = 1 // features.h:227:1:
X_ERRNO_H = 1 // errno.h:23:1:
X_FEATURES_H = 1 // features.h:19:1:
X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
X_LITTLE_ENDIAN = 1 // <predefined>:37:1:
X_LP64 = 1 // <predefined>:335:1:
X_POSIX_C_SOURCE = 200809 // features.h:281:1:
X_POSIX_SOURCE = 1 // features.h:279:1:
X_STDC_PREDEF_H = 1 // <predefined>:203:1:
X_SYS_CDEFS_H = 1 // cdefs.h:19:1:
Linux = 1 // <predefined>:263:1:
Unix = 1 // <predefined>:222: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__ieee128 = float64 /* <builtin>:47:21 */
var _ uint8 /* gen.c:2:13: */
+107 -107
View File
@@ -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_netbsd_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_netbsd_amd64.go -pkgname errno', DO NOT EDIT.
package errno
@@ -15,112 +15,112 @@ var _ atomic.Value
var _ unsafe.Pointer
const (
E2BIG = 7
EACCES = 13
EADDRINUSE = 48
EADDRNOTAVAIL = 49
EAFNOSUPPORT = 47
EAGAIN = 35
EALREADY = 37
EAUTH = 80
EBADF = 9
EBADMSG = 88
EBADRPC = 72
EBUSY = 16
ECANCELED = 87
ECHILD = 10
ECONNABORTED = 53
ECONNREFUSED = 61
ECONNRESET = 54
EDEADLK = 11
EDESTADDRREQ = 39
EDOM = 33
EDQUOT = 69
EEXIST = 17
EFAULT = 14
EFBIG = 27
EFTYPE = 79
EHOSTDOWN = 64
EHOSTUNREACH = 65
EIDRM = 82
EILSEQ = 85
EINPROGRESS = 36
EINTR = 4
EINVAL = 22
EIO = 5
EISCONN = 56
EISDIR = 21
ELAST = 96
ELOOP = 62
EMFILE = 24
EMLINK = 31
EMSGSIZE = 40
EMULTIHOP = 94
ENAMETOOLONG = 63
ENEEDAUTH = 81
ENETDOWN = 50
ENETRESET = 52
ENETUNREACH = 51
ENFILE = 23
ENOATTR = 93
ENOBUFS = 55
ENODATA = 89
ENODEV = 19
ENOENT = 2
ENOEXEC = 8
ENOLCK = 77
ENOLINK = 95
ENOMEM = 12
ENOMSG = 83
ENOPROTOOPT = 42
ENOSPC = 28
ENOSR = 90
ENOSTR = 91
ENOSYS = 78
ENOTBLK = 15
ENOTCONN = 57
ENOTDIR = 20
ENOTEMPTY = 66
ENOTSOCK = 38
ENOTSUP = 86
ENOTTY = 25
ENXIO = 6
EOPNOTSUPP = 45
EOVERFLOW = 84
EPERM = 1
EPFNOSUPPORT = 46
EPIPE = 32
EPROCLIM = 67
EPROCUNAVAIL = 76
EPROGMISMATCH = 75
EPROGUNAVAIL = 74
EPROTO = 96
EPROTONOSUPPORT = 43
EPROTOTYPE = 41
ERANGE = 34
EREMOTE = 71
EROFS = 30
ERPCMISMATCH = 73
ESHUTDOWN = 58
ESOCKTNOSUPPORT = 44
ESPIPE = 29
ESRCH = 3
ESTALE = 70
ETIME = 92
ETIMEDOUT = 60
ETOOMANYREFS = 59
ETXTBSY = 26
EUSERS = 68
EWOULDBLOCK = 35
EXDEV = 18
X_ERRNO_H_ = 0
X_FILE_OFFSET_BITS = 64
X_LP64 = 1
X_NETBSD_SOURCE = 1
X_SYS_CDEFS_ELF_H_ = 0
X_SYS_CDEFS_H_ = 0
X_SYS_ERRNO_H_ = 0
X_X86_64_CDEFS_H_ = 0
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_ERRNO_H_ = 0 // errno.h:40:1:
X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
X_LP64 = 1 // <predefined>:268: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:
X_X86_64_CDEFS_H_ = 0 // cdefs.h:4:1:
)
type Ptrdiff_t = int64 /* <builtin>:3:26 */
+105 -105
View File
@@ -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_openbsd_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_openbsd_amd64.go -pkgname errno', DO NOT EDIT.
package errno
@@ -15,110 +15,110 @@ var _ atomic.Value
var _ unsafe.Pointer
const (
E2BIG = 7
EACCES = 13
EADDRINUSE = 48
EADDRNOTAVAIL = 49
EAFNOSUPPORT = 47
EAGAIN = 35
EALREADY = 37
EAUTH = 80
EBADF = 9
EBADMSG = 92
EBADRPC = 72
EBUSY = 16
ECANCELED = 88
ECHILD = 10
ECONNABORTED = 53
ECONNREFUSED = 61
ECONNRESET = 54
EDEADLK = 11
EDESTADDRREQ = 39
EDOM = 33
EDQUOT = 69
EEXIST = 17
EFAULT = 14
EFBIG = 27
EFTYPE = 79
EHOSTDOWN = 64
EHOSTUNREACH = 65
EIDRM = 89
EILSEQ = 84
EINPROGRESS = 36
EINTR = 4
EINVAL = 22
EIO = 5
EIPSEC = 82
EISCONN = 56
EISDIR = 21
ELAST = 95
ELOOP = 62
EMEDIUMTYPE = 86
EMFILE = 24
EMLINK = 31
EMSGSIZE = 40
ENAMETOOLONG = 63
ENEEDAUTH = 81
ENETDOWN = 50
ENETRESET = 52
ENETUNREACH = 51
ENFILE = 23
ENOATTR = 83
ENOBUFS = 55
ENODEV = 19
ENOENT = 2
ENOEXEC = 8
ENOLCK = 77
ENOMEDIUM = 85
ENOMEM = 12
ENOMSG = 90
ENOPROTOOPT = 42
ENOSPC = 28
ENOSYS = 78
ENOTBLK = 15
ENOTCONN = 57
ENOTDIR = 20
ENOTEMPTY = 66
ENOTRECOVERABLE = 93
ENOTSOCK = 38
ENOTSUP = 91
ENOTTY = 25
ENXIO = 6
EOPNOTSUPP = 45
EOVERFLOW = 87
EOWNERDEAD = 94
EPERM = 1
EPFNOSUPPORT = 46
EPIPE = 32
EPROCLIM = 67
EPROCUNAVAIL = 76
EPROGMISMATCH = 75
EPROGUNAVAIL = 74
EPROTO = 95
EPROTONOSUPPORT = 43
EPROTOTYPE = 41
ERANGE = 34
EREMOTE = 71
EROFS = 30
ERPCMISMATCH = 73
ESHUTDOWN = 58
ESOCKTNOSUPPORT = 44
ESPIPE = 29
ESRCH = 3
ESTALE = 70
ETIMEDOUT = 60
ETOOMANYREFS = 59
ETXTBSY = 26
EUSERS = 68
EWOULDBLOCK = 35
EXDEV = 18
X_ERRNO_H_ = 0
X_FILE_OFFSET_BITS = 64
X_LP64 = 1
X_MACHINE_CDEFS_H_ = 0
X_RET_PROTECTOR = 1
X_SYS_CDEFS_H_ = 0
Unix = 1
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:9:1:
X_RET_PROTECTOR = 1 // <predefined>:2:1:
X_SYS_CDEFS_H_ = 0 // cdefs.h:39:1:
Unix = 1 // <predefined>:340:1:
)
type Ptrdiff_t = int64 /* <builtin>:3:26 */
+1 -1
View File
@@ -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_freebsd_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_freebsd_386.go -pkgname fcntl', DO NOT EDIT.
package fcntl
+1 -1
View File
@@ -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_freebsd_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_freebsd_amd64.go -pkgname fcntl', DO NOT EDIT.
package fcntl
+5
View 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_linux_ppc64le.go -pkgname fcntl', DO NOT EDIT.
package fcntl
var CAPI = map[string]struct{}{}
+1 -1
View File
@@ -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_netbsd_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_netbsd_amd64.go -pkgname fcntl', DO NOT EDIT.
package fcntl
+1 -1
View File
@@ -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_openbsd_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_openbsd_amd64.go -pkgname fcntl', DO NOT EDIT.
package fcntl
+104 -104
View File
@@ -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_freebsd_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_freebsd_386.go -pkgname fcntl', DO NOT EDIT.
package fcntl
@@ -15,109 +15,109 @@ var _ atomic.Value
var _ unsafe.Pointer
const (
AT_EACCESS = 0x0100
AT_EMPTY_PATH = 0x4000
AT_FDCWD = -100
AT_REMOVEDIR = 0x0800
AT_RESOLVE_BENEATH = 0x2000
AT_SYMLINK_FOLLOW = 0x0400
AT_SYMLINK_NOFOLLOW = 0x0200
FAPPEND = 8
FASYNC = 64
FDSYNC = 16777216
FD_CLOEXEC = 1
FD_NONE = -200
FFSYNC = 128
FNDELAY = 4
FNONBLOCK = 4
FRDAHEAD = 512
FREAD = 0x0001
FWRITE = 0x0002
F_ADD_SEALS = 19
F_CANCEL = 5
F_DUP2FD = 10
F_DUP2FD_CLOEXEC = 18
F_DUPFD = 0
F_DUPFD_CLOEXEC = 17
F_GETFD = 1
F_GETFL = 3
F_GETLK = 11
F_GETOWN = 5
F_GET_SEALS = 20
F_ISUNIONSTACK = 21
F_KINFO = 22
F_OGETLK = 7
F_OSETLK = 8
F_OSETLKW = 9
F_RDAHEAD = 16
F_RDLCK = 1
F_READAHEAD = 15
F_SEAL_GROW = 0x0004
F_SEAL_SEAL = 0x0001
F_SEAL_SHRINK = 0x0002
F_SEAL_WRITE = 0x0008
F_SETFD = 2
F_SETFL = 4
F_SETLK = 12
F_SETLKW = 13
F_SETLK_REMOTE = 14
F_SETOWN = 6
F_UNLCK = 2
F_UNLCKSYS = 4
F_WRLCK = 3
LOCK_EX = 0x02
LOCK_NB = 0x04
LOCK_SH = 0x01
LOCK_UN = 0x08
O_ACCMODE = 0x0003
O_APPEND = 0x0008
O_ASYNC = 0x0040
O_CLOEXEC = 0x00100000
O_CREAT = 0x0200
O_DIRECT = 0x00010000
O_DIRECTORY = 0x00020000
O_DSYNC = 0x01000000
O_EMPTY_PATH = 0x02000000
O_EXCL = 0x0800
O_EXEC = 0x00040000
O_EXLOCK = 0x0020
O_FSYNC = 0x0080
O_NDELAY = 4
O_NOCTTY = 0x8000
O_NOFOLLOW = 0x0100
O_NONBLOCK = 0x0004
O_PATH = 0x00400000
O_RDONLY = 0x0000
O_RDWR = 0x0002
O_RESOLVE_BENEATH = 0x00800000
O_SEARCH = 262144
O_SHLOCK = 0x0010
O_SYNC = 0x0080
O_TRUNC = 0x0400
O_TTY_INIT = 0x00080000
O_VERIFY = 0x00200000
O_WRONLY = 0x0001
POSIX_FADV_DONTNEED = 4
POSIX_FADV_NOREUSE = 5
POSIX_FADV_NORMAL = 0
POSIX_FADV_RANDOM = 1
POSIX_FADV_SEQUENTIAL = 2
POSIX_FADV_WILLNEED = 3
X_FILE_OFFSET_BITS = 64
X_ILP32 = 1
X_MACHINE__LIMITS_H_ = 0
X_MACHINE__TYPES_H_ = 0
X_MODE_T_DECLARED = 0
X_Nonnull = 0
X_Null_unspecified = 0
X_Nullable = 0
X_OFF_T_DECLARED = 0
X_PID_T_DECLARED = 0
X_SYS_CDEFS_H_ = 0
X_SYS_FCNTL_H_ = 0
X_SYS__TYPES_H_ = 0
I386 = 1
Unix = 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: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__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:
I386 = 1 // <predefined>:335:1:
Unix = 1 // <predefined>:336:1:
)
type Ptrdiff_t = int32 /* <builtin>:3:26 */
+99 -99
View File
@@ -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_freebsd_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_freebsd_amd64.go -pkgname fcntl', DO NOT EDIT.
package fcntl
@@ -15,104 +15,104 @@ var _ atomic.Value
var _ unsafe.Pointer
const (
AT_EACCESS = 0x0100
AT_FDCWD = -100
AT_REMOVEDIR = 0x0800
AT_RESOLVE_BENEATH = 0x2000
AT_SYMLINK_FOLLOW = 0x0400
AT_SYMLINK_NOFOLLOW = 0x0200
FAPPEND = 8
FASYNC = 64
FDSYNC = 16777216
FD_CLOEXEC = 1
FD_NONE = -200
FFSYNC = 128
FNDELAY = 4
FNONBLOCK = 4
FRDAHEAD = 512
FREAD = 0x0001
FWRITE = 0x0002
F_ADD_SEALS = 19
F_CANCEL = 5
F_DUP2FD = 10
F_DUP2FD_CLOEXEC = 18
F_DUPFD = 0
F_DUPFD_CLOEXEC = 17
F_GETFD = 1
F_GETFL = 3
F_GETLK = 11
F_GETOWN = 5
F_GET_SEALS = 20
F_ISUNIONSTACK = 21
F_OGETLK = 7
F_OSETLK = 8
F_OSETLKW = 9
F_RDAHEAD = 16
F_RDLCK = 1
F_READAHEAD = 15
F_SEAL_GROW = 0x0004
F_SEAL_SEAL = 0x0001
F_SEAL_SHRINK = 0x0002
F_SEAL_WRITE = 0x0008
F_SETFD = 2
F_SETFL = 4
F_SETLK = 12
F_SETLKW = 13
F_SETLK_REMOTE = 14
F_SETOWN = 6
F_UNLCK = 2
F_UNLCKSYS = 4
F_WRLCK = 3
LOCK_EX = 0x02
LOCK_NB = 0x04
LOCK_SH = 0x01
LOCK_UN = 0x08
O_ACCMODE = 0x0003
O_APPEND = 0x0008
O_ASYNC = 0x0040
O_CLOEXEC = 0x00100000
O_CREAT = 0x0200
O_DIRECT = 0x00010000
O_DIRECTORY = 0x00020000
O_DSYNC = 0x01000000
O_EXCL = 0x0800
O_EXEC = 0x00040000
O_EXLOCK = 0x0020
O_FSYNC = 0x0080
O_NDELAY = 4
O_NOCTTY = 0x8000
O_NOFOLLOW = 0x0100
O_NONBLOCK = 0x0004
O_RDONLY = 0x0000
O_RDWR = 0x0002
O_RESOLVE_BENEATH = 0x00800000
O_SEARCH = 262144
O_SHLOCK = 0x0010
O_SYNC = 0x0080
O_TRUNC = 0x0400
O_TTY_INIT = 0x00080000
O_VERIFY = 0x00200000
O_WRONLY = 0x0001
POSIX_FADV_DONTNEED = 4
POSIX_FADV_NOREUSE = 5
POSIX_FADV_NORMAL = 0
POSIX_FADV_RANDOM = 1
POSIX_FADV_SEQUENTIAL = 2
POSIX_FADV_WILLNEED = 3
X_FILE_OFFSET_BITS = 64
X_LP64 = 1
X_MACHINE__LIMITS_H_ = 0
X_MACHINE__TYPES_H_ = 0
X_MODE_T_DECLARED = 0
X_Nonnull = 0
X_Null_unspecified = 0
X_Nullable = 0
X_OFF_T_DECLARED = 0
X_PID_T_DECLARED = 0
X_SYS_CDEFS_H_ = 0
X_SYS_FCNTL_H_ = 0
X_SYS__TYPES_H_ = 0
Unix = 1
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:
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:
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_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_NOCTTY = 0x8000 // fcntl.h:112:1:
O_NOFOLLOW = 0x0100 // fcntl.h:102:1:
O_NONBLOCK = 0x0004 // fcntl.h:92: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: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:
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_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:
)
type Ptrdiff_t = int64 /* <builtin>:3:26 */
File diff suppressed because it is too large Load Diff
+192 -192
View File
@@ -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_netbsd_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_netbsd_amd64.go -pkgname fcntl', DO NOT EDIT.
package fcntl
@@ -15,197 +15,197 @@ var _ atomic.Value
var _ unsafe.Pointer
const (
AT_EACCESS = 0x100
AT_FDCWD = -100
AT_REMOVEDIR = 0x800
AT_SYMLINK_FOLLOW = 0x400
AT_SYMLINK_NOFOLLOW = 0x200
BIG_ENDIAN = 4321
BYTE_ORDER = 1234
FAPPEND = 8
FASYNC = 64
FD_CLOEXEC = 1
FD_SETSIZE = 256
FNDELAY = 4
FREAD = 0x00000001
FWRITE = 0x00000002
F_CLOSEM = 10
F_DUPFD = 0
F_DUPFD_CLOEXEC = 12
F_GETFD = 1
F_GETFL = 3
F_GETLK = 7
F_GETNOSIGPIPE = 13
F_GETOWN = 5
F_MAXFD = 11
F_PARAM_MASK = 0xfff
F_PARAM_MAX = 4095
F_RDLCK = 1
F_SETFD = 2
F_SETFL = 4
F_SETLK = 8
F_SETLKW = 9
F_SETNOSIGPIPE = 14
F_SETOWN = 6
F_UNLCK = 2
F_WRLCK = 3
INT16_MAX = 32767
INT16_MIN = -32768
INT32_MAX = 2147483647
INT32_MIN = -2147483648
INT64_MAX = 9223372036854775807
INT64_MIN = -9223372036854775808
INT8_MAX = 127
INT8_MIN = -128
INTMAX_MAX = 9223372036854775807
INTMAX_MIN = -9223372036854775808
INTPTR_MAX = 9223372036854775807
INTPTR_MIN = -9223372036854775808
INT_FAST16_MAX = 2147483647
INT_FAST16_MIN = -2147483648
INT_FAST32_MAX = 2147483647
INT_FAST32_MIN = -2147483648
INT_FAST64_MAX = 9223372036854775807
INT_FAST64_MIN = -9223372036854775808
INT_FAST8_MAX = 2147483647
INT_FAST8_MIN = -2147483648
INT_LEAST16_MAX = 32767
INT_LEAST16_MIN = -32768
INT_LEAST32_MAX = 2147483647
INT_LEAST32_MIN = -2147483648
INT_LEAST64_MAX = 9223372036854775807
INT_LEAST64_MIN = -9223372036854775808
INT_LEAST8_MAX = 127
INT_LEAST8_MIN = -128
LITTLE_ENDIAN = 1234
LOCK_EX = 0x02
LOCK_NB = 0x04
LOCK_SH = 0x01
LOCK_UN = 0x08
NBBY = 8
NFDBITS = 32
NODEVMAJOR = -1
O_ACCMODE = 0x00000003
O_ALT_IO = 0x00040000
O_APPEND = 0x00000008
O_ASYNC = 0x00000040
O_CLOEXEC = 0x00400000
O_CREAT = 0x00000200
O_DIRECT = 0x00080000
O_DIRECTORY = 0x00200000
O_DSYNC = 0x00010000
O_EXCL = 0x00000800
O_EXLOCK = 0x00000020
O_FSYNC = 128
O_NDELAY = 4
O_NOCTTY = 0x00008000
O_NOFOLLOW = 0x00000100
O_NONBLOCK = 0x00000004
O_NOSIGPIPE = 0x01000000
O_RDONLY = 0x00000000
O_RDWR = 0x00000002
O_REGULAR = 0x02000000
O_RSYNC = 0x00020000
O_SEARCH = 0x00800000
O_SHLOCK = 0x00000010
O_SYNC = 0x00000080
O_TRUNC = 0x00000400
O_WRONLY = 0x00000001
PDP_ENDIAN = 3412
POSIX_FADV_DONTNEED = 4
POSIX_FADV_NOREUSE = 5
POSIX_FADV_NORMAL = 0
POSIX_FADV_RANDOM = 1
POSIX_FADV_SEQUENTIAL = 2
POSIX_FADV_WILLNEED = 3
PTRDIFF_MAX = 9223372036854775807
PTRDIFF_MIN = -9223372036854775808
SEEK_CUR = 1
SEEK_END = 2
SEEK_SET = 0
SIG_ATOMIC_MAX = 2147483647
SIG_ATOMIC_MIN = -2147483648
SIZE_MAX = 18446744073709551615
UINT16_MAX = 65535
UINT32_MAX = 4294967295
UINT64_MAX = 18446744073709551615
UINT8_MAX = 255
UINTMAX_MAX = 18446744073709551615
UINTPTR_MAX = 18446744073709551615
UINT_FAST16_MAX = 4294967295
UINT_FAST32_MAX = 4294967295
UINT_FAST64_MAX = 18446744073709551615
UINT_FAST8_MAX = 4294967295
UINT_LEAST16_MAX = 65535
UINT_LEAST32_MAX = 4294967295
UINT_LEAST64_MAX = 18446744073709551615
UINT_LEAST8_MAX = 255
WCHAR_MAX = 0x7fffffff
WCHAR_MIN = -2147483648
WINT_MAX = 0x7fffffff
WINT_MIN = -2147483648
X_AMD64_BYTE_SWAP_H_ = 0
X_AMD64_INT_CONST_H_ = 0
X_AMD64_INT_LIMITS_H_ = 0
X_AMD64_INT_MWGWTYPES_H_ = 0
X_AMD64_INT_TYPES_H_ = 0
X_AMD64_WCHAR_LIMITS_H_ = 0
X_BIG_ENDIAN = 4321
X_BSD_INT16_T_ = 0
X_BSD_INT32_T_ = 0
X_BSD_INT64_T_ = 0
X_BSD_INT8_T_ = 0
X_BSD_INTPTR_T_ = 0
X_BSD_UINT16_T_ = 0
X_BSD_UINT32_T_ = 0
X_BSD_UINT64_T_ = 0
X_BSD_UINT8_T_ = 0
X_BSD_UINTPTR_T_ = 0
X_BYTE_ORDER = 1234
X_FILE_OFFSET_BITS = 64
X_LIB_PTHREAD_TYPES_H = 0
X_LITTLE_ENDIAN = 1234
X_LP64 = 1
X_NETBSD_SOURCE = 1
X_PDP_ENDIAN = 3412
X_PT_BARRIERATTR_DEAD = 0xDEAD0808
X_PT_BARRIERATTR_MAGIC = 0x88880808
X_PT_BARRIER_DEAD = 0xDEAD0008
X_PT_BARRIER_MAGIC = 0x88880008
X_PT_CONDATTR_DEAD = 0xDEAD0006
X_PT_CONDATTR_MAGIC = 0x66660006
X_PT_COND_DEAD = 0xDEAD0005
X_PT_COND_MAGIC = 0x55550005
X_PT_MUTEXATTR_DEAD = 0xDEAD0004
X_PT_MUTEXATTR_MAGIC = 0x44440004
X_PT_MUTEX_DEAD = 0xDEAD0003
X_PT_MUTEX_MAGIC = 0x33330003
X_PT_RWLOCKATTR_DEAD = 0xDEAD0909
X_PT_RWLOCKATTR_MAGIC = 0x99990909
X_PT_RWLOCK_DEAD = 0xDEAD0009
X_PT_RWLOCK_MAGIC = 0x99990009
X_PT_SPINLOCK_DEAD = 0xDEAD0007
X_PT_SPINLOCK_MAGIC = 0x77770007
X_PT_SPINLOCK_PSHARED = 0x00000001
X_QUAD_HIGHWORD = 1
X_QUAD_LOWWORD = 0
X_SIZE_T = 0
X_SYS_ANSI_H_ = 0
X_SYS_BSWAP_H_ = 0
X_SYS_CDEFS_ELF_H_ = 0
X_SYS_CDEFS_H_ = 0
X_SYS_COMMON_ANSI_H_ = 0
X_SYS_COMMON_INT_LIMITS_H_ = 0
X_SYS_COMMON_INT_MWGWTYPES_H_ = 0
X_SYS_COMMON_INT_TYPES_H_ = 0
X_SYS_ENDIAN_H_ = 0
X_SYS_FCNTL_H_ = 0
X_SYS_FD_SET_H_ = 0
X_SYS_STDINT_H_ = 0
X_SYS_TYPES_H_ = 0
X_X86_64_BSWAP_H_ = 0
X_X86_64_CDEFS_H_ = 0
X_X86_64_TYPES_H_ = 0
AT_EACCESS = 0x100 // fcntl.h:297:1:
AT_FDCWD = -100 // fcntl.h:296:1:
AT_REMOVEDIR = 0x800 // fcntl.h:300:1:
AT_SYMLINK_FOLLOW = 0x400 // fcntl.h:299:1:
AT_SYMLINK_NOFOLLOW = 0x200 // fcntl.h:298:1:
BIG_ENDIAN = 4321 // endian.h:101:1:
BYTE_ORDER = 1234 // endian.h:103:1:
FAPPEND = 8 // fcntl.h:156:1:
FASYNC = 64 // fcntl.h:157:1:
FD_CLOEXEC = 1 // fcntl.h:199:1:
FD_SETSIZE = 256 // fd_set.h:59:1:
FNDELAY = 4 // fcntl.h:159:1:
FREAD = 0x00000001 // fcntl.h:78:1:
FWRITE = 0x00000002 // fcntl.h:79:1:
F_CLOSEM = 10 // fcntl.h:191:1:
F_DUPFD = 0 // fcntl.h:177:1:
F_DUPFD_CLOEXEC = 12 // fcntl.h:193:1:
F_GETFD = 1 // fcntl.h:178:1:
F_GETFL = 3 // fcntl.h:180:1:
F_GETLK = 7 // fcntl.h:187:1:
F_GETNOSIGPIPE = 13 // fcntl.h:194:1:
F_GETOWN = 5 // fcntl.h:184:1:
F_MAXFD = 11 // fcntl.h:192:1:
F_PARAM_MASK = 0xfff // fcntl.h:213:1:
F_PARAM_MAX = 4095 // fcntl.h:215:1:
F_RDLCK = 1 // fcntl.h:202:1:
F_SETFD = 2 // fcntl.h:179:1:
F_SETFL = 4 // fcntl.h:181:1:
F_SETLK = 8 // fcntl.h:188:1:
F_SETLKW = 9 // fcntl.h:189:1:
F_SETNOSIGPIPE = 14 // fcntl.h:195:1:
F_SETOWN = 6 // fcntl.h:185:1:
F_UNLCK = 2 // fcntl.h:203:1:
F_WRLCK = 3 // fcntl.h:204:1:
INT16_MAX = 32767 // common_int_limits.h:53:1:
INT16_MIN = -32768 // common_int_limits.h:47:1:
INT32_MAX = 2147483647 // common_int_limits.h:54:1:
INT32_MIN = -2147483648 // common_int_limits.h:48:1:
INT64_MAX = 9223372036854775807 // common_int_limits.h:55:1:
INT64_MIN = -9223372036854775808 // common_int_limits.h:49:1:
INT8_MAX = 127 // common_int_limits.h:52:1:
INT8_MIN = -128 // common_int_limits.h:46:1:
INTMAX_MAX = 9223372036854775807 // common_int_limits.h:111:1:
INTMAX_MIN = -9223372036854775808 // common_int_limits.h:110:1:
INTPTR_MAX = 9223372036854775807 // common_int_limits.h:105:1:
INTPTR_MIN = -9223372036854775808 // common_int_limits.h:104:1:
INT_FAST16_MAX = 2147483647 // common_int_limits.h:93:1:
INT_FAST16_MIN = -2147483648 // common_int_limits.h:87:1:
INT_FAST32_MAX = 2147483647 // common_int_limits.h:94:1:
INT_FAST32_MIN = -2147483648 // common_int_limits.h:88:1:
INT_FAST64_MAX = 9223372036854775807 // common_int_limits.h:95:1:
INT_FAST64_MIN = -9223372036854775808 // common_int_limits.h:89:1:
INT_FAST8_MAX = 2147483647 // common_int_limits.h:92:1:
INT_FAST8_MIN = -2147483648 // common_int_limits.h:86:1:
INT_LEAST16_MAX = 32767 // common_int_limits.h:73:1:
INT_LEAST16_MIN = -32768 // common_int_limits.h:67:1:
INT_LEAST32_MAX = 2147483647 // common_int_limits.h:74:1:
INT_LEAST32_MIN = -2147483648 // common_int_limits.h:68:1:
INT_LEAST64_MAX = 9223372036854775807 // common_int_limits.h:75:1:
INT_LEAST64_MIN = -9223372036854775808 // common_int_limits.h:69:1:
INT_LEAST8_MAX = 127 // common_int_limits.h:72:1:
INT_LEAST8_MIN = -128 // common_int_limits.h:66:1:
LITTLE_ENDIAN = 1234 // endian.h:100:1:
LOCK_EX = 0x02 // fcntl.h:264:1:
LOCK_NB = 0x04 // fcntl.h:265:1:
LOCK_SH = 0x01 // fcntl.h:263:1:
LOCK_UN = 0x08 // fcntl.h:266:1:
NBBY = 8 // types.h:316:1:
NFDBITS = 32 // fd_set.h:93:1:
NODEVMAJOR = -1 // types.h:258:1:
O_ACCMODE = 0x00000003 // fcntl.h:67:1:
O_ALT_IO = 0x00040000 // fcntl.h:111:1:
O_APPEND = 0x00000008 // fcntl.h:82:1:
O_ASYNC = 0x00000040 // fcntl.h:86:1:
O_CLOEXEC = 0x00400000 // fcntl.h:116:1:
O_CREAT = 0x00000200 // fcntl.h:97:1:
O_DIRECT = 0x00080000 // fcntl.h:112:1:
O_DIRECTORY = 0x00200000 // fcntl.h:115:1:
O_DSYNC = 0x00010000 // fcntl.h:106:1:
O_EXCL = 0x00000800 // fcntl.h:99:1:
O_EXLOCK = 0x00000020 // fcntl.h:85:1:
O_FSYNC = 128 // fcntl.h:158:1:
O_NDELAY = 4 // fcntl.h:160:1:
O_NOCTTY = 0x00008000 // fcntl.h:102:1:
O_NOFOLLOW = 0x00000100 // fcntl.h:94:1:
O_NONBLOCK = 0x00000004 // fcntl.h:81:1:
O_NOSIGPIPE = 0x01000000 // fcntl.h:122:1:
O_RDONLY = 0x00000000 // fcntl.h:64:1:
O_RDWR = 0x00000002 // fcntl.h:66:1:
O_REGULAR = 0x02000000 // fcntl.h:123:1:
O_RSYNC = 0x00020000 // fcntl.h:107:1:
O_SEARCH = 0x00800000 // fcntl.h:119:1:
O_SHLOCK = 0x00000010 // fcntl.h:84:1:
O_SYNC = 0x00000080 // fcntl.h:91:1:
O_TRUNC = 0x00000400 // fcntl.h:98:1:
O_WRONLY = 0x00000001 // fcntl.h:65:1:
PDP_ENDIAN = 3412 // endian.h:102:1:
POSIX_FADV_DONTNEED = 4 // fcntl.h:288:1:
POSIX_FADV_NOREUSE = 5 // fcntl.h:289:1:
POSIX_FADV_NORMAL = 0 // fcntl.h:284:1:
POSIX_FADV_RANDOM = 1 // fcntl.h:285:1:
POSIX_FADV_SEQUENTIAL = 2 // fcntl.h:286:1:
POSIX_FADV_WILLNEED = 3 // fcntl.h:287:1:
PTRDIFF_MAX = 9223372036854775807 // common_int_limits.h:121:1:
PTRDIFF_MIN = -9223372036854775808 // common_int_limits.h:120:1:
SEEK_CUR = 1 // fcntl.h:274:1:
SEEK_END = 2 // fcntl.h:277:1:
SEEK_SET = 0 // fcntl.h:271:1:
SIG_ATOMIC_MAX = 2147483647 // common_int_limits.h:125:1:
SIG_ATOMIC_MIN = -2147483648 // common_int_limits.h:124:1:
SIZE_MAX = 18446744073709551615 // common_int_limits.h:128:1:
UINT16_MAX = 65535 // common_int_limits.h:59:1:
UINT32_MAX = 4294967295 // common_int_limits.h:60:1:
UINT64_MAX = 18446744073709551615 // common_int_limits.h:61:1:
UINT8_MAX = 255 // common_int_limits.h:58:1:
UINTMAX_MAX = 18446744073709551615 // common_int_limits.h:112:1:
UINTPTR_MAX = 18446744073709551615 // common_int_limits.h:106:1:
UINT_FAST16_MAX = 4294967295 // common_int_limits.h:99:1:
UINT_FAST32_MAX = 4294967295 // common_int_limits.h:100:1:
UINT_FAST64_MAX = 18446744073709551615 // common_int_limits.h:101:1:
UINT_FAST8_MAX = 4294967295 // common_int_limits.h:98:1:
UINT_LEAST16_MAX = 65535 // common_int_limits.h:79:1:
UINT_LEAST32_MAX = 4294967295 // common_int_limits.h:80:1:
UINT_LEAST64_MAX = 18446744073709551615 // common_int_limits.h:81:1:
UINT_LEAST8_MAX = 255 // common_int_limits.h:78:1:
WCHAR_MAX = 0x7fffffff // wchar_limits.h:41:1:
WCHAR_MIN = -2147483648 // wchar_limits.h:40:1:
WINT_MAX = 0x7fffffff // wchar_limits.h:45:1:
WINT_MIN = -2147483648 // wchar_limits.h:44:1:
X_AMD64_BYTE_SWAP_H_ = 0 // byte_swap.h:37:1:
X_AMD64_INT_CONST_H_ = 0 // int_const.h:33:1:
X_AMD64_INT_LIMITS_H_ = 0 // int_limits.h:33:1:
X_AMD64_INT_MWGWTYPES_H_ = 0 // int_mwgwtypes.h:33:1:
X_AMD64_INT_TYPES_H_ = 0 // int_types.h:35:1:
X_AMD64_WCHAR_LIMITS_H_ = 0 // wchar_limits.h:33:1:
X_BIG_ENDIAN = 4321 // endian.h:44:1:
X_BSD_INT16_T_ = 0 // types.h:65:1:
X_BSD_INT32_T_ = 0 // types.h:75:1:
X_BSD_INT64_T_ = 0 // types.h:85:1:
X_BSD_INT8_T_ = 0 // types.h:55:1:
X_BSD_INTPTR_T_ = 0 // stdint.h:80:1:
X_BSD_UINT16_T_ = 0 // types.h:70:1:
X_BSD_UINT32_T_ = 0 // types.h:80:1:
X_BSD_UINT64_T_ = 0 // types.h:90:1:
X_BSD_UINT8_T_ = 0 // types.h:60:1:
X_BSD_UINTPTR_T_ = 0 // stdint.h:85:1:
X_BYTE_ORDER = 1234 // endian_machdep.h:3:1:
X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
X_LIB_PTHREAD_TYPES_H = 0 // pthread_types.h:33:1:
X_LITTLE_ENDIAN = 1234 // endian.h:43:1:
X_LP64 = 1 // <predefined>:268:1:
X_NETBSD_SOURCE = 1 // featuretest.h:70:1:
X_PDP_ENDIAN = 3412 // endian.h:45:1:
X_PT_BARRIERATTR_DEAD = 0xDEAD0808 // pthread_types.h:278:1:
X_PT_BARRIERATTR_MAGIC = 0x88880808 // pthread_types.h:277:1:
X_PT_BARRIER_DEAD = 0xDEAD0008 // pthread_types.h:270:1:
X_PT_BARRIER_MAGIC = 0x88880008 // pthread_types.h:269:1:
X_PT_CONDATTR_DEAD = 0xDEAD0006 // pthread_types.h:197:1:
X_PT_CONDATTR_MAGIC = 0x66660006 // pthread_types.h:196:1:
X_PT_COND_DEAD = 0xDEAD0005 // pthread_types.h:182:1:
X_PT_COND_MAGIC = 0x55550005 // pthread_types.h:181:1:
X_PT_MUTEXATTR_DEAD = 0xDEAD0004 // pthread_types.h:167:1:
X_PT_MUTEXATTR_MAGIC = 0x44440004 // pthread_types.h:166:1:
X_PT_MUTEX_DEAD = 0xDEAD0003 // pthread_types.h:139:1:
X_PT_MUTEX_MAGIC = 0x33330003 // pthread_types.h:138:1:
X_PT_RWLOCKATTR_DEAD = 0xDEAD0909 // pthread_types.h:253:1:
X_PT_RWLOCKATTR_MAGIC = 0x99990909 // pthread_types.h:252:1:
X_PT_RWLOCK_DEAD = 0xDEAD0009 // pthread_types.h:236:1:
X_PT_RWLOCK_MAGIC = 0x99990009 // pthread_types.h:235:1:
X_PT_SPINLOCK_DEAD = 0xDEAD0007 // pthread_types.h:213:1:
X_PT_SPINLOCK_MAGIC = 0x77770007 // pthread_types.h:212:1:
X_PT_SPINLOCK_PSHARED = 0x00000001 // pthread_types.h:214:1:
X_QUAD_HIGHWORD = 1 // endian.h:84:1:
X_QUAD_LOWWORD = 0 // endian.h:85:1:
X_SIZE_T = 0 // types.h:279:1:
X_SYS_ANSI_H_ = 0 // ansi.h:33:1:
X_SYS_BSWAP_H_ = 0 // bswap.h:6:1:
X_SYS_CDEFS_ELF_H_ = 0 // cdefs_elf.h:31:1:
X_SYS_CDEFS_H_ = 0 // cdefs.h:37:1:
X_SYS_COMMON_ANSI_H_ = 0 // common_ansi.h:33:1:
X_SYS_COMMON_INT_LIMITS_H_ = 0 // common_int_limits.h:33:1:
X_SYS_COMMON_INT_MWGWTYPES_H_ = 0 // common_int_mwgwtypes.h:33:1:
X_SYS_COMMON_INT_TYPES_H_ = 0 // common_int_types.h:33:1:
X_SYS_ENDIAN_H_ = 0 // endian.h:35:1:
X_SYS_FCNTL_H_ = 0 // fcntl.h:40:1:
X_SYS_FD_SET_H_ = 0 // fd_set.h:35:1:
X_SYS_STDINT_H_ = 0 // stdint.h:33:1:
X_SYS_TYPES_H_ = 0 // types.h:40:1:
X_X86_64_BSWAP_H_ = 0 // bswap.h:6:1:
X_X86_64_CDEFS_H_ = 0 // cdefs.h:4:1:
X_X86_64_TYPES_H_ = 0 // types.h:35:1:
)
type Ptrdiff_t = int64 /* <builtin>:3:26 */
+95 -95
View File
@@ -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_openbsd_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_openbsd_amd64.go -pkgname fcntl', DO NOT EDIT.
package fcntl
@@ -15,100 +15,100 @@ var _ atomic.Value
var _ unsafe.Pointer
const (
AT_EACCESS = 0x01
AT_FDCWD = -100
AT_REMOVEDIR = 0x08
AT_SYMLINK_FOLLOW = 0x04
AT_SYMLINK_NOFOLLOW = 0x02
BIG_ENDIAN = 4321
BYTE_ORDER = 1234
FAPPEND = 8
FASYNC = 64
FD_CLOEXEC = 1
FFSYNC = 128
FNDELAY = 4
FNONBLOCK = 4
FREAD = 0x0001
FWRITE = 0x0002
F_DUPFD = 0
F_DUPFD_CLOEXEC = 10
F_GETFD = 1
F_GETFL = 3
F_GETLK = 7
F_GETOWN = 5
F_ISATTY = 11
F_RDLCK = 1
F_SETFD = 2
F_SETFL = 4
F_SETLK = 8
F_SETLKW = 9
F_SETOWN = 6
F_UNLCK = 2
F_WRLCK = 3
LITTLE_ENDIAN = 1234
LOCK_EX = 0x02
LOCK_NB = 0x04
LOCK_SH = 0x01
LOCK_UN = 0x08
O_ACCMODE = 0x0003
O_APPEND = 0x0008
O_ASYNC = 0x0040
O_CLOEXEC = 0x10000
O_CREAT = 0x0200
O_DIRECTORY = 0x20000
O_DSYNC = 128
O_EXCL = 0x0800
O_EXLOCK = 0x0020
O_FSYNC = 0x0080
O_NDELAY = 4
O_NOCTTY = 0x8000
O_NOFOLLOW = 0x0100
O_NONBLOCK = 0x0004
O_RDONLY = 0x0000
O_RDWR = 0x0002
O_RSYNC = 128
O_SHLOCK = 0x0010
O_SYNC = 0x0080
O_TRUNC = 0x0400
O_WRONLY = 0x0001
PDP_ENDIAN = 3412
X_BIG_ENDIAN = 4321
X_BYTE_ORDER = 1234
X_CLOCKID_T_DEFINED_ = 0
X_CLOCK_T_DEFINED_ = 0
X_FILE_OFFSET_BITS = 64
X_INT16_T_DEFINED_ = 0
X_INT32_T_DEFINED_ = 0
X_INT64_T_DEFINED_ = 0
X_INT8_T_DEFINED_ = 0
X_LITTLE_ENDIAN = 1234
X_LP64 = 1
X_MACHINE_CDEFS_H_ = 0
X_MACHINE_ENDIAN_H_ = 0
X_MACHINE__TYPES_H_ = 0
X_MAX_PAGE_SHIFT = 12
X_OFF_T_DEFINED_ = 0
X_PDP_ENDIAN = 3412
X_PID_T_DEFINED_ = 0
X_QUAD_HIGHWORD = 1
X_QUAD_LOWWORD = 0
X_RET_PROTECTOR = 1
X_SIZE_T_DEFINED_ = 0
X_SSIZE_T_DEFINED_ = 0
X_STACKALIGNBYTES = 15
X_SYS_CDEFS_H_ = 0
X_SYS_ENDIAN_H_ = 0
X_SYS_FCNTL_H_ = 0
X_SYS_TYPES_H_ = 0
X_SYS__ENDIAN_H_ = 0
X_SYS__TYPES_H_ = 0
X_TIMER_T_DEFINED_ = 0
X_TIME_T_DEFINED_ = 0
X_UINT16_T_DEFINED_ = 0
X_UINT32_T_DEFINED_ = 0
X_UINT64_T_DEFINED_ = 0
X_UINT8_T_DEFINED_ = 0
Unix = 1
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:163:1:
X_CLOCK_T_DEFINED_ = 0 // types.h:158: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: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:193:1:
X_PDP_ENDIAN = 3412 // _endian.h:44:1:
X_PID_T_DEFINED_ = 0 // types.h:168: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_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:188:1:
X_TIME_T_DEFINED_ = 0 // types.h:183: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:
)
type Ptrdiff_t = int64 /* <builtin>:3:26 */
+1 -1
View File
@@ -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_freebsd_386.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_freebsd_386.go -pkgname fts', DO NOT EDIT.
package fts
+1 -1
View File
@@ -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_freebsd_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_freebsd_amd64.go -pkgname fts', DO NOT EDIT.
package fts
+5
View 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_linux_ppc64le.go -pkgname fts', DO NOT EDIT.
package fts
var CAPI = map[string]struct{}{}
+1 -1
View File
@@ -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_netbsd_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_netbsd_amd64.go -pkgname fts', DO NOT EDIT.
package fts
+1 -1
View File
@@ -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_openbsd_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_openbsd_amd64.go -pkgname fts', DO NOT EDIT.
package fts
+215 -215
View File
@@ -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_freebsd_386.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_freebsd_386.go -pkgname fts', DO NOT EDIT.
package fts
@@ -15,220 +15,220 @@ var _ atomic.Value
var _ unsafe.Pointer
const (
ACCESSPERMS = 511
ALLPERMS = 4095
BIG_ENDIAN = 4321
BYTE_ORDER = 1234
CLK_TCK = 128
CLOCKS_PER_SEC = 128
CLOCK_BOOTTIME = 5
CLOCK_MONOTONIC = 4
CLOCK_MONOTONIC_COARSE = 12
CLOCK_MONOTONIC_FAST = 12
CLOCK_MONOTONIC_PRECISE = 11
CLOCK_PROCESS_CPUTIME_ID = 15
CLOCK_PROF = 2
CLOCK_REALTIME = 0
CLOCK_REALTIME_COARSE = 10
CLOCK_REALTIME_FAST = 10
CLOCK_REALTIME_PRECISE = 9
CLOCK_SECOND = 13
CLOCK_THREAD_CPUTIME_ID = 14
CLOCK_UPTIME = 5
CLOCK_UPTIME_FAST = 8
CLOCK_UPTIME_PRECISE = 7
CLOCK_VIRTUAL = 1
CPUCLOCK_WHICH_PID = 0
CPUCLOCK_WHICH_TID = 1
DEFFILEMODE = 438
DST_AUST = 2
DST_CAN = 6
DST_EET = 5
DST_MET = 4
DST_NONE = 0
DST_USA = 1
DST_WET = 3
FD_SETSIZE = 1024
FTS_AGAIN = 1
FTS_COMFOLLOW = 0x001
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_NAMEONLY = 0x100
FTS_NOCHDIR = 0x004
FTS_NOINSTR = 3
FTS_NOSTAT = 0x008
FTS_NS = 10
FTS_NSOK = 11
FTS_OPTIONMASK = 0x0ff
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
ITIMER_PROF = 2
ITIMER_REAL = 0
ITIMER_VIRTUAL = 1
LITTLE_ENDIAN = 1234
PDP_ENDIAN = 3412
SBT_MAX = 0x7fffffffffffffff
SF_APPEND = 0x00040000
SF_ARCHIVED = 0x00010000
SF_IMMUTABLE = 0x00020000
SF_NOUNLINK = 0x00100000
SF_SETTABLE = 0xffff0000
SF_SNAPSHOT = 0x00200000
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 = 0001000
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
TIMER_ABSTIME = 0x1
TIMER_RELTIME = 0x0
TIME_UTC = 1
UF_APPEND = 0x00000004
UF_ARCHIVE = 0x00000800
UF_HIDDEN = 0x00008000
UF_IMMUTABLE = 0x00000002
UF_NODUMP = 0x00000001
UF_NOUNLINK = 0x00000010
UF_OFFLINE = 0x00000200
UF_OPAQUE = 0x00000008
UF_READONLY = 0x00001000
UF_REPARSE = 0x00000400
UF_SETTABLE = 0x0000ffff
UF_SPARSE = 0x00000100
UF_SYSTEM = 0x00000080
UTIME_NOW = -1
UTIME_OMIT = -2
X_ACCMODE_T_DECLARED = 0
X_BIG_ENDIAN = 4321
X_BLKCNT_T_DECLARED = 0
X_BLKSIZE_T_DECLARED = 0
X_BYTE_ORDER = 1234
X_CAP_IOCTL_T_DECLARED = 0
X_CAP_RIGHTS_T_DECLARED = 0
X_CLOCKID_T_DECLARED = 0
X_CLOCK_T_DECLARED = 0
X_DEV_T_DECLARED = 0
X_FFLAGS_T_DECLARED = 0
X_FILE_OFFSET_BITS = 64
X_FSBLKCNT_T_DECLARED = 0
X_FTRUNCATE_DECLARED = 0
X_FTS_H_ = 0
X_GID_T_DECLARED = 0
X_ID_T_DECLARED = 0
X_ILP32 = 1
X_INO_T_DECLARED = 0
X_INT16_T_DECLARED = 0
X_INT32_T_DECLARED = 0
X_INT64_T_DECLARED = 0
X_INT8_T_DECLARED = 0
X_INTMAX_T_DECLARED = 0
X_INTPTR_T_DECLARED = 0
X_IN_ADDR_T_DECLARED = 0
X_IN_PORT_T_DECLARED = 0
X_KEY_T_DECLARED = 0
X_LITTLE_ENDIAN = 1234
X_LOCALE_T_DEFINED = 0
X_LSEEK_DECLARED = 0
X_LWPID_T_DECLARED = 0
X_MACHINE_ENDIAN_H_ = 0
X_MACHINE__LIMITS_H_ = 0
X_MACHINE__TYPES_H_ = 0
X_MKNOD_DECLARED = 0
X_MMAP_DECLARED = 0
X_MODE_T_DECLARED = 0
X_MQD_T_DECLARED = 0
X_NLINK_T_DECLARED = 0
X_Nonnull = 0
X_Null_unspecified = 0
X_Nullable = 0
X_OFF64_T_DECLARED = 0
X_OFF_T_DECLARED = 0
X_PDP_ENDIAN = 3412
X_PID_T_DECLARED = 0
X_PTHREAD_T_DECLARED = 0
X_QUAD_HIGHWORD = 1
X_QUAD_LOWWORD = 0
X_RLIM_T_DECLARED = 0
X_SELECT_DECLARED = 0
X_SIGSET_T_DECLARED = 0
X_SIG_MAXSIG = 128
X_SIG_WORDS = 4
X_SIZE_T_DECLARED = 0
X_SSIZE_T_DECLARED = 0
X_SUSECONDS_T_DECLARED = 0
X_SYS_CDEFS_H_ = 0
X_SYS_SELECT_H_ = 0
X_SYS_STAT_H_ = 0
X_SYS_SYS__CLOCK_ID_H = 0
X_SYS_TIMESPEC_H_ = 0
X_SYS_TIME_H_ = 0
X_SYS_TYPES_H_ = 0
X_SYS__ENDIAN_H_ = 0
X_SYS__PTHREADTYPES_H_ = 0
X_SYS__SIGSET_H_ = 0
X_SYS__STDINT_H_ = 0
X_SYS__TIMESPEC_H_ = 0
X_SYS__TIMEVAL_H_ = 0
X_SYS__TYPES_H_ = 0
X_TIMER_T_DECLARED = 0
X_TIME_H_ = 0
X_TIME_T_DECLARED = 0
X_TRUNCATE_DECLARED = 0
X_UID_T_DECLARED = 0
X_UINT16_T_DECLARED = 0
X_UINT32_T_DECLARED = 0
X_UINT64_T_DECLARED = 0
X_UINT8_T_DECLARED = 0
X_UINTMAX_T_DECLARED = 0
X_UINTPTR_T_DECLARED = 0
X_USECONDS_T_DECLARED = 0
X_XLOCALE_LOCALE1_H = 0
I386 = 1
Unix = 1
ACCESSPERMS = 511 // stat.h:298:1:
ALLPERMS = 4095 // stat.h:300: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: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:
FTS_D = 1 // fts.h:90:1:
FTS_DC = 2 // fts.h:91:1:
FTS_DEFAULT = 3 // fts.h:92:1:
FTS_DNR = 4 // fts.h:93:1:
FTS_DONTCHDIR = 0x01 // fts.h:106:1:
FTS_DOT = 5 // fts.h:94:1:
FTS_DP = 6 // fts.h:95:1:
FTS_ERR = 7 // fts.h:96:1:
FTS_F = 8 // fts.h:97:1:
FTS_FOLLOW = 2 // fts.h:112:1:
FTS_INIT = 9 // fts.h:98:1:
FTS_ISW = 0x04 // fts.h:108:1:
FTS_LOGICAL = 0x002 // fts.h:53:1:
FTS_NAMEONLY = 0x100 // fts.h:62:1:
FTS_NOCHDIR = 0x004 // fts.h:54:1:
FTS_NOINSTR = 3 // fts.h:113:1:
FTS_NOSTAT = 0x008 // fts.h:55:1:
FTS_NS = 10 // fts.h:99:1:
FTS_NSOK = 11 // fts.h:100:1:
FTS_OPTIONMASK = 0x0ff // fts.h:60:1:
FTS_PHYSICAL = 0x010 // fts.h:56:1:
FTS_ROOTLEVEL = 0 // fts.h:87:1:
FTS_ROOTPARENTLEVEL = -1 // fts.h:86:1:
FTS_SEEDOT = 0x020 // fts.h:57:1:
FTS_SKIP = 4 // fts.h:114:1:
FTS_SL = 12 // fts.h:101:1:
FTS_SLNONE = 13 // fts.h:102:1:
FTS_STOP = 0x200 // fts.h:63:1:
FTS_SYMFOLLOW = 0x02 // fts.h:107:1:
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: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:
SF_NOUNLINK = 0x00100000 // stat.h:342:1:
SF_SETTABLE = 0xffff0000 // stat.h:338:1:
SF_SNAPSHOT = 0x00200000 // stat.h:343:1:
S_BLKSIZE = 512 // stat.h:304:1:
S_IEXEC = 64 // stat.h:256:1:
S_IFBLK = 0060000 // stat.h:274:1:
S_IFCHR = 0020000 // stat.h:272:1:
S_IFDIR = 0040000 // stat.h:273:1:
S_IFIFO = 0010000 // stat.h:271:1:
S_IFLNK = 0120000 // stat.h:276:1:
S_IFMT = 0170000 // stat.h:270:1:
S_IFREG = 0100000 // stat.h:275:1:
S_IFSOCK = 0140000 // stat.h:277:1:
S_IFWHT = 0160000 // stat.h:281:1:
S_IREAD = 256 // stat.h:254:1:
S_IRGRP = 0000040 // stat.h:260:1:
S_IROTH = 0000004 // stat.h:265:1:
S_IRUSR = 0000400 // stat.h:249:1:
S_IRWXG = 0000070 // stat.h:259:1:
S_IRWXO = 0000007 // stat.h:264:1:
S_IRWXU = 0000700 // stat.h:248:1:
S_ISGID = 0002000 // stat.h:243:1:
S_ISTXT = 0001000 // stat.h:245:1:
S_ISUID = 0004000 // stat.h:242:1:
S_ISVTX = 0001000 // stat.h:278:1:
S_IWGRP = 0000020 // stat.h:261:1:
S_IWOTH = 0000002 // stat.h:266:1:
S_IWRITE = 128 // stat.h:255:1:
S_IWUSR = 0000200 // stat.h:250:1:
S_IXGRP = 0000010 // stat.h:262:1:
S_IXOTH = 0000001 // stat.h:267:1:
S_IXUSR = 0000100 // stat.h:251: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:
UF_IMMUTABLE = 0x00000002 // stat.h:313:1:
UF_NODUMP = 0x00000001 // stat.h:312:1:
UF_NOUNLINK = 0x00000010 // stat.h:316:1:
UF_OFFLINE = 0x00000200 // stat.h:328:1:
UF_OPAQUE = 0x00000008 // stat.h:315:1:
UF_READONLY = 0x00001000 // stat.h:331:1:
UF_REPARSE = 0x00000400 // stat.h:329:1:
UF_SETTABLE = 0x0000ffff // stat.h:311:1:
UF_SPARSE = 0x00000100 // stat.h:327:1:
UF_SYSTEM = 0x00000080 // stat.h:326:1:
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: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: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:
X_CLOCK_T_DECLARED = 0 // types.h:95:1:
X_DEV_T_DECLARED = 0 // types.h:108:1:
X_FFLAGS_T_DECLARED = 0 // types.h:113:1:
X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
X_FSBLKCNT_T_DECLARED = 0 // types.h:121:1:
X_FTRUNCATE_DECLARED = 0 // types.h:417:1:
X_FTS_H_ = 0 // fts.h:36:1:
X_GID_T_DECLARED = 0 // types.h:126:1:
X_ID_T_DECLARED = 0 // types.h:141:1:
X_ILP32 = 1 // <predefined>:1:1:
X_INO_T_DECLARED = 0 // types.h:146:1:
X_INT16_T_DECLARED = 0 // _stdint.h:42:1:
X_INT32_T_DECLARED = 0 // _stdint.h:47:1:
X_INT64_T_DECLARED = 0 // _stdint.h:52:1:
X_INT8_T_DECLARED = 0 // _stdint.h:37:1:
X_INTMAX_T_DECLARED = 0 // _stdint.h:85:1:
X_INTPTR_T_DECLARED = 0 // _stdint.h:77:1:
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:46:1:
X_LOCALE_T_DEFINED = 0 // _time.h:35: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:
X_MACHINE__LIMITS_H_ = 0 // _limits.h:36:1:
X_MACHINE__TYPES_H_ = 0 // _types.h:42:1:
X_MKNOD_DECLARED = 0 // stat.h:393:1:
X_MMAP_DECLARED = 0 // types.h:425:1:
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: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: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: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:
X_SIG_MAXSIG = 128 // _sigset.h:47:1:
X_SIG_WORDS = 4 // _sigset.h:46:1:
X_SIZE_T_DECLARED = 0 // types.h:202:1:
X_SSIZE_T_DECLARED = 0 // types.h:207:1:
X_SUSECONDS_T_DECLARED = 0 // types.h:212:1:
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:
X_SYS__TIMESPEC_H_ = 0 // _timespec.h:37:1:
X_SYS__TIMEVAL_H_ = 0 // _timeval.h:32:1:
X_SYS__TYPES_H_ = 0 // _types.h:32:1:
X_TIMER_T_DECLARED = 0 // types.h:222:1:
X_TIME_H_ = 0 // time.h:44:1:
X_TIME_T_DECLARED = 0 // types.h:217:1:
X_TRUNCATE_DECLARED = 0 // types.h:429:1:
X_UID_T_DECLARED = 0 // types.h:234:1:
X_UINT16_T_DECLARED = 0 // _stdint.h:62:1:
X_UINT32_T_DECLARED = 0 // _stdint.h:67:1:
X_UINT64_T_DECLARED = 0 // _stdint.h:72:1:
X_UINT8_T_DECLARED = 0 // _stdint.h:57:1:
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:
I386 = 1 // <predefined>:335:1:
Unix = 1 // <predefined>:336:1:
)
type Ptrdiff_t = int32 /* <builtin>:3:26 */
+209 -209
View File
@@ -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_freebsd_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_freebsd_amd64.go -pkgname fts', DO NOT EDIT.
package fts
@@ -15,214 +15,214 @@ var _ atomic.Value
var _ unsafe.Pointer
const (
ACCESSPERMS = 511
ALLPERMS = 4095
BIG_ENDIAN = 4321
BYTE_ORDER = 1234
CLK_TCK = 128
CLOCKS_PER_SEC = 128
CLOCK_MONOTONIC = 4
CLOCK_MONOTONIC_FAST = 12
CLOCK_MONOTONIC_PRECISE = 11
CLOCK_PROCESS_CPUTIME_ID = 15
CLOCK_PROF = 2
CLOCK_REALTIME = 0
CLOCK_REALTIME_FAST = 10
CLOCK_REALTIME_PRECISE = 9
CLOCK_SECOND = 13
CLOCK_THREAD_CPUTIME_ID = 14
CLOCK_UPTIME = 5
CLOCK_UPTIME_FAST = 8
CLOCK_UPTIME_PRECISE = 7
CLOCK_VIRTUAL = 1
CPUCLOCK_WHICH_PID = 0
CPUCLOCK_WHICH_TID = 1
DEFFILEMODE = 438
DST_AUST = 2
DST_CAN = 6
DST_EET = 5
DST_MET = 4
DST_NONE = 0
DST_USA = 1
DST_WET = 3
FD_SETSIZE = 1024
FTS_AGAIN = 1
FTS_COMFOLLOW = 0x001
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_NAMEONLY = 0x100
FTS_NOCHDIR = 0x004
FTS_NOINSTR = 3
FTS_NOSTAT = 0x008
FTS_NS = 10
FTS_NSOK = 11
FTS_OPTIONMASK = 0x0ff
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
ITIMER_PROF = 2
ITIMER_REAL = 0
ITIMER_VIRTUAL = 1
LITTLE_ENDIAN = 1234
PDP_ENDIAN = 3412
SBT_MAX = 0x7fffffffffffffff
SF_APPEND = 0x00040000
SF_ARCHIVED = 0x00010000
SF_IMMUTABLE = 0x00020000
SF_NOUNLINK = 0x00100000
SF_SETTABLE = 0xffff0000
SF_SNAPSHOT = 0x00200000
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 = 0001000
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
TIMER_ABSTIME = 0x1
TIMER_RELTIME = 0x0
TIME_UTC = 1
UF_APPEND = 0x00000004
UF_ARCHIVE = 0x00000800
UF_HIDDEN = 0x00008000
UF_IMMUTABLE = 0x00000002
UF_NODUMP = 0x00000001
UF_NOUNLINK = 0x00000010
UF_OFFLINE = 0x00000200
UF_OPAQUE = 0x00000008
UF_READONLY = 0x00001000
UF_REPARSE = 0x00000400
UF_SETTABLE = 0x0000ffff
UF_SPARSE = 0x00000100
UF_SYSTEM = 0x00000080
UTIME_NOW = -1
UTIME_OMIT = -2
X_ACCMODE_T_DECLARED = 0
X_BIG_ENDIAN = 4321
X_BLKCNT_T_DECLARED = 0
X_BLKSIZE_T_DECLARED = 0
X_BYTE_ORDER = 1234
X_CAP_IOCTL_T_DECLARED = 0
X_CAP_RIGHTS_T_DECLARED = 0
X_CLOCKID_T_DECLARED = 0
X_CLOCK_T_DECLARED = 0
X_DEV_T_DECLARED = 0
X_FFLAGS_T_DECLARED = 0
X_FILE_OFFSET_BITS = 64
X_FSBLKCNT_T_DECLARED = 0
X_FTRUNCATE_DECLARED = 0
X_FTS_H_ = 0
X_GID_T_DECLARED = 0
X_ID_T_DECLARED = 0
X_INO_T_DECLARED = 0
X_INT16_T_DECLARED = 0
X_INT32_T_DECLARED = 0
X_INT64_T_DECLARED = 0
X_INT8_T_DECLARED = 0
X_INTMAX_T_DECLARED = 0
X_INTPTR_T_DECLARED = 0
X_IN_ADDR_T_DECLARED = 0
X_IN_PORT_T_DECLARED = 0
X_KEY_T_DECLARED = 0
X_LITTLE_ENDIAN = 1234
X_LOCALE_T_DEFINED = 0
X_LP64 = 1
X_LSEEK_DECLARED = 0
X_LWPID_T_DECLARED = 0
X_MACHINE_ENDIAN_H_ = 0
X_MACHINE__LIMITS_H_ = 0
X_MACHINE__TYPES_H_ = 0
X_MKNOD_DECLARED = 0
X_MMAP_DECLARED = 0
X_MODE_T_DECLARED = 0
X_MQD_T_DECLARED = 0
X_NLINK_T_DECLARED = 0
X_Nonnull = 0
X_Null_unspecified = 0
X_Nullable = 0
X_OFF64_T_DECLARED = 0
X_OFF_T_DECLARED = 0
X_PDP_ENDIAN = 3412
X_PID_T_DECLARED = 0
X_PTHREAD_T_DECLARED = 0
X_QUAD_HIGHWORD = 1
X_QUAD_LOWWORD = 0
X_RLIM_T_DECLARED = 0
X_SELECT_DECLARED = 0
X_SIGSET_T_DECLARED = 0
X_SIG_MAXSIG = 128
X_SIG_WORDS = 4
X_SIZE_T_DECLARED = 0
X_SSIZE_T_DECLARED = 0
X_SUSECONDS_T_DECLARED = 0
X_SYS_CDEFS_H_ = 0
X_SYS_SELECT_H_ = 0
X_SYS_STAT_H_ = 0
X_SYS_TIMESPEC_H_ = 0
X_SYS_TIME_H_ = 0
X_SYS_TYPES_H_ = 0
X_SYS__PTHREADTYPES_H_ = 0
X_SYS__SIGSET_H_ = 0
X_SYS__STDINT_H_ = 0
X_SYS__TIMESPEC_H_ = 0
X_SYS__TIMEVAL_H_ = 0
X_SYS__TYPES_H_ = 0
X_TIMER_T_DECLARED = 0
X_TIME_H_ = 0
X_TIME_T_DECLARED = 0
X_TRUNCATE_DECLARED = 0
X_UID_T_DECLARED = 0
X_UINT16_T_DECLARED = 0
X_UINT32_T_DECLARED = 0
X_UINT64_T_DECLARED = 0
X_UINT8_T_DECLARED = 0
X_UINTMAX_T_DECLARED = 0
X_UINTPTR_T_DECLARED = 0
X_USECONDS_T_DECLARED = 0
X_XLOCALE_LOCALE1_H = 0
Unix = 1
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:
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:
FD_SETSIZE = 1024 // select.h:61:1:
FTS_AGAIN = 1 // fts.h:111:1:
FTS_COMFOLLOW = 0x001 // fts.h:52:1:
FTS_D = 1 // fts.h:90:1:
FTS_DC = 2 // fts.h:91:1:
FTS_DEFAULT = 3 // fts.h:92:1:
FTS_DNR = 4 // fts.h:93:1:
FTS_DONTCHDIR = 0x01 // fts.h:106:1:
FTS_DOT = 5 // fts.h:94:1:
FTS_DP = 6 // fts.h:95:1:
FTS_ERR = 7 // fts.h:96:1:
FTS_F = 8 // fts.h:97:1:
FTS_FOLLOW = 2 // fts.h:112:1:
FTS_INIT = 9 // fts.h:98:1:
FTS_ISW = 0x04 // fts.h:108:1:
FTS_LOGICAL = 0x002 // fts.h:53:1:
FTS_NAMEONLY = 0x100 // fts.h:62:1:
FTS_NOCHDIR = 0x004 // fts.h:54:1:
FTS_NOINSTR = 3 // fts.h:113:1:
FTS_NOSTAT = 0x008 // fts.h:55:1:
FTS_NS = 10 // fts.h:99:1:
FTS_NSOK = 11 // fts.h:100:1:
FTS_OPTIONMASK = 0x0ff // fts.h:60:1:
FTS_PHYSICAL = 0x010 // fts.h:56:1:
FTS_ROOTLEVEL = 0 // fts.h:87:1:
FTS_ROOTPARENTLEVEL = -1 // fts.h:86:1:
FTS_SEEDOT = 0x020 // fts.h:57:1:
FTS_SKIP = 4 // fts.h:114:1:
FTS_SL = 12 // fts.h:101:1:
FTS_SLNONE = 13 // fts.h:102:1:
FTS_STOP = 0x200 // fts.h:63:1:
FTS_SYMFOLLOW = 0x02 // fts.h:107:1:
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:
SF_APPEND = 0x00040000 // stat.h:341:1:
SF_ARCHIVED = 0x00010000 // stat.h:339:1:
SF_IMMUTABLE = 0x00020000 // stat.h:340:1:
SF_NOUNLINK = 0x00100000 // stat.h:342:1:
SF_SETTABLE = 0xffff0000 // stat.h:338:1:
SF_SNAPSHOT = 0x00200000 // stat.h:343:1:
S_BLKSIZE = 512 // stat.h:304:1:
S_IEXEC = 64 // stat.h:256:1:
S_IFBLK = 0060000 // stat.h:274:1:
S_IFCHR = 0020000 // stat.h:272:1:
S_IFDIR = 0040000 // stat.h:273:1:
S_IFIFO = 0010000 // stat.h:271:1:
S_IFLNK = 0120000 // stat.h:276:1:
S_IFMT = 0170000 // stat.h:270:1:
S_IFREG = 0100000 // stat.h:275:1:
S_IFSOCK = 0140000 // stat.h:277:1:
S_IFWHT = 0160000 // stat.h:281:1:
S_IREAD = 256 // stat.h:254:1:
S_IRGRP = 0000040 // stat.h:260:1:
S_IROTH = 0000004 // stat.h:265:1:
S_IRUSR = 0000400 // stat.h:249:1:
S_IRWXG = 0000070 // stat.h:259:1:
S_IRWXO = 0000007 // stat.h:264:1:
S_IRWXU = 0000700 // stat.h:248:1:
S_ISGID = 0002000 // stat.h:243:1:
S_ISTXT = 0001000 // stat.h:245:1:
S_ISUID = 0004000 // stat.h:242:1:
S_ISVTX = 0001000 // stat.h:278:1:
S_IWGRP = 0000020 // stat.h:261:1:
S_IWOTH = 0000002 // stat.h:266:1:
S_IWRITE = 128 // stat.h:255:1:
S_IWUSR = 0000200 // stat.h:250:1:
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:
UF_APPEND = 0x00000004 // stat.h:314:1:
UF_ARCHIVE = 0x00000800 // stat.h:330:1:
UF_HIDDEN = 0x00008000 // stat.h:333:1:
UF_IMMUTABLE = 0x00000002 // stat.h:313:1:
UF_NODUMP = 0x00000001 // stat.h:312:1:
UF_NOUNLINK = 0x00000010 // stat.h:316:1:
UF_OFFLINE = 0x00000200 // stat.h:328:1:
UF_OPAQUE = 0x00000008 // stat.h:315:1:
UF_READONLY = 0x00001000 // stat.h:331:1:
UF_REPARSE = 0x00000400 // stat.h:329:1:
UF_SETTABLE = 0x0000ffff // stat.h:311:1:
UF_SPARSE = 0x00000100 // stat.h:327:1:
UF_SYSTEM = 0x00000080 // stat.h:326:1:
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_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_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:
X_CLOCK_T_DECLARED = 0 // types.h:95:1:
X_DEV_T_DECLARED = 0 // types.h:108:1:
X_FFLAGS_T_DECLARED = 0 // types.h:113:1:
X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
X_FSBLKCNT_T_DECLARED = 0 // types.h:121:1:
X_FTRUNCATE_DECLARED = 0 // types.h:417:1:
X_FTS_H_ = 0 // fts.h:36:1:
X_GID_T_DECLARED = 0 // types.h:126:1:
X_ID_T_DECLARED = 0 // types.h:141:1:
X_INO_T_DECLARED = 0 // types.h:146:1:
X_INT16_T_DECLARED = 0 // _stdint.h:42:1:
X_INT32_T_DECLARED = 0 // _stdint.h:47:1:
X_INT64_T_DECLARED = 0 // _stdint.h:52:1:
X_INT8_T_DECLARED = 0 // _stdint.h:37:1:
X_INTMAX_T_DECLARED = 0 // _stdint.h:85:1:
X_INTPTR_T_DECLARED = 0 // _stdint.h:77:1:
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_LP64 = 1 // <predefined>:1: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:
X_MACHINE__LIMITS_H_ = 0 // _limits.h:36:1:
X_MACHINE__TYPES_H_ = 0 // _types.h:42:1:
X_MKNOD_DECLARED = 0 // stat.h:393:1:
X_MMAP_DECLARED = 0 // types.h:425:1:
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_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_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_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:
X_SIG_MAXSIG = 128 // _sigset.h:47:1:
X_SIG_WORDS = 4 // _sigset.h:46:1:
X_SIZE_T_DECLARED = 0 // types.h:202:1:
X_SSIZE_T_DECLARED = 0 // types.h:207:1:
X_SUSECONDS_T_DECLARED = 0 // types.h:212:1:
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_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__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:
X_SYS__TIMESPEC_H_ = 0 // _timespec.h:37:1:
X_SYS__TIMEVAL_H_ = 0 // _timeval.h:32:1:
X_SYS__TYPES_H_ = 0 // _types.h:32:1:
X_TIMER_T_DECLARED = 0 // types.h:222:1:
X_TIME_H_ = 0 // time.h:44:1:
X_TIME_T_DECLARED = 0 // types.h:217:1:
X_TRUNCATE_DECLARED = 0 // types.h:429:1:
X_UID_T_DECLARED = 0 // types.h:234:1:
X_UINT16_T_DECLARED = 0 // _stdint.h:62:1:
X_UINT32_T_DECLARED = 0 // _stdint.h:67:1:
X_UINT64_T_DECLARED = 0 // _stdint.h:72:1:
X_UINT8_T_DECLARED = 0 // _stdint.h:57:1:
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:
)
type Ptrdiff_t = int64 /* <builtin>:3:26 */
+1911
View File
File diff suppressed because it is too large Load Diff
+238 -238
View File
@@ -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_netbsd_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_netbsd_amd64.go -pkgname fts', DO NOT EDIT.
package fts
@@ -15,243 +15,243 @@ var _ atomic.Value
var _ unsafe.Pointer
const (
ACCESSPERMS = 511
ALLPERMS = 4095
BIG_ENDIAN = 4321
BYTE_ORDER = 1234
CLOCKS_PER_SEC = 100
CLOCK_MONOTONIC = 3
CLOCK_PROCESS_CPUTIME_ID = 0x40000000
CLOCK_PROF = 2
CLOCK_REALTIME = 0
CLOCK_THREAD_CPUTIME_ID = 0x20000000
CLOCK_VIRTUAL = 1
DEFFILEMODE = 438
FD_SETSIZE = 256
FTS_AGAIN = 1
FTS_COMFOLLOW = 0x001
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_NAMEONLY = 0x100
FTS_NOCHDIR = 0x004
FTS_NOINSTR = 3
FTS_NOSTAT = 0x008
FTS_NS = 10
FTS_NSOK = 11
FTS_OPTIONMASK = 0x0ff
FTS_PHYSICAL = 0x010
FTS_ROOTLEVEL = 0
FTS_ROOTPARENTLEVEL = -1
FTS_SEEDOT = 0x020
FTS_SKIP = 4
FTS_SL = 12
FTS_SLNONE = 13
FTS_STOP = 0x200
FTS_SYMFOLLOW = 0x02
FTS_W = 14
FTS_WHITEOUT = 0x080
FTS_XDEV = 0x040
INT16_MAX = 32767
INT16_MIN = -32768
INT32_MAX = 2147483647
INT32_MIN = -2147483648
INT64_MAX = 9223372036854775807
INT64_MIN = -9223372036854775808
INT8_MAX = 127
INT8_MIN = -128
INTMAX_MAX = 9223372036854775807
INTMAX_MIN = -9223372036854775808
INTPTR_MAX = 9223372036854775807
INTPTR_MIN = -9223372036854775808
INT_FAST16_MAX = 2147483647
INT_FAST16_MIN = -2147483648
INT_FAST32_MAX = 2147483647
INT_FAST32_MIN = -2147483648
INT_FAST64_MAX = 9223372036854775807
INT_FAST64_MIN = -9223372036854775808
INT_FAST8_MAX = 2147483647
INT_FAST8_MIN = -2147483648
INT_LEAST16_MAX = 32767
INT_LEAST16_MIN = -32768
INT_LEAST32_MAX = 2147483647
INT_LEAST32_MIN = -2147483648
INT_LEAST64_MAX = 9223372036854775807
INT_LEAST64_MIN = -9223372036854775808
INT_LEAST8_MAX = 127
INT_LEAST8_MIN = -128
ITIMER_MONOTONIC = 3
ITIMER_PROF = 2
ITIMER_REAL = 0
ITIMER_VIRTUAL = 1
LITTLE_ENDIAN = 1234
NBBY = 8
NFDBITS = 32
NODEVMAJOR = -1
PDP_ENDIAN = 3412
PTRDIFF_MAX = 9223372036854775807
PTRDIFF_MIN = -9223372036854775808
SF_APPEND = 0x00040000
SF_ARCHIVED = 0x00010000
SF_IMMUTABLE = 0x00020000
SF_LOG = 0x00400000
SF_SETTABLE = 0xffff0000
SF_SNAPINVAL = 0x00800000
SF_SNAPSHOT = 0x00200000
SIG_ATOMIC_MAX = 2147483647
SIG_ATOMIC_MIN = -2147483648
SIZE_MAX = 18446744073709551615
S_ARCH1 = 65536
S_ARCH2 = 131072
S_BLKSIZE = 512
S_IEXEC = 64
S_IFBLK = 24576
S_IFCHR = 8192
S_IFDIR = 16384
S_IFIFO = 4096
S_IFLNK = 40960
S_IFMT = 61440
S_IFREG = 32768
S_IFSOCK = 49152
S_IFWHT = 57344
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 = 0001000
S_ISUID = 0004000
S_ISVTX = 512
S_IWGRP = 0000020
S_IWOTH = 0000002
S_IWRITE = 128
S_IWUSR = 0000200
S_IXGRP = 0000010
S_IXOTH = 0000001
S_IXUSR = 0000100
TIMER_ABSTIME = 0x1
TIMER_RELTIME = 0x0
TIME_UTC = 1
UF_APPEND = 0x00000004
UF_IMMUTABLE = 0x00000002
UF_NODUMP = 0x00000001
UF_OPAQUE = 0x00000008
UF_SETTABLE = 0x0000ffff
UINT16_MAX = 65535
UINT32_MAX = 4294967295
UINT64_MAX = 18446744073709551615
UINT8_MAX = 255
UINTMAX_MAX = 18446744073709551615
UINTPTR_MAX = 18446744073709551615
UINT_FAST16_MAX = 4294967295
UINT_FAST32_MAX = 4294967295
UINT_FAST64_MAX = 18446744073709551615
UINT_FAST8_MAX = 4294967295
UINT_LEAST16_MAX = 65535
UINT_LEAST32_MAX = 4294967295
UINT_LEAST64_MAX = 18446744073709551615
UINT_LEAST8_MAX = 255
UTIME_NOW = 1073741823
UTIME_OMIT = 1073741822
WCHAR_MAX = 0x7fffffff
WCHAR_MIN = -2147483648
WINT_MAX = 0x7fffffff
WINT_MIN = -2147483648
X_AMD64_BYTE_SWAP_H_ = 0
X_AMD64_INT_CONST_H_ = 0
X_AMD64_INT_LIMITS_H_ = 0
X_AMD64_INT_MWGWTYPES_H_ = 0
X_AMD64_INT_TYPES_H_ = 0
X_AMD64_WCHAR_LIMITS_H_ = 0
X_BIG_ENDIAN = 4321
X_BSD_INT16_T_ = 0
X_BSD_INT32_T_ = 0
X_BSD_INT64_T_ = 0
X_BSD_INT8_T_ = 0
X_BSD_INTPTR_T_ = 0
X_BSD_UINT16_T_ = 0
X_BSD_UINT32_T_ = 0
X_BSD_UINT64_T_ = 0
X_BSD_UINT8_T_ = 0
X_BSD_UINTPTR_T_ = 0
X_BYTE_ORDER = 1234
X_FILE_OFFSET_BITS = 64
X_FTS_H_ = 0
X_LIB_PTHREAD_TYPES_H = 0
X_LITTLE_ENDIAN = 1234
X_LP64 = 1
X_NETBSD_SOURCE = 1
X_PDP_ENDIAN = 3412
X_PT_BARRIERATTR_DEAD = 0xDEAD0808
X_PT_BARRIERATTR_MAGIC = 0x88880808
X_PT_BARRIER_DEAD = 0xDEAD0008
X_PT_BARRIER_MAGIC = 0x88880008
X_PT_CONDATTR_DEAD = 0xDEAD0006
X_PT_CONDATTR_MAGIC = 0x66660006
X_PT_COND_DEAD = 0xDEAD0005
X_PT_COND_MAGIC = 0x55550005
X_PT_MUTEXATTR_DEAD = 0xDEAD0004
X_PT_MUTEXATTR_MAGIC = 0x44440004
X_PT_MUTEX_DEAD = 0xDEAD0003
X_PT_MUTEX_MAGIC = 0x33330003
X_PT_RWLOCKATTR_DEAD = 0xDEAD0909
X_PT_RWLOCKATTR_MAGIC = 0x99990909
X_PT_RWLOCK_DEAD = 0xDEAD0009
X_PT_RWLOCK_MAGIC = 0x99990009
X_PT_SPINLOCK_DEAD = 0xDEAD0007
X_PT_SPINLOCK_MAGIC = 0x77770007
X_PT_SPINLOCK_PSHARED = 0x00000001
X_QUAD_HIGHWORD = 1
X_QUAD_LOWWORD = 0
X_SIZE_T = 0
X_SYS_ANSI_H_ = 0
X_SYS_BSWAP_H_ = 0
X_SYS_CDEFS_ELF_H_ = 0
X_SYS_CDEFS_H_ = 0
X_SYS_COMMON_ANSI_H_ = 0
X_SYS_COMMON_INT_LIMITS_H_ = 0
X_SYS_COMMON_INT_MWGWTYPES_H_ = 0
X_SYS_COMMON_INT_TYPES_H_ = 0
X_SYS_ENDIAN_H_ = 0
X_SYS_FD_SET_H_ = 0
X_SYS_IDTYPE_H_ = 0
X_SYS_NULL_H_ = 0
X_SYS_SELECT_H_ = 0
X_SYS_SIGTYPES_H_ = 0
X_SYS_STAT_H_ = 0
X_SYS_STDINT_H_ = 0
X_SYS_TIMESPEC_H_ = 0
X_SYS_TIME_H_ = 0
X_SYS_TYPES_H_ = 0
X_S_ARCH1 = 0200000
X_S_ARCH2 = 0400000
X_S_IFBLK = 0060000
X_S_IFCHR = 0020000
X_S_IFDIR = 0040000
X_S_IFIFO = 0010000
X_S_IFLNK = 0120000
X_S_IFMT = 0170000
X_S_IFREG = 0100000
X_S_IFSOCK = 0140000
X_S_IFWHT = 0160000
X_S_ISVTX = 0001000
X_TIME_H_ = 0
X_X86_64_BSWAP_H_ = 0
X_X86_64_CDEFS_H_ = 0
X_X86_64_TYPES_H_ = 0
ACCESSPERMS = 511 // stat.h:189:1:
ALLPERMS = 4095 // stat.h:191:1:
BIG_ENDIAN = 4321 // endian.h:101:1:
BYTE_ORDER = 1234 // endian.h:103:1:
CLOCKS_PER_SEC = 100 // time.h:73:1:
CLOCK_MONOTONIC = 3 // time.h:297:1:
CLOCK_PROCESS_CPUTIME_ID = 0x40000000 // time.h:299:1:
CLOCK_PROF = 2 // time.h:296:1:
CLOCK_REALTIME = 0 // time.h:294:1:
CLOCK_THREAD_CPUTIME_ID = 0x20000000 // time.h:298:1:
CLOCK_VIRTUAL = 1 // time.h:295:1:
DEFFILEMODE = 438 // stat.h:193:1:
FD_SETSIZE = 256 // fd_set.h:59:1:
FTS_AGAIN = 1 // fts.h:128:1:
FTS_COMFOLLOW = 0x001 // fts.h:71:1:
FTS_D = 1 // fts.h:107:1:
FTS_DC = 2 // fts.h:108:1:
FTS_DEFAULT = 3 // fts.h:109:1:
FTS_DNR = 4 // fts.h:110:1:
FTS_DONTCHDIR = 0x01 // fts.h:123:1:
FTS_DOT = 5 // fts.h:111:1:
FTS_DP = 6 // fts.h:112:1:
FTS_ERR = 7 // fts.h:113:1:
FTS_F = 8 // fts.h:114:1:
FTS_FOLLOW = 2 // fts.h:129:1:
FTS_INIT = 9 // fts.h:115:1:
FTS_ISW = 0x04 // fts.h:125:1:
FTS_LOGICAL = 0x002 // fts.h:72:1:
FTS_NAMEONLY = 0x100 // fts.h:81:1:
FTS_NOCHDIR = 0x004 // fts.h:73:1:
FTS_NOINSTR = 3 // fts.h:130:1:
FTS_NOSTAT = 0x008 // fts.h:74:1:
FTS_NS = 10 // fts.h:116:1:
FTS_NSOK = 11 // fts.h:117:1:
FTS_OPTIONMASK = 0x0ff // fts.h:79:1:
FTS_PHYSICAL = 0x010 // fts.h:75:1:
FTS_ROOTLEVEL = 0 // fts.h:104:1:
FTS_ROOTPARENTLEVEL = -1 // fts.h:103:1:
FTS_SEEDOT = 0x020 // fts.h:76:1:
FTS_SKIP = 4 // fts.h:131:1:
FTS_SL = 12 // fts.h:118:1:
FTS_SLNONE = 13 // fts.h:119:1:
FTS_STOP = 0x200 // fts.h:82:1:
FTS_SYMFOLLOW = 0x02 // fts.h:124:1:
FTS_W = 14 // fts.h:120:1:
FTS_WHITEOUT = 0x080 // fts.h:78:1:
FTS_XDEV = 0x040 // fts.h:77:1:
INT16_MAX = 32767 // common_int_limits.h:53:1:
INT16_MIN = -32768 // common_int_limits.h:47:1:
INT32_MAX = 2147483647 // common_int_limits.h:54:1:
INT32_MIN = -2147483648 // common_int_limits.h:48:1:
INT64_MAX = 9223372036854775807 // common_int_limits.h:55:1:
INT64_MIN = -9223372036854775808 // common_int_limits.h:49:1:
INT8_MAX = 127 // common_int_limits.h:52:1:
INT8_MIN = -128 // common_int_limits.h:46:1:
INTMAX_MAX = 9223372036854775807 // common_int_limits.h:111:1:
INTMAX_MIN = -9223372036854775808 // common_int_limits.h:110:1:
INTPTR_MAX = 9223372036854775807 // common_int_limits.h:105:1:
INTPTR_MIN = -9223372036854775808 // common_int_limits.h:104:1:
INT_FAST16_MAX = 2147483647 // common_int_limits.h:93:1:
INT_FAST16_MIN = -2147483648 // common_int_limits.h:87:1:
INT_FAST32_MAX = 2147483647 // common_int_limits.h:94:1:
INT_FAST32_MIN = -2147483648 // common_int_limits.h:88:1:
INT_FAST64_MAX = 9223372036854775807 // common_int_limits.h:95:1:
INT_FAST64_MIN = -9223372036854775808 // common_int_limits.h:89:1:
INT_FAST8_MAX = 2147483647 // common_int_limits.h:92:1:
INT_FAST8_MIN = -2147483648 // common_int_limits.h:86:1:
INT_LEAST16_MAX = 32767 // common_int_limits.h:73:1:
INT_LEAST16_MIN = -32768 // common_int_limits.h:67:1:
INT_LEAST32_MAX = 2147483647 // common_int_limits.h:74:1:
INT_LEAST32_MIN = -2147483648 // common_int_limits.h:68:1:
INT_LEAST64_MAX = 9223372036854775807 // common_int_limits.h:75:1:
INT_LEAST64_MIN = -9223372036854775808 // common_int_limits.h:69:1:
INT_LEAST8_MAX = 127 // common_int_limits.h:72:1:
INT_LEAST8_MIN = -128 // common_int_limits.h:66:1:
ITIMER_MONOTONIC = 3 // time.h:278:1:
ITIMER_PROF = 2 // time.h:277:1:
ITIMER_REAL = 0 // time.h:275:1:
ITIMER_VIRTUAL = 1 // time.h:276:1:
LITTLE_ENDIAN = 1234 // endian.h:100:1:
NBBY = 8 // types.h:316:1:
NFDBITS = 32 // fd_set.h:93:1:
NODEVMAJOR = -1 // types.h:258:1:
PDP_ENDIAN = 3412 // endian.h:102:1:
PTRDIFF_MAX = 9223372036854775807 // common_int_limits.h:121:1:
PTRDIFF_MIN = -9223372036854775808 // common_int_limits.h:120:1:
SF_APPEND = 0x00040000 // stat.h:214:1:
SF_ARCHIVED = 0x00010000 // stat.h:212:1:
SF_IMMUTABLE = 0x00020000 // stat.h:213:1:
SF_LOG = 0x00400000 // stat.h:217:1:
SF_SETTABLE = 0xffff0000 // stat.h:211:1:
SF_SNAPINVAL = 0x00800000 // stat.h:218:1:
SF_SNAPSHOT = 0x00200000 // stat.h:216:1:
SIG_ATOMIC_MAX = 2147483647 // common_int_limits.h:125:1:
SIG_ATOMIC_MIN = -2147483648 // common_int_limits.h:124:1:
SIZE_MAX = 18446744073709551615 // common_int_limits.h:128:1:
S_ARCH1 = 65536 // stat.h:167:1:
S_ARCH2 = 131072 // stat.h:168:1:
S_BLKSIZE = 512 // stat.h:195:1:
S_IEXEC = 64 // stat.h:125:1:
S_IFBLK = 24576 // stat.h:156:1:
S_IFCHR = 8192 // stat.h:154:1:
S_IFDIR = 16384 // stat.h:155:1:
S_IFIFO = 4096 // stat.h:153:1:
S_IFLNK = 40960 // stat.h:158:1:
S_IFMT = 61440 // stat.h:152:1:
S_IFREG = 32768 // stat.h:157:1:
S_IFSOCK = 49152 // stat.h:162:1:
S_IFWHT = 57344 // stat.h:165:1:
S_IREAD = 256 // stat.h:123:1:
S_IRGRP = 0000040 // stat.h:129:1:
S_IROTH = 0000004 // stat.h:134:1:
S_IRUSR = 0000400 // stat.h:118:1:
S_IRWXG = 0000070 // stat.h:128:1:
S_IRWXO = 0000007 // stat.h:133:1:
S_IRWXU = 0000700 // stat.h:117:1:
S_ISGID = 0002000 // stat.h:112:1:
S_ISTXT = 0001000 // stat.h:114:1:
S_ISUID = 0004000 // stat.h:111:1:
S_ISVTX = 512 // stat.h:159:1:
S_IWGRP = 0000020 // stat.h:130:1:
S_IWOTH = 0000002 // stat.h:135:1:
S_IWRITE = 128 // stat.h:124:1:
S_IWUSR = 0000200 // stat.h:119:1:
S_IXGRP = 0000010 // stat.h:131:1:
S_IXOTH = 0000001 // stat.h:136:1:
S_IXUSR = 0000100 // stat.h:120:1:
TIMER_ABSTIME = 0x1 // time.h:304:1:
TIMER_RELTIME = 0x0 // time.h:302:1:
TIME_UTC = 1 // time.h:238:1:
UF_APPEND = 0x00000004 // stat.h:205:1:
UF_IMMUTABLE = 0x00000002 // stat.h:204:1:
UF_NODUMP = 0x00000001 // stat.h:203:1:
UF_OPAQUE = 0x00000008 // stat.h:206:1:
UF_SETTABLE = 0x0000ffff // stat.h:202:1:
UINT16_MAX = 65535 // common_int_limits.h:59:1:
UINT32_MAX = 4294967295 // common_int_limits.h:60:1:
UINT64_MAX = 18446744073709551615 // common_int_limits.h:61:1:
UINT8_MAX = 255 // common_int_limits.h:58:1:
UINTMAX_MAX = 18446744073709551615 // common_int_limits.h:112:1:
UINTPTR_MAX = 18446744073709551615 // common_int_limits.h:106:1:
UINT_FAST16_MAX = 4294967295 // common_int_limits.h:99:1:
UINT_FAST32_MAX = 4294967295 // common_int_limits.h:100:1:
UINT_FAST64_MAX = 18446744073709551615 // common_int_limits.h:101:1:
UINT_FAST8_MAX = 4294967295 // common_int_limits.h:98:1:
UINT_LEAST16_MAX = 65535 // common_int_limits.h:79:1:
UINT_LEAST32_MAX = 4294967295 // common_int_limits.h:80:1:
UINT_LEAST64_MAX = 18446744073709551615 // common_int_limits.h:81:1:
UINT_LEAST8_MAX = 255 // common_int_limits.h:78:1:
UTIME_NOW = 1073741823 // stat.h:235:1:
UTIME_OMIT = 1073741822 // stat.h:236:1:
WCHAR_MAX = 0x7fffffff // wchar_limits.h:41:1:
WCHAR_MIN = -2147483648 // wchar_limits.h:40:1:
WINT_MAX = 0x7fffffff // wchar_limits.h:45:1:
WINT_MIN = -2147483648 // wchar_limits.h:44:1:
X_AMD64_BYTE_SWAP_H_ = 0 // byte_swap.h:37:1:
X_AMD64_INT_CONST_H_ = 0 // int_const.h:33:1:
X_AMD64_INT_LIMITS_H_ = 0 // int_limits.h:33:1:
X_AMD64_INT_MWGWTYPES_H_ = 0 // int_mwgwtypes.h:33:1:
X_AMD64_INT_TYPES_H_ = 0 // int_types.h:35:1:
X_AMD64_WCHAR_LIMITS_H_ = 0 // wchar_limits.h:33:1:
X_BIG_ENDIAN = 4321 // endian.h:44:1:
X_BSD_INT16_T_ = 0 // types.h:65:1:
X_BSD_INT32_T_ = 0 // types.h:75:1:
X_BSD_INT64_T_ = 0 // types.h:85:1:
X_BSD_INT8_T_ = 0 // types.h:55:1:
X_BSD_INTPTR_T_ = 0 // stdint.h:80:1:
X_BSD_UINT16_T_ = 0 // types.h:70:1:
X_BSD_UINT32_T_ = 0 // types.h:80:1:
X_BSD_UINT64_T_ = 0 // types.h:90:1:
X_BSD_UINT8_T_ = 0 // types.h:60:1:
X_BSD_UINTPTR_T_ = 0 // stdint.h:85:1:
X_BYTE_ORDER = 1234 // endian_machdep.h:3:1:
X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
X_FTS_H_ = 0 // fts.h:35:1:
X_LIB_PTHREAD_TYPES_H = 0 // pthread_types.h:33:1:
X_LITTLE_ENDIAN = 1234 // endian.h:43:1:
X_LP64 = 1 // <predefined>:268:1:
X_NETBSD_SOURCE = 1 // featuretest.h:70:1:
X_PDP_ENDIAN = 3412 // endian.h:45:1:
X_PT_BARRIERATTR_DEAD = 0xDEAD0808 // pthread_types.h:278:1:
X_PT_BARRIERATTR_MAGIC = 0x88880808 // pthread_types.h:277:1:
X_PT_BARRIER_DEAD = 0xDEAD0008 // pthread_types.h:270:1:
X_PT_BARRIER_MAGIC = 0x88880008 // pthread_types.h:269:1:
X_PT_CONDATTR_DEAD = 0xDEAD0006 // pthread_types.h:197:1:
X_PT_CONDATTR_MAGIC = 0x66660006 // pthread_types.h:196:1:
X_PT_COND_DEAD = 0xDEAD0005 // pthread_types.h:182:1:
X_PT_COND_MAGIC = 0x55550005 // pthread_types.h:181:1:
X_PT_MUTEXATTR_DEAD = 0xDEAD0004 // pthread_types.h:167:1:
X_PT_MUTEXATTR_MAGIC = 0x44440004 // pthread_types.h:166:1:
X_PT_MUTEX_DEAD = 0xDEAD0003 // pthread_types.h:139:1:
X_PT_MUTEX_MAGIC = 0x33330003 // pthread_types.h:138:1:
X_PT_RWLOCKATTR_DEAD = 0xDEAD0909 // pthread_types.h:253:1:
X_PT_RWLOCKATTR_MAGIC = 0x99990909 // pthread_types.h:252:1:
X_PT_RWLOCK_DEAD = 0xDEAD0009 // pthread_types.h:236:1:
X_PT_RWLOCK_MAGIC = 0x99990009 // pthread_types.h:235:1:
X_PT_SPINLOCK_DEAD = 0xDEAD0007 // pthread_types.h:213:1:
X_PT_SPINLOCK_MAGIC = 0x77770007 // pthread_types.h:212:1:
X_PT_SPINLOCK_PSHARED = 0x00000001 // pthread_types.h:214:1:
X_QUAD_HIGHWORD = 1 // endian.h:84:1:
X_QUAD_LOWWORD = 0 // endian.h:85:1:
X_SIZE_T = 0 // types.h:279:1:
X_SYS_ANSI_H_ = 0 // ansi.h:33:1:
X_SYS_BSWAP_H_ = 0 // bswap.h:6:1:
X_SYS_CDEFS_ELF_H_ = 0 // cdefs_elf.h:31:1:
X_SYS_CDEFS_H_ = 0 // cdefs.h:37:1:
X_SYS_COMMON_ANSI_H_ = 0 // common_ansi.h:33:1:
X_SYS_COMMON_INT_LIMITS_H_ = 0 // common_int_limits.h:33:1:
X_SYS_COMMON_INT_MWGWTYPES_H_ = 0 // common_int_mwgwtypes.h:33:1:
X_SYS_COMMON_INT_TYPES_H_ = 0 // common_int_types.h:33:1:
X_SYS_ENDIAN_H_ = 0 // endian.h:35:1:
X_SYS_FD_SET_H_ = 0 // fd_set.h:35:1:
X_SYS_IDTYPE_H_ = 0 // idtype.h:32:1:
X_SYS_NULL_H_ = 0 // null.h:9:1:
X_SYS_SELECT_H_ = 0 // select.h:35:1:
X_SYS_SIGTYPES_H_ = 0 // sigtypes.h:40:1:
X_SYS_STAT_H_ = 0 // stat.h:40:1:
X_SYS_STDINT_H_ = 0 // stdint.h:33:1:
X_SYS_TIMESPEC_H_ = 0 // timespec.h:38:1:
X_SYS_TIME_H_ = 0 // time.h:35:1:
X_SYS_TYPES_H_ = 0 // types.h:40:1:
X_S_ARCH1 = 0200000 // stat.h:148:1:
X_S_ARCH2 = 0400000 // stat.h:149:1:
X_S_IFBLK = 0060000 // stat.h:142:1:
X_S_IFCHR = 0020000 // stat.h:140:1:
X_S_IFDIR = 0040000 // stat.h:141:1:
X_S_IFIFO = 0010000 // stat.h:139:1:
X_S_IFLNK = 0120000 // stat.h:144:1:
X_S_IFMT = 0170000 // stat.h:138:1:
X_S_IFREG = 0100000 // stat.h:143:1:
X_S_IFSOCK = 0140000 // stat.h:146:1:
X_S_IFWHT = 0160000 // stat.h:147:1:
X_S_ISVTX = 0001000 // stat.h:145:1:
X_TIME_H_ = 0 // time.h:40:1:
X_X86_64_BSWAP_H_ = 0 // bswap.h:6:1:
X_X86_64_CDEFS_H_ = 0 // cdefs.h:4:1:
X_X86_64_TYPES_H_ = 0 // types.h:35:1:
)
// $NetBSD: idtype.h,v 1.5 2016/04/09 17:02:51 riastradh Exp $
+149 -149
View File
@@ -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_openbsd_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_openbsd_amd64.go -pkgname fts', DO NOT EDIT.
package fts
@@ -15,154 +15,154 @@ var _ atomic.Value
var _ unsafe.Pointer
const (
ACCESSPERMS = 511
ALLPERMS = 4095
BIG_ENDIAN = 4321
BYTE_ORDER = 1234
CLK_TCK = 100
CLOCKS_PER_SEC = 100
CLOCK_BOOTTIME = 6
CLOCK_MONOTONIC = 3
CLOCK_PROCESS_CPUTIME_ID = 2
CLOCK_REALTIME = 0
CLOCK_THREAD_CPUTIME_ID = 4
CLOCK_UPTIME = 5
DEFFILEMODE = 438
DST_AUST = 2
DST_CAN = 6
DST_EET = 5
DST_MET = 4
DST_NONE = 0
DST_USA = 1
DST_WET = 3
FD_SETSIZE = 1024
FTS_AGAIN = 1
FTS_COMFOLLOW = 0x0001
FTS_D = 1
FTS_DC = 2
FTS_DEFAULT = 3
FTS_DNR = 4
FTS_DONTCHDIR = 0x01
FTS_DOT = 5
FTS_DP = 6
FTS_ERR = 7
FTS_F = 8
FTS_FOLLOW = 2
FTS_INIT = 9
FTS_LOGICAL = 0x0002
FTS_MAXLEVEL = 0x7fffffff
FTS_NAMEONLY = 0x1000
FTS_NOCHDIR = 0x0004
FTS_NOINSTR = 3
FTS_NOSTAT = 0x0008
FTS_NS = 10
FTS_NSOK = 11
FTS_OPTIONMASK = 0x00ff
FTS_PHYSICAL = 0x0010
FTS_ROOTLEVEL = 0
FTS_ROOTPARENTLEVEL = -1
FTS_SEEDOT = 0x0020
FTS_SKIP = 4
FTS_SL = 12
FTS_SLNONE = 13
FTS_STOP = 0x2000
FTS_SYMFOLLOW = 0x02
FTS_XDEV = 0x0040
ITIMER_PROF = 2
ITIMER_REAL = 0
ITIMER_VIRTUAL = 1
LITTLE_ENDIAN = 1234
NBBY = 8
PDP_ENDIAN = 3412
SF_APPEND = 0x00040000
SF_ARCHIVED = 0x00010000
SF_IMMUTABLE = 0x00020000
SF_SETTABLE = 0xffff0000
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_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 = 0001000
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
TIMER_ABSTIME = 0x1
TIMER_RELTIME = 0x0
TIME_UTC = 1
UF_APPEND = 0x00000004
UF_IMMUTABLE = 0x00000002
UF_NODUMP = 0x00000001
UF_OPAQUE = 0x00000008
UF_SETTABLE = 0x0000ffff
UTIME_NOW = -2
UTIME_OMIT = -1
X_BIG_ENDIAN = 4321
X_BYTE_ORDER = 1234
X_CLOCKID_T_DEFINED_ = 0
X_CLOCK_T_DEFINED_ = 0
X_FILE_OFFSET_BITS = 64
X_FTS_H_ = 0
X_INT16_T_DEFINED_ = 0
X_INT32_T_DEFINED_ = 0
X_INT64_T_DEFINED_ = 0
X_INT8_T_DEFINED_ = 0
X_LITTLE_ENDIAN = 1234
X_LOCALE_T_DEFINED_ = 0
X_LP64 = 1
X_MACHINE_CDEFS_H_ = 0
X_MACHINE_ENDIAN_H_ = 0
X_MACHINE__TYPES_H_ = 0
X_MAX_PAGE_SHIFT = 12
X_OFF_T_DEFINED_ = 0
X_PDP_ENDIAN = 3412
X_PID_T_DEFINED_ = 0
X_QUAD_HIGHWORD = 1
X_QUAD_LOWWORD = 0
X_RET_PROTECTOR = 1
X_SELECT_DEFINED_ = 0
X_SIGSET_T_DEFINED_ = 0
X_SIZE_T_DEFINED_ = 0
X_SSIZE_T_DEFINED_ = 0
X_STACKALIGNBYTES = 15
X_SYS_CDEFS_H_ = 0
X_SYS_ENDIAN_H_ = 0
X_SYS_SELECT_H_ = 0
X_SYS_STAT_H_ = 0
X_SYS_TIME_H_ = 0
X_SYS_TYPES_H_ = 0
X_SYS__ENDIAN_H_ = 0
X_SYS__TIME_H_ = 0
X_SYS__TYPES_H_ = 0
X_TIMER_T_DEFINED_ = 0
X_TIMESPEC_DECLARED = 0
X_TIMEVAL_DECLARED = 0
X_TIME_H_ = 0
X_TIME_T_DEFINED_ = 0
X_UINT16_T_DEFINED_ = 0
X_UINT32_T_DEFINED_ = 0
X_UINT64_T_DEFINED_ = 0
X_UINT8_T_DEFINED_ = 0
Unix = 1
ACCESSPERMS = 511 // stat.h:151:1:
ALLPERMS = 4095 // stat.h:153:1:
BIG_ENDIAN = 4321 // endian.h:45:1:
BYTE_ORDER = 1234 // endian.h:47:1:
CLK_TCK = 100 // time.h:68:1:
CLOCKS_PER_SEC = 100 // time.h:71:1:
CLOCK_BOOTTIME = 6 // _time.h:40:1:
CLOCK_MONOTONIC = 3 // _time.h:37:1:
CLOCK_PROCESS_CPUTIME_ID = 2 // _time.h:36:1:
CLOCK_REALTIME = 0 // _time.h:35:1:
CLOCK_THREAD_CPUTIME_ID = 4 // _time.h:38:1:
CLOCK_UPTIME = 5 // _time.h:39:1:
DEFFILEMODE = 438 // stat.h:155:1:
DST_AUST = 2 // time.h:78:1:
DST_CAN = 6 // time.h:82:1:
DST_EET = 5 // time.h:81:1:
DST_MET = 4 // time.h:80:1:
DST_NONE = 0 // time.h:76:1:
DST_USA = 1 // time.h:77:1:
DST_WET = 3 // time.h:79:1:
FD_SETSIZE = 1024 // select.h:62:1:
FTS_AGAIN = 1 // fts.h:104:1:
FTS_COMFOLLOW = 0x0001 // fts.h:49:1:
FTS_D = 1 // fts.h:85:1:
FTS_DC = 2 // fts.h:86:1:
FTS_DEFAULT = 3 // fts.h:87:1:
FTS_DNR = 4 // fts.h:88:1:
FTS_DONTCHDIR = 0x01 // fts.h:100:1:
FTS_DOT = 5 // fts.h:89:1:
FTS_DP = 6 // fts.h:90:1:
FTS_ERR = 7 // fts.h:91:1:
FTS_F = 8 // fts.h:92:1:
FTS_FOLLOW = 2 // fts.h:105:1:
FTS_INIT = 9 // fts.h:93:1:
FTS_LOGICAL = 0x0002 // fts.h:50:1:
FTS_MAXLEVEL = 0x7fffffff // fts.h:82:1:
FTS_NAMEONLY = 0x1000 // fts.h:58:1:
FTS_NOCHDIR = 0x0004 // fts.h:51:1:
FTS_NOINSTR = 3 // fts.h:106:1:
FTS_NOSTAT = 0x0008 // fts.h:52:1:
FTS_NS = 10 // fts.h:94:1:
FTS_NSOK = 11 // fts.h:95:1:
FTS_OPTIONMASK = 0x00ff // fts.h:56:1:
FTS_PHYSICAL = 0x0010 // fts.h:53:1:
FTS_ROOTLEVEL = 0 // fts.h:81:1:
FTS_ROOTPARENTLEVEL = -1 // fts.h:80:1:
FTS_SEEDOT = 0x0020 // fts.h:54:1:
FTS_SKIP = 4 // fts.h:107:1:
FTS_SL = 12 // fts.h:96:1:
FTS_SLNONE = 13 // fts.h:97:1:
FTS_STOP = 0x2000 // fts.h:59:1:
FTS_SYMFOLLOW = 0x02 // fts.h:101:1:
FTS_XDEV = 0x0040 // fts.h:55:1:
ITIMER_PROF = 2 // time.h:146:1:
ITIMER_REAL = 0 // time.h:144:1:
ITIMER_VIRTUAL = 1 // time.h:145:1:
LITTLE_ENDIAN = 1234 // endian.h:44:1:
NBBY = 8 // select.h:111:1:
PDP_ENDIAN = 3412 // endian.h:46:1:
SF_APPEND = 0x00040000 // stat.h:175:1:
SF_ARCHIVED = 0x00010000 // stat.h:173:1:
SF_IMMUTABLE = 0x00020000 // stat.h:174:1:
SF_SETTABLE = 0xffff0000 // stat.h:172:1:
S_BLKSIZE = 512 // stat.h:157:1:
S_IEXEC = 64 // stat.h:108:1:
S_IFBLK = 0060000 // stat.h:126:1:
S_IFCHR = 0020000 // stat.h:124:1:
S_IFDIR = 0040000 // stat.h:125:1:
S_IFIFO = 0010000 // stat.h:123:1:
S_IFLNK = 0120000 // stat.h:128:1:
S_IFMT = 0170000 // stat.h:122:1:
S_IFREG = 0100000 // stat.h:127:1:
S_IFSOCK = 0140000 // stat.h:129:1:
S_IREAD = 256 // stat.h:106:1:
S_IRGRP = 0000040 // stat.h:112:1:
S_IROTH = 0000004 // stat.h:117:1:
S_IRUSR = 0000400 // stat.h:101:1:
S_IRWXG = 0000070 // stat.h:111:1:
S_IRWXO = 0000007 // stat.h:116:1:
S_IRWXU = 0000700 // stat.h:100:1:
S_ISGID = 0002000 // stat.h:95:1:
S_ISTXT = 0001000 // stat.h:97:1:
S_ISUID = 0004000 // stat.h:94:1:
S_ISVTX = 0001000 // stat.h:130:1:
S_IWGRP = 0000020 // stat.h:113:1:
S_IWOTH = 0000002 // stat.h:118:1:
S_IWRITE = 128 // stat.h:107:1:
S_IWUSR = 0000200 // stat.h:102:1:
S_IXGRP = 0000010 // stat.h:114:1:
S_IXOTH = 0000001 // stat.h:119:1:
S_IXUSR = 0000100 // stat.h:103:1:
TIMER_ABSTIME = 0x1 // _time.h:62:1:
TIMER_RELTIME = 0x0 // _time.h:61:1:
TIME_UTC = 1 // time.h:179:1:
UF_APPEND = 0x00000004 // stat.h:167:1:
UF_IMMUTABLE = 0x00000002 // stat.h:166:1:
UF_NODUMP = 0x00000001 // stat.h:165:1:
UF_OPAQUE = 0x00000008 // stat.h:168:1:
UF_SETTABLE = 0x0000ffff // stat.h:164:1:
UTIME_NOW = -2 // stat.h:188:1:
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_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
X_FTS_H_ = 0 // fts.h:36: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_LOCALE_T_DEFINED_ = 0 // time.h:106:1:
X_LP64 = 1 // <predefined>:1: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:193:1:
X_PDP_ENDIAN = 3412 // _endian.h:44:1:
X_PID_T_DEFINED_ = 0 // types.h:168: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_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_SELECT_H_ = 0 // select.h:35:1:
X_SYS_STAT_H_ = 0 // stat.h:41: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: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_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_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:
)
type Ptrdiff_t = int64 /* <builtin>:3:26 */
+1 -1
View File
@@ -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_freebsd_386.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_freebsd_386.go -pkgname grp', DO NOT EDIT.
package grp
+1 -1
View File
@@ -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_freebsd_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_freebsd_amd64.go -pkgname grp', DO NOT EDIT.
package grp
+5
View 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_linux_ppc64le.go -pkgname grp', DO NOT EDIT.
package grp
var CAPI = map[string]struct{}{}
+1 -1
View File
@@ -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_netbsd_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_netbsd_amd64.go -pkgname grp', DO NOT EDIT.
package grp
+1 -1
View File
@@ -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_openbsd_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_openbsd_amd64.go -pkgname grp', DO NOT EDIT.
package grp
+16 -16
View File
@@ -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_freebsd_386.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_freebsd_386.go -pkgname grp', DO NOT EDIT.
package grp
@@ -15,21 +15,21 @@ var _ atomic.Value
var _ unsafe.Pointer
const (
X_FILE_OFFSET_BITS = 64
X_GID_T_DECLARED = 0
X_GRP_H_ = 0
X_ILP32 = 1
X_MACHINE__LIMITS_H_ = 0
X_MACHINE__TYPES_H_ = 0
X_Nonnull = 0
X_Null_unspecified = 0
X_Nullable = 0
X_PATH_GROUP = "/etc/group"
X_SIZE_T_DECLARED = 0
X_SYS_CDEFS_H_ = 0
X_SYS__TYPES_H_ = 0
I386 = 1
Unix = 1
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__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:
I386 = 1 // <predefined>:335:1:
Unix = 1 // <predefined>:336:1:
)
type Ptrdiff_t = int32 /* <builtin>:3:26 */
+15 -15
View File
@@ -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_freebsd_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_freebsd_amd64.go -pkgname grp', DO NOT EDIT.
package grp
@@ -15,20 +15,20 @@ var _ atomic.Value
var _ unsafe.Pointer
const (
X_FILE_OFFSET_BITS = 64
X_GID_T_DECLARED = 0
X_GRP_H_ = 0
X_LP64 = 1
X_MACHINE__LIMITS_H_ = 0
X_MACHINE__TYPES_H_ = 0
X_Nonnull = 0
X_Null_unspecified = 0
X_Nullable = 0
X_PATH_GROUP = "/etc/group"
X_SIZE_T_DECLARED = 0
X_SYS_CDEFS_H_ = 0
X_SYS__TYPES_H_ = 0
Unix = 1
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:783:1:
X_Null_unspecified = 0 // cdefs.h:785:1:
X_Nullable = 0 // cdefs.h:784: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:
)
type Ptrdiff_t = int64 /* <builtin>:3:26 */
+791
View File
@@ -0,0 +1,791 @@
// Code generated by 'ccgo grp/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o grp/grp_linux_ppc64le.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 (
NSS_BUFLEN_GROUP = 1024 // grp.h:114:1:
X_ARCH_PPC = 1 // <predefined>:198:1:
X_ARCH_PPC64 = 1 // <predefined>:402:1:
X_ARCH_PPCGR = 1 // <predefined>:15:1:
X_ARCH_PPCSQ = 1 // <predefined>:43:1:
X_ARCH_PWR4 = 1 // <predefined>:381:1:
X_ARCH_PWR5 = 1 // <predefined>:90:1:
X_ARCH_PWR5X = 1 // <predefined>:137:1:
X_ARCH_PWR6 = 1 // <predefined>:91:1:
X_ARCH_PWR7 = 1 // <predefined>:92:1:
X_ARCH_PWR8 = 1 // <predefined>:93:1:
X_ATFILE_SOURCE = 1 // features.h:342:1:
X_BITS_TIME64_H = 1 // time64.h:24:1:
X_BITS_TYPESIZES_H = 1 // typesizes.h:24:1:
X_BITS_TYPES_H = 1 // types.h:24:1:
X_BSD_SIZE_T_ = 0 // stddef.h:189:1:
X_BSD_SIZE_T_DEFINED_ = 0 // stddef.h:192:1:
X_CALL_ELF = 2 // <predefined>:415:1:
X_CALL_LINUX = 1 // <predefined>:123:1:
X_DEFAULT_SOURCE = 1 // features.h:227:1:
X_FEATURES_H = 1 // features.h:19:1:
X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
X_GCC_SIZE_T = 0 // stddef.h:195:1:
X_GRP_H = 1 // grp.h:23:1:
X_LITTLE_ENDIAN = 1 // <predefined>:37:1:
X_LP64 = 1 // <predefined>:335:1:
X_POSIX_C_SOURCE = 200809 // features.h:281:1:
X_POSIX_SOURCE = 1 // features.h:279:1:
X_SIZET_ = 0 // stddef.h:196:1:
X_SIZE_T = 0 // stddef.h:183:1:
X_SIZE_T_ = 0 // stddef.h:188:1:
X_SIZE_T_DECLARED = 0 // stddef.h:193:1:
X_SIZE_T_DEFINED = 0 // stddef.h:191:1:
X_SIZE_T_DEFINED_ = 0 // stddef.h:190:1:
X_STDC_PREDEF_H = 1 // <predefined>:203:1:
X_SYS_CDEFS_H = 1 // cdefs.h:19:1:
X_SYS_SIZE_T_H = 0 // stddef.h:184:1:
X_T_SIZE = 0 // stddef.h:186:1:
X_T_SIZE_ = 0 // stddef.h:185:1:
Linux = 1 // <predefined>:263:1:
Unix = 1 // <predefined>:222: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__ieee128 = float64 /* <builtin>:47:21 */
// Copyright (C) 1991-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// The GNU C Library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <https://www.gnu.org/licenses/>.
// POSIX Standard: 9.2.1 Group Database Access <grp.h>
// Copyright (C) 1991-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// The GNU C Library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <https://www.gnu.org/licenses/>.
// These are defined by the user (or the compiler)
// to specify the desired environment:
//
// __STRICT_ANSI__ ISO Standard C.
// _ISOC99_SOURCE Extensions to ISO C89 from ISO C99.
// _ISOC11_SOURCE Extensions to ISO C99 from ISO C11.
// _ISOC2X_SOURCE Extensions to ISO C99 from ISO C2X.
// __STDC_WANT_LIB_EXT2__
// Extensions to ISO C99 from TR 27431-2:2010.
// __STDC_WANT_IEC_60559_BFP_EXT__
// Extensions to ISO C11 from TS 18661-1:2014.
// __STDC_WANT_IEC_60559_FUNCS_EXT__
// Extensions to ISO C11 from TS 18661-4:2015.
// __STDC_WANT_IEC_60559_TYPES_EXT__
// Extensions to ISO C11 from TS 18661-3:2015.
//
// _POSIX_SOURCE IEEE Std 1003.1.
// _POSIX_C_SOURCE If ==1, like _POSIX_SOURCE; if >=2 add IEEE Std 1003.2;
// if >=199309L, add IEEE Std 1003.1b-1993;
// if >=199506L, add IEEE Std 1003.1c-1995;
// if >=200112L, all of IEEE 1003.1-2004
// if >=200809L, all of IEEE 1003.1-2008
// _XOPEN_SOURCE Includes POSIX and XPG things. Set to 500 if
// Single Unix conformance is wanted, to 600 for the
// sixth revision, to 700 for the seventh revision.
// _XOPEN_SOURCE_EXTENDED XPG things and X/Open Unix extensions.
// _LARGEFILE_SOURCE Some more functions for correct standard I/O.
// _LARGEFILE64_SOURCE Additional functionality from LFS for large files.
// _FILE_OFFSET_BITS=N Select default filesystem interface.
// _ATFILE_SOURCE Additional *at interfaces.
// _GNU_SOURCE All of the above, plus GNU extensions.
// _DEFAULT_SOURCE The default set of features (taking precedence over
// __STRICT_ANSI__).
//
// _FORTIFY_SOURCE Add security hardening to many library functions.
// Set to 1 or 2; 2 performs stricter checks than 1.
//
// _REENTRANT, _THREAD_SAFE
// Obsolete; equivalent to _POSIX_C_SOURCE=199506L.
//
// The `-ansi' switch to the GNU C compiler, and standards conformance
// options such as `-std=c99', define __STRICT_ANSI__. If none of
// these are defined, or if _DEFAULT_SOURCE is defined, the default is
// to have _POSIX_SOURCE set to one and _POSIX_C_SOURCE set to
// 200809L, as well as enabling miscellaneous functions from BSD and
// SVID. If more than one of these are defined, they accumulate. For
// example __STRICT_ANSI__, _POSIX_SOURCE and _POSIX_C_SOURCE together
// give you ISO C, 1003.1, and 1003.2, but nothing else.
//
// These are defined by this file and are used by the
// header files to decide what to declare or define:
//
// __GLIBC_USE (F) Define things from feature set F. This is defined
// to 1 or 0; the subsequent macros are either defined
// or undefined, and those tests should be moved to
// __GLIBC_USE.
// __USE_ISOC11 Define ISO C11 things.
// __USE_ISOC99 Define ISO C99 things.
// __USE_ISOC95 Define ISO C90 AMD1 (C95) things.
// __USE_ISOCXX11 Define ISO C++11 things.
// __USE_POSIX Define IEEE Std 1003.1 things.
// __USE_POSIX2 Define IEEE Std 1003.2 things.
// __USE_POSIX199309 Define IEEE Std 1003.1, and .1b things.
// __USE_POSIX199506 Define IEEE Std 1003.1, .1b, .1c and .1i things.
// __USE_XOPEN Define XPG things.
// __USE_XOPEN_EXTENDED Define X/Open Unix things.
// __USE_UNIX98 Define Single Unix V2 things.
// __USE_XOPEN2K Define XPG6 things.
// __USE_XOPEN2KXSI Define XPG6 XSI things.
// __USE_XOPEN2K8 Define XPG7 things.
// __USE_XOPEN2K8XSI Define XPG7 XSI things.
// __USE_LARGEFILE Define correct standard I/O things.
// __USE_LARGEFILE64 Define LFS things with separate names.
// __USE_FILE_OFFSET64 Define 64bit interface as default.
// __USE_MISC Define things from 4.3BSD or System V Unix.
// __USE_ATFILE Define *at interfaces and AT_* constants for them.
// __USE_GNU Define GNU extensions.
// __USE_FORTIFY_LEVEL Additional security measures used, according to level.
//
// The macros `__GNU_LIBRARY__', `__GLIBC__', and `__GLIBC_MINOR__' are
// defined by this file unconditionally. `__GNU_LIBRARY__' is provided
// only for compatibility. All new code should use the other symbols
// to test for features.
//
// All macros listed above as possibly being defined by this file are
// explicitly undefined if they are not explicitly defined.
// Feature-test macros that are not defined by the user or compiler
// but are implied by the other feature-test macros defined (or by the
// lack of any definitions) are defined by the file.
//
// ISO C feature test macros depend on the definition of the macro
// when an affected header is included, not when the first system
// header is included, and so they are handled in
// <bits/libc-header-start.h>, which does not have a multiple include
// guard. Feature test macros that can be handled from the first
// system header included are handled here.
// Undefine everything, so we get a clean slate.
// Suppress kernel-name space pollution unless user expressedly asks
// for it.
// Convenience macro to test the version of gcc.
// Use like this:
// #if __GNUC_PREREQ (2,8)
// ... code requiring gcc 2.8 or later ...
// #endif
// Note: only works for GCC 2.0 and later, because __GNUC_MINOR__ was
// added in 2.0.
// Similarly for clang. Features added to GCC after version 4.2 may
// or may not also be available in clang, and clang's definitions of
// __GNUC(_MINOR)__ are fixed at 4 and 2 respectively. Not all such
// features can be queried via __has_extension/__has_feature.
// Whether to use feature set F.
// _BSD_SOURCE and _SVID_SOURCE are deprecated aliases for
// _DEFAULT_SOURCE. If _DEFAULT_SOURCE is present we do not
// issue a warning; the expectation is that the source is being
// transitioned to use the new macro.
// If _GNU_SOURCE was defined by the user, turn on all the other features.
// If nothing (other than _GNU_SOURCE and _DEFAULT_SOURCE) is defined,
// define _DEFAULT_SOURCE.
// This is to enable the ISO C2X extension.
// This is to enable the ISO C11 extension.
// This is to enable the ISO C99 extension.
// This is to enable the ISO C90 Amendment 1:1995 extension.
// If none of the ANSI/POSIX macros are defined, or if _DEFAULT_SOURCE
// is defined, use POSIX.1-2008 (or another version depending on
// _XOPEN_SOURCE).
// Some C libraries once required _REENTRANT and/or _THREAD_SAFE to be
// defined in all multithreaded code. GNU libc has not required this
// for many years. We now treat them as compatibility synonyms for
// _POSIX_C_SOURCE=199506L, which is the earliest level of POSIX with
// comprehensive support for multithreaded code. Using them never
// lowers the selected level of POSIX conformance, only raises it.
// The function 'gets' existed in C89, but is impossible to use
// safely. It has been removed from ISO C11 and ISO C++14. Note: for
// compatibility with various implementations of <cstdio>, this test
// must consider only the value of __cplusplus when compiling C++.
// GNU formerly extended the scanf functions with modified format
// specifiers %as, %aS, and %a[...] that allocate a buffer for the
// input using malloc. This extension conflicts with ISO C99, which
// defines %a as a standalone format specifier that reads a floating-
// point number; moreover, POSIX.1-2008 provides the same feature
// using the modifier letter 'm' instead (%ms, %mS, %m[...]).
//
// We now follow C99 unless GNU extensions are active and the compiler
// is specifically in C89 or C++98 mode (strict or not). For
// instance, with GCC, -std=gnu11 will have C99-compliant scanf with
// or without -D_GNU_SOURCE, but -std=c89 -D_GNU_SOURCE will have the
// old extension.
// Get definitions of __STDC_* predefined macros, if the compiler has
// not preincluded this header automatically.
// Copyright (C) 1991-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// The GNU C Library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <https://www.gnu.org/licenses/>.
// This macro indicates that the installed library is the GNU C Library.
// For historic reasons the value now is 6 and this will stay from now
// on. The use of this variable is deprecated. Use __GLIBC__ and
// __GLIBC_MINOR__ now (see below) when you want to test for a specific
// GNU C library version and use the values in <gnu/lib-names.h> to get
// the sonames of the shared libraries.
// Major and minor version number of the GNU C library package. Use
// these macros to test for features in specific releases.
// This is here only because every header file already includes this one.
// Copyright (C) 1992-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// The GNU C Library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <https://www.gnu.org/licenses/>.
// We are almost always included from features.h.
// The GNU libc does not support any K&R compilers or the traditional mode
// of ISO C compilers anymore. Check for some of the combinations not
// anymore supported.
// Some user header file might have defined this before.
// All functions, except those with callbacks or those that
// synchronize memory, are leaf functions.
// GCC can always grok prototypes. For C++ programs we add throw()
// to help it optimize the function calls. But this works only with
// gcc 2.8.x and egcs. For gcc 3.2 and up we even mark C functions
// as non-throwing using a function attribute since programs can use
// the -fexceptions options for C code as well.
// Compilers that are not clang may object to
// #if defined __clang__ && __has_extension(...)
// even though they do not need to evaluate the right-hand side of the &&.
// These two macros are not used in glibc anymore. They are kept here
// only because some other projects expect the macros to be defined.
// For these things, GCC behaves the ANSI way normally,
// and the non-ANSI way under -traditional.
// This is not a typedef so `const __ptr_t' does the right thing.
// C++ needs to know that types and declarations are C, not C++.
// Fortify support.
// Support for flexible arrays.
// Headers that should use flexible arrays only if they're "real"
// (e.g. only if they won't affect sizeof()) should test
// #if __glibc_c99_flexarr_available.
// __asm__ ("xyz") is used throughout the headers to rename functions
// at the assembly language level. This is wrapped by the __REDIRECT
// macro, in order to support compilers that can do this some other
// way. When compilers don't support asm-names at all, we have to do
// preprocessor tricks instead (which don't have exactly the right
// semantics, but it's the best we can do).
//
// Example:
// int __REDIRECT(setpgrp, (__pid_t pid, __pid_t pgrp), setpgid);
//
// #elif __SOME_OTHER_COMPILER__
//
// # define __REDIRECT(name, proto, alias) name proto; _Pragma("let " #name " = " #alias)
// GCC has various useful declarations that can be made with the
// `__attribute__' syntax. All of the ways we use this do fine if
// they are omitted for compilers that don't understand it.
// At some point during the gcc 2.96 development the `malloc' attribute
// for functions was introduced. We don't want to use it unconditionally
// (although this would be possible) since it generates warnings.
// Tell the compiler which arguments to an allocation function
// indicate the size of the allocation.
// At some point during the gcc 2.96 development the `pure' attribute
// for functions was introduced. We don't want to use it unconditionally
// (although this would be possible) since it generates warnings.
// This declaration tells the compiler that the value is constant.
// At some point during the gcc 3.1 development the `used' attribute
// for functions was introduced. We don't want to use it unconditionally
// (although this would be possible) since it generates warnings.
// Since version 3.2, gcc allows marking deprecated functions.
// Since version 4.5, gcc also allows one to specify the message printed
// when a deprecated function is used. clang claims to be gcc 4.2, but
// may also support this feature.
// At some point during the gcc 2.8 development the `format_arg' attribute
// for functions was introduced. We don't want to use it unconditionally
// (although this would be possible) since it generates warnings.
// If several `format_arg' attributes are given for the same function, in
// gcc-3.0 and older, all but the last one are ignored. In newer gccs,
// all designated arguments are considered.
// At some point during the gcc 2.97 development the `strfmon' format
// attribute for functions was introduced. We don't want to use it
// unconditionally (although this would be possible) since it
// generates warnings.
// The nonull function attribute allows to mark pointer parameters which
// must not be NULL.
// If fortification mode, we warn about unused results of certain
// function calls which can lead to problems.
// Forces a function to be always inlined.
// The Linux kernel defines __always_inline in stddef.h (283d7573), and
// it conflicts with this definition. Therefore undefine it first to
// allow either header to be included first.
// Associate error messages with the source location of the call site rather
// than with the source location inside the function.
// GCC 4.3 and above with -std=c99 or -std=gnu99 implements ISO C99
// inline semantics, unless -fgnu89-inline is used. Using __GNUC_STDC_INLINE__
// or __GNUC_GNU_INLINE is not a good enough check for gcc because gcc versions
// older than 4.3 may define these macros and still not guarantee GNU inlining
// semantics.
//
// clang++ identifies itself as gcc-4.2, but has support for GNU inlining
// semantics, that can be checked for by using the __GNUC_STDC_INLINE_ and
// __GNUC_GNU_INLINE__ macro definitions.
// GCC 4.3 and above allow passing all anonymous arguments of an
// __extern_always_inline function to some other vararg function.
// It is possible to compile containing GCC extensions even if GCC is
// run in pedantic mode if the uses are carefully marked using the
// `__extension__' keyword. But this is not generally available before
// version 2.8.
// __restrict is known in EGCS 1.2 and above.
// ISO C99 also allows to declare arrays as non-overlapping. The syntax is
// array_name[restrict]
// GCC 3.1 supports this.
// Describes a char array whose address can safely be passed as the first
// argument to strncpy and strncat, as the char array is not necessarily
// a NUL-terminated string.
// Undefine (also defined in libc-symbols.h).
// Copies attributes from the declaration or type referenced by
// the argument.
// Determine the wordsize from the preprocessor defines.
// Properties of long double type. ldbl-opt version.
// Copyright (C) 2016-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// The GNU C Library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <https://www.gnu.org/licenses/>.
// __glibc_macro_warning (MESSAGE) issues warning MESSAGE. This is
// intended for use in preprocessor macros.
//
// Note: MESSAGE must be a _single_ string; concatenation of string
// literals is not supported.
// Generic selection (ISO C11) is a C-only feature, available in GCC
// since version 4.9. Previous versions do not provide generic
// selection, even though they might set __STDC_VERSION__ to 201112L,
// when in -std=c11 mode. Thus, we must check for !defined __GNUC__
// when testing __STDC_VERSION__ for generic selection support.
// On the other hand, Clang also defines __GNUC__, so a clang-specific
// check is required to enable the use of generic selection.
// If we don't have __REDIRECT, prototypes will be missing if
// __USE_FILE_OFFSET64 but not __USE_LARGEFILE[64].
// Decide whether we can define 'extern inline' functions in headers.
// This is here only because every header file already includes this one.
// Get the definitions of all the appropriate `__stub_FUNCTION' symbols.
// <gnu/stubs.h> contains `#define __stub_FUNCTION' when FUNCTION is a stub
// that will always return failure (and set errno to ENOSYS).
// This file is automatically generated.
// This file selects the right generated file of `__stub_FUNCTION' macros
// based on the architecture being compiled for.
// Determine the wordsize from the preprocessor defines.
// This file is automatically generated.
// It defines a symbol `__stub_FUNCTION' for each function
// in the C library which is a stub, meaning it will fail
// every time called, usually setting errno to ENOSYS.
// bits/types.h -- definitions of __*_t types underlying *_t types.
// Copyright (C) 2002-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// The GNU C Library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <https://www.gnu.org/licenses/>.
// Never include this file directly; use <sys/types.h> instead.
// Copyright (C) 1991-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// The GNU C Library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <https://www.gnu.org/licenses/>.
// Determine the wordsize from the preprocessor defines.
// Bit size of the time_t type at glibc build time, general case.
// Copyright (C) 2018-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// The GNU C Library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <https://www.gnu.org/licenses/>.
// Determine the wordsize from the preprocessor defines.
// Size in bits of the 'time_t' type of the default ABI.
// Convenience types.
type X__u_char = uint8 /* types.h:31:23 */
type X__u_short = uint16 /* types.h:32:28 */
type X__u_int = uint32 /* types.h:33:22 */
type X__u_long = uint64 /* types.h:34:27 */
// Fixed-size types, underlying types depend on word size and compiler.
type X__int8_t = int8 /* types.h:37:21 */
type X__uint8_t = uint8 /* types.h:38:23 */
type X__int16_t = int16 /* types.h:39:26 */
type X__uint16_t = uint16 /* types.h:40:28 */
type X__int32_t = int32 /* types.h:41:20 */
type X__uint32_t = uint32 /* types.h:42:22 */
type X__int64_t = int64 /* types.h:44:25 */
type X__uint64_t = uint64 /* types.h:45:27 */
// Smallest types with at least a given width.
type X__int_least8_t = X__int8_t /* types.h:52:18 */
type X__uint_least8_t = X__uint8_t /* types.h:53:19 */
type X__int_least16_t = X__int16_t /* types.h:54:19 */
type X__uint_least16_t = X__uint16_t /* types.h:55:20 */
type X__int_least32_t = X__int32_t /* types.h:56:19 */
type X__uint_least32_t = X__uint32_t /* types.h:57:20 */
type X__int_least64_t = X__int64_t /* types.h:58:19 */
type X__uint_least64_t = X__uint64_t /* types.h:59:20 */
// quad_t is also 64 bits.
type X__quad_t = int64 /* types.h:63:18 */
type X__u_quad_t = uint64 /* types.h:64:27 */
// Largest integral types.
type X__intmax_t = int64 /* types.h:72:18 */
type X__uintmax_t = uint64 /* types.h:73:27 */
// The machine-dependent file <bits/typesizes.h> defines __*_T_TYPE
// macros for each of the OS types we define below. The definitions
// of those macros must use the following macros for underlying types.
// We define __S<SIZE>_TYPE and __U<SIZE>_TYPE for the signed and unsigned
// variants of each of the following integer types on this machine.
//
// 16 -- "natural" 16-bit type (always short)
// 32 -- "natural" 32-bit type (always int)
// 64 -- "natural" 64-bit type (long or long long)
// LONG32 -- 32-bit type, traditionally long
// QUAD -- 64-bit type, traditionally long long
// WORD -- natural type of __WORDSIZE bits (int or long)
// LONGWORD -- type of __WORDSIZE bits, traditionally long
//
// We distinguish WORD/LONGWORD, 32/LONG32, and 64/QUAD so that the
// conventional uses of `long' or `long long' type modifiers match the
// types we define, even when a less-adorned type would be the same size.
// This matters for (somewhat) portably writing printf/scanf formats for
// these types, where using the appropriate l or ll format modifiers can
// make the typedefs and the formats match up across all GNU platforms. If
// we used `long' when it's 64 bits where `long long' is expected, then the
// compiler would warn about the formats not matching the argument types,
// and the programmer changing them to shut up the compiler would break the
// program's portability.
//
// Here we assume what is presently the case in all the GCC configurations
// we support: long long is always 64 bits, long is always word/address size,
// and int is always 32 bits.
// No need to mark the typedef with __extension__.
// bits/typesizes.h -- underlying types for *_t. Generic version.
// Copyright (C) 2002-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// The GNU C Library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <https://www.gnu.org/licenses/>.
// See <bits/types.h> for the meaning of these macros. This file exists so
// that <bits/types.h> need not vary across different GNU platforms.
// Tell the libc code that off_t and off64_t are actually the same type
// for all ABI purposes, even if possibly expressed as different base types
// for C type-checking purposes.
// Same for ino_t and ino64_t.
// And for rlim_t and rlim64_t.
// And for fsblkcnt_t, fsblkcnt64_t, fsfilcnt_t and fsfilcnt64_t.
// Number of descriptors that can fit in an `fd_set'.
// bits/time64.h -- underlying types for __time64_t. Generic version.
// Copyright (C) 2018-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// The GNU C Library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <https://www.gnu.org/licenses/>.
// Define __TIME64_T_TYPE so that it is always a 64-bit type.
// If we already have 64-bit time type then use it.
type X__dev_t = uint64 /* types.h:145:25 */ // Type of device numbers.
type X__uid_t = uint32 /* types.h:146:25 */ // Type of user identifications.
type X__gid_t = uint32 /* types.h:147:25 */ // Type of group identifications.
type X__ino_t = uint64 /* types.h:148:25 */ // Type of file serial numbers.
type X__ino64_t = uint64 /* types.h:149:27 */ // Type of file serial numbers (LFS).
type X__mode_t = uint32 /* types.h:150:26 */ // Type of file attribute bitmasks.
type X__nlink_t = uint64 /* types.h:151:27 */ // Type of file link counts.
type X__off_t = int64 /* types.h:152:25 */ // Type of file sizes and offsets.
type X__off64_t = int64 /* types.h:153:27 */ // Type of file sizes and offsets (LFS).
type X__pid_t = int32 /* types.h:154:25 */ // Type of process identifications.
type X__fsid_t = struct{ F__val [2]int32 } /* types.h:155:26 */ // Type of file system IDs.
type X__clock_t = int64 /* types.h:156:27 */ // Type of CPU usage counts.
type X__rlim_t = uint64 /* types.h:157:26 */ // Type for resource measurement.
type X__rlim64_t = uint64 /* types.h:158:28 */ // Type for resource measurement (LFS).
type X__id_t = uint32 /* types.h:159:24 */ // General type for IDs.
type X__time_t = int64 /* types.h:160:26 */ // Seconds since the Epoch.
type X__useconds_t = uint32 /* types.h:161:30 */ // Count of microseconds.
type X__suseconds_t = int64 /* types.h:162:31 */ // Signed count of microseconds.
type X__daddr_t = int32 /* types.h:164:27 */ // The type of a disk address.
type X__key_t = int32 /* types.h:165:25 */ // Type of an IPC key.
// Clock ID used in clock and timer functions.
type X__clockid_t = int32 /* types.h:168:29 */
// Timer ID returned by `timer_create'.
type X__timer_t = uintptr /* types.h:171:12 */
// Type to represent block size.
type X__blksize_t = int64 /* types.h:174:29 */
// Types from the Large File Support interface.
// Type to count number of disk blocks.
type X__blkcnt_t = int64 /* types.h:179:28 */
type X__blkcnt64_t = int64 /* types.h:180:30 */
// Type to count file system blocks.
type X__fsblkcnt_t = uint64 /* types.h:183:30 */
type X__fsblkcnt64_t = uint64 /* types.h:184:32 */
// Type to count file system nodes.
type X__fsfilcnt_t = uint64 /* types.h:187:30 */
type X__fsfilcnt64_t = uint64 /* types.h:188:32 */
// Type of miscellaneous file system fields.
type X__fsword_t = int64 /* types.h:191:28 */
type X__ssize_t = int64 /* types.h:193:27 */ // Type of a byte count, or error.
// Signed long type used in system calls.
type X__syscall_slong_t = int64 /* types.h:196:33 */
// Unsigned long type used in system calls.
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.
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 */
// Duplicates info from stdint.h but this is used in unistd.h.
type X__intptr_t = int64 /* types.h:206:25 */
// Duplicate info from sys/socket.h.
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.
type X__sig_atomic_t = int32 /* types.h:214:13 */
// Wide character type.
// Locale-writers should change this as necessary to
// be big enough to hold unique values not between 0 and 127,
// and not (wchar_t) -1, for each defined multibyte character.
// Define this type if we are doing the whole job,
// or if we want this type in particular.
// A null pointer constant.
// For the Single Unix specification we must define this type here.
type Gid_t = X__gid_t /* grp.h:37:17 */
// The group structure.
type Group = struct {
Fgr_name uintptr
Fgr_passwd uintptr
Fgr_gid X__gid_t
F__ccgo_pad1 [4]byte
Fgr_mem uintptr
} /* grp.h:42:1 */
var _ uint8 /* gen.c:2:13: */
+123 -123
View File
@@ -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_netbsd_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_netbsd_amd64.go -pkgname grp', DO NOT EDIT.
package grp
@@ -15,128 +15,128 @@ var _ atomic.Value
var _ unsafe.Pointer
const (
BIG_ENDIAN = 4321
BYTE_ORDER = 1234
FD_SETSIZE = 256
INT16_MAX = 32767
INT16_MIN = -32768
INT32_MAX = 2147483647
INT32_MIN = -2147483648
INT64_MAX = 9223372036854775807
INT64_MIN = -9223372036854775808
INT8_MAX = 127
INT8_MIN = -128
INTMAX_MAX = 9223372036854775807
INTMAX_MIN = -9223372036854775808
INTPTR_MAX = 9223372036854775807
INTPTR_MIN = -9223372036854775808
INT_FAST16_MAX = 2147483647
INT_FAST16_MIN = -2147483648
INT_FAST32_MAX = 2147483647
INT_FAST32_MIN = -2147483648
INT_FAST64_MAX = 9223372036854775807
INT_FAST64_MIN = -9223372036854775808
INT_FAST8_MAX = 2147483647
INT_FAST8_MIN = -2147483648
INT_LEAST16_MAX = 32767
INT_LEAST16_MIN = -32768
INT_LEAST32_MAX = 2147483647
INT_LEAST32_MIN = -2147483648
INT_LEAST64_MAX = 9223372036854775807
INT_LEAST64_MIN = -9223372036854775808
INT_LEAST8_MAX = 127
INT_LEAST8_MIN = -128
LITTLE_ENDIAN = 1234
NBBY = 8
NFDBITS = 32
NODEVMAJOR = -1
PDP_ENDIAN = 3412
PTRDIFF_MAX = 9223372036854775807
PTRDIFF_MIN = -9223372036854775808
SIG_ATOMIC_MAX = 2147483647
SIG_ATOMIC_MIN = -2147483648
SIZE_MAX = 18446744073709551615
UINT16_MAX = 65535
UINT32_MAX = 4294967295
UINT64_MAX = 18446744073709551615
UINT8_MAX = 255
UINTMAX_MAX = 18446744073709551615
UINTPTR_MAX = 18446744073709551615
UINT_FAST16_MAX = 4294967295
UINT_FAST32_MAX = 4294967295
UINT_FAST64_MAX = 18446744073709551615
UINT_FAST8_MAX = 4294967295
UINT_LEAST16_MAX = 65535
UINT_LEAST32_MAX = 4294967295
UINT_LEAST64_MAX = 18446744073709551615
UINT_LEAST8_MAX = 255
WCHAR_MAX = 0x7fffffff
WCHAR_MIN = -2147483648
WINT_MAX = 0x7fffffff
WINT_MIN = -2147483648
X_AMD64_BYTE_SWAP_H_ = 0
X_AMD64_INT_CONST_H_ = 0
X_AMD64_INT_LIMITS_H_ = 0
X_AMD64_INT_MWGWTYPES_H_ = 0
X_AMD64_INT_TYPES_H_ = 0
X_AMD64_WCHAR_LIMITS_H_ = 0
X_BIG_ENDIAN = 4321
X_BSD_INT16_T_ = 0
X_BSD_INT32_T_ = 0
X_BSD_INT64_T_ = 0
X_BSD_INT8_T_ = 0
X_BSD_INTPTR_T_ = 0
X_BSD_UINT16_T_ = 0
X_BSD_UINT32_T_ = 0
X_BSD_UINT64_T_ = 0
X_BSD_UINT8_T_ = 0
X_BSD_UINTPTR_T_ = 0
X_BYTE_ORDER = 1234
X_FILE_OFFSET_BITS = 64
X_GRP_H_ = 0
X_LIB_PTHREAD_TYPES_H = 0
X_LITTLE_ENDIAN = 1234
X_LP64 = 1
X_NETBSD_SOURCE = 1
X_PATH_GROUP = "/etc/group"
X_PDP_ENDIAN = 3412
X_PT_BARRIERATTR_DEAD = 0xDEAD0808
X_PT_BARRIERATTR_MAGIC = 0x88880808
X_PT_BARRIER_DEAD = 0xDEAD0008
X_PT_BARRIER_MAGIC = 0x88880008
X_PT_CONDATTR_DEAD = 0xDEAD0006
X_PT_CONDATTR_MAGIC = 0x66660006
X_PT_COND_DEAD = 0xDEAD0005
X_PT_COND_MAGIC = 0x55550005
X_PT_MUTEXATTR_DEAD = 0xDEAD0004
X_PT_MUTEXATTR_MAGIC = 0x44440004
X_PT_MUTEX_DEAD = 0xDEAD0003
X_PT_MUTEX_MAGIC = 0x33330003
X_PT_RWLOCKATTR_DEAD = 0xDEAD0909
X_PT_RWLOCKATTR_MAGIC = 0x99990909
X_PT_RWLOCK_DEAD = 0xDEAD0009
X_PT_RWLOCK_MAGIC = 0x99990009
X_PT_SPINLOCK_DEAD = 0xDEAD0007
X_PT_SPINLOCK_MAGIC = 0x77770007
X_PT_SPINLOCK_PSHARED = 0x00000001
X_QUAD_HIGHWORD = 1
X_QUAD_LOWWORD = 0
X_SIZE_T = 0
X_SYS_ANSI_H_ = 0
X_SYS_BSWAP_H_ = 0
X_SYS_CDEFS_ELF_H_ = 0
X_SYS_CDEFS_H_ = 0
X_SYS_COMMON_ANSI_H_ = 0
X_SYS_COMMON_INT_LIMITS_H_ = 0
X_SYS_COMMON_INT_MWGWTYPES_H_ = 0
X_SYS_COMMON_INT_TYPES_H_ = 0
X_SYS_ENDIAN_H_ = 0
X_SYS_FD_SET_H_ = 0
X_SYS_STDINT_H_ = 0
X_SYS_TYPES_H_ = 0
X_X86_64_BSWAP_H_ = 0
X_X86_64_CDEFS_H_ = 0
X_X86_64_TYPES_H_ = 0
BIG_ENDIAN = 4321 // endian.h:101:1:
BYTE_ORDER = 1234 // endian.h:103:1:
FD_SETSIZE = 256 // fd_set.h:59:1:
INT16_MAX = 32767 // common_int_limits.h:53:1:
INT16_MIN = -32768 // common_int_limits.h:47:1:
INT32_MAX = 2147483647 // common_int_limits.h:54:1:
INT32_MIN = -2147483648 // common_int_limits.h:48:1:
INT64_MAX = 9223372036854775807 // common_int_limits.h:55:1:
INT64_MIN = -9223372036854775808 // common_int_limits.h:49:1:
INT8_MAX = 127 // common_int_limits.h:52:1:
INT8_MIN = -128 // common_int_limits.h:46:1:
INTMAX_MAX = 9223372036854775807 // common_int_limits.h:111:1:
INTMAX_MIN = -9223372036854775808 // common_int_limits.h:110:1:
INTPTR_MAX = 9223372036854775807 // common_int_limits.h:105:1:
INTPTR_MIN = -9223372036854775808 // common_int_limits.h:104:1:
INT_FAST16_MAX = 2147483647 // common_int_limits.h:93:1:
INT_FAST16_MIN = -2147483648 // common_int_limits.h:87:1:
INT_FAST32_MAX = 2147483647 // common_int_limits.h:94:1:
INT_FAST32_MIN = -2147483648 // common_int_limits.h:88:1:
INT_FAST64_MAX = 9223372036854775807 // common_int_limits.h:95:1:
INT_FAST64_MIN = -9223372036854775808 // common_int_limits.h:89:1:
INT_FAST8_MAX = 2147483647 // common_int_limits.h:92:1:
INT_FAST8_MIN = -2147483648 // common_int_limits.h:86:1:
INT_LEAST16_MAX = 32767 // common_int_limits.h:73:1:
INT_LEAST16_MIN = -32768 // common_int_limits.h:67:1:
INT_LEAST32_MAX = 2147483647 // common_int_limits.h:74:1:
INT_LEAST32_MIN = -2147483648 // common_int_limits.h:68:1:
INT_LEAST64_MAX = 9223372036854775807 // common_int_limits.h:75:1:
INT_LEAST64_MIN = -9223372036854775808 // common_int_limits.h:69:1:
INT_LEAST8_MAX = 127 // common_int_limits.h:72:1:
INT_LEAST8_MIN = -128 // common_int_limits.h:66:1:
LITTLE_ENDIAN = 1234 // endian.h:100:1:
NBBY = 8 // types.h:316:1:
NFDBITS = 32 // fd_set.h:93:1:
NODEVMAJOR = -1 // types.h:258:1:
PDP_ENDIAN = 3412 // endian.h:102:1:
PTRDIFF_MAX = 9223372036854775807 // common_int_limits.h:121:1:
PTRDIFF_MIN = -9223372036854775808 // common_int_limits.h:120:1:
SIG_ATOMIC_MAX = 2147483647 // common_int_limits.h:125:1:
SIG_ATOMIC_MIN = -2147483648 // common_int_limits.h:124:1:
SIZE_MAX = 18446744073709551615 // common_int_limits.h:128:1:
UINT16_MAX = 65535 // common_int_limits.h:59:1:
UINT32_MAX = 4294967295 // common_int_limits.h:60:1:
UINT64_MAX = 18446744073709551615 // common_int_limits.h:61:1:
UINT8_MAX = 255 // common_int_limits.h:58:1:
UINTMAX_MAX = 18446744073709551615 // common_int_limits.h:112:1:
UINTPTR_MAX = 18446744073709551615 // common_int_limits.h:106:1:
UINT_FAST16_MAX = 4294967295 // common_int_limits.h:99:1:
UINT_FAST32_MAX = 4294967295 // common_int_limits.h:100:1:
UINT_FAST64_MAX = 18446744073709551615 // common_int_limits.h:101:1:
UINT_FAST8_MAX = 4294967295 // common_int_limits.h:98:1:
UINT_LEAST16_MAX = 65535 // common_int_limits.h:79:1:
UINT_LEAST32_MAX = 4294967295 // common_int_limits.h:80:1:
UINT_LEAST64_MAX = 18446744073709551615 // common_int_limits.h:81:1:
UINT_LEAST8_MAX = 255 // common_int_limits.h:78:1:
WCHAR_MAX = 0x7fffffff // wchar_limits.h:41:1:
WCHAR_MIN = -2147483648 // wchar_limits.h:40:1:
WINT_MAX = 0x7fffffff // wchar_limits.h:45:1:
WINT_MIN = -2147483648 // wchar_limits.h:44:1:
X_AMD64_BYTE_SWAP_H_ = 0 // byte_swap.h:37:1:
X_AMD64_INT_CONST_H_ = 0 // int_const.h:33:1:
X_AMD64_INT_LIMITS_H_ = 0 // int_limits.h:33:1:
X_AMD64_INT_MWGWTYPES_H_ = 0 // int_mwgwtypes.h:33:1:
X_AMD64_INT_TYPES_H_ = 0 // int_types.h:35:1:
X_AMD64_WCHAR_LIMITS_H_ = 0 // wchar_limits.h:33:1:
X_BIG_ENDIAN = 4321 // endian.h:44:1:
X_BSD_INT16_T_ = 0 // types.h:65:1:
X_BSD_INT32_T_ = 0 // types.h:75:1:
X_BSD_INT64_T_ = 0 // types.h:85:1:
X_BSD_INT8_T_ = 0 // types.h:55:1:
X_BSD_INTPTR_T_ = 0 // stdint.h:80:1:
X_BSD_UINT16_T_ = 0 // types.h:70:1:
X_BSD_UINT32_T_ = 0 // types.h:80:1:
X_BSD_UINT64_T_ = 0 // types.h:90:1:
X_BSD_UINT8_T_ = 0 // types.h:60:1:
X_BSD_UINTPTR_T_ = 0 // stdint.h:85:1:
X_BYTE_ORDER = 1234 // endian_machdep.h:3:1:
X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
X_GRP_H_ = 0 // grp.h:40:1:
X_LIB_PTHREAD_TYPES_H = 0 // pthread_types.h:33:1:
X_LITTLE_ENDIAN = 1234 // endian.h:43:1:
X_LP64 = 1 // <predefined>:268:1:
X_NETBSD_SOURCE = 1 // featuretest.h:70:1:
X_PATH_GROUP = "/etc/group" // grp.h:47:1:
X_PDP_ENDIAN = 3412 // endian.h:45:1:
X_PT_BARRIERATTR_DEAD = 0xDEAD0808 // pthread_types.h:278:1:
X_PT_BARRIERATTR_MAGIC = 0x88880808 // pthread_types.h:277:1:
X_PT_BARRIER_DEAD = 0xDEAD0008 // pthread_types.h:270:1:
X_PT_BARRIER_MAGIC = 0x88880008 // pthread_types.h:269:1:
X_PT_CONDATTR_DEAD = 0xDEAD0006 // pthread_types.h:197:1:
X_PT_CONDATTR_MAGIC = 0x66660006 // pthread_types.h:196:1:
X_PT_COND_DEAD = 0xDEAD0005 // pthread_types.h:182:1:
X_PT_COND_MAGIC = 0x55550005 // pthread_types.h:181:1:
X_PT_MUTEXATTR_DEAD = 0xDEAD0004 // pthread_types.h:167:1:
X_PT_MUTEXATTR_MAGIC = 0x44440004 // pthread_types.h:166:1:
X_PT_MUTEX_DEAD = 0xDEAD0003 // pthread_types.h:139:1:
X_PT_MUTEX_MAGIC = 0x33330003 // pthread_types.h:138:1:
X_PT_RWLOCKATTR_DEAD = 0xDEAD0909 // pthread_types.h:253:1:
X_PT_RWLOCKATTR_MAGIC = 0x99990909 // pthread_types.h:252:1:
X_PT_RWLOCK_DEAD = 0xDEAD0009 // pthread_types.h:236:1:
X_PT_RWLOCK_MAGIC = 0x99990009 // pthread_types.h:235:1:
X_PT_SPINLOCK_DEAD = 0xDEAD0007 // pthread_types.h:213:1:
X_PT_SPINLOCK_MAGIC = 0x77770007 // pthread_types.h:212:1:
X_PT_SPINLOCK_PSHARED = 0x00000001 // pthread_types.h:214:1:
X_QUAD_HIGHWORD = 1 // endian.h:84:1:
X_QUAD_LOWWORD = 0 // endian.h:85:1:
X_SIZE_T = 0 // types.h:279:1:
X_SYS_ANSI_H_ = 0 // ansi.h:33:1:
X_SYS_BSWAP_H_ = 0 // bswap.h:6:1:
X_SYS_CDEFS_ELF_H_ = 0 // cdefs_elf.h:31:1:
X_SYS_CDEFS_H_ = 0 // cdefs.h:37:1:
X_SYS_COMMON_ANSI_H_ = 0 // common_ansi.h:33:1:
X_SYS_COMMON_INT_LIMITS_H_ = 0 // common_int_limits.h:33:1:
X_SYS_COMMON_INT_MWGWTYPES_H_ = 0 // common_int_mwgwtypes.h:33:1:
X_SYS_COMMON_INT_TYPES_H_ = 0 // common_int_types.h:33:1:
X_SYS_ENDIAN_H_ = 0 // endian.h:35:1:
X_SYS_FD_SET_H_ = 0 // fd_set.h:35:1:
X_SYS_STDINT_H_ = 0 // stdint.h:33:1:
X_SYS_TYPES_H_ = 0 // types.h:40:1:
X_X86_64_BSWAP_H_ = 0 // bswap.h:6:1:
X_X86_64_CDEFS_H_ = 0 // cdefs.h:4:1:
X_X86_64_TYPES_H_ = 0 // types.h:35:1:
)
type Ptrdiff_t = int64 /* <builtin>:3:26 */
+43 -43
View File
@@ -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_openbsd_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_openbsd_amd64.go -pkgname grp', DO NOT EDIT.
package grp
@@ -15,48 +15,48 @@ var _ atomic.Value
var _ unsafe.Pointer
const (
BIG_ENDIAN = 4321
BYTE_ORDER = 1234
LITTLE_ENDIAN = 1234
PDP_ENDIAN = 3412
X_BIG_ENDIAN = 4321
X_BYTE_ORDER = 1234
X_CLOCKID_T_DEFINED_ = 0
X_CLOCK_T_DEFINED_ = 0
X_FILE_OFFSET_BITS = 64
X_GRP_H_ = 0
X_INT16_T_DEFINED_ = 0
X_INT32_T_DEFINED_ = 0
X_INT64_T_DEFINED_ = 0
X_INT8_T_DEFINED_ = 0
X_LITTLE_ENDIAN = 1234
X_LP64 = 1
X_MACHINE_CDEFS_H_ = 0
X_MACHINE_ENDIAN_H_ = 0
X_MACHINE__TYPES_H_ = 0
X_MAX_PAGE_SHIFT = 12
X_OFF_T_DEFINED_ = 0
X_PATH_GROUP = "/etc/group"
X_PDP_ENDIAN = 3412
X_PID_T_DEFINED_ = 0
X_QUAD_HIGHWORD = 1
X_QUAD_LOWWORD = 0
X_RET_PROTECTOR = 1
X_SIZE_T_DEFINED_ = 0
X_SSIZE_T_DEFINED_ = 0
X_STACKALIGNBYTES = 15
X_SYS_CDEFS_H_ = 0
X_SYS_ENDIAN_H_ = 0
X_SYS_TYPES_H_ = 0
X_SYS__ENDIAN_H_ = 0
X_SYS__TYPES_H_ = 0
X_TIMER_T_DEFINED_ = 0
X_TIME_T_DEFINED_ = 0
X_UINT16_T_DEFINED_ = 0
X_UINT32_T_DEFINED_ = 0
X_UINT64_T_DEFINED_ = 0
X_UINT8_T_DEFINED_ = 0
Unix = 1
BIG_ENDIAN = 4321 // endian.h:45:1:
BYTE_ORDER = 1234 // endian.h:47:1:
LITTLE_ENDIAN = 1234 // endian.h:44: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:163:1:
X_CLOCK_T_DEFINED_ = 0 // types.h:158:1:
X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
X_GRP_H_ = 0 // grp.h:41: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: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:193:1:
X_PATH_GROUP = "/etc/group" // grp.h:46:1:
X_PDP_ENDIAN = 3412 // _endian.h:44:1:
X_PID_T_DEFINED_ = 0 // types.h:168: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_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_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_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:
)
type Ptrdiff_t = int64 /* <builtin>:3:26 */
+1 -1
View File
@@ -1,4 +1,4 @@
// Code generated by 'ccgo langinfo/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o langinfo/langinfo_freebsd_386.go -pkgname langinfo', DO NOT EDIT.
// Code generated by 'ccgo langinfo/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o langinfo/langinfo_freebsd_386.go -pkgname langinfo', DO NOT EDIT.
package langinfo
+1 -1
View File
@@ -1,4 +1,4 @@
// Code generated by 'ccgo langinfo/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o langinfo/langinfo_freebsd_amd64.go -pkgname langinfo', DO NOT EDIT.
// Code generated by 'ccgo langinfo/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o langinfo/langinfo_freebsd_amd64.go -pkgname langinfo', DO NOT EDIT.
package langinfo
+5
View File
@@ -0,0 +1,5 @@
// Code generated by 'ccgo langinfo/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o langinfo/langinfo_linux_ppc64le.go -pkgname langinfo', DO NOT EDIT.
package langinfo
var CAPI = map[string]struct{}{}
+1 -1
View File
@@ -1,4 +1,4 @@
// Code generated by 'ccgo langinfo/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o langinfo/langinfo_netbsd_amd64.go -pkgname langinfo', DO NOT EDIT.
// Code generated by 'ccgo langinfo/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o langinfo/langinfo_netbsd_amd64.go -pkgname langinfo', DO NOT EDIT.
package langinfo
+1 -1
View File
@@ -1,4 +1,4 @@
// Code generated by 'ccgo langinfo/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o langinfo/langinfo_openbsd_amd64.go -pkgname langinfo', DO NOT EDIT.
// Code generated by 'ccgo langinfo/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o langinfo/langinfo_openbsd_amd64.go -pkgname langinfo', DO NOT EDIT.
package langinfo
+86 -86
View File
@@ -1,4 +1,4 @@
// Code generated by 'ccgo langinfo/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o langinfo/langinfo_freebsd_386.go -pkgname langinfo', DO NOT EDIT.
// Code generated by 'ccgo langinfo/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o langinfo/langinfo_freebsd_386.go -pkgname langinfo', DO NOT EDIT.
package langinfo
@@ -15,91 +15,91 @@ var _ atomic.Value
var _ unsafe.Pointer
const (
ABDAY_1 = 14
ABDAY_2 = 15
ABDAY_3 = 16
ABDAY_4 = 17
ABDAY_5 = 18
ABDAY_6 = 19
ABDAY_7 = 20
ABMON_1 = 33
ABMON_10 = 42
ABMON_11 = 43
ABMON_12 = 44
ABMON_2 = 34
ABMON_3 = 35
ABMON_4 = 36
ABMON_5 = 37
ABMON_6 = 38
ABMON_7 = 39
ABMON_8 = 40
ABMON_9 = 41
ALTMON_1 = 58
ALTMON_10 = 67
ALTMON_11 = 68
ALTMON_12 = 69
ALTMON_2 = 59
ALTMON_3 = 60
ALTMON_4 = 61
ALTMON_5 = 62
ALTMON_6 = 63
ALTMON_7 = 64
ALTMON_8 = 65
ALTMON_9 = 66
ALT_DIGITS = 49
AM_STR = 5
CODESET = 0
CRNCYSTR = 56
DAY_1 = 7
DAY_2 = 8
DAY_3 = 9
DAY_4 = 10
DAY_5 = 11
DAY_6 = 12
DAY_7 = 13
D_FMT = 2
D_MD_ORDER = 57
D_T_FMT = 1
ERA = 45
ERA_D_FMT = 46
ERA_D_T_FMT = 47
ERA_T_FMT = 48
MON_1 = 21
MON_10 = 30
MON_11 = 31
MON_12 = 32
MON_2 = 22
MON_3 = 23
MON_4 = 24
MON_5 = 25
MON_6 = 26
MON_7 = 27
MON_8 = 28
MON_9 = 29
NOEXPR = 53
NOSTR = 55
PM_STR = 6
RADIXCHAR = 50
THOUSEP = 51
T_FMT = 3
T_FMT_AMPM = 4
YESEXPR = 52
YESSTR = 54
X_FILE_OFFSET_BITS = 64
X_ILP32 = 1
X_LANGINFO_H_ = 0
X_LOCALE_T_DEFINED = 0
X_MACHINE__LIMITS_H_ = 0
X_MACHINE__TYPES_H_ = 0
X_NL_ITEM_DECLARED = 0
X_Nonnull = 0
X_Null_unspecified = 0
X_Nullable = 0
X_SYS_CDEFS_H_ = 0
X_SYS__TYPES_H_ = 0
X_XLOCALE_LANGINFO_H = 0
I386 = 1
Unix = 1
ABDAY_1 = 14 // langinfo.h:60:1:
ABDAY_2 = 15 // langinfo.h:61:1:
ABDAY_3 = 16 // langinfo.h:62:1:
ABDAY_4 = 17 // langinfo.h:63:1:
ABDAY_5 = 18 // langinfo.h:64:1:
ABDAY_6 = 19 // langinfo.h:65:1:
ABDAY_7 = 20 // langinfo.h:66:1:
ABMON_1 = 33 // langinfo.h:83:1:
ABMON_10 = 42 // langinfo.h:92:1:
ABMON_11 = 43 // langinfo.h:93:1:
ABMON_12 = 44 // langinfo.h:94:1:
ABMON_2 = 34 // langinfo.h:84:1:
ABMON_3 = 35 // langinfo.h:85:1:
ABMON_4 = 36 // langinfo.h:86:1:
ABMON_5 = 37 // langinfo.h:87:1:
ABMON_6 = 38 // langinfo.h:88:1:
ABMON_7 = 39 // langinfo.h:89:1:
ABMON_8 = 40 // langinfo.h:90:1:
ABMON_9 = 41 // langinfo.h:91:1:
ALTMON_1 = 58 // langinfo.h:120:1:
ALTMON_10 = 67 // langinfo.h:129:1:
ALTMON_11 = 68 // langinfo.h:130:1:
ALTMON_12 = 69 // langinfo.h:131:1:
ALTMON_2 = 59 // langinfo.h:121:1:
ALTMON_3 = 60 // langinfo.h:122:1:
ALTMON_4 = 61 // langinfo.h:123:1:
ALTMON_5 = 62 // langinfo.h:124:1:
ALTMON_6 = 63 // langinfo.h:125:1:
ALTMON_7 = 64 // langinfo.h:126:1:
ALTMON_8 = 65 // langinfo.h:127:1:
ALTMON_9 = 66 // langinfo.h:128:1:
ALT_DIGITS = 49 // langinfo.h:100:1:
AM_STR = 5 // langinfo.h:47:1:
CODESET = 0 // langinfo.h:42:1:
CRNCYSTR = 56 // langinfo.h:113:1:
DAY_1 = 7 // langinfo.h:51:1:
DAY_2 = 8 // langinfo.h:52:1:
DAY_3 = 9 // langinfo.h:53:1:
DAY_4 = 10 // langinfo.h:54:1:
DAY_5 = 11 // langinfo.h:55:1:
DAY_6 = 12 // langinfo.h:56:1:
DAY_7 = 13 // langinfo.h:57:1:
D_FMT = 2 // langinfo.h:44:1:
D_MD_ORDER = 57 // langinfo.h:116:1:
D_T_FMT = 1 // langinfo.h:43:1:
ERA = 45 // langinfo.h:96:1:
ERA_D_FMT = 46 // langinfo.h:97:1:
ERA_D_T_FMT = 47 // langinfo.h:98:1:
ERA_T_FMT = 48 // langinfo.h:99:1:
MON_1 = 21 // langinfo.h:69:1:
MON_10 = 30 // langinfo.h:78:1:
MON_11 = 31 // langinfo.h:79:1:
MON_12 = 32 // langinfo.h:80:1:
MON_2 = 22 // langinfo.h:70:1:
MON_3 = 23 // langinfo.h:71:1:
MON_4 = 24 // langinfo.h:72:1:
MON_5 = 25 // langinfo.h:73:1:
MON_6 = 26 // langinfo.h:74:1:
MON_7 = 27 // langinfo.h:75:1:
MON_8 = 28 // langinfo.h:76:1:
MON_9 = 29 // langinfo.h:77:1:
NOEXPR = 53 // langinfo.h:106:1:
NOSTR = 55 // langinfo.h:110:1:
PM_STR = 6 // langinfo.h:48:1:
RADIXCHAR = 50 // langinfo.h:102:1:
THOUSEP = 51 // langinfo.h:103:1:
T_FMT = 3 // langinfo.h:45:1:
T_FMT_AMPM = 4 // langinfo.h:46:1:
YESEXPR = 52 // langinfo.h:105:1:
YESSTR = 54 // langinfo.h:109:1:
X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
X_ILP32 = 1 // <predefined>:1:1:
X_LANGINFO_H_ = 0 // langinfo.h:32:1:
X_LOCALE_T_DEFINED = 0 // _langinfo.h:38:1:
X_MACHINE__LIMITS_H_ = 0 // _limits.h:36:1:
X_MACHINE__TYPES_H_ = 0 // _types.h:42:1:
X_NL_ITEM_DECLARED = 0 // langinfo.h:39: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__TYPES_H_ = 0 // _types.h:32:1:
X_XLOCALE_LANGINFO_H = 0 // _langinfo.h:35:1:
I386 = 1 // <predefined>:335:1:
Unix = 1 // <predefined>:336:1:
)
type Ptrdiff_t = int32 /* <builtin>:3:26 */
+85 -85
View File
@@ -1,4 +1,4 @@
// Code generated by 'ccgo langinfo/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o langinfo/langinfo_freebsd_amd64.go -pkgname langinfo', DO NOT EDIT.
// Code generated by 'ccgo langinfo/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o langinfo/langinfo_freebsd_amd64.go -pkgname langinfo', DO NOT EDIT.
package langinfo
@@ -15,90 +15,90 @@ var _ atomic.Value
var _ unsafe.Pointer
const (
ABDAY_1 = 14
ABDAY_2 = 15
ABDAY_3 = 16
ABDAY_4 = 17
ABDAY_5 = 18
ABDAY_6 = 19
ABDAY_7 = 20
ABMON_1 = 33
ABMON_10 = 42
ABMON_11 = 43
ABMON_12 = 44
ABMON_2 = 34
ABMON_3 = 35
ABMON_4 = 36
ABMON_5 = 37
ABMON_6 = 38
ABMON_7 = 39
ABMON_8 = 40
ABMON_9 = 41
ALTMON_1 = 58
ALTMON_10 = 67
ALTMON_11 = 68
ALTMON_12 = 69
ALTMON_2 = 59
ALTMON_3 = 60
ALTMON_4 = 61
ALTMON_5 = 62
ALTMON_6 = 63
ALTMON_7 = 64
ALTMON_8 = 65
ALTMON_9 = 66
ALT_DIGITS = 49
AM_STR = 5
CODESET = 0
CRNCYSTR = 56
DAY_1 = 7
DAY_2 = 8
DAY_3 = 9
DAY_4 = 10
DAY_5 = 11
DAY_6 = 12
DAY_7 = 13
D_FMT = 2
D_MD_ORDER = 57
D_T_FMT = 1
ERA = 45
ERA_D_FMT = 46
ERA_D_T_FMT = 47
ERA_T_FMT = 48
MON_1 = 21
MON_10 = 30
MON_11 = 31
MON_12 = 32
MON_2 = 22
MON_3 = 23
MON_4 = 24
MON_5 = 25
MON_6 = 26
MON_7 = 27
MON_8 = 28
MON_9 = 29
NOEXPR = 53
NOSTR = 55
PM_STR = 6
RADIXCHAR = 50
THOUSEP = 51
T_FMT = 3
T_FMT_AMPM = 4
YESEXPR = 52
YESSTR = 54
X_FILE_OFFSET_BITS = 64
X_LANGINFO_H_ = 0
X_LOCALE_T_DEFINED = 0
X_LP64 = 1
X_MACHINE__LIMITS_H_ = 0
X_MACHINE__TYPES_H_ = 0
X_NL_ITEM_DECLARED = 0
X_Nonnull = 0
X_Null_unspecified = 0
X_Nullable = 0
X_SYS_CDEFS_H_ = 0
X_SYS__TYPES_H_ = 0
X_XLOCALE_LANGINFO_H = 0
Unix = 1
ABDAY_1 = 14 // langinfo.h:60:1:
ABDAY_2 = 15 // langinfo.h:61:1:
ABDAY_3 = 16 // langinfo.h:62:1:
ABDAY_4 = 17 // langinfo.h:63:1:
ABDAY_5 = 18 // langinfo.h:64:1:
ABDAY_6 = 19 // langinfo.h:65:1:
ABDAY_7 = 20 // langinfo.h:66:1:
ABMON_1 = 33 // langinfo.h:83:1:
ABMON_10 = 42 // langinfo.h:92:1:
ABMON_11 = 43 // langinfo.h:93:1:
ABMON_12 = 44 // langinfo.h:94:1:
ABMON_2 = 34 // langinfo.h:84:1:
ABMON_3 = 35 // langinfo.h:85:1:
ABMON_4 = 36 // langinfo.h:86:1:
ABMON_5 = 37 // langinfo.h:87:1:
ABMON_6 = 38 // langinfo.h:88:1:
ABMON_7 = 39 // langinfo.h:89:1:
ABMON_8 = 40 // langinfo.h:90:1:
ABMON_9 = 41 // langinfo.h:91:1:
ALTMON_1 = 58 // langinfo.h:120:1:
ALTMON_10 = 67 // langinfo.h:129:1:
ALTMON_11 = 68 // langinfo.h:130:1:
ALTMON_12 = 69 // langinfo.h:131:1:
ALTMON_2 = 59 // langinfo.h:121:1:
ALTMON_3 = 60 // langinfo.h:122:1:
ALTMON_4 = 61 // langinfo.h:123:1:
ALTMON_5 = 62 // langinfo.h:124:1:
ALTMON_6 = 63 // langinfo.h:125:1:
ALTMON_7 = 64 // langinfo.h:126:1:
ALTMON_8 = 65 // langinfo.h:127:1:
ALTMON_9 = 66 // langinfo.h:128:1:
ALT_DIGITS = 49 // langinfo.h:100:1:
AM_STR = 5 // langinfo.h:47:1:
CODESET = 0 // langinfo.h:42:1:
CRNCYSTR = 56 // langinfo.h:113:1:
DAY_1 = 7 // langinfo.h:51:1:
DAY_2 = 8 // langinfo.h:52:1:
DAY_3 = 9 // langinfo.h:53:1:
DAY_4 = 10 // langinfo.h:54:1:
DAY_5 = 11 // langinfo.h:55:1:
DAY_6 = 12 // langinfo.h:56:1:
DAY_7 = 13 // langinfo.h:57:1:
D_FMT = 2 // langinfo.h:44:1:
D_MD_ORDER = 57 // langinfo.h:116:1:
D_T_FMT = 1 // langinfo.h:43:1:
ERA = 45 // langinfo.h:96:1:
ERA_D_FMT = 46 // langinfo.h:97:1:
ERA_D_T_FMT = 47 // langinfo.h:98:1:
ERA_T_FMT = 48 // langinfo.h:99:1:
MON_1 = 21 // langinfo.h:69:1:
MON_10 = 30 // langinfo.h:78:1:
MON_11 = 31 // langinfo.h:79:1:
MON_12 = 32 // langinfo.h:80:1:
MON_2 = 22 // langinfo.h:70:1:
MON_3 = 23 // langinfo.h:71:1:
MON_4 = 24 // langinfo.h:72:1:
MON_5 = 25 // langinfo.h:73:1:
MON_6 = 26 // langinfo.h:74:1:
MON_7 = 27 // langinfo.h:75:1:
MON_8 = 28 // langinfo.h:76:1:
MON_9 = 29 // langinfo.h:77:1:
NOEXPR = 53 // langinfo.h:106:1:
NOSTR = 55 // langinfo.h:110:1:
PM_STR = 6 // langinfo.h:48:1:
RADIXCHAR = 50 // langinfo.h:102:1:
THOUSEP = 51 // langinfo.h:103:1:
T_FMT = 3 // langinfo.h:45:1:
T_FMT_AMPM = 4 // langinfo.h:46:1:
YESEXPR = 52 // langinfo.h:105:1:
YESSTR = 54 // langinfo.h:109:1:
X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
X_LANGINFO_H_ = 0 // langinfo.h:32:1:
X_LOCALE_T_DEFINED = 0 // _langinfo.h:38: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_NL_ITEM_DECLARED = 0 // langinfo.h:39:1:
X_Nonnull = 0 // cdefs.h:783:1:
X_Null_unspecified = 0 // cdefs.h:785:1:
X_Nullable = 0 // cdefs.h:784:1:
X_SYS_CDEFS_H_ = 0 // cdefs.h:39:1:
X_SYS__TYPES_H_ = 0 // _types.h:32:1:
X_XLOCALE_LANGINFO_H = 0 // _langinfo.h:35:1:
Unix = 1 // <predefined>:337:1:
)
type Ptrdiff_t = int64 /* <builtin>:3:26 */
File diff suppressed because it is too large Load Diff
+10 -10
View File
@@ -1,4 +1,4 @@
// Code generated by 'ccgo langinfo/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o langinfo/langinfo_netbsd_amd64.go -pkgname langinfo', DO NOT EDIT.
// Code generated by 'ccgo langinfo/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o langinfo/langinfo_netbsd_amd64.go -pkgname langinfo', DO NOT EDIT.
package langinfo
@@ -15,15 +15,15 @@ var _ atomic.Value
var _ unsafe.Pointer
const (
NL_CAT_LOCALE = 1
NL_SETD = 1
X_FILE_OFFSET_BITS = 64
X_LANGINFO_H_ = 0
X_LP64 = 1
X_NL_TYPES_H_ = 0
X_SYS_CDEFS_ELF_H_ = 0
X_SYS_CDEFS_H_ = 0
X_X86_64_CDEFS_H_ = 0
NL_CAT_LOCALE = 1 // nl_types.h:75:1:
NL_SETD = 1 // nl_types.h:74:1:
X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
X_LANGINFO_H_ = 0 // langinfo.h:9:1:
X_LP64 = 1 // <predefined>:268:1:
X_NL_TYPES_H_ = 0 // nl_types.h:33:1:
X_SYS_CDEFS_ELF_H_ = 0 // cdefs_elf.h:31:1:
X_SYS_CDEFS_H_ = 0 // cdefs.h:37:1:
X_X86_64_CDEFS_H_ = 0 // cdefs.h:4:1:
)
type Ptrdiff_t = int64 /* <builtin>:3:26 */
+64 -64
View File
@@ -1,4 +1,4 @@
// Code generated by 'ccgo langinfo/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o langinfo/langinfo_openbsd_amd64.go -pkgname langinfo', DO NOT EDIT.
// Code generated by 'ccgo langinfo/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o langinfo/langinfo_openbsd_amd64.go -pkgname langinfo', DO NOT EDIT.
package langinfo
@@ -15,69 +15,69 @@ var _ atomic.Value
var _ unsafe.Pointer
const (
ABDAY_1 = 13
ABDAY_2 = 14
ABDAY_3 = 15
ABDAY_4 = 16
ABDAY_5 = 17
ABDAY_6 = 18
ABDAY_7 = 19
ABMON_1 = 32
ABMON_10 = 41
ABMON_11 = 42
ABMON_12 = 43
ABMON_2 = 33
ABMON_3 = 34
ABMON_4 = 35
ABMON_5 = 36
ABMON_6 = 37
ABMON_7 = 38
ABMON_8 = 39
ABMON_9 = 40
AM_STR = 4
CODESET = 51
CRNCYSTR = 50
DAY_1 = 6
DAY_2 = 7
DAY_3 = 8
DAY_4 = 9
DAY_5 = 10
DAY_6 = 11
DAY_7 = 12
D_FMT = 1
D_T_FMT = 0
MON_1 = 20
MON_10 = 29
MON_11 = 30
MON_12 = 31
MON_2 = 21
MON_3 = 22
MON_4 = 23
MON_5 = 24
MON_6 = 25
MON_7 = 26
MON_8 = 27
MON_9 = 28
NL_CAT_LOCALE = 1
NL_SETD = 1
NOEXPR = 49
NOSTR = 48
PM_STR = 5
RADIXCHAR = 44
THOUSEP = 45
T_FMT = 2
T_FMT_AMPM = 3
YESEXPR = 47
YESSTR = 46
X_FILE_OFFSET_BITS = 64
X_LANGINFO_H_ = 0
X_LOCALE_T_DEFINED_ = 0
X_LP64 = 1
X_MACHINE_CDEFS_H_ = 0
X_NL_TYPES_H_ = 0
X_RET_PROTECTOR = 1
X_SYS_CDEFS_H_ = 0
Unix = 1
ABDAY_1 = 13 // langinfo.h:29:1:
ABDAY_2 = 14 // langinfo.h:30:1:
ABDAY_3 = 15 // langinfo.h:31:1:
ABDAY_4 = 16 // langinfo.h:32:1:
ABDAY_5 = 17 // langinfo.h:33:1:
ABDAY_6 = 18 // langinfo.h:34:1:
ABDAY_7 = 19 // langinfo.h:35:1:
ABMON_1 = 32 // langinfo.h:50:1:
ABMON_10 = 41 // langinfo.h:59:1:
ABMON_11 = 42 // langinfo.h:60:1:
ABMON_12 = 43 // langinfo.h:61:1:
ABMON_2 = 33 // langinfo.h:51:1:
ABMON_3 = 34 // langinfo.h:52:1:
ABMON_4 = 35 // langinfo.h:53:1:
ABMON_5 = 36 // langinfo.h:54:1:
ABMON_6 = 37 // langinfo.h:55:1:
ABMON_7 = 38 // langinfo.h:56:1:
ABMON_8 = 39 // langinfo.h:57:1:
ABMON_9 = 40 // langinfo.h:58:1:
AM_STR = 4 // langinfo.h:18:1:
CODESET = 51 // langinfo.h:71:1:
CRNCYSTR = 50 // langinfo.h:69:1:
DAY_1 = 6 // langinfo.h:21:1:
DAY_2 = 7 // langinfo.h:22:1:
DAY_3 = 8 // langinfo.h:23:1:
DAY_4 = 9 // langinfo.h:24:1:
DAY_5 = 10 // langinfo.h:25:1:
DAY_6 = 11 // langinfo.h:26:1:
DAY_7 = 12 // langinfo.h:27:1:
D_FMT = 1 // langinfo.h:15:1:
D_T_FMT = 0 // langinfo.h:14:1:
MON_1 = 20 // langinfo.h:37:1:
MON_10 = 29 // langinfo.h:46:1:
MON_11 = 30 // langinfo.h:47:1:
MON_12 = 31 // langinfo.h:48:1:
MON_2 = 21 // langinfo.h:38:1:
MON_3 = 22 // langinfo.h:39:1:
MON_4 = 23 // langinfo.h:40:1:
MON_5 = 24 // langinfo.h:41:1:
MON_6 = 25 // langinfo.h:42:1:
MON_7 = 26 // langinfo.h:43:1:
MON_8 = 27 // langinfo.h:44:1:
MON_9 = 28 // langinfo.h:45:1:
NL_CAT_LOCALE = 1 // nl_types.h:76:1:
NL_SETD = 1 // nl_types.h:75:1:
NOEXPR = 49 // langinfo.h:68:1:
NOSTR = 48 // langinfo.h:67:1:
PM_STR = 5 // langinfo.h:19:1:
RADIXCHAR = 44 // langinfo.h:63:1:
THOUSEP = 45 // langinfo.h:64:1:
T_FMT = 2 // langinfo.h:16:1:
T_FMT_AMPM = 3 // langinfo.h:17:1:
YESEXPR = 47 // langinfo.h:66:1:
YESSTR = 46 // langinfo.h:65:1:
X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
X_LANGINFO_H_ = 0 // langinfo.h:10:1:
X_LOCALE_T_DEFINED_ = 0 // langinfo.h:75:1:
X_LP64 = 1 // <predefined>:1:1:
X_MACHINE_CDEFS_H_ = 0 // cdefs.h:9:1:
X_NL_TYPES_H_ = 0 // nl_types.h:34:1:
X_RET_PROTECTOR = 1 // <predefined>:2:1:
X_SYS_CDEFS_H_ = 0 // cdefs.h:39:1:
Unix = 1 // <predefined>:340:1:
)
type Ptrdiff_t = int64 /* <builtin>:3:26 */
+2 -2
View File
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//go:build amd64 || arm64 || riscv64 || s390x
// +build amd64 arm64 riscv64 s390x
//go:build amd64 || arm64 || ppc64le || riscv64 || s390x
// +build amd64 arm64 ppc64le riscv64 s390x
package libc // import "modernc.org/libc"
+15
View File
@@ -2028,3 +2028,18 @@ func X__sincospif_stret(t *TLS, f float32) struct{ F__sinval, F__cosval float32
func X__sincospi_stret(t *TLS, f float64) struct{ F__sinval, F__cosval float64 } {
panic(todo(""))
}
// int __srget(FILE *);
func X__srget(t *TLS, f uintptr) int32 {
panic(todo(""))
}
// int __svfscanf(FILE *, const char *, va_list) __scanflike(2, 0);
func X__svfscanf(t *TLS, f uintptr, p, q uintptr) int32 {
panic(todo(""))
}
// int __swbuf(int, FILE *);
func X__swbuf(t *TLS, i int32, f uintptr) int32 {
panic(todo(""))
}
+2
View File
@@ -1507,3 +1507,5 @@ func Xuuid_parse(t *TLS, in uintptr, uu uintptr) int32 {
copy((*RawMem)(unsafe.Pointer(uu))[:unsafe.Sizeof(uuid.Uuid_t{})], r[:])
return 0
}
func X__srget(t *TLS, stream uintptr) int32 { return Xgetc(t, stream) }
-2
View File
@@ -630,8 +630,6 @@ func Xopendir(t *TLS, name uintptr) uintptr {
return p
}
func X__srget(t *TLS, stream uintptr) int32 { return Xgetc(t, stream) }
// int chflags(const char *path, u_int flags);
func Xchflags(t *TLS, path uintptr, flags uint32) int32 {
if err := unix.Chflags(GoString(path), int(flags)); err != nil {
+487
View File
@@ -0,0 +1,487 @@
// Copyright 2020 The Libc Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package libc // import "modernc.org/libc"
import (
"os"
"strings"
"unicode"
"unsafe"
"golang.org/x/sys/unix"
"modernc.org/libc/errno"
"modernc.org/libc/fcntl"
"modernc.org/libc/signal"
"modernc.org/libc/sys/types"
"modernc.org/libc/wctype"
)
// int sigaction(int signum, const struct sigaction *act, struct sigaction *oldact);
func Xsigaction(t *TLS, signum int32, act, oldact uintptr) int32 {
// musl/arch/x86_64/ksigaction.h
//
// struct k_sigaction {
// void (*handler)(int);
// unsigned long flags;
// void (*restorer)(void);
// unsigned mask[2];
// };
type k_sigaction struct {
handler uintptr
flags ulong
restorer uintptr
mask [2]uint32
}
var kact, koldact uintptr
if act != 0 {
sz := int(unsafe.Sizeof(k_sigaction{}))
kact = t.Alloc(sz)
defer t.Free(sz)
*(*k_sigaction)(unsafe.Pointer(kact)) = k_sigaction{
handler: (*signal.Sigaction)(unsafe.Pointer(act)).F__sigaction_handler.Fsa_handler,
flags: ulong((*signal.Sigaction)(unsafe.Pointer(act)).Fsa_flags),
restorer: (*signal.Sigaction)(unsafe.Pointer(act)).Fsa_restorer,
}
Xmemcpy(t, kact+unsafe.Offsetof(k_sigaction{}.mask), act+unsafe.Offsetof(signal.Sigaction{}.Fsa_mask), types.Size_t(unsafe.Sizeof(k_sigaction{}.mask)))
}
if oldact != 0 {
panic(todo(""))
}
if _, _, err := unix.Syscall6(unix.SYS_RT_SIGACTION, uintptr(signum), kact, koldact, unsafe.Sizeof(k_sigaction{}.mask), 0, 0); err != 0 {
t.setErrno(err)
return -1
}
if oldact != 0 {
panic(todo(""))
}
return 0
}
// int fcntl(int fd, int cmd, ... /* arg */ );
func Xfcntl64(t *TLS, fd, cmd int32, args uintptr) int32 {
var arg uintptr
if args != 0 {
arg = *(*uintptr)(unsafe.Pointer(args))
}
switch cmd {
case unix.F_GETLK64: // 0xc
cmd = unix.F_GETLK // 0x5
case unix.F_SETLK64: // 0xd
cmd = unix.F_SETLK // 0x6
case unix.F_SETLKW64: // 0xe
cmd = unix.F_SETLKW // 0x7
}
if cmd == fcntl.F_SETFL {
arg |= unix.O_LARGEFILE
}
n, _, err := unix.Syscall(unix.SYS_FCNTL, uintptr(fd), uintptr(cmd), arg)
if err != 0 {
// if dmesgs {
// dmesg("%v: fd %v cmd %v", origin(1), fcntlCmdStr(fd), cmd)
// }
t.setErrno(err)
return -1
}
// if dmesgs {
// dmesg("%v: %d %s %#x: %d", origin(1), fd, fcntlCmdStr(cmd), arg, n)
// }
return int32(n)
}
// int lstat(const char *pathname, struct stat *statbuf);
func Xlstat64(t *TLS, pathname, statbuf uintptr) int32 {
if _, _, err := unix.Syscall(unix.SYS_LSTAT, pathname, statbuf, 0); err != 0 {
// if dmesgs {
// dmesg("%v: %q: %v", origin(1), GoString(pathname), err)
// }
t.setErrno(err)
return -1
}
// if dmesgs {
// dmesg("%v: %q: ok", origin(1), GoString(pathname))
// }
return 0
}
// int stat(const char *pathname, struct stat *statbuf);
func Xstat64(t *TLS, pathname, statbuf uintptr) int32 {
if _, _, err := unix.Syscall(unix.SYS_STAT, pathname, statbuf, 0); err != 0 {
// if dmesgs {
// dmesg("%v: %q: %v", origin(1), GoString(pathname), err)
// }
t.setErrno(err)
return -1
}
// if dmesgs {
// dmesg("%v: %q: ok", origin(1), GoString(pathname))
// }
return 0
}
// int fstat(int fd, struct stat *statbuf);
func Xfstat64(t *TLS, fd int32, statbuf uintptr) int32 {
if _, _, err := unix.Syscall(unix.SYS_FSTAT, uintptr(fd), statbuf, 0); err != 0 {
// if dmesgs {
// dmesg("%v: fd %d: %v", origin(1), fd, err)
// }
t.setErrno(err)
return -1
}
// if dmesgs {
// dmesg("%v: %d size %#x: ok\n%+v", origin(1), fd, (*stat.Stat)(unsafe.Pointer(statbuf)).Fst_size, (*stat.Stat)(unsafe.Pointer(statbuf)))
// }
return 0
}
func Xmmap(t *TLS, addr uintptr, length types.Size_t, prot, flags, fd int32, offset types.Off_t) uintptr {
return Xmmap64(t, addr, length, prot, flags, fd, offset)
}
// void *mmap(void *addr, size_t length, int prot, int flags, int fd, off_t offset);
func Xmmap64(t *TLS, addr uintptr, length types.Size_t, prot, flags, fd int32, offset types.Off_t) uintptr {
data, _, err := unix.Syscall6(unix.SYS_MMAP, addr, uintptr(length), uintptr(prot), uintptr(flags), uintptr(fd), uintptr(offset))
if err != 0 {
// if dmesgs {
// dmesg("%v: %v", origin(1), err)
// }
t.setErrno(err)
return ^uintptr(0) // (void*)-1
}
// if dmesgs {
// dmesg("%v: %#x", origin(1), data)
// }
return data
}
// void *mremap(void *old_address, size_t old_size, size_t new_size, int flags, ... /* void *new_address */);
func Xmremap(t *TLS, old_address uintptr, old_size, new_size types.Size_t, flags int32, args uintptr) uintptr {
var arg uintptr
if args != 0 {
arg = *(*uintptr)(unsafe.Pointer(args))
}
data, _, err := unix.Syscall6(unix.SYS_MREMAP, old_address, uintptr(old_size), uintptr(new_size), uintptr(flags), arg, 0)
if err != 0 {
// if dmesgs {
// dmesg("%v: %v", origin(1), err)
// }
t.setErrno(err)
return ^uintptr(0) // (void*)-1
}
// if dmesgs {
// dmesg("%v: %#x", origin(1), data)
// }
return data
}
// int ftruncate(int fd, off_t length);
func Xftruncate64(t *TLS, fd int32, length types.Off_t) int32 {
if _, _, err := unix.Syscall(unix.SYS_FTRUNCATE, uintptr(fd), uintptr(length), 0); err != 0 {
// if dmesgs {
// dmesg("%v: fd %d: %v", origin(1), fd, err)
// }
t.setErrno(err)
return -1
}
// if dmesgs {
// dmesg("%v: %d %#x: ok", origin(1), fd, length)
// }
return 0
}
// off64_t lseek64(int fd, off64_t offset, int whence);
func Xlseek64(t *TLS, fd int32, offset types.Off_t, whence int32) types.Off_t {
n, _, err := unix.Syscall(unix.SYS_LSEEK, uintptr(fd), uintptr(offset), uintptr(whence))
if err != 0 {
// if dmesgs {
// dmesg("%v: fd %v, off %#x, whence %v: %v", origin(1), fd, offset, whenceStr(whence), err)
// }
t.setErrno(err)
return -1
}
// if dmesgs {
// dmesg("%v: fd %v, off %#x, whence %v: %#x", origin(1), fd, offset, whenceStr(whence), n)
// }
return types.Off_t(n)
}
// int utime(const char *filename, const struct utimbuf *times);
func Xutime(t *TLS, filename, times uintptr) int32 {
if _, _, err := unix.Syscall(unix.SYS_UTIME, filename, times, 0); err != 0 {
t.setErrno(err)
return -1
}
return 0
}
// unsigned int alarm(unsigned int seconds);
func Xalarm(t *TLS, seconds uint32) uint32 {
n, _, err := unix.Syscall(unix.SYS_ALARM, uintptr(seconds), 0, 0)
if err != 0 {
panic(todo(""))
}
return uint32(n)
}
// time_t time(time_t *tloc);
func Xtime(t *TLS, tloc uintptr) types.Time_t {
n, _, err := unix.Syscall(unix.SYS_TIME, tloc, 0, 0)
if err != 0 {
t.setErrno(err)
return types.Time_t(-1)
}
if tloc != 0 {
*(*types.Time_t)(unsafe.Pointer(tloc)) = types.Time_t(n)
}
return types.Time_t(n)
}
// int getrlimit(int resource, struct rlimit *rlim);
func Xgetrlimit64(t *TLS, resource int32, rlim uintptr) int32 {
if _, _, err := unix.Syscall(unix.SYS_GETRLIMIT, uintptr(resource), uintptr(rlim), 0); err != 0 {
t.setErrno(err)
return -1
}
return 0
}
// int mkdir(const char *path, mode_t mode);
func Xmkdir(t *TLS, path uintptr, mode types.Mode_t) int32 {
if _, _, err := unix.Syscall(unix.SYS_MKDIR, path, uintptr(mode), 0); err != 0 {
t.setErrno(err)
return -1
}
// if dmesgs {
// dmesg("%v: %q: ok", origin(1), GoString(path))
// }
return 0
}
// int symlink(const char *target, const char *linkpath);
func Xsymlink(t *TLS, target, linkpath uintptr) int32 {
if _, _, err := unix.Syscall(unix.SYS_SYMLINK, target, linkpath, 0); err != 0 {
t.setErrno(err)
return -1
}
// if dmesgs {
// dmesg("%v: %q %q: ok", origin(1), GoString(target), GoString(linkpath))
// }
return 0
}
// int chmod(const char *pathname, mode_t mode)
func Xchmod(t *TLS, pathname uintptr, mode types.Mode_t) int32 {
if _, _, err := unix.Syscall(unix.SYS_CHMOD, pathname, uintptr(mode), 0); err != 0 {
t.setErrno(err)
return -1
}
// if dmesgs {
// dmesg("%v: %q %#o: ok", origin(1), GoString(pathname), mode)
// }
return 0
}
// int utimes(const char *filename, const struct timeval times[2]);
func Xutimes(t *TLS, filename, times uintptr) int32 {
if _, _, err := unix.Syscall(unix.SYS_UTIMES, filename, times, 0); err != 0 {
t.setErrno(err)
return -1
}
// if dmesgs {
// dmesg("%v: %q: ok", origin(1), GoString(filename))
// }
return 0
}
// int unlink(const char *pathname);
func Xunlink(t *TLS, pathname uintptr) int32 {
if _, _, err := unix.Syscall(unix.SYS_UNLINK, pathname, 0, 0); err != 0 {
t.setErrno(err)
return -1
}
// if dmesgs {
// dmesg("%v: %q: ok", origin(1), GoString(pathname))
// }
return 0
}
// int access(const char *pathname, int mode);
func Xaccess(t *TLS, pathname uintptr, mode int32) int32 {
if _, _, err := unix.Syscall(unix.SYS_ACCESS, pathname, uintptr(mode), 0); err != 0 {
// if dmesgs {
// dmesg("%v: %q: %v", origin(1), GoString(pathname), err)
// }
t.setErrno(err)
return -1
}
// if dmesgs {
// dmesg("%v: %q %#o: ok", origin(1), GoString(pathname), mode)
// }
return 0
}
// int rmdir(const char *pathname);
func Xrmdir(t *TLS, pathname uintptr) int32 {
if _, _, err := unix.Syscall(unix.SYS_RMDIR, pathname, 0, 0); err != 0 {
t.setErrno(err)
return -1
}
// if dmesgs {
// dmesg("%v: %q: ok", origin(1), GoString(pathname))
// }
return 0
}
// int rename(const char *oldpath, const char *newpath);
func Xrename(t *TLS, oldpath, newpath uintptr) int32 {
if _, _, err := unix.Syscall(unix.SYS_RENAME, oldpath, newpath, 0); err != 0 {
t.setErrno(err)
return -1
}
return 0
}
// int mknod(const char *pathname, mode_t mode, dev_t dev);
func Xmknod(t *TLS, pathname uintptr, mode types.Mode_t, dev types.Dev_t) int32 {
if _, _, err := unix.Syscall(unix.SYS_MKNOD, pathname, uintptr(mode), uintptr(dev)); err != 0 {
t.setErrno(err)
return -1
}
return 0
}
// int chown(const char *pathname, uid_t owner, gid_t group);
func Xchown(t *TLS, pathname uintptr, owner types.Uid_t, group types.Gid_t) int32 {
if _, _, err := unix.Syscall(unix.SYS_CHOWN, pathname, uintptr(owner), uintptr(group)); err != 0 {
t.setErrno(err)
return -1
}
return 0
}
// int link(const char *oldpath, const char *newpath);
func Xlink(t *TLS, oldpath, newpath uintptr) int32 {
if _, _, err := unix.Syscall(unix.SYS_LINK, oldpath, newpath, 0); err != 0 {
t.setErrno(err)
return -1
}
return 0
}
// int pipe(int pipefd[2]);
func Xpipe(t *TLS, pipefd uintptr) int32 {
if _, _, err := unix.Syscall(unix.SYS_PIPE, pipefd, 0, 0); err != 0 {
t.setErrno(err)
return -1
}
return 0
}
// int dup2(int oldfd, int newfd);
func Xdup2(t *TLS, oldfd, newfd int32) int32 {
n, _, err := unix.Syscall(unix.SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0)
if err != 0 {
t.setErrno(err)
return -1
}
return int32(n)
}
// ssize_t readlink(const char *restrict path, char *restrict buf, size_t bufsize);
func Xreadlink(t *TLS, path, buf uintptr, bufsize types.Size_t) types.Ssize_t {
n, _, err := unix.Syscall(unix.SYS_READLINK, path, buf, uintptr(bufsize))
if err != 0 {
t.setErrno(err)
return -1
}
return types.Ssize_t(n)
}
// FILE *fopen64(const char *pathname, const char *mode);
func Xfopen64(t *TLS, pathname, mode uintptr) uintptr {
m := strings.ReplaceAll(GoString(mode), "b", "")
var flags int
switch m {
case "r":
flags = os.O_RDONLY
case "r+":
flags = os.O_RDWR
case "w":
flags = os.O_WRONLY | os.O_CREATE | os.O_TRUNC
case "w+":
flags = os.O_RDWR | os.O_CREATE | os.O_TRUNC
case "a":
flags = os.O_WRONLY | os.O_CREATE | os.O_APPEND
case "a+":
flags = os.O_RDWR | os.O_CREATE | os.O_APPEND
default:
panic(m)
}
//TODO- flags |= fcntl.O_LARGEFILE
fd, _, err := unix.Syscall(unix.SYS_OPEN, pathname, uintptr(flags|unix.O_LARGEFILE), 0666)
if err != 0 {
t.setErrno(err)
return 0
}
if p := newFile(t, int32(fd)); p != 0 {
return p
}
Xclose(t, int32(fd))
t.setErrno(errno.ENOMEM)
return 0
}
// int iswspace(wint_t wc);
func Xiswspace(t *TLS, wc wctype.Wint_t) int32 {
return Bool32(unicode.IsSpace(rune(wc)))
}
// int iswalnum(wint_t wc);
func Xiswalnum(t *TLS, wc wctype.Wint_t) int32 {
return Bool32(unicode.IsLetter(rune(wc)) || unicode.IsNumber(rune(wc)))
}
func __syscall1(t *TLS, trap, p1 long) long {
return __syscall(unix.Syscall(uintptr(trap), uintptr(p1), 0, 0))
}
func __syscall3(t *TLS, trap, p1, p2, p3 long) long {
return __syscall(unix.Syscall(uintptr(trap), uintptr(p1), uintptr(p2), uintptr(p3)))
}
func __syscall4(t *TLS, trap, p1, p2, p3, p4 long) long {
return __syscall(unix.Syscall6(uintptr(trap), uintptr(p1), uintptr(p2), uintptr(p3), uintptr(p4), 0, 0))
}
+2
View File
@@ -1592,3 +1592,5 @@ func Xuuid_parse(t *TLS, in uintptr, uu uintptr) int32 {
copy((*RawMem)(unsafe.Pointer(uu))[:unsafe.Sizeof(uuid.Uuid_t{})], r[:])
return 0
}
func X__srget(t *TLS, stream uintptr) int32 { return Xgetc(t, stream) }
+1 -1
View File
@@ -1,4 +1,4 @@
// Code generated by 'ccgo limits/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o limits/limits_freebsd_386.go -pkgname limits', DO NOT EDIT.
// Code generated by 'ccgo limits/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o limits/limits_freebsd_386.go -pkgname limits', DO NOT EDIT.
package limits
+1 -1
View File
@@ -1,4 +1,4 @@
// Code generated by 'ccgo limits/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o limits/limits_freebsd_amd64.go -pkgname limits', DO NOT EDIT.
// Code generated by 'ccgo limits/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o limits/limits_freebsd_amd64.go -pkgname limits', DO NOT EDIT.
package limits
+5
View File
@@ -0,0 +1,5 @@
// Code generated by 'ccgo limits/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o limits/limits_linux_ppc64le.go -pkgname limits', DO NOT EDIT.
package limits
var CAPI = map[string]struct{}{}
+1 -1
View File
@@ -1,4 +1,4 @@
// Code generated by 'ccgo limits/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o limits/limits_netbsd_amd64.go -pkgname limits', DO NOT EDIT.
// Code generated by 'ccgo limits/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o limits/limits_netbsd_amd64.go -pkgname limits', DO NOT EDIT.
package limits
+1 -1
View File
@@ -1,4 +1,4 @@
// Code generated by 'ccgo limits/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o limits/limits_openbsd_amd64.go -pkgname limits', DO NOT EDIT.
// Code generated by 'ccgo limits/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o limits/limits_openbsd_amd64.go -pkgname limits', DO NOT EDIT.
package limits
+121 -121
View File
@@ -1,4 +1,4 @@
// Code generated by 'ccgo limits/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o limits/limits_freebsd_386.go -pkgname limits', DO NOT EDIT.
// Code generated by 'ccgo limits/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o limits/limits_freebsd_386.go -pkgname limits', DO NOT EDIT.
package limits
@@ -15,126 +15,126 @@ var _ atomic.Value
var _ unsafe.Pointer
const (
ARG_MAX = 262144
BC_BASE_MAX = 99
BC_DIM_MAX = 2048
BC_SCALE_MAX = 99
BC_STRING_MAX = 1000
CHARCLASS_NAME_MAX = 14
CHAR_BIT = 8
CHAR_MAX = 127
CHAR_MIN = -128
CHILD_MAX = 40
COLL_WEIGHTS_MAX = 10
EXPR_NEST_MAX = 32
GID_MAX = 4294967295
INT_MAX = 2147483647
INT_MIN = -2147483648
IOV_MAX = 1024
LINE_MAX = 2048
LLONG_MAX = 9223372036854775807
LLONG_MIN = -9223372036854775808
LONG_BIT = 32
LONG_MAX = 2147483647
LONG_MIN = -2147483648
MAX_CANON = 255
MAX_INPUT = 255
MB_LEN_MAX = 6
MQ_PRIO_MAX = 64
NAME_MAX = 255
NGROUPS_MAX = 1023
NL_ARGMAX = 4096
NL_LANGMAX = 31
NL_MSGMAX = 32767
NL_NMAX = 1
NL_SETMAX = 255
NL_TEXTMAX = 2048
OFF_MAX = 9223372036854775807
OFF_MIN = -9223372036854775808
OPEN_MAX = 64
PASS_MAX = 128
PATH_MAX = 1024
PIPE_BUF = 512
QUAD_MAX = 9223372036854775807
QUAD_MIN = -9223372036854775808
RE_DUP_MAX = 255
SCHAR_MAX = 127
SCHAR_MIN = -128
SHRT_MAX = 32767
SHRT_MIN = -32768
SIZE_T_MAX = 4294967295
SSIZE_MAX = 2147483647
UCHAR_MAX = 255
UID_MAX = 4294967295
UINT_MAX = 4294967295
ULLONG_MAX = 18446744073709551615
ULONG_MAX = 4294967295
UQUAD_MAX = 18446744073709551615
USHRT_MAX = 65535
WORD_BIT = 32
X_FILE_OFFSET_BITS = 64
X_ILP32 = 1
X_LIMITS_H_ = 0
X_MACHINE__LIMITS_H_ = 0
X_Nonnull = 0
X_Null_unspecified = 0
X_Nullable = 0
X_POSIX2_BC_BASE_MAX = 99
X_POSIX2_BC_DIM_MAX = 2048
X_POSIX2_BC_SCALE_MAX = 99
X_POSIX2_BC_STRING_MAX = 1000
X_POSIX2_CHARCLASS_NAME_MAX = 14
X_POSIX2_COLL_WEIGHTS_MAX = 2
X_POSIX2_EQUIV_CLASS_MAX = 2
X_POSIX2_EXPR_NEST_MAX = 32
X_POSIX2_LINE_MAX = 2048
X_POSIX2_RE_DUP_MAX = 255
X_POSIX_AIO_LISTIO_MAX = 2
X_POSIX_AIO_MAX = 1
X_POSIX_ARG_MAX = 4096
X_POSIX_CHILD_MAX = 25
X_POSIX_CLOCKRES_MIN = 20000000
X_POSIX_DELAYTIMER_MAX = 32
X_POSIX_HOST_NAME_MAX = 255
X_POSIX_LINK_MAX = 8
X_POSIX_LOGIN_NAME_MAX = 9
X_POSIX_MAX_CANON = 255
X_POSIX_MAX_INPUT = 255
X_POSIX_MQ_OPEN_MAX = 8
X_POSIX_MQ_PRIO_MAX = 32
X_POSIX_NAME_MAX = 14
X_POSIX_NGROUPS_MAX = 8
X_POSIX_OPEN_MAX = 20
X_POSIX_PATH_MAX = 256
X_POSIX_PIPE_BUF = 512
X_POSIX_RE_DUP_MAX = 255
X_POSIX_RTSIG_MAX = 8
X_POSIX_SEM_NSEMS_MAX = 256
X_POSIX_SEM_VALUE_MAX = 32767
X_POSIX_SIGQUEUE_MAX = 32
X_POSIX_SSIZE_MAX = 32767
X_POSIX_SS_REPL_MAX = 4
X_POSIX_STREAM_MAX = 8
X_POSIX_SYMLINK_MAX = 255
X_POSIX_SYMLOOP_MAX = 8
X_POSIX_THREAD_DESTRUCTOR_ITERATIONS = 4
X_POSIX_THREAD_KEYS_MAX = 128
X_POSIX_THREAD_THREADS_MAX = 64
X_POSIX_TIMER_MAX = 32
X_POSIX_TRACE_EVENT_NAME_MAX = 30
X_POSIX_TRACE_NAME_MAX = 8
X_POSIX_TRACE_SYS_MAX = 8
X_POSIX_TRACE_USER_EVENT_MAX = 32
X_POSIX_TTY_NAME_MAX = 9
X_POSIX_TZNAME_MAX = 6
X_SYS_CDEFS_H_ = 0
X_SYS_LIMITS_H_ = 0
X_SYS_SYSLIMITS_H_ = 0
X_XOPEN_IOV_MAX = 16
X_XOPEN_NAME_MAX = 255
X_XOPEN_PATH_MAX = 1024
I386 = 1
Unix = 1
ARG_MAX = 262144 // syslimits.h:54:1:
BC_BASE_MAX = 99 // limits.h:65:1:
BC_DIM_MAX = 2048 // limits.h:66:1:
BC_SCALE_MAX = 99 // limits.h:67:1:
BC_STRING_MAX = 1000 // limits.h:68:1:
CHARCLASS_NAME_MAX = 14 // limits.h:69:1:
CHAR_BIT = 8 // limits.h:40:1:
CHAR_MAX = 127 // limits.h:51:1:
CHAR_MIN = -128 // limits.h:52:1:
CHILD_MAX = 40 // syslimits.h:57:1:
COLL_WEIGHTS_MAX = 10 // limits.h:70:1:
EXPR_NEST_MAX = 32 // limits.h:71:1:
GID_MAX = 4294967295 // limits.h:85:1:
INT_MAX = 2147483647 // limits.h:60:1:
INT_MIN = -2147483648 // limits.h:61:1:
IOV_MAX = 1024 // syslimits.h:70:1:
LINE_MAX = 2048 // limits.h:72:1:
LLONG_MAX = 9223372036854775807 // limits.h:69:1:
LLONG_MIN = -9223372036854775808 // limits.h:70:1:
LONG_BIT = 32 // limits.h:94:1:
LONG_MAX = 2147483647 // limits.h:64:1:
LONG_MIN = -2147483648 // limits.h:65:1:
MAX_CANON = 255 // syslimits.h:59:1:
MAX_INPUT = 255 // syslimits.h:60:1:
MB_LEN_MAX = 6 // limits.h:141:1:
MQ_PRIO_MAX = 64 // limits.h:99:1:
NAME_MAX = 255 // syslimits.h:61:1:
NGROUPS_MAX = 1023 // syslimits.h:63:1:
NL_ARGMAX = 4096 // limits.h:125:1:
NL_LANGMAX = 31 // limits.h:137:1:
NL_MSGMAX = 32767 // limits.h:126:1:
NL_NMAX = 1 // limits.h:138:1:
NL_SETMAX = 255 // limits.h:127:1:
NL_TEXTMAX = 2048 // limits.h:128:1:
OFF_MAX = 9223372036854775807 // limits.h:80:1:
OFF_MIN = -9223372036854775808 // limits.h:81:1:
OPEN_MAX = 64 // syslimits.h:66:1:
PASS_MAX = 128 // limits.h:135:1:
PATH_MAX = 1024 // syslimits.h:68:1:
PIPE_BUF = 512 // syslimits.h:69:1:
QUAD_MAX = 9223372036854775807 // limits.h:89:1:
QUAD_MIN = -9223372036854775808 // limits.h:90:1:
RE_DUP_MAX = 255 // limits.h:73:1:
SCHAR_MAX = 127 // limits.h:42:1:
SCHAR_MIN = -128 // limits.h:43:1:
SHRT_MAX = 32767 // limits.h:56:1:
SHRT_MIN = -32768 // limits.h:57:1:
SIZE_T_MAX = 4294967295 // limits.h:78:1:
SSIZE_MAX = 2147483647 // limits.h:74:1:
UCHAR_MAX = 255 // limits.h:45:1:
UID_MAX = 4294967295 // limits.h:86:1:
UINT_MAX = 4294967295 // limits.h:59:1:
ULLONG_MAX = 18446744073709551615 // limits.h:68:1:
ULONG_MAX = 4294967295 // limits.h:63:1:
UQUAD_MAX = 18446744073709551615 // limits.h:88:1:
USHRT_MAX = 65535 // limits.h:55:1:
WORD_BIT = 32 // limits.h:95:1:
X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
X_ILP32 = 1 // <predefined>:1:1:
X_LIMITS_H_ = 0 // limits.h:36:1:
X_MACHINE__LIMITS_H_ = 0 // _limits.h:36:1:
X_Nonnull = 0 // cdefs.h:790:1:
X_Null_unspecified = 0 // cdefs.h:792:1:
X_Nullable = 0 // cdefs.h:791:1:
X_POSIX2_BC_BASE_MAX = 99 // limits.h:75:1:
X_POSIX2_BC_DIM_MAX = 2048 // limits.h:76:1:
X_POSIX2_BC_SCALE_MAX = 99 // limits.h:77:1:
X_POSIX2_BC_STRING_MAX = 1000 // limits.h:78:1:
X_POSIX2_CHARCLASS_NAME_MAX = 14 // limits.h:79:1:
X_POSIX2_COLL_WEIGHTS_MAX = 2 // limits.h:80:1:
X_POSIX2_EQUIV_CLASS_MAX = 2 // limits.h:81:1:
X_POSIX2_EXPR_NEST_MAX = 32 // limits.h:82:1:
X_POSIX2_LINE_MAX = 2048 // limits.h:83:1:
X_POSIX2_RE_DUP_MAX = 255 // limits.h:84:1:
X_POSIX_AIO_LISTIO_MAX = 2 // limits.h:89:1:
X_POSIX_AIO_MAX = 1 // limits.h:90:1:
X_POSIX_ARG_MAX = 4096 // limits.h:41:1:
X_POSIX_CHILD_MAX = 25 // limits.h:51:1:
X_POSIX_CLOCKRES_MIN = 20000000 // limits.h:100:1:
X_POSIX_DELAYTIMER_MAX = 32 // limits.h:91:1:
X_POSIX_HOST_NAME_MAX = 255 // limits.h:110:1:
X_POSIX_LINK_MAX = 8 // limits.h:42:1:
X_POSIX_LOGIN_NAME_MAX = 9 // limits.h:111:1:
X_POSIX_MAX_CANON = 255 // limits.h:43:1:
X_POSIX_MAX_INPUT = 255 // limits.h:44:1:
X_POSIX_MQ_OPEN_MAX = 8 // limits.h:92:1:
X_POSIX_MQ_PRIO_MAX = 32 // limits.h:93:1:
X_POSIX_NAME_MAX = 14 // limits.h:45:1:
X_POSIX_NGROUPS_MAX = 8 // limits.h:52:1:
X_POSIX_OPEN_MAX = 20 // limits.h:53:1:
X_POSIX_PATH_MAX = 256 // limits.h:54:1:
X_POSIX_PIPE_BUF = 512 // limits.h:46:1:
X_POSIX_RE_DUP_MAX = 255 // limits.h:121:1:
X_POSIX_RTSIG_MAX = 8 // limits.h:94:1:
X_POSIX_SEM_NSEMS_MAX = 256 // limits.h:95:1:
X_POSIX_SEM_VALUE_MAX = 32767 // limits.h:96:1:
X_POSIX_SIGQUEUE_MAX = 32 // limits.h:97:1:
X_POSIX_SSIZE_MAX = 32767 // limits.h:47:1:
X_POSIX_SS_REPL_MAX = 4 // limits.h:112:1:
X_POSIX_STREAM_MAX = 8 // limits.h:48:1:
X_POSIX_SYMLINK_MAX = 255 // limits.h:113:1:
X_POSIX_SYMLOOP_MAX = 8 // limits.h:114:1:
X_POSIX_THREAD_DESTRUCTOR_ITERATIONS = 4 // limits.h:104:1:
X_POSIX_THREAD_KEYS_MAX = 128 // limits.h:105:1:
X_POSIX_THREAD_THREADS_MAX = 64 // limits.h:106:1:
X_POSIX_TIMER_MAX = 32 // limits.h:98:1:
X_POSIX_TRACE_EVENT_NAME_MAX = 30 // limits.h:115:1:
X_POSIX_TRACE_NAME_MAX = 8 // limits.h:116:1:
X_POSIX_TRACE_SYS_MAX = 8 // limits.h:117:1:
X_POSIX_TRACE_USER_EVENT_MAX = 32 // limits.h:118:1:
X_POSIX_TTY_NAME_MAX = 9 // limits.h:119:1:
X_POSIX_TZNAME_MAX = 6 // limits.h:55:1:
X_SYS_CDEFS_H_ = 0 // cdefs.h:39:1:
X_SYS_LIMITS_H_ = 0 // limits.h:35:1:
X_SYS_SYSLIMITS_H_ = 0 // syslimits.h:36:1:
X_XOPEN_IOV_MAX = 16 // limits.h:132:1:
X_XOPEN_NAME_MAX = 255 // limits.h:133:1:
X_XOPEN_PATH_MAX = 1024 // limits.h:134:1:
I386 = 1 // <predefined>:335:1:
Unix = 1 // <predefined>:336:1:
)
type Ptrdiff_t = int32 /* <builtin>:3:26 */
+120 -120
View File
@@ -1,4 +1,4 @@
// Code generated by 'ccgo limits/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o limits/limits_freebsd_amd64.go -pkgname limits', DO NOT EDIT.
// Code generated by 'ccgo limits/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o limits/limits_freebsd_amd64.go -pkgname limits', DO NOT EDIT.
package limits
@@ -15,125 +15,125 @@ var _ atomic.Value
var _ unsafe.Pointer
const (
ARG_MAX = 524288
BC_BASE_MAX = 99
BC_DIM_MAX = 2048
BC_SCALE_MAX = 99
BC_STRING_MAX = 1000
CHARCLASS_NAME_MAX = 14
CHAR_BIT = 8
CHAR_MAX = 127
CHAR_MIN = -128
CHILD_MAX = 40
COLL_WEIGHTS_MAX = 10
EXPR_NEST_MAX = 32
GID_MAX = 4294967295
INT_MAX = 2147483647
INT_MIN = -2147483648
IOV_MAX = 1024
LINE_MAX = 2048
LLONG_MAX = 9223372036854775807
LLONG_MIN = -9223372036854775808
LONG_BIT = 64
LONG_MAX = 9223372036854775807
LONG_MIN = -9223372036854775808
MAX_CANON = 255
MAX_INPUT = 255
MB_LEN_MAX = 6
MQ_PRIO_MAX = 64
NAME_MAX = 255
NGROUPS_MAX = 1023
NL_ARGMAX = 4096
NL_LANGMAX = 31
NL_MSGMAX = 32767
NL_NMAX = 1
NL_SETMAX = 255
NL_TEXTMAX = 2048
OFF_MAX = 9223372036854775807
OFF_MIN = -9223372036854775808
OPEN_MAX = 64
PASS_MAX = 128
PATH_MAX = 1024
PIPE_BUF = 512
QUAD_MAX = 9223372036854775807
QUAD_MIN = -9223372036854775808
RE_DUP_MAX = 255
SCHAR_MAX = 127
SCHAR_MIN = -128
SHRT_MAX = 32767
SHRT_MIN = -32768
SIZE_T_MAX = 18446744073709551615
SSIZE_MAX = 9223372036854775807
UCHAR_MAX = 255
UID_MAX = 4294967295
UINT_MAX = 4294967295
ULLONG_MAX = 18446744073709551615
ULONG_MAX = 18446744073709551615
UQUAD_MAX = 18446744073709551615
USHRT_MAX = 65535
WORD_BIT = 32
X_FILE_OFFSET_BITS = 64
X_LIMITS_H_ = 0
X_LP64 = 1
X_MACHINE__LIMITS_H_ = 0
X_Nonnull = 0
X_Null_unspecified = 0
X_Nullable = 0
X_POSIX2_BC_BASE_MAX = 99
X_POSIX2_BC_DIM_MAX = 2048
X_POSIX2_BC_SCALE_MAX = 99
X_POSIX2_BC_STRING_MAX = 1000
X_POSIX2_CHARCLASS_NAME_MAX = 14
X_POSIX2_COLL_WEIGHTS_MAX = 2
X_POSIX2_EQUIV_CLASS_MAX = 2
X_POSIX2_EXPR_NEST_MAX = 32
X_POSIX2_LINE_MAX = 2048
X_POSIX2_RE_DUP_MAX = 255
X_POSIX_AIO_LISTIO_MAX = 2
X_POSIX_AIO_MAX = 1
X_POSIX_ARG_MAX = 4096
X_POSIX_CHILD_MAX = 25
X_POSIX_CLOCKRES_MIN = 20000000
X_POSIX_DELAYTIMER_MAX = 32
X_POSIX_HOST_NAME_MAX = 255
X_POSIX_LINK_MAX = 8
X_POSIX_LOGIN_NAME_MAX = 9
X_POSIX_MAX_CANON = 255
X_POSIX_MAX_INPUT = 255
X_POSIX_MQ_OPEN_MAX = 8
X_POSIX_MQ_PRIO_MAX = 32
X_POSIX_NAME_MAX = 14
X_POSIX_NGROUPS_MAX = 8
X_POSIX_OPEN_MAX = 20
X_POSIX_PATH_MAX = 256
X_POSIX_PIPE_BUF = 512
X_POSIX_RE_DUP_MAX = 255
X_POSIX_RTSIG_MAX = 8
X_POSIX_SEM_NSEMS_MAX = 256
X_POSIX_SEM_VALUE_MAX = 32767
X_POSIX_SIGQUEUE_MAX = 32
X_POSIX_SSIZE_MAX = 32767
X_POSIX_SS_REPL_MAX = 4
X_POSIX_STREAM_MAX = 8
X_POSIX_SYMLINK_MAX = 255
X_POSIX_SYMLOOP_MAX = 8
X_POSIX_THREAD_DESTRUCTOR_ITERATIONS = 4
X_POSIX_THREAD_KEYS_MAX = 128
X_POSIX_THREAD_THREADS_MAX = 64
X_POSIX_TIMER_MAX = 32
X_POSIX_TRACE_EVENT_NAME_MAX = 30
X_POSIX_TRACE_NAME_MAX = 8
X_POSIX_TRACE_SYS_MAX = 8
X_POSIX_TRACE_USER_EVENT_MAX = 32
X_POSIX_TTY_NAME_MAX = 9
X_POSIX_TZNAME_MAX = 6
X_SYS_CDEFS_H_ = 0
X_SYS_LIMITS_H_ = 0
X_SYS_SYSLIMITS_H_ = 0
X_XOPEN_IOV_MAX = 16
X_XOPEN_NAME_MAX = 255
X_XOPEN_PATH_MAX = 1024
Unix = 1
ARG_MAX = 524288 // syslimits.h:52:1:
BC_BASE_MAX = 99 // limits.h:65:1:
BC_DIM_MAX = 2048 // limits.h:66:1:
BC_SCALE_MAX = 99 // limits.h:67:1:
BC_STRING_MAX = 1000 // limits.h:68:1:
CHARCLASS_NAME_MAX = 14 // limits.h:69:1:
CHAR_BIT = 8 // limits.h:40:1:
CHAR_MAX = 127 // limits.h:51:1:
CHAR_MIN = -128 // limits.h:52:1:
CHILD_MAX = 40 // syslimits.h:57:1:
COLL_WEIGHTS_MAX = 10 // limits.h:70:1:
EXPR_NEST_MAX = 32 // limits.h:71:1:
GID_MAX = 4294967295 // limits.h:85:1:
INT_MAX = 2147483647 // limits.h:60:1:
INT_MIN = -2147483648 // limits.h:61:1:
IOV_MAX = 1024 // syslimits.h:70:1:
LINE_MAX = 2048 // limits.h:72:1:
LLONG_MAX = 9223372036854775807 // limits.h:69:1:
LLONG_MIN = -9223372036854775808 // limits.h:70:1:
LONG_BIT = 64 // limits.h:94:1:
LONG_MAX = 9223372036854775807 // limits.h:64:1:
LONG_MIN = -9223372036854775808 // limits.h:65:1:
MAX_CANON = 255 // syslimits.h:59:1:
MAX_INPUT = 255 // syslimits.h:60:1:
MB_LEN_MAX = 6 // limits.h:141:1:
MQ_PRIO_MAX = 64 // limits.h:99:1:
NAME_MAX = 255 // syslimits.h:61:1:
NGROUPS_MAX = 1023 // syslimits.h:63:1:
NL_ARGMAX = 4096 // limits.h:125:1:
NL_LANGMAX = 31 // limits.h:137:1:
NL_MSGMAX = 32767 // limits.h:126:1:
NL_NMAX = 1 // limits.h:138:1:
NL_SETMAX = 255 // limits.h:127:1:
NL_TEXTMAX = 2048 // limits.h:128:1:
OFF_MAX = 9223372036854775807 // limits.h:80:1:
OFF_MIN = -9223372036854775808 // limits.h:81:1:
OPEN_MAX = 64 // syslimits.h:66:1:
PASS_MAX = 128 // limits.h:135:1:
PATH_MAX = 1024 // syslimits.h:68:1:
PIPE_BUF = 512 // syslimits.h:69:1:
QUAD_MAX = 9223372036854775807 // limits.h:89:1:
QUAD_MIN = -9223372036854775808 // limits.h:90:1:
RE_DUP_MAX = 255 // limits.h:73:1:
SCHAR_MAX = 127 // limits.h:42:1:
SCHAR_MIN = -128 // limits.h:43:1:
SHRT_MAX = 32767 // limits.h:56:1:
SHRT_MIN = -32768 // limits.h:57:1:
SIZE_T_MAX = 18446744073709551615 // limits.h:78:1:
SSIZE_MAX = 9223372036854775807 // limits.h:74:1:
UCHAR_MAX = 255 // limits.h:45:1:
UID_MAX = 4294967295 // limits.h:86:1:
UINT_MAX = 4294967295 // limits.h:59:1:
ULLONG_MAX = 18446744073709551615 // limits.h:68:1:
ULONG_MAX = 18446744073709551615 // limits.h:63:1:
UQUAD_MAX = 18446744073709551615 // limits.h:88:1:
USHRT_MAX = 65535 // limits.h:55:1:
WORD_BIT = 32 // limits.h:95:1:
X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
X_LIMITS_H_ = 0 // limits.h:36:1:
X_LP64 = 1 // <predefined>:1:1:
X_MACHINE__LIMITS_H_ = 0 // _limits.h:36:1:
X_Nonnull = 0 // cdefs.h:783:1:
X_Null_unspecified = 0 // cdefs.h:785:1:
X_Nullable = 0 // cdefs.h:784:1:
X_POSIX2_BC_BASE_MAX = 99 // limits.h:75:1:
X_POSIX2_BC_DIM_MAX = 2048 // limits.h:76:1:
X_POSIX2_BC_SCALE_MAX = 99 // limits.h:77:1:
X_POSIX2_BC_STRING_MAX = 1000 // limits.h:78:1:
X_POSIX2_CHARCLASS_NAME_MAX = 14 // limits.h:79:1:
X_POSIX2_COLL_WEIGHTS_MAX = 2 // limits.h:80:1:
X_POSIX2_EQUIV_CLASS_MAX = 2 // limits.h:81:1:
X_POSIX2_EXPR_NEST_MAX = 32 // limits.h:82:1:
X_POSIX2_LINE_MAX = 2048 // limits.h:83:1:
X_POSIX2_RE_DUP_MAX = 255 // limits.h:84:1:
X_POSIX_AIO_LISTIO_MAX = 2 // limits.h:89:1:
X_POSIX_AIO_MAX = 1 // limits.h:90:1:
X_POSIX_ARG_MAX = 4096 // limits.h:41:1:
X_POSIX_CHILD_MAX = 25 // limits.h:51:1:
X_POSIX_CLOCKRES_MIN = 20000000 // limits.h:100:1:
X_POSIX_DELAYTIMER_MAX = 32 // limits.h:91:1:
X_POSIX_HOST_NAME_MAX = 255 // limits.h:110:1:
X_POSIX_LINK_MAX = 8 // limits.h:42:1:
X_POSIX_LOGIN_NAME_MAX = 9 // limits.h:111:1:
X_POSIX_MAX_CANON = 255 // limits.h:43:1:
X_POSIX_MAX_INPUT = 255 // limits.h:44:1:
X_POSIX_MQ_OPEN_MAX = 8 // limits.h:92:1:
X_POSIX_MQ_PRIO_MAX = 32 // limits.h:93:1:
X_POSIX_NAME_MAX = 14 // limits.h:45:1:
X_POSIX_NGROUPS_MAX = 8 // limits.h:52:1:
X_POSIX_OPEN_MAX = 20 // limits.h:53:1:
X_POSIX_PATH_MAX = 256 // limits.h:54:1:
X_POSIX_PIPE_BUF = 512 // limits.h:46:1:
X_POSIX_RE_DUP_MAX = 255 // limits.h:121:1:
X_POSIX_RTSIG_MAX = 8 // limits.h:94:1:
X_POSIX_SEM_NSEMS_MAX = 256 // limits.h:95:1:
X_POSIX_SEM_VALUE_MAX = 32767 // limits.h:96:1:
X_POSIX_SIGQUEUE_MAX = 32 // limits.h:97:1:
X_POSIX_SSIZE_MAX = 32767 // limits.h:47:1:
X_POSIX_SS_REPL_MAX = 4 // limits.h:112:1:
X_POSIX_STREAM_MAX = 8 // limits.h:48:1:
X_POSIX_SYMLINK_MAX = 255 // limits.h:113:1:
X_POSIX_SYMLOOP_MAX = 8 // limits.h:114:1:
X_POSIX_THREAD_DESTRUCTOR_ITERATIONS = 4 // limits.h:104:1:
X_POSIX_THREAD_KEYS_MAX = 128 // limits.h:105:1:
X_POSIX_THREAD_THREADS_MAX = 64 // limits.h:106:1:
X_POSIX_TIMER_MAX = 32 // limits.h:98:1:
X_POSIX_TRACE_EVENT_NAME_MAX = 30 // limits.h:115:1:
X_POSIX_TRACE_NAME_MAX = 8 // limits.h:116:1:
X_POSIX_TRACE_SYS_MAX = 8 // limits.h:117:1:
X_POSIX_TRACE_USER_EVENT_MAX = 32 // limits.h:118:1:
X_POSIX_TTY_NAME_MAX = 9 // limits.h:119:1:
X_POSIX_TZNAME_MAX = 6 // limits.h:55:1:
X_SYS_CDEFS_H_ = 0 // cdefs.h:39:1:
X_SYS_LIMITS_H_ = 0 // limits.h:35:1:
X_SYS_SYSLIMITS_H_ = 0 // syslimits.h:36:1:
X_XOPEN_IOV_MAX = 16 // limits.h:132:1:
X_XOPEN_NAME_MAX = 255 // limits.h:133:1:
X_XOPEN_PATH_MAX = 1024 // limits.h:134:1:
Unix = 1 // <predefined>:337:1:
)
type Ptrdiff_t = int64 /* <builtin>:3:26 */
+953
View File
@@ -0,0 +1,953 @@
// Code generated by 'ccgo limits/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o limits/limits_linux_ppc64le.go -pkgname limits', DO NOT EDIT.
package limits
import (
"math"
"reflect"
"sync/atomic"
"unsafe"
)
var _ = math.Pi
var _ reflect.Kind
var _ atomic.Value
var _ unsafe.Pointer
const (
AIO_PRIO_DELTA_MAX = 20 // local_lim.h:78:1:
BC_BASE_MAX = 99 // posix2_lim.h:63:1:
BC_DIM_MAX = 2048 // posix2_lim.h:66:1:
BC_SCALE_MAX = 99 // posix2_lim.h:69:1:
BC_STRING_MAX = 1000 // posix2_lim.h:72:1:
CHARCLASS_NAME_MAX = 2048 // posix2_lim.h:84:1:
CHAR_BIT = 8 // limits.h:64:1:
CHAR_MAX = 255 // limits.h:94:1:
CHAR_MIN = 0 // limits.h:91:1:
COLL_WEIGHTS_MAX = 255 // posix2_lim.h:75:1:
DELAYTIMER_MAX = 2147483647 // local_lim.h:85:1:
EXPR_NEST_MAX = 32 // posix2_lim.h:78:1:
HOST_NAME_MAX = 64 // local_lim.h:94:1:
INT_MAX = 2147483647 // limits.h:120:1:
INT_MIN = -2147483648 // limits.h:118:1:
LINE_MAX = 2048 // posix2_lim.h:81:1:
LLONG_MAX = 9223372036854775807 // limits.h:142:1:
LLONG_MIN = -9223372036854775808 // limits.h:140:1:
LOGIN_NAME_MAX = 256 // local_lim.h:91:1:
LONG_MAX = 9223372036854775807 // limits.h:131:1:
LONG_MIN = -9223372036854775808 // limits.h:129:1:
MAX_CANON = 255 // limits.h:10:1:
MAX_INPUT = 255 // limits.h:11:1:
MB_LEN_MAX = 16 // limits.h:32:1:
MQ_PRIO_MAX = 32768 // local_lim.h:97:1:
NAME_MAX = 255 // limits.h:12:1:
NGROUPS_MAX = 65536 // limits.h:7:1:
PATH_MAX = 4096 // limits.h:13:1:
PIPE_BUF = 4096 // limits.h:14:1:
PTHREAD_DESTRUCTOR_ITERATIONS = 4 // local_lim.h:69:1:
PTHREAD_KEYS_MAX = 1024 // local_lim.h:64:1:
PTHREAD_STACK_MIN = 131072 // local_lim.h:82:1:
RE_DUP_MAX = 32767 // posix2_lim.h:88:1:
RTSIG_MAX = 32 // limits.h:19:1:
SCHAR_MAX = 127 // limits.h:75:1:
SCHAR_MIN = -128 // limits.h:73:1:
SEM_VALUE_MAX = 2147483647 // local_lim.h:100:1:
SHRT_MAX = 32767 // limits.h:106:1:
SHRT_MIN = -32768 // limits.h:104:1:
SSIZE_MAX = 9223372036854775807 // posix1_lim.h:169:1:
TTY_NAME_MAX = 32 // local_lim.h:88:1:
UCHAR_MAX = 255 // limits.h:82:1:
UINT_MAX = 4294967295 // limits.h:124:1:
ULLONG_MAX = 18446744073709551615 // limits.h:146:1:
ULONG_MAX = 18446744073709551615 // limits.h:135:1:
USHRT_MAX = 65535 // limits.h:113:1:
XATTR_LIST_MAX = 65536 // limits.h:17:1:
XATTR_NAME_MAX = 255 // limits.h:15:1:
XATTR_SIZE_MAX = 65536 // limits.h:16:1:
X_ARCH_PPC = 1 // <predefined>:198:1:
X_ARCH_PPC64 = 1 // <predefined>:402:1:
X_ARCH_PPCGR = 1 // <predefined>:15:1:
X_ARCH_PPCSQ = 1 // <predefined>:43:1:
X_ARCH_PWR4 = 1 // <predefined>:381:1:
X_ARCH_PWR5 = 1 // <predefined>:90:1:
X_ARCH_PWR5X = 1 // <predefined>:137:1:
X_ARCH_PWR6 = 1 // <predefined>:91:1:
X_ARCH_PWR7 = 1 // <predefined>:92:1:
X_ARCH_PWR8 = 1 // <predefined>:93:1:
X_ATFILE_SOURCE = 1 // features.h:342:1:
X_BITS_POSIX1_LIM_H = 1 // posix1_lim.h:25:1:
X_BITS_POSIX2_LIM_H = 1 // posix2_lim.h:23:1:
X_CALL_ELF = 2 // <predefined>:415:1:
X_CALL_LINUX = 1 // <predefined>:123:1:
X_DEFAULT_SOURCE = 1 // features.h:227:1:
X_FEATURES_H = 1 // features.h:19:1:
X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
X_GCC_LIMITS_H_ = 0 // limits.h:30:1:
X_LIBC_LIMITS_H_ = 1 // limits.h:23:1:
X_LIMITS_H___ = 0 // limits.h:60:1:
X_LINUX_LIMITS_H = 0 // limits.h:3:1:
X_LITTLE_ENDIAN = 1 // <predefined>:37:1:
X_LP64 = 1 // <predefined>:335:1:
X_POSIX2_BC_BASE_MAX = 99 // posix2_lim.h:27:1:
X_POSIX2_BC_DIM_MAX = 2048 // posix2_lim.h:30:1:
X_POSIX2_BC_SCALE_MAX = 99 // posix2_lim.h:33:1:
X_POSIX2_BC_STRING_MAX = 1000 // posix2_lim.h:36:1:
X_POSIX2_CHARCLASS_NAME_MAX = 14 // posix2_lim.h:55:1:
X_POSIX2_COLL_WEIGHTS_MAX = 2 // posix2_lim.h:40:1:
X_POSIX2_EXPR_NEST_MAX = 32 // posix2_lim.h:44:1:
X_POSIX2_LINE_MAX = 2048 // posix2_lim.h:47:1:
X_POSIX2_RE_DUP_MAX = 255 // posix2_lim.h:51:1:
X_POSIX_AIO_LISTIO_MAX = 2 // posix1_lim.h:32:1:
X_POSIX_AIO_MAX = 1 // posix1_lim.h:35:1:
X_POSIX_ARG_MAX = 4096 // posix1_lim.h:38:1:
X_POSIX_CHILD_MAX = 25 // posix1_lim.h:42:1:
X_POSIX_CLOCKRES_MIN = 20000000 // posix1_lim.h:157:1:
X_POSIX_C_SOURCE = 200809 // features.h:281:1:
X_POSIX_DELAYTIMER_MAX = 32 // posix1_lim.h:48:1:
X_POSIX_HOST_NAME_MAX = 255 // posix1_lim.h:52:1:
X_POSIX_LINK_MAX = 8 // posix1_lim.h:55:1:
X_POSIX_LOGIN_NAME_MAX = 9 // posix1_lim.h:58:1:
X_POSIX_MAX_CANON = 255 // posix1_lim.h:61:1:
X_POSIX_MAX_INPUT = 255 // posix1_lim.h:65:1:
X_POSIX_MQ_OPEN_MAX = 8 // posix1_lim.h:68:1:
X_POSIX_MQ_PRIO_MAX = 32 // posix1_lim.h:71:1:
X_POSIX_NAME_MAX = 14 // posix1_lim.h:74:1:
X_POSIX_NGROUPS_MAX = 8 // posix1_lim.h:78:1:
X_POSIX_OPEN_MAX = 20 // posix1_lim.h:85:1:
X_POSIX_PATH_MAX = 256 // posix1_lim.h:97:1:
X_POSIX_PIPE_BUF = 512 // posix1_lim.h:100:1:
X_POSIX_RE_DUP_MAX = 255 // posix1_lim.h:104:1:
X_POSIX_RTSIG_MAX = 8 // posix1_lim.h:107:1:
X_POSIX_SEM_NSEMS_MAX = 256 // posix1_lim.h:110:1:
X_POSIX_SEM_VALUE_MAX = 32767 // posix1_lim.h:113:1:
X_POSIX_SIGQUEUE_MAX = 32 // posix1_lim.h:116:1:
X_POSIX_SOURCE = 1 // features.h:279:1:
X_POSIX_SSIZE_MAX = 32767 // posix1_lim.h:119:1:
X_POSIX_STREAM_MAX = 8 // posix1_lim.h:122:1:
X_POSIX_SYMLINK_MAX = 255 // posix1_lim.h:125:1:
X_POSIX_SYMLOOP_MAX = 8 // posix1_lim.h:129:1:
X_POSIX_THREAD_DESTRUCTOR_ITERATIONS = 4 // local_lim.h:67:1:
X_POSIX_THREAD_KEYS_MAX = 128 // local_lim.h:62:1:
X_POSIX_THREAD_THREADS_MAX = 64 // local_lim.h:72:1:
X_POSIX_TIMER_MAX = 32 // posix1_lim.h:132:1:
X_POSIX_TTY_NAME_MAX = 9 // posix1_lim.h:135:1:
X_POSIX_TZNAME_MAX = 6 // posix1_lim.h:139:1:
X_STDC_PREDEF_H = 1 // <predefined>:203:1:
X_SYS_CDEFS_H = 1 // cdefs.h:19:1:
Linux = 1 // <predefined>:263:1:
Unix = 1 // <predefined>:222: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__ieee128 = float64 /* <builtin>:47:21 */
// Copyright (C) 1992-2020 Free Software Foundation, Inc.
//
// This file is part of GCC.
//
// GCC is free software; you can redistribute it and/or modify it under
// the terms of the GNU General Public License as published by the Free
// Software Foundation; either version 3, or (at your option) any later
// version.
//
// GCC is distributed in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY or
// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
// for more details.
//
// Under Section 7 of GPL version 3, you are granted additional
// permissions described in the GCC Runtime Library Exception, version
// 3.1, as published by the Free Software Foundation.
//
// You should have received a copy of the GNU General Public License and
// a copy of the GCC Runtime Library Exception along with this program;
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>.
// This administrivia gets added to the beginning of limits.h
// if the system has its own version of limits.h.
// We use _GCC_LIMITS_H_ because we want this not to match
// any macros that the system's limits.h uses for its own purposes.
// Use "..." so that we find syslimits.h only in this same directory.
// syslimits.h stands for the system's own limits.h file.
// If we can use it ok unmodified, then we install this text.
// If fixincludes fixes it, then the fixed version is installed
// instead of this text.
// Copyright (C) 1991-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// The GNU C Library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <https://www.gnu.org/licenses/>.
// ISO C99 Standard: 7.10/5.2.4.2.1 Sizes of integer types <limits.h>
// Handle feature test macros at the start of a header.
// Copyright (C) 2016-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// The GNU C Library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <https://www.gnu.org/licenses/>.
// This header is internal to glibc and should not be included outside
// of glibc headers. Headers including it must define
// __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION first. This header
// cannot have multiple include guards because ISO C feature test
// macros depend on the definition of the macro when an affected
// header is included, not when the first system header is
// included.
// Copyright (C) 1991-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// The GNU C Library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <https://www.gnu.org/licenses/>.
// These are defined by the user (or the compiler)
// to specify the desired environment:
//
// __STRICT_ANSI__ ISO Standard C.
// _ISOC99_SOURCE Extensions to ISO C89 from ISO C99.
// _ISOC11_SOURCE Extensions to ISO C99 from ISO C11.
// _ISOC2X_SOURCE Extensions to ISO C99 from ISO C2X.
// __STDC_WANT_LIB_EXT2__
// Extensions to ISO C99 from TR 27431-2:2010.
// __STDC_WANT_IEC_60559_BFP_EXT__
// Extensions to ISO C11 from TS 18661-1:2014.
// __STDC_WANT_IEC_60559_FUNCS_EXT__
// Extensions to ISO C11 from TS 18661-4:2015.
// __STDC_WANT_IEC_60559_TYPES_EXT__
// Extensions to ISO C11 from TS 18661-3:2015.
//
// _POSIX_SOURCE IEEE Std 1003.1.
// _POSIX_C_SOURCE If ==1, like _POSIX_SOURCE; if >=2 add IEEE Std 1003.2;
// if >=199309L, add IEEE Std 1003.1b-1993;
// if >=199506L, add IEEE Std 1003.1c-1995;
// if >=200112L, all of IEEE 1003.1-2004
// if >=200809L, all of IEEE 1003.1-2008
// _XOPEN_SOURCE Includes POSIX and XPG things. Set to 500 if
// Single Unix conformance is wanted, to 600 for the
// sixth revision, to 700 for the seventh revision.
// _XOPEN_SOURCE_EXTENDED XPG things and X/Open Unix extensions.
// _LARGEFILE_SOURCE Some more functions for correct standard I/O.
// _LARGEFILE64_SOURCE Additional functionality from LFS for large files.
// _FILE_OFFSET_BITS=N Select default filesystem interface.
// _ATFILE_SOURCE Additional *at interfaces.
// _GNU_SOURCE All of the above, plus GNU extensions.
// _DEFAULT_SOURCE The default set of features (taking precedence over
// __STRICT_ANSI__).
//
// _FORTIFY_SOURCE Add security hardening to many library functions.
// Set to 1 or 2; 2 performs stricter checks than 1.
//
// _REENTRANT, _THREAD_SAFE
// Obsolete; equivalent to _POSIX_C_SOURCE=199506L.
//
// The `-ansi' switch to the GNU C compiler, and standards conformance
// options such as `-std=c99', define __STRICT_ANSI__. If none of
// these are defined, or if _DEFAULT_SOURCE is defined, the default is
// to have _POSIX_SOURCE set to one and _POSIX_C_SOURCE set to
// 200809L, as well as enabling miscellaneous functions from BSD and
// SVID. If more than one of these are defined, they accumulate. For
// example __STRICT_ANSI__, _POSIX_SOURCE and _POSIX_C_SOURCE together
// give you ISO C, 1003.1, and 1003.2, but nothing else.
//
// These are defined by this file and are used by the
// header files to decide what to declare or define:
//
// __GLIBC_USE (F) Define things from feature set F. This is defined
// to 1 or 0; the subsequent macros are either defined
// or undefined, and those tests should be moved to
// __GLIBC_USE.
// __USE_ISOC11 Define ISO C11 things.
// __USE_ISOC99 Define ISO C99 things.
// __USE_ISOC95 Define ISO C90 AMD1 (C95) things.
// __USE_ISOCXX11 Define ISO C++11 things.
// __USE_POSIX Define IEEE Std 1003.1 things.
// __USE_POSIX2 Define IEEE Std 1003.2 things.
// __USE_POSIX199309 Define IEEE Std 1003.1, and .1b things.
// __USE_POSIX199506 Define IEEE Std 1003.1, .1b, .1c and .1i things.
// __USE_XOPEN Define XPG things.
// __USE_XOPEN_EXTENDED Define X/Open Unix things.
// __USE_UNIX98 Define Single Unix V2 things.
// __USE_XOPEN2K Define XPG6 things.
// __USE_XOPEN2KXSI Define XPG6 XSI things.
// __USE_XOPEN2K8 Define XPG7 things.
// __USE_XOPEN2K8XSI Define XPG7 XSI things.
// __USE_LARGEFILE Define correct standard I/O things.
// __USE_LARGEFILE64 Define LFS things with separate names.
// __USE_FILE_OFFSET64 Define 64bit interface as default.
// __USE_MISC Define things from 4.3BSD or System V Unix.
// __USE_ATFILE Define *at interfaces and AT_* constants for them.
// __USE_GNU Define GNU extensions.
// __USE_FORTIFY_LEVEL Additional security measures used, according to level.
//
// The macros `__GNU_LIBRARY__', `__GLIBC__', and `__GLIBC_MINOR__' are
// defined by this file unconditionally. `__GNU_LIBRARY__' is provided
// only for compatibility. All new code should use the other symbols
// to test for features.
//
// All macros listed above as possibly being defined by this file are
// explicitly undefined if they are not explicitly defined.
// Feature-test macros that are not defined by the user or compiler
// but are implied by the other feature-test macros defined (or by the
// lack of any definitions) are defined by the file.
//
// ISO C feature test macros depend on the definition of the macro
// when an affected header is included, not when the first system
// header is included, and so they are handled in
// <bits/libc-header-start.h>, which does not have a multiple include
// guard. Feature test macros that can be handled from the first
// system header included are handled here.
// Undefine everything, so we get a clean slate.
// Suppress kernel-name space pollution unless user expressedly asks
// for it.
// Convenience macro to test the version of gcc.
// Use like this:
// #if __GNUC_PREREQ (2,8)
// ... code requiring gcc 2.8 or later ...
// #endif
// Note: only works for GCC 2.0 and later, because __GNUC_MINOR__ was
// added in 2.0.
// Similarly for clang. Features added to GCC after version 4.2 may
// or may not also be available in clang, and clang's definitions of
// __GNUC(_MINOR)__ are fixed at 4 and 2 respectively. Not all such
// features can be queried via __has_extension/__has_feature.
// Whether to use feature set F.
// _BSD_SOURCE and _SVID_SOURCE are deprecated aliases for
// _DEFAULT_SOURCE. If _DEFAULT_SOURCE is present we do not
// issue a warning; the expectation is that the source is being
// transitioned to use the new macro.
// If _GNU_SOURCE was defined by the user, turn on all the other features.
// If nothing (other than _GNU_SOURCE and _DEFAULT_SOURCE) is defined,
// define _DEFAULT_SOURCE.
// This is to enable the ISO C2X extension.
// This is to enable the ISO C11 extension.
// This is to enable the ISO C99 extension.
// This is to enable the ISO C90 Amendment 1:1995 extension.
// If none of the ANSI/POSIX macros are defined, or if _DEFAULT_SOURCE
// is defined, use POSIX.1-2008 (or another version depending on
// _XOPEN_SOURCE).
// Some C libraries once required _REENTRANT and/or _THREAD_SAFE to be
// defined in all multithreaded code. GNU libc has not required this
// for many years. We now treat them as compatibility synonyms for
// _POSIX_C_SOURCE=199506L, which is the earliest level of POSIX with
// comprehensive support for multithreaded code. Using them never
// lowers the selected level of POSIX conformance, only raises it.
// The function 'gets' existed in C89, but is impossible to use
// safely. It has been removed from ISO C11 and ISO C++14. Note: for
// compatibility with various implementations of <cstdio>, this test
// must consider only the value of __cplusplus when compiling C++.
// GNU formerly extended the scanf functions with modified format
// specifiers %as, %aS, and %a[...] that allocate a buffer for the
// input using malloc. This extension conflicts with ISO C99, which
// defines %a as a standalone format specifier that reads a floating-
// point number; moreover, POSIX.1-2008 provides the same feature
// using the modifier letter 'm' instead (%ms, %mS, %m[...]).
//
// We now follow C99 unless GNU extensions are active and the compiler
// is specifically in C89 or C++98 mode (strict or not). For
// instance, with GCC, -std=gnu11 will have C99-compliant scanf with
// or without -D_GNU_SOURCE, but -std=c89 -D_GNU_SOURCE will have the
// old extension.
// Get definitions of __STDC_* predefined macros, if the compiler has
// not preincluded this header automatically.
// Copyright (C) 1991-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// The GNU C Library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <https://www.gnu.org/licenses/>.
// This macro indicates that the installed library is the GNU C Library.
// For historic reasons the value now is 6 and this will stay from now
// on. The use of this variable is deprecated. Use __GLIBC__ and
// __GLIBC_MINOR__ now (see below) when you want to test for a specific
// GNU C library version and use the values in <gnu/lib-names.h> to get
// the sonames of the shared libraries.
// Major and minor version number of the GNU C library package. Use
// these macros to test for features in specific releases.
// This is here only because every header file already includes this one.
// Copyright (C) 1992-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// The GNU C Library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <https://www.gnu.org/licenses/>.
// We are almost always included from features.h.
// The GNU libc does not support any K&R compilers or the traditional mode
// of ISO C compilers anymore. Check for some of the combinations not
// anymore supported.
// Some user header file might have defined this before.
// All functions, except those with callbacks or those that
// synchronize memory, are leaf functions.
// GCC can always grok prototypes. For C++ programs we add throw()
// to help it optimize the function calls. But this works only with
// gcc 2.8.x and egcs. For gcc 3.2 and up we even mark C functions
// as non-throwing using a function attribute since programs can use
// the -fexceptions options for C code as well.
// Compilers that are not clang may object to
// #if defined __clang__ && __has_extension(...)
// even though they do not need to evaluate the right-hand side of the &&.
// These two macros are not used in glibc anymore. They are kept here
// only because some other projects expect the macros to be defined.
// For these things, GCC behaves the ANSI way normally,
// and the non-ANSI way under -traditional.
// This is not a typedef so `const __ptr_t' does the right thing.
// C++ needs to know that types and declarations are C, not C++.
// Fortify support.
// Support for flexible arrays.
// Headers that should use flexible arrays only if they're "real"
// (e.g. only if they won't affect sizeof()) should test
// #if __glibc_c99_flexarr_available.
// __asm__ ("xyz") is used throughout the headers to rename functions
// at the assembly language level. This is wrapped by the __REDIRECT
// macro, in order to support compilers that can do this some other
// way. When compilers don't support asm-names at all, we have to do
// preprocessor tricks instead (which don't have exactly the right
// semantics, but it's the best we can do).
//
// Example:
// int __REDIRECT(setpgrp, (__pid_t pid, __pid_t pgrp), setpgid);
//
// #elif __SOME_OTHER_COMPILER__
//
// # define __REDIRECT(name, proto, alias) name proto; _Pragma("let " #name " = " #alias)
// GCC has various useful declarations that can be made with the
// `__attribute__' syntax. All of the ways we use this do fine if
// they are omitted for compilers that don't understand it.
// At some point during the gcc 2.96 development the `malloc' attribute
// for functions was introduced. We don't want to use it unconditionally
// (although this would be possible) since it generates warnings.
// Tell the compiler which arguments to an allocation function
// indicate the size of the allocation.
// At some point during the gcc 2.96 development the `pure' attribute
// for functions was introduced. We don't want to use it unconditionally
// (although this would be possible) since it generates warnings.
// This declaration tells the compiler that the value is constant.
// At some point during the gcc 3.1 development the `used' attribute
// for functions was introduced. We don't want to use it unconditionally
// (although this would be possible) since it generates warnings.
// Since version 3.2, gcc allows marking deprecated functions.
// Since version 4.5, gcc also allows one to specify the message printed
// when a deprecated function is used. clang claims to be gcc 4.2, but
// may also support this feature.
// At some point during the gcc 2.8 development the `format_arg' attribute
// for functions was introduced. We don't want to use it unconditionally
// (although this would be possible) since it generates warnings.
// If several `format_arg' attributes are given for the same function, in
// gcc-3.0 and older, all but the last one are ignored. In newer gccs,
// all designated arguments are considered.
// At some point during the gcc 2.97 development the `strfmon' format
// attribute for functions was introduced. We don't want to use it
// unconditionally (although this would be possible) since it
// generates warnings.
// The nonull function attribute allows to mark pointer parameters which
// must not be NULL.
// If fortification mode, we warn about unused results of certain
// function calls which can lead to problems.
// Forces a function to be always inlined.
// The Linux kernel defines __always_inline in stddef.h (283d7573), and
// it conflicts with this definition. Therefore undefine it first to
// allow either header to be included first.
// Associate error messages with the source location of the call site rather
// than with the source location inside the function.
// GCC 4.3 and above with -std=c99 or -std=gnu99 implements ISO C99
// inline semantics, unless -fgnu89-inline is used. Using __GNUC_STDC_INLINE__
// or __GNUC_GNU_INLINE is not a good enough check for gcc because gcc versions
// older than 4.3 may define these macros and still not guarantee GNU inlining
// semantics.
//
// clang++ identifies itself as gcc-4.2, but has support for GNU inlining
// semantics, that can be checked for by using the __GNUC_STDC_INLINE_ and
// __GNUC_GNU_INLINE__ macro definitions.
// GCC 4.3 and above allow passing all anonymous arguments of an
// __extern_always_inline function to some other vararg function.
// It is possible to compile containing GCC extensions even if GCC is
// run in pedantic mode if the uses are carefully marked using the
// `__extension__' keyword. But this is not generally available before
// version 2.8.
// __restrict is known in EGCS 1.2 and above.
// ISO C99 also allows to declare arrays as non-overlapping. The syntax is
// array_name[restrict]
// GCC 3.1 supports this.
// Describes a char array whose address can safely be passed as the first
// argument to strncpy and strncat, as the char array is not necessarily
// a NUL-terminated string.
// Undefine (also defined in libc-symbols.h).
// Copies attributes from the declaration or type referenced by
// the argument.
// Determine the wordsize from the preprocessor defines.
// Properties of long double type. ldbl-opt version.
// Copyright (C) 2016-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// The GNU C Library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <https://www.gnu.org/licenses/>.
// __glibc_macro_warning (MESSAGE) issues warning MESSAGE. This is
// intended for use in preprocessor macros.
//
// Note: MESSAGE must be a _single_ string; concatenation of string
// literals is not supported.
// Generic selection (ISO C11) is a C-only feature, available in GCC
// since version 4.9. Previous versions do not provide generic
// selection, even though they might set __STDC_VERSION__ to 201112L,
// when in -std=c11 mode. Thus, we must check for !defined __GNUC__
// when testing __STDC_VERSION__ for generic selection support.
// On the other hand, Clang also defines __GNUC__, so a clang-specific
// check is required to enable the use of generic selection.
// If we don't have __REDIRECT, prototypes will be missing if
// __USE_FILE_OFFSET64 but not __USE_LARGEFILE[64].
// Decide whether we can define 'extern inline' functions in headers.
// This is here only because every header file already includes this one.
// Get the definitions of all the appropriate `__stub_FUNCTION' symbols.
// <gnu/stubs.h> contains `#define __stub_FUNCTION' when FUNCTION is a stub
// that will always return failure (and set errno to ENOSYS).
// This file is automatically generated.
// This file selects the right generated file of `__stub_FUNCTION' macros
// based on the architecture being compiled for.
// Determine the wordsize from the preprocessor defines.
// This file is automatically generated.
// It defines a symbol `__stub_FUNCTION' for each function
// in the C library which is a stub, meaning it will fail
// every time called, usually setting errno to ENOSYS.
// ISO/IEC TR 24731-2:2010 defines the __STDC_WANT_LIB_EXT2__
// macro.
// ISO/IEC TS 18661-1:2014 defines the __STDC_WANT_IEC_60559_BFP_EXT__
// macro. Most but not all symbols enabled by that macro in TS
// 18661-1 are enabled unconditionally in C2X; the symbols in Annex F
// still require that macro in C2X.
// ISO/IEC TS 18661-4:2015 defines the
// __STDC_WANT_IEC_60559_FUNCS_EXT__ macro. Other than the reduction
// functions, the symbols from this TS are enabled unconditionally in
// C2X.
// ISO/IEC TS 18661-3:2015 defines the
// __STDC_WANT_IEC_60559_TYPES_EXT__ macro.
// Maximum length of any multibyte character in any locale.
// We define this value here since the gcc header does not define
// the correct value.
// If we are not using GNU CC we have to define all the symbols ourself.
// Otherwise use gcc's definitions (see below).
// Get the compiler's limits.h, which defines almost all the ISO constants.
//
// We put this #include_next outside the double inclusion check because
// it should be possible to include this file more than once and still get
// the definitions from gcc's header.
// The <limits.h> files in some gcc versions don't define LLONG_MIN,
// LLONG_MAX, and ULLONG_MAX. Instead only the values gcc defined for
// ages are available.
// The integer width macros are not defined by GCC's <limits.h> before
// GCC 7, or if _GNU_SOURCE rather than
// __STDC_WANT_IEC_60559_BFP_EXT__ is used to enable this feature.
// POSIX adds things to <limits.h>.
// Copyright (C) 1991-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// The GNU C Library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <https://www.gnu.org/licenses/>.
// POSIX Standard: 2.9.2 Minimum Values Added to <limits.h>
//
// Never include this file directly; use <limits.h> instead.
// Determine the wordsize from the preprocessor defines.
// These are the standard-mandated minimum values.
// Minimum number of operations in one list I/O call.
// Minimal number of outstanding asynchronous I/O operations.
// Maximum length of arguments to `execve', including environment.
// Maximum simultaneous processes per real user ID.
// Minimal number of timer expiration overruns.
// Maximum length of a host name (not including the terminating null)
// as returned from the GETHOSTNAME function.
// Maximum link count of a file.
// Maximum length of login name.
// Number of bytes in a terminal canonical input queue.
// Number of bytes for which space will be
// available in a terminal input queue.
// Maximum number of message queues open for a process.
// Maximum number of supported message priorities.
// Number of bytes in a filename.
// Number of simultaneous supplementary group IDs per process.
// Number of files one process can have open at once.
// Number of bytes in a pathname.
// Number of bytes than can be written atomically to a pipe.
// The number of repeated occurrences of a BRE permitted by the
// REGEXEC and REGCOMP functions when using the interval notation.
// Minimal number of realtime signals reserved for the application.
// Number of semaphores a process can have.
// Maximal value of a semaphore.
// Number of pending realtime signals.
// Largest value of a `ssize_t'.
// Number of streams a process can have open at once.
// The number of bytes in a symbolic link.
// The number of symbolic links that can be traversed in the
// resolution of a pathname in the absence of a loop.
// Number of timer for a process.
// Maximum number of characters in a tty name.
// Maximum length of a timezone name (element of `tzname').
// Maximum clock resolution in nanoseconds.
// Get the implementation-specific values for the above.
// Minimum guaranteed maximum values for system limits. Linux/PPC version.
// Copyright (C) 1993-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public License as
// published by the Free Software Foundation; either version 2.1 of the
// License, or (at your option) any later version.
//
// The GNU C Library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; see the file COPYING.LIB. If
// not, see <https://www.gnu.org/licenses/>.
// The kernel header pollutes the namespace with the NR_OPEN symbol
// and defines LINK_MAX although filesystems have different maxima. A
// similar thing is true for OPEN_MAX: the limit can be changed at
// runtime and therefore the macro must not be defined. Remove this
// after including the header if necessary.
// The kernel sources contain a file with all the needed information.
// SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note
// Have to remove NR_OPEN?
// Have to remove LINK_MAX?
// Have to remove OPEN_MAX?
// Have to remove ARG_MAX?
// The number of data keys per process.
// This is the value this implementation supports.
// Controlling the iterations of destructors for thread-specific data.
// Number of iterations this implementation does.
// The number of threads per process.
// We have no predefined limit on the number of threads.
// Maximum amount by which a process can descrease its asynchronous I/O
// priority level.
// Minimum size for a thread. At least two pages for systems with 64k
// pages.
// Maximum number of timer expiration overruns.
// Maximum tty name length.
// Maximum login name length. This is arbitrary.
// Maximum host name length.
// Maximum message queue priority level.
// Maximum value the semaphore can have.
// ssize_t is not formally required to be the signed type
// corresponding to size_t, but it is for all configurations supported
// by glibc.
// This value is a guaranteed minimum maximum.
// The current maximum can be got from `sysconf'.
// Copyright (C) 1991-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// The GNU C Library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <https://www.gnu.org/licenses/>.
// Never include this file directly; include <limits.h> instead.
// The maximum `ibase' and `obase' values allowed by the `bc' utility.
// The maximum number of elements allowed in an array by the `bc' utility.
// The maximum `scale' value allowed by the `bc' utility.
// The maximum length of a string constant accepted by the `bc' utility.
// The maximum number of weights that can be assigned to an entry of
// the LC_COLLATE `order' keyword in the locale definition file.
// The maximum number of expressions that can be nested
// within parentheses by the `expr' utility.
// The maximum length, in bytes, of an input line.
// The maximum number of repeated occurrences of a regular expression
// permitted when using the interval notation `\{M,N\}'.
// The maximum number of bytes in a character class name. We have no
// fixed limit, 2048 is a high number.
// These values are implementation-specific,
// and may vary within the implementation.
// Their precise values can be obtained from sysconf.
// This value is defined like this in regex.h.
// Copyright (C) 1991-2020 Free Software Foundation, Inc.
//
// This file is part of GCC.
//
// GCC is free software; you can redistribute it and/or modify it under
// the terms of the GNU General Public License as published by the Free
// Software Foundation; either version 3, or (at your option) any later
// version.
//
// GCC is distributed in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY or
// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
// for more details.
//
// Under Section 7 of GPL version 3, you are granted additional
// permissions described in the GCC Runtime Library Exception, version
// 3.1, as published by the Free Software Foundation.
//
// You should have received a copy of the GNU General Public License and
// a copy of the GCC Runtime Library Exception along with this program;
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>.
// Number of bits in a `char'.
// Maximum length of a multibyte character.
// Minimum and maximum values a `signed char' can hold.
// Maximum value an `unsigned char' can hold. (Minimum is 0).
// Minimum and maximum values a `char' can hold.
// Minimum and maximum values a `signed short int' can hold.
// Maximum value an `unsigned short int' can hold. (Minimum is 0).
// Minimum and maximum values a `signed int' can hold.
// Maximum value an `unsigned int' can hold. (Minimum is 0).
// Minimum and maximum values a `signed long int' can hold.
// (Same as `int').
// Maximum value an `unsigned long int' can hold. (Minimum is 0).
// Minimum and maximum values a `signed long long int' can hold.
// Maximum value an `unsigned long long int' can hold. (Minimum is 0).
// This administrivia gets added to the end of limits.h
// if the system has its own version of limits.h.
var _ uint8 /* gen.c:2:13: */
+116 -116
View File
@@ -1,4 +1,4 @@
// Code generated by 'ccgo limits/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o limits/limits_netbsd_amd64.go -pkgname limits', DO NOT EDIT.
// Code generated by 'ccgo limits/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o limits/limits_netbsd_amd64.go -pkgname limits', DO NOT EDIT.
package limits
@@ -15,121 +15,121 @@ var _ atomic.Value
var _ unsafe.Pointer
const (
ARG_MAX = 262144
BC_BASE_MAX = 2147483647
BC_DIM_MAX = 65535
BC_SCALE_MAX = 2147483647
BC_STRING_MAX = 2147483647
CHARCLASS_NAME_MAX = 14
CHAR_BIT = 8
CHAR_MAX = 127
CHAR_MIN = -128
CHILD_MAX = 160
COLL_WEIGHTS_MAX = 2
DBL_DIG = 15
EXPR_NEST_MAX = 32
FLT_DIG = 6
GID_MAX = 2147483647
INT_MAX = 0x7fffffff
INT_MIN = -2147483648
IOV_MAX = 1024
LINE_MAX = 2048
LINK_MAX = 32767
LLONG_MAX = 0x7fffffffffffffff
LLONG_MIN = -9223372036854775808
LOGIN_NAME_MAX = 17
LONG_BIT = 64
LONG_MAX = 0x7fffffffffffffff
LONG_MIN = -9223372036854775808
MAX_CANON = 255
MAX_INPUT = 255
MB_LEN_MAX = 32
NAME_MAX = 511
NGROUPS_MAX = 16
NL_ARGMAX = 9
NL_LANGMAX = 14
NL_MSGMAX = 32767
NL_NMAX = 1
NL_SETMAX = 255
NL_TEXTMAX = 2048
NZERO = 20
OPEN_MAX = 128
PASS_MAX = 128
PATH_MAX = 1024
PIPE_BUF = 512
PTHREAD_DESTRUCTOR_ITERATIONS = 4
PTHREAD_KEYS_MAX = 256
PTHREAD_THREADS_MAX = 64
QUAD_MAX = 0x7fffffffffffffff
QUAD_MIN = -9223372036854775808
RE_DUP_MAX = 255
SCHAR_MAX = 0x7f
SCHAR_MIN = -128
SHRT_MAX = 0x7fff
SHRT_MIN = -32768
SIZE_T_MAX = 18446744073709551615
SSIZE_MAX = 9223372036854775807
SSIZE_MIN = -9223372036854775808
TMP_MAX = 308915776
UCHAR_MAX = 0xff
UID_MAX = 2147483647
UINT_MAX = 0xffffffff
ULLONG_MAX = 0xffffffffffffffff
ULONG_MAX = 0xffffffffffffffff
UQUAD_MAX = 0xffffffffffffffff
USHRT_MAX = 0xffff
WORD_BIT = 32
X_FILE_OFFSET_BITS = 64
X_GETGR_R_SIZE_MAX = 1024
X_GETPW_R_SIZE_MAX = 1024
X_LIMITS_H_ = 0
X_LP64 = 1
X_NETBSD_SOURCE = 1
X_POSIX2_BC_BASE_MAX = 99
X_POSIX2_BC_DIM_MAX = 2048
X_POSIX2_BC_SCALE_MAX = 99
X_POSIX2_BC_STRING_MAX = 1000
X_POSIX2_CHARCLASS_NAME_MAX = 14
X_POSIX2_COLL_WEIGHTS_MAX = 2
X_POSIX2_EXPR_NEST_MAX = 32
X_POSIX2_LINE_MAX = 2048
X_POSIX2_RE_DUP_MAX = 255
X_POSIX_AIO_LISTIO_MAX = 2
X_POSIX_AIO_MAX = 1
X_POSIX_ARG_MAX = 4096
X_POSIX_CHILD_MAX = 25
X_POSIX_DELAYTIMER_MAX = 32
X_POSIX_HOST_NAME_MAX = 255
X_POSIX_LINK_MAX = 8
X_POSIX_LOGIN_NAME_MAX = 9
X_POSIX_MAX_CANON = 255
X_POSIX_MAX_INPUT = 255
X_POSIX_MQ_OPEN_MAX = 8
X_POSIX_MQ_PRIO_MAX = 32
X_POSIX_NAME_MAX = 14
X_POSIX_NGROUPS_MAX = 8
X_POSIX_OPEN_MAX = 20
X_POSIX_PATH_MAX = 256
X_POSIX_PIPE_BUF = 512
X_POSIX_REALTIME_SIGNALS = 200112
X_POSIX_RE_DUP_MAX = 255
X_POSIX_SEM_NSEMS_MAX = 256
X_POSIX_SIGQUEUE_MAX = 32
X_POSIX_SSIZE_MAX = 32767
X_POSIX_STREAM_MAX = 8
X_POSIX_SYMLINK_MAX = 255
X_POSIX_SYMLOOP_MAX = 8
X_POSIX_THREAD_DESTRUCTOR_ITERATIONS = 4
X_POSIX_THREAD_KEYS_MAX = 128
X_POSIX_THREAD_THREADS_MAX = 64
X_POSIX_TIMER_MAX = 32
X_POSIX_TTY_NAME_MAX = 9
X_POSIX_TZNAME_MAX = 6
X_SYS_SYSLIMITS_H_ = 0
X_X86_64_LIMITS_H_ = 0
X_XOPEN_IOV_MAX = 16
X_XOPEN_NAME_MAX = 256
X_XOPEN_PATH_MAX = 1024
ARG_MAX = 262144 // syslimits.h:45:1:
BC_BASE_MAX = 2147483647 // syslimits.h:63:1:
BC_DIM_MAX = 65535 // syslimits.h:64:1:
BC_SCALE_MAX = 2147483647 // syslimits.h:65:1:
BC_STRING_MAX = 2147483647 // syslimits.h:66:1:
CHARCLASS_NAME_MAX = 14 // limits.h:125:1:
CHAR_BIT = 8 // limits.h:41:1:
CHAR_MAX = 127 // limits.h:163:1:
CHAR_MIN = -128 // limits.h:162:1:
CHILD_MAX = 160 // syslimits.h:47:1:
COLL_WEIGHTS_MAX = 2 // syslimits.h:67:1:
DBL_DIG = 15 // limits.h:85:1:
EXPR_NEST_MAX = 32 // syslimits.h:68:1:
FLT_DIG = 6 // limits.h:89:1:
GID_MAX = 2147483647 // syslimits.h:49:1:
INT_MAX = 0x7fffffff // limits.h:52:1:
INT_MIN = -2147483648 // limits.h:53:1:
IOV_MAX = 1024 // syslimits.h:84:1:
LINE_MAX = 2048 // syslimits.h:69:1:
LINK_MAX = 32767 // syslimits.h:50:1:
LLONG_MAX = 0x7fffffffffffffff // limits.h:62:1:
LLONG_MIN = -9223372036854775808 // limits.h:63:1:
LOGIN_NAME_MAX = 17 // syslimits.h:77:1:
LONG_BIT = 64 // limits.h:82:1:
LONG_MAX = 0x7fffffffffffffff // limits.h:56:1:
LONG_MIN = -9223372036854775808 // limits.h:57:1:
MAX_CANON = 255 // syslimits.h:51:1:
MAX_INPUT = 255 // syslimits.h:52:1:
MB_LEN_MAX = 32 // limits.h:145:1:
NAME_MAX = 511 // syslimits.h:53:1:
NGROUPS_MAX = 16 // syslimits.h:55:1:
NL_ARGMAX = 9 // limits.h:126:1:
NL_LANGMAX = 14 // limits.h:127:1:
NL_MSGMAX = 32767 // limits.h:128:1:
NL_NMAX = 1 // limits.h:129:1:
NL_SETMAX = 255 // limits.h:130:1:
NL_TEXTMAX = 2048 // limits.h:131:1:
NZERO = 20 // syslimits.h:85:1:
OPEN_MAX = 128 // syslimits.h:58:1:
PASS_MAX = 128 // limits.h:123:1:
PATH_MAX = 1024 // syslimits.h:60:1:
PIPE_BUF = 512 // syslimits.h:61:1:
PTHREAD_DESTRUCTOR_ITERATIONS = 4 // limits.h:90:1:
PTHREAD_KEYS_MAX = 256 // limits.h:91:1:
PTHREAD_THREADS_MAX = 64 // limits.h:93:1:
QUAD_MAX = 0x7fffffffffffffff // limits.h:75:1:
QUAD_MIN = -9223372036854775808 // limits.h:76:1:
RE_DUP_MAX = 255 // syslimits.h:70:1:
SCHAR_MAX = 0x7f // limits.h:44:1:
SCHAR_MIN = -128 // limits.h:45:1:
SHRT_MAX = 0x7fff // limits.h:48:1:
SHRT_MIN = -32768 // limits.h:49:1:
SIZE_T_MAX = 18446744073709551615 // limits.h:72:1:
SSIZE_MAX = 9223372036854775807 // limits.h:68:1:
SSIZE_MIN = -9223372036854775808 // limits.h:71:1:
TMP_MAX = 308915776 // limits.h:139:1:
UCHAR_MAX = 0xff // limits.h:43:1:
UID_MAX = 2147483647 // syslimits.h:56:1:
UINT_MAX = 0xffffffff // limits.h:51:1:
ULLONG_MAX = 0xffffffffffffffff // limits.h:61:1:
ULONG_MAX = 0xffffffffffffffff // limits.h:55:1:
UQUAD_MAX = 0xffffffffffffffff // limits.h:74:1:
USHRT_MAX = 0xffff // limits.h:47:1:
WORD_BIT = 32 // limits.h:83:1:
X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
X_GETGR_R_SIZE_MAX = 1024 // limits.h:134:1:
X_GETPW_R_SIZE_MAX = 1024 // limits.h:135:1:
X_LIMITS_H_ = 0 // limits.h:35:1:
X_LP64 = 1 // <predefined>:268:1:
X_NETBSD_SOURCE = 1 // featuretest.h:70:1:
X_POSIX2_BC_BASE_MAX = 99 // limits.h:103:1:
X_POSIX2_BC_DIM_MAX = 2048 // limits.h:104:1:
X_POSIX2_BC_SCALE_MAX = 99 // limits.h:105:1:
X_POSIX2_BC_STRING_MAX = 1000 // limits.h:106:1:
X_POSIX2_CHARCLASS_NAME_MAX = 14 // limits.h:107:1:
X_POSIX2_COLL_WEIGHTS_MAX = 2 // limits.h:108:1:
X_POSIX2_EXPR_NEST_MAX = 32 // limits.h:109:1:
X_POSIX2_LINE_MAX = 2048 // limits.h:110:1:
X_POSIX2_RE_DUP_MAX = 255 // limits.h:111:1:
X_POSIX_AIO_LISTIO_MAX = 2 // limits.h:41:1:
X_POSIX_AIO_MAX = 1 // limits.h:42:1:
X_POSIX_ARG_MAX = 4096 // limits.h:43:1:
X_POSIX_CHILD_MAX = 25 // limits.h:44:1:
X_POSIX_DELAYTIMER_MAX = 32 // limits.h:99:1:
X_POSIX_HOST_NAME_MAX = 255 // limits.h:45:1:
X_POSIX_LINK_MAX = 8 // limits.h:46:1:
X_POSIX_LOGIN_NAME_MAX = 9 // limits.h:47:1:
X_POSIX_MAX_CANON = 255 // limits.h:48:1:
X_POSIX_MAX_INPUT = 255 // limits.h:49:1:
X_POSIX_MQ_OPEN_MAX = 8 // limits.h:50:1:
X_POSIX_MQ_PRIO_MAX = 32 // limits.h:51:1:
X_POSIX_NAME_MAX = 14 // limits.h:52:1:
X_POSIX_NGROUPS_MAX = 8 // limits.h:53:1:
X_POSIX_OPEN_MAX = 20 // limits.h:54:1:
X_POSIX_PATH_MAX = 256 // limits.h:55:1:
X_POSIX_PIPE_BUF = 512 // limits.h:56:1:
X_POSIX_REALTIME_SIGNALS = 200112 // limits.h:98:1:
X_POSIX_RE_DUP_MAX = 255 // limits.h:57:1:
X_POSIX_SEM_NSEMS_MAX = 256 // limits.h:96:1:
X_POSIX_SIGQUEUE_MAX = 32 // limits.h:97:1:
X_POSIX_SSIZE_MAX = 32767 // limits.h:58:1:
X_POSIX_STREAM_MAX = 8 // limits.h:59:1:
X_POSIX_SYMLINK_MAX = 255 // limits.h:60:1:
X_POSIX_SYMLOOP_MAX = 8 // limits.h:61:1:
X_POSIX_THREAD_DESTRUCTOR_ITERATIONS = 4 // limits.h:81:1:
X_POSIX_THREAD_KEYS_MAX = 128 // limits.h:82:1:
X_POSIX_THREAD_THREADS_MAX = 64 // limits.h:83:1:
X_POSIX_TIMER_MAX = 32 // limits.h:95:1:
X_POSIX_TTY_NAME_MAX = 9 // limits.h:100:1:
X_POSIX_TZNAME_MAX = 6 // limits.h:101:1:
X_SYS_SYSLIMITS_H_ = 0 // syslimits.h:35:1:
X_X86_64_LIMITS_H_ = 0 // limits.h:35:1:
X_XOPEN_IOV_MAX = 16 // limits.h:119:1:
X_XOPEN_NAME_MAX = 256 // limits.h:120:1:
X_XOPEN_PATH_MAX = 1024 // limits.h:121:1:
)
type Ptrdiff_t = int64 /* <builtin>:3:26 */
+106 -106
View File
@@ -1,4 +1,4 @@
// Code generated by 'ccgo limits/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o limits/limits_openbsd_amd64.go -pkgname limits', DO NOT EDIT.
// Code generated by 'ccgo limits/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o limits/limits_openbsd_amd64.go -pkgname limits', DO NOT EDIT.
package limits
@@ -15,111 +15,111 @@ var _ atomic.Value
var _ unsafe.Pointer
const (
ARG_MAX = 524288
BC_BASE_MAX = 2147483647
BC_DIM_MAX = 65535
BC_SCALE_MAX = 2147483647
BC_STRING_MAX = 2147483647
CHAR_BIT = 8
CHAR_MAX = 0x7f
CHAR_MIN = -128
CHILD_MAX = 80
COLL_WEIGHTS_MAX = 2
EXPR_NEST_MAX = 32
GID_MAX = 4294967295
HOST_NAME_MAX = 255
INT_MAX = 0x7fffffff
INT_MIN = -2147483648
IOV_MAX = 1024
LINE_MAX = 2048
LINK_MAX = 32767
LLONG_MAX = 0x7fffffffffffffff
LLONG_MIN = -9223372036854775808
LOGIN_NAME_MAX = 32
LONG_BIT = 64
LONG_MAX = 0x7fffffffffffffff
LONG_MIN = -9223372036854775808
MAX_CANON = 255
MAX_INPUT = 255
MB_LEN_MAX = 4
NAME_MAX = 255
NGROUPS_MAX = 16
NL_ARGMAX = 9
NL_LANGMAX = 14
NL_MSGMAX = 32767
NL_SETMAX = 255
NL_TEXTMAX = 255
NZERO = 20
OPEN_MAX = 64
PATH_MAX = 1024
PIPE_BUF = 512
QUAD_MAX = 0x7fffffffffffffff
QUAD_MIN = -9223372036854775808
RE_DUP_MAX = 255
SCHAR_MAX = 0x7f
SCHAR_MIN = -128
SEM_VALUE_MAX = 4294967295
SHRT_MAX = 0x7fff
SHRT_MIN = -32768
SIZE_T_MAX = 18446744073709551615
SSIZE_MAX = 9223372036854775807
SYMLINK_MAX = 1024
SYMLOOP_MAX = 32
TTY_NAME_MAX = 260
UCHAR_MAX = 0xff
UID_MAX = 4294967295
UINT_MAX = 0xffffffff
ULLONG_MAX = 0xffffffffffffffff
ULONG_MAX = 0xffffffffffffffff
UQUAD_MAX = 0xffffffffffffffff
USHRT_MAX = 0xffff
WORD_BIT = 32
X_FILE_OFFSET_BITS = 64
X_LIMITS_H_ = 0
X_LP64 = 1
X_MACHINE_CDEFS_H_ = 0
X_MACHINE_LIMITS_H_ = 0
X_POSIX2_BC_BASE_MAX = 99
X_POSIX2_BC_DIM_MAX = 2048
X_POSIX2_BC_SCALE_MAX = 99
X_POSIX2_BC_STRING_MAX = 1000
X_POSIX2_CHARCLASS_NAME_MAX = 14
X_POSIX2_COLL_WEIGHTS_MAX = 2
X_POSIX2_EXPR_NEST_MAX = 32
X_POSIX2_LINE_MAX = 2048
X_POSIX2_RE_DUP_MAX = 255
X_POSIX_ARG_MAX = 4096
X_POSIX_CHILD_MAX = 25
X_POSIX_CLOCKRES_MIN = 20000000
X_POSIX_HOST_NAME_MAX = 255
X_POSIX_LINK_MAX = 8
X_POSIX_LOGIN_NAME_MAX = 9
X_POSIX_MAX_CANON = 255
X_POSIX_MAX_INPUT = 255
X_POSIX_NAME_MAX = 14
X_POSIX_NGROUPS_MAX = 8
X_POSIX_OPEN_MAX = 20
X_POSIX_PATH_MAX = 256
X_POSIX_PIPE_BUF = 512
X_POSIX_RE_DUP_MAX = 255
X_POSIX_SEM_NSEMS_MAX = 256
X_POSIX_SEM_VALUE_MAX = 32767
X_POSIX_SSIZE_MAX = 32767
X_POSIX_STREAM_MAX = 8
X_POSIX_SYMLINK_MAX = 255
X_POSIX_SYMLOOP_MAX = 8
X_POSIX_THREAD_DESTRUCTOR_ITERATIONS = 4
X_POSIX_THREAD_KEYS_MAX = 128
X_POSIX_THREAD_THREADS_MAX = 4
X_POSIX_TTY_NAME_MAX = 9
X_POSIX_TZNAME_MAX = 6
X_RET_PROTECTOR = 1
X_SYS_CDEFS_H_ = 0
X_SYS_LIMITS_H_ = 0
X_XOPEN_IOV_MAX = 16
X_XOPEN_NAME_MAX = 255
X_XOPEN_PATH_MAX = 1024
Unix = 1
ARG_MAX = 524288 // syslimits.h:38:1:
BC_BASE_MAX = 2147483647 // syslimits.h:51:1:
BC_DIM_MAX = 65535 // syslimits.h:52:1:
BC_SCALE_MAX = 2147483647 // syslimits.h:53:1:
BC_STRING_MAX = 2147483647 // syslimits.h:54:1:
CHAR_BIT = 8 // limits.h:36:1:
CHAR_MAX = 0x7f // limits.h:46:1:
CHAR_MIN = -128 // limits.h:47:1:
CHILD_MAX = 80 // syslimits.h:39:1:
COLL_WEIGHTS_MAX = 2 // syslimits.h:55:1:
EXPR_NEST_MAX = 32 // syslimits.h:56:1:
GID_MAX = 4294967295 // limits.h:84:1:
HOST_NAME_MAX = 255 // syslimits.h:76:1:
INT_MAX = 0x7fffffff // limits.h:57:1:
INT_MIN = -2147483648 // limits.h:58:1:
IOV_MAX = 1024 // syslimits.h:64:1:
LINE_MAX = 2048 // syslimits.h:57:1:
LINK_MAX = 32767 // syslimits.h:40:1:
LLONG_MAX = 0x7fffffffffffffff // limits.h:76:1:
LLONG_MIN = -9223372036854775808 // limits.h:78:1:
LOGIN_NAME_MAX = 32 // syslimits.h:72:1:
LONG_BIT = 64 // limits.h:89:1:
LONG_MAX = 0x7fffffffffffffff // limits.h:63:1:
LONG_MIN = -9223372036854775808 // limits.h:65:1:
MAX_CANON = 255 // syslimits.h:41:1:
MAX_INPUT = 255 // syslimits.h:42:1:
MB_LEN_MAX = 4 // limits.h:50:1:
NAME_MAX = 255 // syslimits.h:43:1:
NGROUPS_MAX = 16 // syslimits.h:44:1:
NL_ARGMAX = 9 // limits.h:89:1:
NL_LANGMAX = 14 // limits.h:90:1:
NL_MSGMAX = 32767 // limits.h:91:1:
NL_SETMAX = 255 // limits.h:92:1:
NL_TEXTMAX = 255 // limits.h:93:1:
NZERO = 20 // syslimits.h:65:1:
OPEN_MAX = 64 // syslimits.h:45:1:
PATH_MAX = 1024 // syslimits.h:46:1:
PIPE_BUF = 512 // syslimits.h:47:1:
QUAD_MAX = 0x7fffffffffffffff // limits.h:47:1:
QUAD_MIN = -9223372036854775808 // limits.h:48:1:
RE_DUP_MAX = 255 // syslimits.h:59:1:
SCHAR_MAX = 0x7f // limits.h:38:1:
SCHAR_MIN = -128 // limits.h:39:1:
SEM_VALUE_MAX = 4294967295 // syslimits.h:60:1:
SHRT_MAX = 0x7fff // limits.h:53:1:
SHRT_MIN = -32768 // limits.h:54:1:
SIZE_T_MAX = 18446744073709551615 // limits.h:44:1:
SSIZE_MAX = 9223372036854775807 // limits.h:40:1:
SYMLINK_MAX = 1024 // syslimits.h:48:1:
SYMLOOP_MAX = 32 // syslimits.h:49:1:
TTY_NAME_MAX = 260 // syslimits.h:71:1:
UCHAR_MAX = 0xff // limits.h:41:1:
UID_MAX = 4294967295 // limits.h:83:1:
UINT_MAX = 0xffffffff // limits.h:56:1:
ULLONG_MAX = 0xffffffffffffffff // limits.h:74:1:
ULONG_MAX = 0xffffffffffffffff // limits.h:61:1:
UQUAD_MAX = 0xffffffffffffffff // limits.h:46:1:
USHRT_MAX = 0xffff // limits.h:52:1:
WORD_BIT = 32 // limits.h:93:1:
X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
X_LIMITS_H_ = 0 // limits.h:36:1:
X_LP64 = 1 // <predefined>:1:1:
X_MACHINE_CDEFS_H_ = 0 // cdefs.h:9:1:
X_MACHINE_LIMITS_H_ = 0 // limits.h:35:1:
X_POSIX2_BC_BASE_MAX = 99 // limits.h:71:1:
X_POSIX2_BC_DIM_MAX = 2048 // limits.h:72:1:
X_POSIX2_BC_SCALE_MAX = 99 // limits.h:73:1:
X_POSIX2_BC_STRING_MAX = 1000 // limits.h:74:1:
X_POSIX2_CHARCLASS_NAME_MAX = 14 // limits.h:79:1:
X_POSIX2_COLL_WEIGHTS_MAX = 2 // limits.h:75:1:
X_POSIX2_EXPR_NEST_MAX = 32 // limits.h:76:1:
X_POSIX2_LINE_MAX = 2048 // limits.h:77:1:
X_POSIX2_RE_DUP_MAX = 255 // limits.h:78:1:
X_POSIX_ARG_MAX = 4096 // limits.h:41:1:
X_POSIX_CHILD_MAX = 25 // limits.h:42:1:
X_POSIX_CLOCKRES_MIN = 20000000 // limits.h:61:1:
X_POSIX_HOST_NAME_MAX = 255 // limits.h:82:1:
X_POSIX_LINK_MAX = 8 // limits.h:43:1:
X_POSIX_LOGIN_NAME_MAX = 9 // limits.h:83:1:
X_POSIX_MAX_CANON = 255 // limits.h:44:1:
X_POSIX_MAX_INPUT = 255 // limits.h:45:1:
X_POSIX_NAME_MAX = 14 // limits.h:46:1:
X_POSIX_NGROUPS_MAX = 8 // limits.h:62:1:
X_POSIX_OPEN_MAX = 20 // limits.h:63:1:
X_POSIX_PATH_MAX = 256 // limits.h:47:1:
X_POSIX_PIPE_BUF = 512 // limits.h:48:1:
X_POSIX_RE_DUP_MAX = 255 // limits.h:49:1:
X_POSIX_SEM_NSEMS_MAX = 256 // limits.h:50:1:
X_POSIX_SEM_VALUE_MAX = 32767 // limits.h:51:1:
X_POSIX_SSIZE_MAX = 32767 // limits.h:52:1:
X_POSIX_STREAM_MAX = 8 // limits.h:53:1:
X_POSIX_SYMLINK_MAX = 255 // limits.h:54:1:
X_POSIX_SYMLOOP_MAX = 8 // limits.h:55:1:
X_POSIX_THREAD_DESTRUCTOR_ITERATIONS = 4 // limits.h:56:1:
X_POSIX_THREAD_KEYS_MAX = 128 // limits.h:57:1:
X_POSIX_THREAD_THREADS_MAX = 4 // limits.h:58:1:
X_POSIX_TTY_NAME_MAX = 9 // limits.h:84:1:
X_POSIX_TZNAME_MAX = 6 // limits.h:64:1:
X_RET_PROTECTOR = 1 // <predefined>:2:1:
X_SYS_CDEFS_H_ = 0 // cdefs.h:39:1:
X_SYS_LIMITS_H_ = 0 // limits.h:27:1:
X_XOPEN_IOV_MAX = 16 // limits.h:106:1:
X_XOPEN_NAME_MAX = 255 // limits.h:107:1:
X_XOPEN_PATH_MAX = 1024 // limits.h:108:1:
Unix = 1 // <predefined>:340:1:
)
type Ptrdiff_t = int64 /* <builtin>:3:26 */
+3 -3
View File
@@ -2904,7 +2904,7 @@ func Xgethostbyaddr(tls *TLS, a uintptr, l socklen_t, af int32) uintptr { /* get
// var res uintptr at bp, 8
var err int32
for ok := true; ok; ok = err == 34 {
for __ccgo := true; __ccgo; __ccgo = err == 34 {
Xfree(tls, _sh)
_sh = Xmalloc(tls, AssignAddUint64(&size, size+uint64(1)))
if !(_sh != 0) {
@@ -3019,7 +3019,7 @@ func Xgethostbyname2(tls *TLS, name uintptr, af int32) uintptr { /* gethostbynam
// var res uintptr at bp, 8
var err int32
for ok := true; ok; ok = err == 34 {
for __ccgo := true; __ccgo; __ccgo = err == 34 {
Xfree(tls, _sh1)
_sh1 = Xmalloc(tls, AssignAddUint64(&size, size+uint64(1)))
if !(_sh1 != 0) {
@@ -3308,7 +3308,7 @@ type res_sym = struct {
func itoa(tls *TLS, p uintptr, x uint32) uintptr { /* getnameinfo.c:18:13: */
p += uintptr(uint64(3) * uint64(unsafe.Sizeof(int32(0))))
*(*int8)(unsafe.Pointer(PreDecUintptr(&p, 1))) = int8(0)
for ok := true; ok; ok = x != 0 {
for __ccgo := true; __ccgo; __ccgo = x != 0 {
*(*int8)(unsafe.Pointer(PreDecUintptr(&p, 1))) = int8(uint32('0') + x%uint32(10))
x = x / uint32(10)
}
+69 -4
View File
@@ -1,4 +1,4 @@
// Code generated by 'ccgo -export-externs X -hide __syscall0,__syscall1,__syscall2,__syscall3,__syscall4,__syscall5,__syscall6,getnameinfo,gethostbyaddr_r, -nostdinc -nostdlib -o ../musl_freebsd_386.go -pkgname libc -static-locals-prefix _s -Iarch/i386 -Iarch/generic -Iobj/src/internal -Isrc/include -Isrc/internal -Iobj/include -Iinclude copyright.c ../freebsd/table.cpp.c src/ctype/isalnum.c src/ctype/isalpha.c src/ctype/isdigit.c src/internal/floatscan.c src/internal/intscan.c src/internal/shgetc.c src/math/copysignl.c src/math/fabsl.c src/math/fmodl.c src/math/rint.c src/math/scalbn.c src/math/scalbnl.c src/network/freeaddrinfo.c src/network/getaddrinfo.c src/network/gethostbyaddr.c src/network/gethostbyaddr_r.c src/network/gethostbyname.c src/network/gethostbyname2.c src/network/gethostbyname2_r.c src/network/getnameinfo.c src/network/h_errno.c src/network/inet_aton.c src/network/inet_ntop.c src/network/inet_pton.c src/network/lookup_ipliteral.c src/network/lookup_name.c src/network/lookup_serv.c src/stdio/__toread.c src/stdio/__uflow.c src/stdlib/strtod.c src/stdlib/strtol.c src/string/strdup.c src/string/strnlen.c src/string/strspn.c', DO NOT EDIT.
// Code generated by 'ccgo -export-externs X -hide __syscall0,__syscall1,__syscall2,__syscall3,__syscall4,__syscall5,__syscall6,getnameinfo,gethostbyaddr_r, -nostdinc -nostdlib -o ../musl_freebsd_386.go -pkgname libc -static-locals-prefix _s -Iarch/i386 -Iarch/generic -Iobj/src/internal -Isrc/include -Isrc/internal -Iobj/include -Iinclude copyright.c ../freebsd/table.cpp.c src/ctype/isalnum.c src/ctype/isalpha.c src/ctype/isdigit.c src/ctype/islower.c src/ctype/isprint.c src/ctype/isspace.c src/ctype/isupper.c src/ctype/isxdigit.c src/internal/floatscan.c src/internal/intscan.c src/internal/shgetc.c src/math/copysignl.c src/math/fabsl.c src/math/fmodl.c src/math/rint.c src/math/scalbn.c src/math/scalbnl.c src/network/freeaddrinfo.c src/network/getaddrinfo.c src/network/gethostbyaddr.c src/network/gethostbyaddr_r.c src/network/gethostbyname.c src/network/gethostbyname2.c src/network/gethostbyname2_r.c src/network/getnameinfo.c src/network/h_errno.c src/network/inet_aton.c src/network/inet_ntop.c src/network/inet_pton.c src/network/lookup_ipliteral.c src/network/lookup_name.c src/network/lookup_serv.c src/stdio/__toread.c src/stdio/__uflow.c src/stdlib/bsearch.c src/stdlib/strtod.c src/stdlib/strtol.c src/string/strdup.c src/string/strnlen.c src/string/strspn.c', DO NOT EDIT.
package libc
@@ -3352,6 +3352,51 @@ func X__isdigit_l(tls *TLS, c int32, l locale_t) int32 { /* isdigit.c:9:5: */
return Xisdigit(tls, c)
}
func Xislower(tls *TLS, c int32) int32 { /* islower.c:4:5: */
return Bool32(uint32(c)-uint32('a') < uint32(26))
}
func X__islower_l(tls *TLS, c int32, l locale_t) int32 { /* islower.c:9:5: */
return Xislower(tls, c)
}
func Xisprint(tls *TLS, c int32) int32 { /* isprint.c:4:5: */
return Bool32(uint32(c)-uint32(0x20) < uint32(0x5f))
}
func X__isprint_l(tls *TLS, c int32, l locale_t) int32 { /* isprint.c:9:5: */
return Xisprint(tls, c)
}
func Xisspace(tls *TLS, c int32) int32 { /* isspace.c:4:5: */
return Bool32(c == ' ' || uint32(c)-uint32('\t') < uint32(5))
}
func X__isspace_l(tls *TLS, c int32, l locale_t) int32 { /* isspace.c:9:5: */
return Xisspace(tls, c)
}
func Xisupper(tls *TLS, c int32) int32 { /* isupper.c:4:5: */
return Bool32(uint32(c)-uint32('A') < uint32(26))
}
func X__isupper_l(tls *TLS, c int32, l locale_t) int32 { /* isupper.c:9:5: */
return Xisupper(tls, c)
}
func Xisxdigit(tls *TLS, c int32) int32 { /* isxdigit.c:3:5: */
return Bool32(func() int32 {
if 0 != 0 {
return Xisdigit(tls, c)
}
return Bool32(uint32(c)-uint32('0') < uint32(10))
}() != 0 || uint32(c)|uint32(32)-uint32('a') < uint32(6))
}
func X__isxdigit_l(tls *TLS, c int32, l locale_t) int32 { /* isxdigit.c:8:5: */
return Xisxdigit(tls, c)
}
type uintptr_t = uint32 /* alltypes.h:78:24 */
type intptr_t = int32 /* alltypes.h:93:15 */
@@ -5300,7 +5345,7 @@ func Xgethostbyaddr(tls *TLS, a uintptr, l socklen_t, af int32) uintptr { /* get
// var res uintptr at bp, 4
var err int32
for ok := true; ok; ok = err == 34 {
for __ccgo := true; __ccgo; __ccgo = err == 34 {
Xfree(tls, _sh)
_sh = Xmalloc(tls, AssignAddUint32(&size, size+size_t(1)))
if !(_sh != 0) {
@@ -5330,7 +5375,7 @@ func Xgethostbyname2(tls *TLS, name uintptr, af int32) uintptr { /* gethostbynam
// var res uintptr at bp, 4
var err int32
for ok := true; ok; ok = err == 34 {
for __ccgo := true; __ccgo; __ccgo = err == 34 {
Xfree(tls, _sh1)
_sh1 = Xmalloc(tls, AssignAddUint32(&size, size+size_t(1)))
if !(_sh1 != 0) {
@@ -5609,7 +5654,7 @@ type res_sym = struct {
func itoa(tls *TLS, p uintptr, x uint32) uintptr { /* getnameinfo.c:18:13: */
p += uintptr(uint32(3) * uint32(unsafe.Sizeof(int32(0))))
*(*int8)(unsafe.Pointer(PreDecUintptr(&p, 1))) = int8(0)
for ok := true; ok; ok = x != 0 {
for __ccgo := true; __ccgo; __ccgo = x != 0 {
*(*int8)(unsafe.Pointer(PreDecUintptr(&p, 1))) = int8(uint32('0') + x%uint32(10))
x = x / uint32(10)
}
@@ -6603,6 +6648,26 @@ func X__uflow(tls *TLS, f uintptr) int32 { /* __uflow.c:6:5: */
return -1
}
func Xbsearch(tls *TLS, key uintptr, base uintptr, nel size_t, width size_t, cmp uintptr) uintptr { /* bsearch.c:3:6: */
var try uintptr
var sign int32
for nel > size_t(0) {
try = base + uintptr(width*(nel/size_t(2)))
sign = (*struct {
f func(*TLS, uintptr, uintptr) int32
})(unsafe.Pointer(&struct{ uintptr }{cmp})).f(tls, key, try)
if sign < 0 {
nel = nel / size_t(2)
} else if sign > 0 {
base = try + uintptr(width)
nel = nel - (nel/size_t(2) + size_t(1))
} else {
return try
}
}
return uintptr(0)
}
func strtox(tls *TLS, s uintptr, p uintptr, prec int32) float64 { /* strtod.c:6:20: */
bp := tls.Alloc(136)
defer tls.Free(136)
+3 -3
View File
@@ -5396,7 +5396,7 @@ func Xgethostbyaddr(tls *TLS, a uintptr, l socklen_t, af int32) uintptr { /* get
// var res uintptr at bp, 8
var err int32
for ok := true; ok; ok = err == 34 {
for __ccgo := true; __ccgo; __ccgo = err == 34 {
Xfree(tls, _sh)
_sh = Xmalloc(tls, AssignAddUint64(&size, size+uint64(1)))
if !(_sh != 0) {
@@ -5426,7 +5426,7 @@ func Xgethostbyname2(tls *TLS, name uintptr, af int32) uintptr { /* gethostbynam
// var res uintptr at bp, 8
var err int32
for ok := true; ok; ok = err == 34 {
for __ccgo := true; __ccgo; __ccgo = err == 34 {
Xfree(tls, _sh1)
_sh1 = Xmalloc(tls, AssignAddUint64(&size, size+uint64(1)))
if !(_sh1 != 0) {
@@ -5715,7 +5715,7 @@ type res_sym = struct {
func itoa(tls *TLS, p uintptr, x uint32) uintptr { /* getnameinfo.c:18:13: */
p += uintptr(uint64(3) * uint64(unsafe.Sizeof(int32(0))))
*(*int8)(unsafe.Pointer(PreDecUintptr(&p, 1))) = int8(0)
for ok := true; ok; ok = x != 0 {
for __ccgo := true; __ccgo; __ccgo = x != 0 {
*(*int8)(unsafe.Pointer(PreDecUintptr(&p, 1))) = int8(uint32('0') + x%uint32(10))
x = x / uint32(10)
}
+7012
View File
File diff suppressed because it is too large Load Diff
+12 -4
View File
@@ -1,4 +1,4 @@
// Code generated by 'ccgo -export-externs X -hide __syscall0,__syscall1,__syscall2,__syscall3,__syscall4,__syscall5,__syscall6,getnameinfo,gethostbyaddr_r, -nostdinc -nostdlib -o ../musl_netbsd_amd64.go -pkgname libc -static-locals-prefix _s -Iarch/x86_64 -Iarch/generic -Iobj/src/internal -Isrc/include -Isrc/internal -Iobj/include -Iinclude copyright.c ../netbsd/ctype_.cpp.c src/ctype/isalnum.c src/ctype/isalpha.c src/ctype/isdigit.c src/internal/floatscan.c src/internal/intscan.c src/internal/shgetc.c src/math/copysignl.c src/math/fabsl.c src/math/fmodl.c src/math/rint.c src/math/scalbn.c src/math/scalbnl.c src/network/freeaddrinfo.c src/network/getaddrinfo.c src/network/gethostbyaddr.c src/network/gethostbyaddr_r.c src/network/gethostbyname.c src/network/gethostbyname2.c src/network/gethostbyname2_r.c src/network/getnameinfo.c src/network/h_errno.c src/network/inet_aton.c src/network/inet_ntop.c src/network/inet_pton.c src/network/lookup_ipliteral.c src/network/lookup_name.c src/network/lookup_serv.c src/stdio/__toread.c src/stdio/__uflow.c src/stdlib/bsearch.c src/stdlib/strtod.c src/stdlib/strtol.c src/string/strdup.c src/string/strnlen.c src/string/strspn.c', DO NOT EDIT.
// Code generated by 'ccgo -export-externs X -hide __syscall0,__syscall1,__syscall2,__syscall3,__syscall4,__syscall5,__syscall6,getnameinfo,gethostbyaddr_r, -nostdinc -nostdlib -o ../musl_netbsd_amd64.go -pkgname libc -static-locals-prefix _s -Iarch/x86_64 -Iarch/generic -Iobj/src/internal -Isrc/include -Isrc/internal -Iobj/include -Iinclude copyright.c ../netbsd/ctype_.cpp.c src/ctype/isalnum.c src/ctype/isalpha.c src/ctype/isdigit.c src/ctype/isprint.c src/internal/floatscan.c src/internal/intscan.c src/internal/shgetc.c src/math/copysignl.c src/math/fabsl.c src/math/fmodl.c src/math/rint.c src/math/scalbn.c src/math/scalbnl.c src/network/freeaddrinfo.c src/network/getaddrinfo.c src/network/gethostbyaddr.c src/network/gethostbyaddr_r.c src/network/gethostbyname.c src/network/gethostbyname2.c src/network/gethostbyname2_r.c src/network/getnameinfo.c src/network/h_errno.c src/network/inet_aton.c src/network/inet_ntop.c src/network/inet_pton.c src/network/lookup_ipliteral.c src/network/lookup_name.c src/network/lookup_serv.c src/stdio/__toread.c src/stdio/__uflow.c src/stdlib/bsearch.c src/stdlib/strtod.c src/stdlib/strtol.c src/string/strdup.c src/string/strnlen.c src/string/strspn.c', DO NOT EDIT.
package libc
@@ -893,6 +893,14 @@ func X__isdigit_l(tls *TLS, c int32, l locale_t1) int32 { /* isdigit.c:9:5: */
return Xisdigit(tls, c)
}
func Xisprint(tls *TLS, c int32) int32 { /* isprint.c:4:5: */
return Bool32(uint32(c)-uint32(0x20) < uint32(0x5f))
}
func X__isprint_l(tls *TLS, c int32, l locale_t1) int32 { /* isprint.c:9:5: */
return Xisprint(tls, c)
}
type uintptr_t = uint64 /* alltypes.h:55:24 */
type intptr_t = int64 /* alltypes.h:70:15 */
@@ -2884,7 +2892,7 @@ func Xgethostbyaddr(tls *TLS, a uintptr, l socklen_t, af int32) uintptr { /* get
// var res uintptr at bp, 8
var err int32
for ok := true; ok; ok = err == 34 {
for __ccgo := true; __ccgo; __ccgo = err == 34 {
Xfree(tls, _sh)
_sh = Xmalloc(tls, AssignAddUint64(&size, size+uint64(1)))
if !(_sh != 0) {
@@ -2914,7 +2922,7 @@ func Xgethostbyname2(tls *TLS, name uintptr, af int32) uintptr { /* gethostbynam
// var res uintptr at bp, 8
var err int32
for ok := true; ok; ok = err == 34 {
for __ccgo := true; __ccgo; __ccgo = err == 34 {
Xfree(tls, _sh1)
_sh1 = Xmalloc(tls, AssignAddUint64(&size, size+uint64(1)))
if !(_sh1 != 0) {
@@ -3203,7 +3211,7 @@ type res_sym = struct {
func itoa(tls *TLS, p uintptr, x uint32) uintptr { /* getnameinfo.c:18:13: */
p += uintptr(uint64(3) * uint64(unsafe.Sizeof(int32(0))))
*(*int8)(unsafe.Pointer(PreDecUintptr(&p, 1))) = int8(0)
for ok := true; ok; ok = x != 0 {
for __ccgo := true; __ccgo; __ccgo = x != 0 {
*(*int8)(unsafe.Pointer(PreDecUintptr(&p, 1))) = int8(uint32('0') + x%uint32(10))
x = x / uint32(10)
}
+3 -3
View File
@@ -5396,7 +5396,7 @@ func Xgethostbyaddr(tls *TLS, a uintptr, l socklen_t, af int32) uintptr { /* get
// var res uintptr at bp, 8
var err int32
for ok := true; ok; ok = err == 34 {
for __ccgo := true; __ccgo; __ccgo = err == 34 {
Xfree(tls, _sh)
_sh = Xmalloc(tls, AssignAddUint64(&size, size+uint64(1)))
if !(_sh != 0) {
@@ -5426,7 +5426,7 @@ func Xgethostbyname2(tls *TLS, name uintptr, af int32) uintptr { /* gethostbynam
// var res uintptr at bp, 8
var err int32
for ok := true; ok; ok = err == 34 {
for __ccgo := true; __ccgo; __ccgo = err == 34 {
Xfree(tls, _sh1)
_sh1 = Xmalloc(tls, AssignAddUint64(&size, size+uint64(1)))
if !(_sh1 != 0) {
@@ -5715,7 +5715,7 @@ type res_sym = struct {
func itoa(tls *TLS, p uintptr, x uint32) uintptr { /* getnameinfo.c:18:13: */
p += uintptr(uint64(3) * uint64(unsafe.Sizeof(int32(0))))
*(*int8)(unsafe.Pointer(PreDecUintptr(&p, 1))) = int8(0)
for ok := true; ok; ok = x != 0 {
for __ccgo := true; __ccgo; __ccgo = x != 0 {
*(*int8)(unsafe.Pointer(PreDecUintptr(&p, 1))) = int8(uint32('0') + x%uint32(10))
x = x / uint32(10)
}
+1 -1
View File
@@ -1,4 +1,4 @@
// Code generated by 'ccgo netdb/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o netdb/netdb_freebsd_386.go -pkgname netdb', DO NOT EDIT.
// Code generated by 'ccgo netdb/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o netdb/netdb_freebsd_386.go -pkgname netdb', DO NOT EDIT.
package netdb
+1 -1
View File
@@ -1,4 +1,4 @@
// Code generated by 'ccgo netdb/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o netdb/netdb_freebsd_amd64.go -pkgname netdb', DO NOT EDIT.
// Code generated by 'ccgo netdb/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o netdb/netdb_freebsd_amd64.go -pkgname netdb', DO NOT EDIT.
package netdb
+5
View File
@@ -0,0 +1,5 @@
// Code generated by 'ccgo netdb/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o netdb/netdb_linux_ppc64le.go -pkgname netdb', DO NOT EDIT.
package netdb
var CAPI = map[string]struct{}{}
+1 -1
View File
@@ -1,4 +1,4 @@
// Code generated by 'ccgo netdb/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o netdb/netdb_netbsd_amd64.go -pkgname netdb', DO NOT EDIT.
// Code generated by 'ccgo netdb/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o netdb/netdb_netbsd_amd64.go -pkgname netdb', DO NOT EDIT.
package netdb
+1 -1
View File
@@ -1,4 +1,4 @@
// Code generated by 'ccgo netdb/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o netdb/netdb_openbsd_amd64.go -pkgname netdb', DO NOT EDIT.
// Code generated by 'ccgo netdb/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o netdb/netdb_openbsd_amd64.go -pkgname netdb', DO NOT EDIT.
package netdb
+64 -64
View File
@@ -1,4 +1,4 @@
// Code generated by 'ccgo netdb/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o netdb/netdb_freebsd_386.go -pkgname netdb', DO NOT EDIT.
// Code generated by 'ccgo netdb/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o netdb/netdb_freebsd_386.go -pkgname netdb', DO NOT EDIT.
package netdb
@@ -15,69 +15,69 @@ var _ atomic.Value
var _ unsafe.Pointer
const (
AI_ADDRCONFIG = 0x00000400
AI_ALL = 0x00000100
AI_CANONNAME = 0x00000002
AI_DEFAULT = 1536
AI_MASK = 3343
AI_NUMERICHOST = 0x00000004
AI_NUMERICSERV = 0x00000008
AI_PASSIVE = 0x00000001
AI_V4MAPPED = 0x00000800
AI_V4MAPPED_CFG = 0x00000200
EAI_AGAIN = 2
EAI_BADFLAGS = 3
EAI_BADHINTS = 12
EAI_FAIL = 4
EAI_FAMILY = 5
EAI_MAX = 15
EAI_MEMORY = 6
EAI_NONAME = 8
EAI_OVERFLOW = 14
EAI_PROTOCOL = 13
EAI_SERVICE = 9
EAI_SOCKTYPE = 10
EAI_SYSTEM = 11
HOST_NOT_FOUND = 1
IPPORT_RESERVED = 1024
NETDB_INTERNAL = -1
NETDB_SUCCESS = 0
NI_DGRAM = 0x00000010
NI_MAXHOST = 1025
NI_MAXSERV = 32
NI_NAMEREQD = 0x00000004
NI_NOFQDN = 0x00000001
NI_NUMERICHOST = 0x00000002
NI_NUMERICSCOPE = 0x00000020
NI_NUMERICSERV = 0x00000008
NO_ADDRESS = 4
NO_DATA = 4
NO_RECOVERY = 3
SCOPE_DELIMITER = 37
TRY_AGAIN = 2
X_FILE_OFFSET_BITS = 64
X_ILP32 = 1
X_IN_ADDR_T_DECLARED = 0
X_IN_PORT_T_DECLARED = 0
X_MACHINE__LIMITS_H_ = 0
X_MACHINE__TYPES_H_ = 0
X_NETDB_H_ = 0
X_Nonnull = 0
X_Null_unspecified = 0
X_Nullable = 0
X_PATH_HEQUIV = "/etc/hosts.equiv"
X_PATH_HOSTS = "/etc/hosts"
X_PATH_NETWORKS = "/etc/networks"
X_PATH_PROTOCOLS = "/etc/protocols"
X_PATH_SERVICES = "/etc/services"
X_PATH_SERVICES_DB = "/var/db/services.db"
X_SIZE_T_DECLARED = 0
X_SOCKLEN_T_DECLARED = 0
X_SYS_CDEFS_H_ = 0
X_SYS__TYPES_H_ = 0
X_UINT32_T_DECLARED = 0
I386 = 1
Unix = 1
AI_ADDRCONFIG = 0x00000400 // netdb.h:200:1:
AI_ALL = 0x00000100 // netdb.h:198:1:
AI_CANONNAME = 0x00000002 // netdb.h:190:1:
AI_DEFAULT = 1536 // netdb.h:203:1:
AI_MASK = 3343 // netdb.h:194:1:
AI_NUMERICHOST = 0x00000004 // netdb.h:191:1:
AI_NUMERICSERV = 0x00000008 // netdb.h:192:1:
AI_PASSIVE = 0x00000001 // netdb.h:189:1:
AI_V4MAPPED = 0x00000800 // netdb.h:201:1:
AI_V4MAPPED_CFG = 0x00000200 // netdb.h:199:1:
EAI_AGAIN = 2 // netdb.h:168:1:
EAI_BADFLAGS = 3 // netdb.h:169:1:
EAI_BADHINTS = 12 // netdb.h:181:1:
EAI_FAIL = 4 // netdb.h:170:1:
EAI_FAMILY = 5 // netdb.h:171:1:
EAI_MAX = 15 // netdb.h:184:1:
EAI_MEMORY = 6 // netdb.h:172:1:
EAI_NONAME = 8 // netdb.h:177:1:
EAI_OVERFLOW = 14 // netdb.h:183:1:
EAI_PROTOCOL = 13 // netdb.h:182:1:
EAI_SERVICE = 9 // netdb.h:178:1:
EAI_SOCKTYPE = 10 // netdb.h:179:1:
EAI_SYSTEM = 11 // netdb.h:180:1:
HOST_NOT_FOUND = 1 // netdb.h:155:1:
IPPORT_RESERVED = 1024 // netdb.h:146:1:
NETDB_INTERNAL = -1 // netdb.h:153:1:
NETDB_SUCCESS = 0 // netdb.h:154:1:
NI_DGRAM = 0x00000010 // netdb.h:218:1:
NI_MAXHOST = 1025 // netdb.h:208:1:
NI_MAXSERV = 32 // netdb.h:209:1:
NI_NAMEREQD = 0x00000004 // netdb.h:216:1:
NI_NOFQDN = 0x00000001 // netdb.h:214:1:
NI_NUMERICHOST = 0x00000002 // netdb.h:215:1:
NI_NUMERICSCOPE = 0x00000020 // netdb.h:219:1:
NI_NUMERICSERV = 0x00000008 // netdb.h:217:1:
NO_ADDRESS = 4 // netdb.h:159:1:
NO_DATA = 4 // netdb.h:158:1:
NO_RECOVERY = 3 // netdb.h:157:1:
SCOPE_DELIMITER = 37 // netdb.h:224:1:
TRY_AGAIN = 2 // netdb.h:156:1:
X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
X_ILP32 = 1 // <predefined>:1:1:
X_IN_ADDR_T_DECLARED = 0 // netdb.h:67:1:
X_IN_PORT_T_DECLARED = 0 // netdb.h:72:1:
X_MACHINE__LIMITS_H_ = 0 // _limits.h:36:1:
X_MACHINE__TYPES_H_ = 0 // _types.h:42:1:
X_NETDB_H_ = 0 // netdb.h:60: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_HEQUIV = "/etc/hosts.equiv" // netdb.h:91:1:
X_PATH_HOSTS = "/etc/hosts" // netdb.h:93:1:
X_PATH_NETWORKS = "/etc/networks" // netdb.h:94:1:
X_PATH_PROTOCOLS = "/etc/protocols" // netdb.h:95:1:
X_PATH_SERVICES = "/etc/services" // netdb.h:96:1:
X_PATH_SERVICES_DB = "/var/db/services.db" // netdb.h:97:1:
X_SIZE_T_DECLARED = 0 // netdb.h:77:1:
X_SOCKLEN_T_DECLARED = 0 // netdb.h:82:1:
X_SYS_CDEFS_H_ = 0 // cdefs.h:39:1:
X_SYS__TYPES_H_ = 0 // _types.h:32:1:
X_UINT32_T_DECLARED = 0 // netdb.h:87:1:
I386 = 1 // <predefined>:335:1:
Unix = 1 // <predefined>:336:1:
)
type Ptrdiff_t = int32 /* <builtin>:3:26 */
+63 -63
View File
@@ -1,4 +1,4 @@
// Code generated by 'ccgo netdb/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o netdb/netdb_freebsd_amd64.go -pkgname netdb', DO NOT EDIT.
// Code generated by 'ccgo netdb/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o netdb/netdb_freebsd_amd64.go -pkgname netdb', DO NOT EDIT.
package netdb
@@ -15,68 +15,68 @@ var _ atomic.Value
var _ unsafe.Pointer
const (
AI_ADDRCONFIG = 0x00000400
AI_ALL = 0x00000100
AI_CANONNAME = 0x00000002
AI_DEFAULT = 1536
AI_MASK = 3343
AI_NUMERICHOST = 0x00000004
AI_NUMERICSERV = 0x00000008
AI_PASSIVE = 0x00000001
AI_V4MAPPED = 0x00000800
AI_V4MAPPED_CFG = 0x00000200
EAI_AGAIN = 2
EAI_BADFLAGS = 3
EAI_BADHINTS = 12
EAI_FAIL = 4
EAI_FAMILY = 5
EAI_MAX = 15
EAI_MEMORY = 6
EAI_NONAME = 8
EAI_OVERFLOW = 14
EAI_PROTOCOL = 13
EAI_SERVICE = 9
EAI_SOCKTYPE = 10
EAI_SYSTEM = 11
HOST_NOT_FOUND = 1
IPPORT_RESERVED = 1024
NETDB_INTERNAL = -1
NETDB_SUCCESS = 0
NI_DGRAM = 0x00000010
NI_MAXHOST = 1025
NI_MAXSERV = 32
NI_NAMEREQD = 0x00000004
NI_NOFQDN = 0x00000001
NI_NUMERICHOST = 0x00000002
NI_NUMERICSCOPE = 0x00000020
NI_NUMERICSERV = 0x00000008
NO_ADDRESS = 4
NO_DATA = 4
NO_RECOVERY = 3
SCOPE_DELIMITER = 37
TRY_AGAIN = 2
X_FILE_OFFSET_BITS = 64
X_IN_ADDR_T_DECLARED = 0
X_IN_PORT_T_DECLARED = 0
X_LP64 = 1
X_MACHINE__LIMITS_H_ = 0
X_MACHINE__TYPES_H_ = 0
X_NETDB_H_ = 0
X_Nonnull = 0
X_Null_unspecified = 0
X_Nullable = 0
X_PATH_HEQUIV = "/etc/hosts.equiv"
X_PATH_HOSTS = "/etc/hosts"
X_PATH_NETWORKS = "/etc/networks"
X_PATH_PROTOCOLS = "/etc/protocols"
X_PATH_SERVICES = "/etc/services"
X_PATH_SERVICES_DB = "/var/db/services.db"
X_SIZE_T_DECLARED = 0
X_SOCKLEN_T_DECLARED = 0
X_SYS_CDEFS_H_ = 0
X_SYS__TYPES_H_ = 0
X_UINT32_T_DECLARED = 0
Unix = 1
AI_ADDRCONFIG = 0x00000400 // netdb.h:200:1:
AI_ALL = 0x00000100 // netdb.h:198:1:
AI_CANONNAME = 0x00000002 // netdb.h:190:1:
AI_DEFAULT = 1536 // netdb.h:203:1:
AI_MASK = 3343 // netdb.h:194:1:
AI_NUMERICHOST = 0x00000004 // netdb.h:191:1:
AI_NUMERICSERV = 0x00000008 // netdb.h:192:1:
AI_PASSIVE = 0x00000001 // netdb.h:189:1:
AI_V4MAPPED = 0x00000800 // netdb.h:201:1:
AI_V4MAPPED_CFG = 0x00000200 // netdb.h:199:1:
EAI_AGAIN = 2 // netdb.h:168:1:
EAI_BADFLAGS = 3 // netdb.h:169:1:
EAI_BADHINTS = 12 // netdb.h:181:1:
EAI_FAIL = 4 // netdb.h:170:1:
EAI_FAMILY = 5 // netdb.h:171:1:
EAI_MAX = 15 // netdb.h:184:1:
EAI_MEMORY = 6 // netdb.h:172:1:
EAI_NONAME = 8 // netdb.h:177:1:
EAI_OVERFLOW = 14 // netdb.h:183:1:
EAI_PROTOCOL = 13 // netdb.h:182:1:
EAI_SERVICE = 9 // netdb.h:178:1:
EAI_SOCKTYPE = 10 // netdb.h:179:1:
EAI_SYSTEM = 11 // netdb.h:180:1:
HOST_NOT_FOUND = 1 // netdb.h:155:1:
IPPORT_RESERVED = 1024 // netdb.h:146:1:
NETDB_INTERNAL = -1 // netdb.h:153:1:
NETDB_SUCCESS = 0 // netdb.h:154:1:
NI_DGRAM = 0x00000010 // netdb.h:218:1:
NI_MAXHOST = 1025 // netdb.h:208:1:
NI_MAXSERV = 32 // netdb.h:209:1:
NI_NAMEREQD = 0x00000004 // netdb.h:216:1:
NI_NOFQDN = 0x00000001 // netdb.h:214:1:
NI_NUMERICHOST = 0x00000002 // netdb.h:215:1:
NI_NUMERICSCOPE = 0x00000020 // netdb.h:219:1:
NI_NUMERICSERV = 0x00000008 // netdb.h:217:1:
NO_ADDRESS = 4 // netdb.h:159:1:
NO_DATA = 4 // netdb.h:158:1:
NO_RECOVERY = 3 // netdb.h:157:1:
SCOPE_DELIMITER = 37 // netdb.h:224:1:
TRY_AGAIN = 2 // netdb.h:156:1:
X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
X_IN_ADDR_T_DECLARED = 0 // netdb.h:67:1:
X_IN_PORT_T_DECLARED = 0 // netdb.h:72: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_NETDB_H_ = 0 // netdb.h:60:1:
X_Nonnull = 0 // cdefs.h:783:1:
X_Null_unspecified = 0 // cdefs.h:785:1:
X_Nullable = 0 // cdefs.h:784:1:
X_PATH_HEQUIV = "/etc/hosts.equiv" // netdb.h:91:1:
X_PATH_HOSTS = "/etc/hosts" // netdb.h:93:1:
X_PATH_NETWORKS = "/etc/networks" // netdb.h:94:1:
X_PATH_PROTOCOLS = "/etc/protocols" // netdb.h:95:1:
X_PATH_SERVICES = "/etc/services" // netdb.h:96:1:
X_PATH_SERVICES_DB = "/var/db/services.db" // netdb.h:97:1:
X_SIZE_T_DECLARED = 0 // netdb.h:77:1:
X_SOCKLEN_T_DECLARED = 0 // netdb.h:82:1:
X_SYS_CDEFS_H_ = 0 // cdefs.h:39:1:
X_SYS__TYPES_H_ = 0 // _types.h:32:1:
X_UINT32_T_DECLARED = 0 // netdb.h:87:1:
Unix = 1 // <predefined>:337:1:
)
type Ptrdiff_t = int64 /* <builtin>:3:26 */
File diff suppressed because it is too large Load Diff
+283 -283
View File
@@ -1,4 +1,4 @@
// Code generated by 'ccgo netdb/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o netdb/netdb_netbsd_amd64.go -pkgname netdb', DO NOT EDIT.
// Code generated by 'ccgo netdb/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o netdb/netdb_netbsd_amd64.go -pkgname netdb', DO NOT EDIT.
package netdb
@@ -15,288 +15,288 @@ var _ atomic.Value
var _ unsafe.Pointer
const (
AI_ADDRCONFIG = 0x00000400
AI_CANONNAME = 0x00000002
AI_MASK = 3087
AI_NUMERICHOST = 0x00000004
AI_NUMERICSERV = 0x00000008
AI_PASSIVE = 0x00000001
AI_SRV = 0x00000800
EAI_ADDRFAMILY = 1
EAI_AGAIN = 2
EAI_BADFLAGS = 3
EAI_BADHINTS = 12
EAI_FAIL = 4
EAI_FAMILY = 5
EAI_MAX = 15
EAI_MEMORY = 6
EAI_NODATA = 7
EAI_NONAME = 8
EAI_OVERFLOW = 14
EAI_PROTOCOL = 13
EAI_SERVICE = 9
EAI_SOCKTYPE = 10
EAI_SYSTEM = 11
HOST_NOT_FOUND = 1
INT16_MAX = 32767
INT16_MIN = -32768
INT32_MAX = 2147483647
INT32_MIN = -2147483648
INT64_MAX = 9223372036854775807
INT64_MIN = -9223372036854775808
INT8_MAX = 127
INT8_MIN = -128
INTMAX_MAX = 9223372036854775807
INTMAX_MIN = -9223372036854775808
INTPTR_MAX = 9223372036854775807
INTPTR_MIN = -9223372036854775808
INT_FAST16_MAX = 2147483647
INT_FAST16_MIN = -2147483648
INT_FAST32_MAX = 2147483647
INT_FAST32_MIN = -2147483648
INT_FAST64_MAX = 9223372036854775807
INT_FAST64_MIN = -9223372036854775808
INT_FAST8_MAX = 2147483647
INT_FAST8_MIN = -2147483648
INT_LEAST16_MAX = 32767
INT_LEAST16_MIN = -32768
INT_LEAST32_MAX = 2147483647
INT_LEAST32_MIN = -2147483648
INT_LEAST64_MAX = 9223372036854775807
INT_LEAST64_MIN = -9223372036854775808
INT_LEAST8_MAX = 127
INT_LEAST8_MIN = -128
NETDB_INTERNAL = -1
NETDB_SUCCESS = 0
NI_DGRAM = 0x00000010
NI_MAXHOST = 1025
NI_MAXSERV = 32
NI_NAMEREQD = 0x00000004
NI_NOFQDN = 0x00000001
NI_NUMERICHOST = 0x00000002
NI_NUMERICSCOPE = 0x00000040
NI_NUMERICSERV = 0x00000008
NI_WITHSCOPEID = 0x00000020
NO_ADDRESS = 4
NO_DATA = 4
NO_RECOVERY = 3
PRIX16 = "X"
PRIX32 = "X"
PRIX64 = "lX"
PRIX8 = "X"
PRIXFAST16 = "X"
PRIXFAST32 = "X"
PRIXFAST64 = "lX"
PRIXFAST8 = "X"
PRIXLEAST16 = "X"
PRIXLEAST32 = "X"
PRIXLEAST64 = "lX"
PRIXLEAST8 = "X"
PRIXMAX = "lX"
PRIXPTR = "lX"
PRId16 = "d"
PRId32 = "d"
PRId64 = "ld"
PRId8 = "d"
PRIdFAST16 = "d"
PRIdFAST32 = "d"
PRIdFAST64 = "ld"
PRIdFAST8 = "d"
PRIdLEAST16 = "d"
PRIdLEAST32 = "d"
PRIdLEAST64 = "ld"
PRIdLEAST8 = "d"
PRIdMAX = "ld"
PRIdPTR = "ld"
PRIi16 = "i"
PRIi32 = "i"
PRIi64 = "li"
PRIi8 = "i"
PRIiFAST16 = "i"
PRIiFAST32 = "i"
PRIiFAST64 = "li"
PRIiFAST8 = "i"
PRIiLEAST16 = "i"
PRIiLEAST32 = "i"
PRIiLEAST64 = "li"
PRIiLEAST8 = "i"
PRIiMAX = "li"
PRIiPTR = "li"
PRIo16 = "o"
PRIo32 = "o"
PRIo64 = "lo"
PRIo8 = "o"
PRIoFAST16 = "o"
PRIoFAST32 = "o"
PRIoFAST64 = "lo"
PRIoFAST8 = "o"
PRIoLEAST16 = "o"
PRIoLEAST32 = "o"
PRIoLEAST64 = "lo"
PRIoLEAST8 = "o"
PRIoMAX = "lo"
PRIoPTR = "lo"
PRIu16 = "u"
PRIu32 = "u"
PRIu64 = "lu"
PRIu8 = "u"
PRIuFAST16 = "u"
PRIuFAST32 = "u"
PRIuFAST64 = "lu"
PRIuFAST8 = "u"
PRIuLEAST16 = "u"
PRIuLEAST32 = "u"
PRIuLEAST64 = "lu"
PRIuLEAST8 = "u"
PRIuMAX = "lu"
PRIuPTR = "lu"
PRIx16 = "x"
PRIx32 = "x"
PRIx64 = "lx"
PRIx8 = "x"
PRIxFAST16 = "x"
PRIxFAST32 = "x"
PRIxFAST64 = "lx"
PRIxFAST8 = "x"
PRIxLEAST16 = "x"
PRIxLEAST32 = "x"
PRIxLEAST64 = "lx"
PRIxLEAST8 = "x"
PRIxMAX = "lx"
PRIxPTR = "lx"
PTRDIFF_MAX = 9223372036854775807
PTRDIFF_MIN = -9223372036854775808
SCNd16 = "hd"
SCNd32 = "d"
SCNd64 = "ld"
SCNd8 = "hhd"
SCNdFAST16 = "d"
SCNdFAST32 = "d"
SCNdFAST64 = "ld"
SCNdFAST8 = "d"
SCNdLEAST16 = "hd"
SCNdLEAST32 = "d"
SCNdLEAST64 = "ld"
SCNdLEAST8 = "hhd"
SCNdMAX = "ld"
SCNdPTR = "ld"
SCNi16 = "hi"
SCNi32 = "i"
SCNi64 = "li"
SCNi8 = "hhi"
SCNiFAST16 = "i"
SCNiFAST32 = "i"
SCNiFAST64 = "li"
SCNiFAST8 = "i"
SCNiLEAST16 = "hi"
SCNiLEAST32 = "i"
SCNiLEAST64 = "li"
SCNiLEAST8 = "hhi"
SCNiMAX = "li"
SCNiPTR = "li"
SCNo16 = "ho"
SCNo32 = "o"
SCNo64 = "lo"
SCNo8 = "hho"
SCNoFAST16 = "o"
SCNoFAST32 = "o"
SCNoFAST64 = "lo"
SCNoFAST8 = "o"
SCNoLEAST16 = "ho"
SCNoLEAST32 = "o"
SCNoLEAST64 = "lo"
SCNoLEAST8 = "hho"
SCNoMAX = "lo"
SCNoPTR = "lo"
SCNu16 = "hu"
SCNu32 = "u"
SCNu64 = "lu"
SCNu8 = "hhu"
SCNuFAST16 = "u"
SCNuFAST32 = "u"
SCNuFAST64 = "lu"
SCNuFAST8 = "u"
SCNuLEAST16 = "hu"
SCNuLEAST32 = "u"
SCNuLEAST64 = "lu"
SCNuLEAST8 = "hhu"
SCNuMAX = "lu"
SCNuPTR = "lu"
SCNx16 = "hx"
SCNx32 = "x"
SCNx64 = "lx"
SCNx8 = "hhx"
SCNxFAST16 = "x"
SCNxFAST32 = "x"
SCNxFAST64 = "lx"
SCNxFAST8 = "x"
SCNxLEAST16 = "hx"
SCNxLEAST32 = "x"
SCNxLEAST64 = "lx"
SCNxLEAST8 = "hhx"
SCNxMAX = "lx"
SCNxPTR = "lx"
SCOPE_DELIMITER = 37
SIG_ATOMIC_MAX = 2147483647
SIG_ATOMIC_MIN = -2147483648
SIZE_MAX = 18446744073709551615
TRY_AGAIN = 2
UINT16_MAX = 65535
UINT32_MAX = 4294967295
UINT64_MAX = 18446744073709551615
UINT8_MAX = 255
UINTMAX_MAX = 18446744073709551615
UINTPTR_MAX = 18446744073709551615
UINT_FAST16_MAX = 4294967295
UINT_FAST32_MAX = 4294967295
UINT_FAST64_MAX = 18446744073709551615
UINT_FAST8_MAX = 4294967295
UINT_LEAST16_MAX = 65535
UINT_LEAST32_MAX = 4294967295
UINT_LEAST64_MAX = 18446744073709551615
UINT_LEAST8_MAX = 255
WCHAR_MAX = 0x7fffffff
WCHAR_MIN = -2147483648
WINT_MAX = 0x7fffffff
WINT_MIN = -2147483648
X_AMD64_INT_CONST_H_ = 0
X_AMD64_INT_FMTIO_H_ = 0
X_AMD64_INT_LIMITS_H_ = 0
X_AMD64_INT_MWGWTYPES_H_ = 0
X_AMD64_INT_TYPES_H_ = 0
X_AMD64_WCHAR_LIMITS_H_ = 0
X_BSD_INT16_T_ = 0
X_BSD_INT32_T_ = 0
X_BSD_INT64_T_ = 0
X_BSD_INT8_T_ = 0
X_BSD_INTPTR_T_ = 0
X_BSD_UINT16_T_ = 0
X_BSD_UINT32_T_ = 0
X_BSD_UINT64_T_ = 0
X_BSD_UINT8_T_ = 0
X_BSD_UINTPTR_T_ = 0
X_FILE_OFFSET_BITS = 64
X_INTTYPES_H_ = 0
X_LP64 = 1
X_NETBSD_SOURCE = 1
X_NETDB_H_ = 0
X_PATH_HEQUIV = "/etc/hosts.equiv"
X_PATH_HOSTS = "/etc/hosts"
X_PATH_NETWORKS = "/etc/networks"
X_PATH_PROTOCOLS = "/etc/protocols"
X_PATH_SERVICES = "/etc/services"
X_PATH_SERVICES_CDB = "/var/db/services.cdb"
X_PATH_SERVICES_DB = "/var/db/services.db"
X_SYS_ANSI_H_ = 0
X_SYS_CDEFS_ELF_H_ = 0
X_SYS_CDEFS_H_ = 0
X_SYS_COMMON_ANSI_H_ = 0
X_SYS_COMMON_INT_LIMITS_H_ = 0
X_SYS_COMMON_INT_MWGWTYPES_H_ = 0
X_SYS_COMMON_INT_TYPES_H_ = 0
X_SYS_INTTYPES_H_ = 0
X_SYS_STDINT_H_ = 0
X_X86_64_CDEFS_H_ = 0
AI_ADDRCONFIG = 0x00000400 // netdb.h:269:1:
AI_CANONNAME = 0x00000002 // netdb.h:266:1:
AI_MASK = 3087 // netdb.h:273:1:
AI_NUMERICHOST = 0x00000004 // netdb.h:267:1:
AI_NUMERICSERV = 0x00000008 // netdb.h:268:1:
AI_PASSIVE = 0x00000001 // netdb.h:265:1:
AI_SRV = 0x00000800 // netdb.h:272:1:
EAI_ADDRFAMILY = 1 // netdb.h:243:1:
EAI_AGAIN = 2 // netdb.h:244:1:
EAI_BADFLAGS = 3 // netdb.h:245:1:
EAI_BADHINTS = 12 // netdb.h:254:1:
EAI_FAIL = 4 // netdb.h:246:1:
EAI_FAMILY = 5 // netdb.h:247:1:
EAI_MAX = 15 // netdb.h:257:1:
EAI_MEMORY = 6 // netdb.h:248:1:
EAI_NODATA = 7 // netdb.h:249:1:
EAI_NONAME = 8 // netdb.h:250:1:
EAI_OVERFLOW = 14 // netdb.h:256:1:
EAI_PROTOCOL = 13 // netdb.h:255:1:
EAI_SERVICE = 9 // netdb.h:251:1:
EAI_SOCKTYPE = 10 // netdb.h:252:1:
EAI_SYSTEM = 11 // netdb.h:253:1:
HOST_NOT_FOUND = 1 // netdb.h:230:1:
INT16_MAX = 32767 // common_int_limits.h:53:1:
INT16_MIN = -32768 // common_int_limits.h:47:1:
INT32_MAX = 2147483647 // common_int_limits.h:54:1:
INT32_MIN = -2147483648 // common_int_limits.h:48:1:
INT64_MAX = 9223372036854775807 // common_int_limits.h:55:1:
INT64_MIN = -9223372036854775808 // common_int_limits.h:49:1:
INT8_MAX = 127 // common_int_limits.h:52:1:
INT8_MIN = -128 // common_int_limits.h:46:1:
INTMAX_MAX = 9223372036854775807 // common_int_limits.h:111:1:
INTMAX_MIN = -9223372036854775808 // common_int_limits.h:110:1:
INTPTR_MAX = 9223372036854775807 // common_int_limits.h:105:1:
INTPTR_MIN = -9223372036854775808 // common_int_limits.h:104:1:
INT_FAST16_MAX = 2147483647 // common_int_limits.h:93:1:
INT_FAST16_MIN = -2147483648 // common_int_limits.h:87:1:
INT_FAST32_MAX = 2147483647 // common_int_limits.h:94:1:
INT_FAST32_MIN = -2147483648 // common_int_limits.h:88:1:
INT_FAST64_MAX = 9223372036854775807 // common_int_limits.h:95:1:
INT_FAST64_MIN = -9223372036854775808 // common_int_limits.h:89:1:
INT_FAST8_MAX = 2147483647 // common_int_limits.h:92:1:
INT_FAST8_MIN = -2147483648 // common_int_limits.h:86:1:
INT_LEAST16_MAX = 32767 // common_int_limits.h:73:1:
INT_LEAST16_MIN = -32768 // common_int_limits.h:67:1:
INT_LEAST32_MAX = 2147483647 // common_int_limits.h:74:1:
INT_LEAST32_MIN = -2147483648 // common_int_limits.h:68:1:
INT_LEAST64_MAX = 9223372036854775807 // common_int_limits.h:75:1:
INT_LEAST64_MIN = -9223372036854775808 // common_int_limits.h:69:1:
INT_LEAST8_MAX = 127 // common_int_limits.h:72:1:
INT_LEAST8_MIN = -128 // common_int_limits.h:66:1:
NETDB_INTERNAL = -1 // netdb.h:226:1:
NETDB_SUCCESS = 0 // netdb.h:227:1:
NI_DGRAM = 0x00000010 // netdb.h:300:1:
NI_MAXHOST = 1025 // netdb.h:289:1:
NI_MAXSERV = 32 // netdb.h:290:1:
NI_NAMEREQD = 0x00000004 // netdb.h:298:1:
NI_NOFQDN = 0x00000001 // netdb.h:296:1:
NI_NUMERICHOST = 0x00000002 // netdb.h:297:1:
NI_NUMERICSCOPE = 0x00000040 // netdb.h:302:1:
NI_NUMERICSERV = 0x00000008 // netdb.h:299:1:
NI_WITHSCOPEID = 0x00000020 // netdb.h:301:1:
NO_ADDRESS = 4 // netdb.h:235:1:
NO_DATA = 4 // netdb.h:233:1:
NO_RECOVERY = 3 // netdb.h:232:1:
PRIX16 = "X" // int_fmtio.h:125:1:
PRIX32 = "X" // int_fmtio.h:126:1:
PRIX64 = "lX" // int_fmtio.h:127:1:
PRIX8 = "X" // int_fmtio.h:124:1:
PRIXFAST16 = "X" // int_fmtio.h:133:1:
PRIXFAST32 = "X" // int_fmtio.h:134:1:
PRIXFAST64 = "lX" // int_fmtio.h:135:1:
PRIXFAST8 = "X" // int_fmtio.h:132:1:
PRIXLEAST16 = "X" // int_fmtio.h:129:1:
PRIXLEAST32 = "X" // int_fmtio.h:130:1:
PRIXLEAST64 = "lX" // int_fmtio.h:131:1:
PRIXLEAST8 = "X" // int_fmtio.h:128:1:
PRIXMAX = "lX" // int_fmtio.h:136:1:
PRIXPTR = "lX" // int_fmtio.h:137:1:
PRId16 = "d" // int_fmtio.h:48:1:
PRId32 = "d" // int_fmtio.h:49:1:
PRId64 = "ld" // int_fmtio.h:50:1:
PRId8 = "d" // int_fmtio.h:47:1:
PRIdFAST16 = "d" // int_fmtio.h:56:1:
PRIdFAST32 = "d" // int_fmtio.h:57:1:
PRIdFAST64 = "ld" // int_fmtio.h:58:1:
PRIdFAST8 = "d" // int_fmtio.h:55:1:
PRIdLEAST16 = "d" // int_fmtio.h:52:1:
PRIdLEAST32 = "d" // int_fmtio.h:53:1:
PRIdLEAST64 = "ld" // int_fmtio.h:54:1:
PRIdLEAST8 = "d" // int_fmtio.h:51:1:
PRIdMAX = "ld" // int_fmtio.h:59:1:
PRIdPTR = "ld" // int_fmtio.h:60:1:
PRIi16 = "i" // int_fmtio.h:63:1:
PRIi32 = "i" // int_fmtio.h:64:1:
PRIi64 = "li" // int_fmtio.h:65:1:
PRIi8 = "i" // int_fmtio.h:62:1:
PRIiFAST16 = "i" // int_fmtio.h:71:1:
PRIiFAST32 = "i" // int_fmtio.h:72:1:
PRIiFAST64 = "li" // int_fmtio.h:73:1:
PRIiFAST8 = "i" // int_fmtio.h:70:1:
PRIiLEAST16 = "i" // int_fmtio.h:67:1:
PRIiLEAST32 = "i" // int_fmtio.h:68:1:
PRIiLEAST64 = "li" // int_fmtio.h:69:1:
PRIiLEAST8 = "i" // int_fmtio.h:66:1:
PRIiMAX = "li" // int_fmtio.h:74:1:
PRIiPTR = "li" // int_fmtio.h:75:1:
PRIo16 = "o" // int_fmtio.h:80:1:
PRIo32 = "o" // int_fmtio.h:81:1:
PRIo64 = "lo" // int_fmtio.h:82:1:
PRIo8 = "o" // int_fmtio.h:79:1:
PRIoFAST16 = "o" // int_fmtio.h:88:1:
PRIoFAST32 = "o" // int_fmtio.h:89:1:
PRIoFAST64 = "lo" // int_fmtio.h:90:1:
PRIoFAST8 = "o" // int_fmtio.h:87:1:
PRIoLEAST16 = "o" // int_fmtio.h:84:1:
PRIoLEAST32 = "o" // int_fmtio.h:85:1:
PRIoLEAST64 = "lo" // int_fmtio.h:86:1:
PRIoLEAST8 = "o" // int_fmtio.h:83:1:
PRIoMAX = "lo" // int_fmtio.h:91:1:
PRIoPTR = "lo" // int_fmtio.h:92:1:
PRIu16 = "u" // int_fmtio.h:95:1:
PRIu32 = "u" // int_fmtio.h:96:1:
PRIu64 = "lu" // int_fmtio.h:97:1:
PRIu8 = "u" // int_fmtio.h:94:1:
PRIuFAST16 = "u" // int_fmtio.h:103:1:
PRIuFAST32 = "u" // int_fmtio.h:104:1:
PRIuFAST64 = "lu" // int_fmtio.h:105:1:
PRIuFAST8 = "u" // int_fmtio.h:102:1:
PRIuLEAST16 = "u" // int_fmtio.h:99:1:
PRIuLEAST32 = "u" // int_fmtio.h:100:1:
PRIuLEAST64 = "lu" // int_fmtio.h:101:1:
PRIuLEAST8 = "u" // int_fmtio.h:98:1:
PRIuMAX = "lu" // int_fmtio.h:106:1:
PRIuPTR = "lu" // int_fmtio.h:107:1:
PRIx16 = "x" // int_fmtio.h:110:1:
PRIx32 = "x" // int_fmtio.h:111:1:
PRIx64 = "lx" // int_fmtio.h:112:1:
PRIx8 = "x" // int_fmtio.h:109:1:
PRIxFAST16 = "x" // int_fmtio.h:118:1:
PRIxFAST32 = "x" // int_fmtio.h:119:1:
PRIxFAST64 = "lx" // int_fmtio.h:120:1:
PRIxFAST8 = "x" // int_fmtio.h:117:1:
PRIxLEAST16 = "x" // int_fmtio.h:114:1:
PRIxLEAST32 = "x" // int_fmtio.h:115:1:
PRIxLEAST64 = "lx" // int_fmtio.h:116:1:
PRIxLEAST8 = "x" // int_fmtio.h:113:1:
PRIxMAX = "lx" // int_fmtio.h:121:1:
PRIxPTR = "lx" // int_fmtio.h:122:1:
PTRDIFF_MAX = 9223372036854775807 // common_int_limits.h:121:1:
PTRDIFF_MIN = -9223372036854775808 // common_int_limits.h:120:1:
SCNd16 = "hd" // int_fmtio.h:142:1:
SCNd32 = "d" // int_fmtio.h:143:1:
SCNd64 = "ld" // int_fmtio.h:144:1:
SCNd8 = "hhd" // int_fmtio.h:141:1:
SCNdFAST16 = "d" // int_fmtio.h:150:1:
SCNdFAST32 = "d" // int_fmtio.h:151:1:
SCNdFAST64 = "ld" // int_fmtio.h:152:1:
SCNdFAST8 = "d" // int_fmtio.h:149:1:
SCNdLEAST16 = "hd" // int_fmtio.h:146:1:
SCNdLEAST32 = "d" // int_fmtio.h:147:1:
SCNdLEAST64 = "ld" // int_fmtio.h:148:1:
SCNdLEAST8 = "hhd" // int_fmtio.h:145:1:
SCNdMAX = "ld" // int_fmtio.h:153:1:
SCNdPTR = "ld" // int_fmtio.h:154:1:
SCNi16 = "hi" // int_fmtio.h:157:1:
SCNi32 = "i" // int_fmtio.h:158:1:
SCNi64 = "li" // int_fmtio.h:159:1:
SCNi8 = "hhi" // int_fmtio.h:156:1:
SCNiFAST16 = "i" // int_fmtio.h:165:1:
SCNiFAST32 = "i" // int_fmtio.h:166:1:
SCNiFAST64 = "li" // int_fmtio.h:167:1:
SCNiFAST8 = "i" // int_fmtio.h:164:1:
SCNiLEAST16 = "hi" // int_fmtio.h:161:1:
SCNiLEAST32 = "i" // int_fmtio.h:162:1:
SCNiLEAST64 = "li" // int_fmtio.h:163:1:
SCNiLEAST8 = "hhi" // int_fmtio.h:160:1:
SCNiMAX = "li" // int_fmtio.h:168:1:
SCNiPTR = "li" // int_fmtio.h:169:1:
SCNo16 = "ho" // int_fmtio.h:174:1:
SCNo32 = "o" // int_fmtio.h:175:1:
SCNo64 = "lo" // int_fmtio.h:176:1:
SCNo8 = "hho" // int_fmtio.h:173:1:
SCNoFAST16 = "o" // int_fmtio.h:182:1:
SCNoFAST32 = "o" // int_fmtio.h:183:1:
SCNoFAST64 = "lo" // int_fmtio.h:184:1:
SCNoFAST8 = "o" // int_fmtio.h:181:1:
SCNoLEAST16 = "ho" // int_fmtio.h:178:1:
SCNoLEAST32 = "o" // int_fmtio.h:179:1:
SCNoLEAST64 = "lo" // int_fmtio.h:180:1:
SCNoLEAST8 = "hho" // int_fmtio.h:177:1:
SCNoMAX = "lo" // int_fmtio.h:185:1:
SCNoPTR = "lo" // int_fmtio.h:186:1:
SCNu16 = "hu" // int_fmtio.h:189:1:
SCNu32 = "u" // int_fmtio.h:190:1:
SCNu64 = "lu" // int_fmtio.h:191:1:
SCNu8 = "hhu" // int_fmtio.h:188:1:
SCNuFAST16 = "u" // int_fmtio.h:197:1:
SCNuFAST32 = "u" // int_fmtio.h:198:1:
SCNuFAST64 = "lu" // int_fmtio.h:199:1:
SCNuFAST8 = "u" // int_fmtio.h:196:1:
SCNuLEAST16 = "hu" // int_fmtio.h:193:1:
SCNuLEAST32 = "u" // int_fmtio.h:194:1:
SCNuLEAST64 = "lu" // int_fmtio.h:195:1:
SCNuLEAST8 = "hhu" // int_fmtio.h:192:1:
SCNuMAX = "lu" // int_fmtio.h:200:1:
SCNuPTR = "lu" // int_fmtio.h:201:1:
SCNx16 = "hx" // int_fmtio.h:204:1:
SCNx32 = "x" // int_fmtio.h:205:1:
SCNx64 = "lx" // int_fmtio.h:206:1:
SCNx8 = "hhx" // int_fmtio.h:203:1:
SCNxFAST16 = "x" // int_fmtio.h:212:1:
SCNxFAST32 = "x" // int_fmtio.h:213:1:
SCNxFAST64 = "lx" // int_fmtio.h:214:1:
SCNxFAST8 = "x" // int_fmtio.h:211:1:
SCNxLEAST16 = "hx" // int_fmtio.h:208:1:
SCNxLEAST32 = "x" // int_fmtio.h:209:1:
SCNxLEAST64 = "lx" // int_fmtio.h:210:1:
SCNxLEAST8 = "hhx" // int_fmtio.h:207:1:
SCNxMAX = "lx" // int_fmtio.h:215:1:
SCNxPTR = "lx" // int_fmtio.h:216:1:
SCOPE_DELIMITER = 37 // netdb.h:308:1:
SIG_ATOMIC_MAX = 2147483647 // common_int_limits.h:125:1:
SIG_ATOMIC_MIN = -2147483648 // common_int_limits.h:124:1:
SIZE_MAX = 18446744073709551615 // common_int_limits.h:128:1:
TRY_AGAIN = 2 // netdb.h:231:1:
UINT16_MAX = 65535 // common_int_limits.h:59:1:
UINT32_MAX = 4294967295 // common_int_limits.h:60:1:
UINT64_MAX = 18446744073709551615 // common_int_limits.h:61:1:
UINT8_MAX = 255 // common_int_limits.h:58:1:
UINTMAX_MAX = 18446744073709551615 // common_int_limits.h:112:1:
UINTPTR_MAX = 18446744073709551615 // common_int_limits.h:106:1:
UINT_FAST16_MAX = 4294967295 // common_int_limits.h:99:1:
UINT_FAST32_MAX = 4294967295 // common_int_limits.h:100:1:
UINT_FAST64_MAX = 18446744073709551615 // common_int_limits.h:101:1:
UINT_FAST8_MAX = 4294967295 // common_int_limits.h:98:1:
UINT_LEAST16_MAX = 65535 // common_int_limits.h:79:1:
UINT_LEAST32_MAX = 4294967295 // common_int_limits.h:80:1:
UINT_LEAST64_MAX = 18446744073709551615 // common_int_limits.h:81:1:
UINT_LEAST8_MAX = 255 // common_int_limits.h:78:1:
WCHAR_MAX = 0x7fffffff // wchar_limits.h:41:1:
WCHAR_MIN = -2147483648 // wchar_limits.h:40:1:
WINT_MAX = 0x7fffffff // wchar_limits.h:45:1:
WINT_MIN = -2147483648 // wchar_limits.h:44:1:
X_AMD64_INT_CONST_H_ = 0 // int_const.h:33:1:
X_AMD64_INT_FMTIO_H_ = 0 // int_fmtio.h:33:1:
X_AMD64_INT_LIMITS_H_ = 0 // int_limits.h:33:1:
X_AMD64_INT_MWGWTYPES_H_ = 0 // int_mwgwtypes.h:33:1:
X_AMD64_INT_TYPES_H_ = 0 // int_types.h:35:1:
X_AMD64_WCHAR_LIMITS_H_ = 0 // wchar_limits.h:33:1:
X_BSD_INT16_T_ = 0 // stdint.h:50:1:
X_BSD_INT32_T_ = 0 // stdint.h:60:1:
X_BSD_INT64_T_ = 0 // stdint.h:70:1:
X_BSD_INT8_T_ = 0 // stdint.h:40:1:
X_BSD_INTPTR_T_ = 0 // stdint.h:80:1:
X_BSD_UINT16_T_ = 0 // stdint.h:55:1:
X_BSD_UINT32_T_ = 0 // stdint.h:65:1:
X_BSD_UINT64_T_ = 0 // stdint.h:75:1:
X_BSD_UINT8_T_ = 0 // stdint.h:45:1:
X_BSD_UINTPTR_T_ = 0 // stdint.h:85:1:
X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
X_INTTYPES_H_ = 0 // inttypes.h:33:1:
X_LP64 = 1 // <predefined>:268:1:
X_NETBSD_SOURCE = 1 // featuretest.h:70:1:
X_NETDB_H_ = 0 // netdb.h:91:1:
X_PATH_HEQUIV = "/etc/hosts.equiv" // netdb.h:113:1:
X_PATH_HOSTS = "/etc/hosts" // netdb.h:116:1:
X_PATH_NETWORKS = "/etc/networks" // netdb.h:119:1:
X_PATH_PROTOCOLS = "/etc/protocols" // netdb.h:122:1:
X_PATH_SERVICES = "/etc/services" // netdb.h:125:1:
X_PATH_SERVICES_CDB = "/var/db/services.cdb" // netdb.h:128:1:
X_PATH_SERVICES_DB = "/var/db/services.db" // netdb.h:131:1:
X_SYS_ANSI_H_ = 0 // ansi.h:33:1:
X_SYS_CDEFS_ELF_H_ = 0 // cdefs_elf.h:31:1:
X_SYS_CDEFS_H_ = 0 // cdefs.h:37:1:
X_SYS_COMMON_ANSI_H_ = 0 // common_ansi.h:33:1:
X_SYS_COMMON_INT_LIMITS_H_ = 0 // common_int_limits.h:33:1:
X_SYS_COMMON_INT_MWGWTYPES_H_ = 0 // common_int_mwgwtypes.h:33:1:
X_SYS_COMMON_INT_TYPES_H_ = 0 // common_int_types.h:33:1:
X_SYS_INTTYPES_H_ = 0 // inttypes.h:33:1:
X_SYS_STDINT_H_ = 0 // stdint.h:33:1:
X_X86_64_CDEFS_H_ = 0 // cdefs.h:4:1:
)
type Ptrdiff_t = int64 /* <builtin>:3:26 */
+320 -320
View File
@@ -1,4 +1,4 @@
// Code generated by 'ccgo netdb/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o netdb/netdb_openbsd_amd64.go -pkgname netdb', DO NOT EDIT.
// Code generated by 'ccgo netdb/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o netdb/netdb_openbsd_amd64.go -pkgname netdb', DO NOT EDIT.
package netdb
@@ -15,325 +15,325 @@ var _ atomic.Value
var _ unsafe.Pointer
const (
AI_ADDRCONFIG = 64
AI_CANONNAME = 2
AI_EXT = 8
AI_FQDN = 32
AI_MASK = 119
AI_NUMERICHOST = 4
AI_NUMERICSERV = 16
AI_PASSIVE = 1
BIG_ENDIAN = 4321
BYTE_ORDER = 1234
EAI_ADDRFAMILY = -9
EAI_AGAIN = -3
EAI_BADFLAGS = -1
EAI_BADHINTS = -12
EAI_FAIL = -4
EAI_FAMILY = -6
EAI_MEMORY = -10
EAI_NODATA = -5
EAI_NONAME = -2
EAI_OVERFLOW = -14
EAI_PROTOCOL = -13
EAI_SERVICE = -8
EAI_SOCKTYPE = -7
EAI_SYSTEM = -11
ERRSET_FAIL = 2
ERRSET_INVAL = 3
ERRSET_NODATA = 5
ERRSET_NOMEMORY = 1
ERRSET_NONAME = 4
ERRSET_SUCCESS = 0
HOST_NOT_FOUND = 1
ICMP6_FILTER = 18
INET6_ADDRSTRLEN = 46
INET_ADDRSTRLEN = 16
IN_CLASSA_MAX = 128
IN_CLASSA_NSHIFT = 24
IN_CLASSB_MAX = 65536
IN_CLASSB_NSHIFT = 16
IN_CLASSC_NSHIFT = 8
IN_CLASSD_NSHIFT = 28
IN_LOOPBACKNET = 127
IN_RFC3021_NSHIFT = 31
IPCTL_ARPDOWN = 40
IPCTL_ARPQUEUE = 41
IPCTL_ARPQUEUED = 36
IPCTL_ARPTIMEOUT = 39
IPCTL_DEFTTL = 3
IPCTL_DIRECTEDBCAST = 6
IPCTL_ENCDEBUG = 12
IPCTL_FORWARDING = 1
IPCTL_IFQUEUE = 30
IPCTL_IPPORT_FIRSTAUTO = 7
IPCTL_IPPORT_HIFIRSTAUTO = 9
IPCTL_IPPORT_HILASTAUTO = 10
IPCTL_IPPORT_LASTAUTO = 8
IPCTL_IPPORT_MAXQUEUE = 11
IPCTL_IPSEC_ALLOCATIONS = 18
IPCTL_IPSEC_AUTH_ALGORITHM = 26
IPCTL_IPSEC_BYTES = 20
IPCTL_IPSEC_EMBRYONIC_SA_TIMEOUT = 15
IPCTL_IPSEC_ENC_ALGORITHM = 25
IPCTL_IPSEC_EXPIRE_ACQUIRE = 14
IPCTL_IPSEC_FIRSTUSE = 24
IPCTL_IPSEC_IPCOMP_ALGORITHM = 29
IPCTL_IPSEC_REQUIRE_PFS = 16
IPCTL_IPSEC_SOFT_ALLOCATIONS = 17
IPCTL_IPSEC_SOFT_BYTES = 19
IPCTL_IPSEC_SOFT_FIRSTUSE = 23
IPCTL_IPSEC_SOFT_TIMEOUT = 22
IPCTL_IPSEC_STATS = 13
IPCTL_IPSEC_TIMEOUT = 21
IPCTL_MAXID = 42
IPCTL_MFORWARDING = 31
IPCTL_MRTMFC = 37
IPCTL_MRTPROTO = 34
IPCTL_MRTSTATS = 35
IPCTL_MRTVIF = 38
IPCTL_MTUDISC = 27
IPCTL_MTUDISCTIMEOUT = 28
IPCTL_MULTIPATH = 32
IPCTL_SENDREDIRECTS = 2
IPCTL_SOURCEROUTE = 5
IPCTL_STATS = 33
IPPORT_HIFIRSTAUTO = 49152
IPPORT_HILASTAUTO = 65535
IPPORT_RESERVED = 1024
IPPORT_USERRESERVED = 49151
IPPROTO_AH = 51
IPPROTO_CARP = 112
IPPROTO_DIVERT = 258
IPPROTO_DONE = 257
IPPROTO_DSTOPTS = 60
IPPROTO_EGP = 8
IPPROTO_ENCAP = 98
IPPROTO_EON = 80
IPPROTO_ESP = 50
IPPROTO_ETHERIP = 97
IPPROTO_FRAGMENT = 44
IPPROTO_GGP = 3
IPPROTO_GRE = 47
IPPROTO_HOPOPTS = 0
IPPROTO_ICMP = 1
IPPROTO_ICMPV6 = 58
IPPROTO_IDP = 22
IPPROTO_IGMP = 2
IPPROTO_IP = 0
IPPROTO_IPCOMP = 108
IPPROTO_IPIP = 4
IPPROTO_IPV4 = 4
IPPROTO_IPV6 = 41
IPPROTO_MAX = 256
IPPROTO_MAXID = 259
IPPROTO_MOBILE = 55
IPPROTO_MPLS = 137
IPPROTO_NONE = 59
IPPROTO_PFSYNC = 240
IPPROTO_PIM = 103
IPPROTO_PUP = 12
IPPROTO_RAW = 255
IPPROTO_ROUTING = 43
IPPROTO_RSVP = 46
IPPROTO_SCTP = 132
IPPROTO_TCP = 6
IPPROTO_TP = 29
IPPROTO_UDP = 17
IPPROTO_UDPLITE = 136
IPSEC6_OUTSA = 56
IPSEC_AUTH_LEVEL_DEFAULT = 1
IPSEC_ESP_NETWORK_LEVEL_DEFAULT = 1
IPSEC_ESP_TRANS_LEVEL_DEFAULT = 1
IPSEC_IPCOMP_LEVEL_DEFAULT = 1
IPSEC_LEVEL_AVAIL = 0x01
IPSEC_LEVEL_BYPASS = 0x00
IPSEC_LEVEL_DEFAULT = 1
IPSEC_LEVEL_NONE = 0x00
IPSEC_LEVEL_REQUIRE = 0x03
IPSEC_LEVEL_UNIQUE = 0x04
IPSEC_LEVEL_USE = 0x02
IPV6CTL_ACCEPT_RTADV = 12
IPV6CTL_AUTO_FLOWLABEL = 17
IPV6CTL_DAD_COUNT = 16
IPV6CTL_DAD_PENDING = 49
IPV6CTL_DEFHLIM = 3
IPV6CTL_DEFMCASTHLIM = 18
IPV6CTL_FORWARDING = 1
IPV6CTL_FORWSRCRT = 5
IPV6CTL_HDRNESTLIMIT = 15
IPV6CTL_IFQUEUE = 51
IPV6CTL_LOG_INTERVAL = 14
IPV6CTL_MAXDYNROUTES = 48
IPV6CTL_MAXFRAGPACKETS = 9
IPV6CTL_MAXFRAGS = 41
IPV6CTL_MAXID = 55
IPV6CTL_MCAST_PMTU = 44
IPV6CTL_MFORWARDING = 42
IPV6CTL_MRTMFC = 53
IPV6CTL_MRTMIF = 52
IPV6CTL_MRTPROTO = 8
IPV6CTL_MRTSTATS = 7
IPV6CTL_MTUDISCTIMEOUT = 50
IPV6CTL_MULTIPATH = 43
IPV6CTL_NEIGHBORGCTHRESH = 45
IPV6CTL_SENDREDIRECTS = 2
IPV6CTL_SOIIKEY = 54
IPV6CTL_SOURCECHECK = 10
IPV6CTL_SOURCECHECK_LOGINT = 11
IPV6CTL_STATS = 6
IPV6CTL_USE_DEPRECATED = 21
IPV6PROTO_MAXID = 259
IPV6_AUTH_LEVEL = 53
IPV6_AUTOFLOWLABEL = 59
IPV6_CHECKSUM = 26
IPV6_DEFAULT_MULTICAST_HOPS = 1
IPV6_DEFAULT_MULTICAST_LOOP = 1
IPV6_DONTFRAG = 62
IPV6_DSTOPTS = 50
IPV6_ESP_NETWORK_LEVEL = 55
IPV6_ESP_TRANS_LEVEL = 54
IPV6_HOPLIMIT = 47
IPV6_HOPOPTS = 49
IPV6_IPCOMP_LEVEL = 60
IPV6_JOIN_GROUP = 12
IPV6_LEAVE_GROUP = 13
IPV6_MINHOPCOUNT = 65
IPV6_MULTICAST_HOPS = 10
IPV6_MULTICAST_IF = 9
IPV6_MULTICAST_LOOP = 11
IPV6_NEXTHOP = 48
IPV6_PATHMTU = 44
IPV6_PIPEX = 63
IPV6_PKTINFO = 46
IPV6_PORTRANGE = 14
IPV6_PORTRANGE_DEFAULT = 0
IPV6_PORTRANGE_HIGH = 1
IPV6_PORTRANGE_LOW = 2
IPV6_RECVDSTOPTS = 40
IPV6_RECVDSTPORT = 64
IPV6_RECVHOPLIMIT = 37
IPV6_RECVHOPOPTS = 39
IPV6_RECVPATHMTU = 43
IPV6_RECVPKTINFO = 36
IPV6_RECVRTHDR = 38
IPV6_RECVTCLASS = 57
IPV6_RTABLE = 0x1021
IPV6_RTHDR = 51
IPV6_RTHDRDSTOPTS = 35
IPV6_RTHDR_LOOSE = 0
IPV6_RTHDR_TYPE_0 = 0
IPV6_TCLASS = 61
IPV6_UNICAST_HOPS = 4
IPV6_USE_MIN_MTU = 42
IPV6_V6ONLY = 27
IP_ADD_MEMBERSHIP = 12
IP_AUTH_LEVEL = 20
IP_DEFAULT_MULTICAST_LOOP = 1
IP_DEFAULT_MULTICAST_TTL = 1
IP_DROP_MEMBERSHIP = 13
IP_ESP_NETWORK_LEVEL = 22
IP_ESP_TRANS_LEVEL = 21
IP_HDRINCL = 2
IP_IPCOMP_LEVEL = 29
IP_IPDEFTTL = 37
IP_IPSECFLOWINFO = 36
IP_IPSEC_LOCAL_AUTH = 27
IP_IPSEC_LOCAL_CRED = 25
IP_IPSEC_LOCAL_ID = 23
IP_IPSEC_REMOTE_AUTH = 28
IP_IPSEC_REMOTE_CRED = 26
IP_IPSEC_REMOTE_ID = 24
IP_MAX_MEMBERSHIPS = 4095
IP_MINTTL = 32
IP_MIN_MEMBERSHIPS = 15
IP_MULTICAST_IF = 9
IP_MULTICAST_LOOP = 11
IP_MULTICAST_TTL = 10
IP_OPTIONS = 1
IP_PIPEX = 34
IP_PORTRANGE = 19
IP_PORTRANGE_DEFAULT = 0
IP_PORTRANGE_HIGH = 1
IP_PORTRANGE_LOW = 2
IP_RECVDSTADDR = 7
IP_RECVDSTPORT = 33
IP_RECVIF = 30
IP_RECVOPTS = 5
IP_RECVRETOPTS = 6
IP_RECVRTABLE = 35
IP_RECVTTL = 31
IP_RETOPTS = 8
IP_RTABLE = 0x1021
IP_SENDSRCADDR = 7
IP_TOS = 3
IP_TTL = 4
LITTLE_ENDIAN = 1234
NETDB_INTERNAL = -1
NETDB_SUCCESS = 0
NI_DGRAM = 16
NI_MAXHOST = 256
NI_MAXSERV = 32
NI_NAMEREQD = 8
NI_NOFQDN = 4
NI_NUMERICHOST = 1
NI_NUMERICSERV = 2
NO_ADDRESS = 4
NO_DATA = 4
NO_RECOVERY = 3
PDP_ENDIAN = 3412
RRSET_VALIDATED = 1
SCOPE_DELIMITER = 37
SIN6_LEN = 0
TRY_AGAIN = 2
X_BIG_ENDIAN = 4321
X_BYTE_ORDER = 1234
X_CLOCKID_T_DEFINED_ = 0
X_CLOCK_T_DEFINED_ = 0
X_FILE_OFFSET_BITS = 64
X_INT16_T_DEFINED_ = 0
X_INT32_T_DEFINED_ = 0
X_INT64_T_DEFINED_ = 0
X_INT8_T_DEFINED_ = 0
X_IN_ADDR_DECLARED = 0
X_IN_TYPES_DEFINED_ = 0
X_LITTLE_ENDIAN = 1234
X_LP64 = 1
X_MACHINE_CDEFS_H_ = 0
X_MACHINE_ENDIAN_H_ = 0
X_MACHINE__TYPES_H_ = 0
X_MAX_PAGE_SHIFT = 12
X_NETDB_H_ = 0
X_NETINET6_IN6_H_ = 0
X_NETINET_IN_H_ = 0
X_OFF_T_DEFINED_ = 0
X_PATH_HEQUIV = "/etc/hosts.equiv"
X_PATH_HOSTS = "/etc/hosts"
X_PATH_NETWORKS = "/etc/networks"
X_PATH_PROTOCOLS = "/etc/protocols"
X_PATH_SERVICES = "/etc/services"
X_PDP_ENDIAN = 3412
X_PID_T_DEFINED_ = 0
X_QUAD_HIGHWORD = 1
X_QUAD_LOWWORD = 0
X_RET_PROTECTOR = 1
X_SA_FAMILY_T_DEFINED_ = 0
X_SIZE_T_DEFINED_ = 0
X_SOCKLEN_T_DEFINED_ = 0
X_SSIZE_T_DEFINED_ = 0
X_STACKALIGNBYTES = 15
X_SYS_CDEFS_H_ = 0
X_SYS_ENDIAN_H_ = 0
X_SYS_TYPES_H_ = 0
X_SYS__ENDIAN_H_ = 0
X_SYS__TYPES_H_ = 0
X_TIMER_T_DEFINED_ = 0
X_TIME_T_DEFINED_ = 0
X_UINT16_T_DEFINED_ = 0
X_UINT32_T_DEFINED_ = 0
X_UINT64_T_DEFINED_ = 0
X_UINT8_T_DEFINED_ = 0
Unix = 1
AI_ADDRCONFIG = 64 // netdb.h:165:1:
AI_CANONNAME = 2 // netdb.h:160:1:
AI_EXT = 8 // netdb.h:162:1:
AI_FQDN = 32 // netdb.h:164:1:
AI_MASK = 119 // netdb.h:167:1:
AI_NUMERICHOST = 4 // netdb.h:161:1:
AI_NUMERICSERV = 16 // netdb.h:163:1:
AI_PASSIVE = 1 // netdb.h:159:1:
BIG_ENDIAN = 4321 // endian.h:45:1:
BYTE_ORDER = 1234 // endian.h:47:1:
EAI_ADDRFAMILY = -9 // netdb.h:196:1:
EAI_AGAIN = -3 // netdb.h:190:1:
EAI_BADFLAGS = -1 // netdb.h:188:1:
EAI_BADHINTS = -12 // netdb.h:199:1:
EAI_FAIL = -4 // netdb.h:191:1:
EAI_FAMILY = -6 // netdb.h:193:1:
EAI_MEMORY = -10 // netdb.h:197:1:
EAI_NODATA = -5 // netdb.h:192:1:
EAI_NONAME = -2 // netdb.h:189:1:
EAI_OVERFLOW = -14 // netdb.h:201:1:
EAI_PROTOCOL = -13 // netdb.h:200:1:
EAI_SERVICE = -8 // netdb.h:195:1:
EAI_SOCKTYPE = -7 // netdb.h:194:1:
EAI_SYSTEM = -11 // netdb.h:198:1:
ERRSET_FAIL = 2 // netdb.h:225:1:
ERRSET_INVAL = 3 // netdb.h:226:1:
ERRSET_NODATA = 5 // netdb.h:228:1:
ERRSET_NOMEMORY = 1 // netdb.h:224:1:
ERRSET_NONAME = 4 // netdb.h:227:1:
ERRSET_SUCCESS = 0 // netdb.h:223:1:
HOST_NOT_FOUND = 1 // netdb.h:151:1:
ICMP6_FILTER = 18 // in6.h:304:1:
INET6_ADDRSTRLEN = 46 // in6.h:97:1:
INET_ADDRSTRLEN = 16 // in.h:382:1:
IN_CLASSA_MAX = 128 // in.h:195:1:
IN_CLASSA_NSHIFT = 24 // in.h:193:1:
IN_CLASSB_MAX = 65536 // in.h:202:1:
IN_CLASSB_NSHIFT = 16 // in.h:200:1:
IN_CLASSC_NSHIFT = 8 // in.h:207:1:
IN_CLASSD_NSHIFT = 28 // in.h:214:1:
IN_LOOPBACKNET = 127 // in.h:253:1:
IN_RFC3021_NSHIFT = 31 // in.h:219:1:
IPCTL_ARPDOWN = 40 // in.h:698:1:
IPCTL_ARPQUEUE = 41 // in.h:699:1:
IPCTL_ARPQUEUED = 36 // in.h:694:1:
IPCTL_ARPTIMEOUT = 39 // in.h:697:1:
IPCTL_DEFTTL = 3 // in.h:662:1:
IPCTL_DIRECTEDBCAST = 6 // in.h:664:1:
IPCTL_ENCDEBUG = 12 // in.h:670:1:
IPCTL_FORWARDING = 1 // in.h:660:1:
IPCTL_IFQUEUE = 30 // in.h:688:1:
IPCTL_IPPORT_FIRSTAUTO = 7 // in.h:665:1:
IPCTL_IPPORT_HIFIRSTAUTO = 9 // in.h:667:1:
IPCTL_IPPORT_HILASTAUTO = 10 // in.h:668:1:
IPCTL_IPPORT_LASTAUTO = 8 // in.h:666:1:
IPCTL_IPPORT_MAXQUEUE = 11 // in.h:669:1:
IPCTL_IPSEC_ALLOCATIONS = 18 // in.h:676:1:
IPCTL_IPSEC_AUTH_ALGORITHM = 26 // in.h:684:1:
IPCTL_IPSEC_BYTES = 20 // in.h:678:1:
IPCTL_IPSEC_EMBRYONIC_SA_TIMEOUT = 15 // in.h:673:1:
IPCTL_IPSEC_ENC_ALGORITHM = 25 // in.h:683:1:
IPCTL_IPSEC_EXPIRE_ACQUIRE = 14 // in.h:672:1:
IPCTL_IPSEC_FIRSTUSE = 24 // in.h:682:1:
IPCTL_IPSEC_IPCOMP_ALGORITHM = 29 // in.h:687:1:
IPCTL_IPSEC_REQUIRE_PFS = 16 // in.h:674:1:
IPCTL_IPSEC_SOFT_ALLOCATIONS = 17 // in.h:675:1:
IPCTL_IPSEC_SOFT_BYTES = 19 // in.h:677:1:
IPCTL_IPSEC_SOFT_FIRSTUSE = 23 // in.h:681:1:
IPCTL_IPSEC_SOFT_TIMEOUT = 22 // in.h:680:1:
IPCTL_IPSEC_STATS = 13 // in.h:671:1:
IPCTL_IPSEC_TIMEOUT = 21 // in.h:679:1:
IPCTL_MAXID = 42 // in.h:700:1:
IPCTL_MFORWARDING = 31 // in.h:689:1:
IPCTL_MRTMFC = 37 // in.h:695:1:
IPCTL_MRTPROTO = 34 // in.h:692:1:
IPCTL_MRTSTATS = 35 // in.h:693:1:
IPCTL_MRTVIF = 38 // in.h:696:1:
IPCTL_MTUDISC = 27 // in.h:685:1:
IPCTL_MTUDISCTIMEOUT = 28 // in.h:686:1:
IPCTL_MULTIPATH = 32 // in.h:690:1:
IPCTL_SENDREDIRECTS = 2 // in.h:661:1:
IPCTL_SOURCEROUTE = 5 // in.h:663:1:
IPCTL_STATS = 33 // in.h:691:1:
IPPORT_HIFIRSTAUTO = 49152 // in.h:159:1:
IPPORT_HILASTAUTO = 65535 // in.h:160:1:
IPPORT_RESERVED = 1024 // in.h:153:1:
IPPORT_USERRESERVED = 49151 // in.h:154:1:
IPPROTO_AH = 51 // in.h:89:1:
IPPROTO_CARP = 112 // in.h:99:1:
IPPROTO_DIVERT = 258 // in.h:109:1:
IPPROTO_DONE = 257 // in.h:173:1:
IPPROTO_DSTOPTS = 60 // in.h:93:1:
IPPROTO_EGP = 8 // in.h:78:1:
IPPROTO_ENCAP = 98 // in.h:96:1:
IPPROTO_EON = 80 // in.h:94:1:
IPPROTO_ESP = 50 // in.h:88:1:
IPPROTO_ETHERIP = 97 // in.h:95:1:
IPPROTO_FRAGMENT = 44 // in.h:85:1:
IPPROTO_GGP = 3 // in.h:74:1:
IPPROTO_GRE = 47 // in.h:87:1:
IPPROTO_HOPOPTS = 0 // in.h:71:1:
IPPROTO_ICMP = 1 // in.h:72:1:
IPPROTO_ICMPV6 = 58 // in.h:91:1:
IPPROTO_IDP = 22 // in.h:81:1:
IPPROTO_IGMP = 2 // in.h:73:1:
IPPROTO_IP = 0 // in.h:70:1:
IPPROTO_IPCOMP = 108 // in.h:98:1:
IPPROTO_IPIP = 4 // in.h:75:1:
IPPROTO_IPV4 = 4 // in.h:76:1:
IPPROTO_IPV6 = 41 // in.h:83:1:
IPPROTO_MAX = 256 // in.h:106:1:
IPPROTO_MAXID = 259 // in.h:393:1:
IPPROTO_MOBILE = 55 // in.h:90:1:
IPPROTO_MPLS = 137 // in.h:102:1:
IPPROTO_NONE = 59 // in.h:92:1:
IPPROTO_PFSYNC = 240 // in.h:103:1:
IPPROTO_PIM = 103 // in.h:97:1:
IPPROTO_PUP = 12 // in.h:79:1:
IPPROTO_RAW = 255 // in.h:104:1:
IPPROTO_ROUTING = 43 // in.h:84:1:
IPPROTO_RSVP = 46 // in.h:86:1:
IPPROTO_SCTP = 132 // in.h:100:1:
IPPROTO_TCP = 6 // in.h:77:1:
IPPROTO_TP = 29 // in.h:82:1:
IPPROTO_UDP = 17 // in.h:80:1:
IPPROTO_UDPLITE = 136 // in.h:101:1:
IPSEC6_OUTSA = 56 // in6.h:337:1:
IPSEC_AUTH_LEVEL_DEFAULT = 1 // in.h:336:1:
IPSEC_ESP_NETWORK_LEVEL_DEFAULT = 1 // in.h:338:1:
IPSEC_ESP_TRANS_LEVEL_DEFAULT = 1 // in.h:337:1:
IPSEC_IPCOMP_LEVEL_DEFAULT = 1 // in.h:339:1:
IPSEC_LEVEL_AVAIL = 0x01 // in.h:330:1:
IPSEC_LEVEL_BYPASS = 0x00 // in.h:328:1:
IPSEC_LEVEL_DEFAULT = 1 // in.h:334:1:
IPSEC_LEVEL_NONE = 0x00 // in.h:329:1:
IPSEC_LEVEL_REQUIRE = 0x03 // in.h:332:1:
IPSEC_LEVEL_UNIQUE = 0x04 // in.h:333:1:
IPSEC_LEVEL_USE = 0x02 // in.h:331:1:
IPV6CTL_ACCEPT_RTADV = 12 // in6.h:575:1:
IPV6CTL_AUTO_FLOWLABEL = 17 // in6.h:579:1:
IPV6CTL_DAD_COUNT = 16 // in6.h:578:1:
IPV6CTL_DAD_PENDING = 49 // in6.h:589:1:
IPV6CTL_DEFHLIM = 3 // in6.h:567:1:
IPV6CTL_DEFMCASTHLIM = 18 // in6.h:580:1:
IPV6CTL_FORWARDING = 1 // in6.h:565:1:
IPV6CTL_FORWSRCRT = 5 // in6.h:568:1:
IPV6CTL_HDRNESTLIMIT = 15 // in6.h:577:1:
IPV6CTL_IFQUEUE = 51 // in6.h:591:1:
IPV6CTL_LOG_INTERVAL = 14 // in6.h:576:1:
IPV6CTL_MAXDYNROUTES = 48 // in6.h:588:1:
IPV6CTL_MAXFRAGPACKETS = 9 // in6.h:572:1:
IPV6CTL_MAXFRAGS = 41 // in6.h:583:1:
IPV6CTL_MAXID = 55 // in6.h:595:1:
IPV6CTL_MCAST_PMTU = 44 // in6.h:586:1:
IPV6CTL_MFORWARDING = 42 // in6.h:584:1:
IPV6CTL_MRTMFC = 53 // in6.h:593:1:
IPV6CTL_MRTMIF = 52 // in6.h:592:1:
IPV6CTL_MRTPROTO = 8 // in6.h:571:1:
IPV6CTL_MRTSTATS = 7 // in6.h:570:1:
IPV6CTL_MTUDISCTIMEOUT = 50 // in6.h:590:1:
IPV6CTL_MULTIPATH = 43 // in6.h:585:1:
IPV6CTL_NEIGHBORGCTHRESH = 45 // in6.h:587:1:
IPV6CTL_SENDREDIRECTS = 2 // in6.h:566:1:
IPV6CTL_SOIIKEY = 54 // in6.h:594:1:
IPV6CTL_SOURCECHECK = 10 // in6.h:573:1:
IPV6CTL_SOURCECHECK_LOGINT = 11 // in6.h:574:1:
IPV6CTL_STATS = 6 // in6.h:569:1:
IPV6CTL_USE_DEPRECATED = 21 // in6.h:581:1:
IPV6PROTO_MAXID = 259 // in6.h:470:1:
IPV6_AUTH_LEVEL = 53 // in6.h:333:1:
IPV6_AUTOFLOWLABEL = 59 // in6.h:341:1:
IPV6_CHECKSUM = 26 // in6.h:307:1:
IPV6_DEFAULT_MULTICAST_HOPS = 1 // in6.h:360:1:
IPV6_DEFAULT_MULTICAST_LOOP = 1 // in6.h:361:1:
IPV6_DONTFRAG = 62 // in6.h:345:1:
IPV6_DSTOPTS = 50 // in6.h:330:1:
IPV6_ESP_NETWORK_LEVEL = 55 // in6.h:335:1:
IPV6_ESP_TRANS_LEVEL = 54 // in6.h:334:1:
IPV6_HOPLIMIT = 47 // in6.h:327:1:
IPV6_HOPOPTS = 49 // in6.h:329:1:
IPV6_IPCOMP_LEVEL = 60 // in6.h:342:1:
IPV6_JOIN_GROUP = 12 // in6.h:300:1:
IPV6_LEAVE_GROUP = 13 // in6.h:301:1:
IPV6_MINHOPCOUNT = 65 // in6.h:349:1:
IPV6_MULTICAST_HOPS = 10 // in6.h:298:1:
IPV6_MULTICAST_IF = 9 // in6.h:297:1:
IPV6_MULTICAST_LOOP = 11 // in6.h:299:1:
IPV6_NEXTHOP = 48 // in6.h:328:1:
IPV6_PATHMTU = 44 // in6.h:322:1:
IPV6_PIPEX = 63 // in6.h:346:1:
IPV6_PKTINFO = 46 // in6.h:326:1:
IPV6_PORTRANGE = 14 // in6.h:302:1:
IPV6_PORTRANGE_DEFAULT = 0 // in6.h:393:1:
IPV6_PORTRANGE_HIGH = 1 // in6.h:394:1:
IPV6_PORTRANGE_LOW = 2 // in6.h:395:1:
IPV6_RECVDSTOPTS = 40 // in6.h:317:1:
IPV6_RECVDSTPORT = 64 // in6.h:348:1:
IPV6_RECVHOPLIMIT = 37 // in6.h:314:1:
IPV6_RECVHOPOPTS = 39 // in6.h:316:1:
IPV6_RECVPATHMTU = 43 // in6.h:320:1:
IPV6_RECVPKTINFO = 36 // in6.h:313:1:
IPV6_RECVRTHDR = 38 // in6.h:315:1:
IPV6_RECVTCLASS = 57 // in6.h:339:1:
IPV6_RTABLE = 0x1021 // in6.h:351:1:
IPV6_RTHDR = 51 // in6.h:331:1:
IPV6_RTHDRDSTOPTS = 35 // in6.h:311:1:
IPV6_RTHDR_LOOSE = 0 // in6.h:354:1:
IPV6_RTHDR_TYPE_0 = 0 // in6.h:355:1:
IPV6_TCLASS = 61 // in6.h:344:1:
IPV6_UNICAST_HOPS = 4 // in6.h:296:1:
IPV6_USE_MIN_MTU = 42 // in6.h:319:1:
IPV6_V6ONLY = 27 // in6.h:308:1:
IP_ADD_MEMBERSHIP = 12 // in.h:297:1:
IP_AUTH_LEVEL = 20 // in.h:300:1:
IP_DEFAULT_MULTICAST_LOOP = 1 // in.h:347:1:
IP_DEFAULT_MULTICAST_TTL = 1 // in.h:346:1:
IP_DROP_MEMBERSHIP = 13 // in.h:298:1:
IP_ESP_NETWORK_LEVEL = 22 // in.h:302:1:
IP_ESP_TRANS_LEVEL = 21 // in.h:301:1:
IP_HDRINCL = 2 // in.h:287:1:
IP_IPCOMP_LEVEL = 29 // in.h:309:1:
IP_IPDEFTTL = 37 // in.h:317:1:
IP_IPSECFLOWINFO = 36 // in.h:316:1:
IP_IPSEC_LOCAL_AUTH = 27 // in.h:307:1:
IP_IPSEC_LOCAL_CRED = 25 // in.h:305:1:
IP_IPSEC_LOCAL_ID = 23 // in.h:303:1:
IP_IPSEC_REMOTE_AUTH = 28 // in.h:308:1:
IP_IPSEC_REMOTE_CRED = 26 // in.h:306:1:
IP_IPSEC_REMOTE_ID = 24 // in.h:304:1:
IP_MAX_MEMBERSHIPS = 4095 // in.h:354:1:
IP_MINTTL = 32 // in.h:312:1:
IP_MIN_MEMBERSHIPS = 15 // in.h:353:1:
IP_MULTICAST_IF = 9 // in.h:294:1:
IP_MULTICAST_LOOP = 11 // in.h:296:1:
IP_MULTICAST_TTL = 10 // in.h:295:1:
IP_OPTIONS = 1 // in.h:286:1:
IP_PIPEX = 34 // in.h:314:1:
IP_PORTRANGE = 19 // in.h:299:1:
IP_PORTRANGE_DEFAULT = 0 // in.h:374:1:
IP_PORTRANGE_HIGH = 1 // in.h:375:1:
IP_PORTRANGE_LOW = 2 // in.h:376:1:
IP_RECVDSTADDR = 7 // in.h:292:1:
IP_RECVDSTPORT = 33 // in.h:313:1:
IP_RECVIF = 30 // in.h:310:1:
IP_RECVOPTS = 5 // in.h:290:1:
IP_RECVRETOPTS = 6 // in.h:291:1:
IP_RECVRTABLE = 35 // in.h:315:1:
IP_RECVTTL = 31 // in.h:311:1:
IP_RETOPTS = 8 // in.h:293:1:
IP_RTABLE = 0x1021 // in.h:321:1:
IP_SENDSRCADDR = 7 // in.h:318:1:
IP_TOS = 3 // in.h:288:1:
IP_TTL = 4 // in.h:289:1:
LITTLE_ENDIAN = 1234 // endian.h:44:1:
NETDB_INTERNAL = -1 // netdb.h:149:1:
NETDB_SUCCESS = 0 // netdb.h:150:1:
NI_DGRAM = 16 // netdb.h:175:1:
NI_MAXHOST = 256 // netdb.h:179:1:
NI_MAXSERV = 32 // netdb.h:180:1:
NI_NAMEREQD = 8 // netdb.h:174:1:
NI_NOFQDN = 4 // netdb.h:173:1:
NI_NUMERICHOST = 1 // netdb.h:171:1:
NI_NUMERICSERV = 2 // netdb.h:172:1:
NO_ADDRESS = 4 // netdb.h:155:1:
NO_DATA = 4 // netdb.h:154:1:
NO_RECOVERY = 3 // netdb.h:153:1:
PDP_ENDIAN = 3412 // endian.h:46:1:
RRSET_VALIDATED = 1 // netdb.h:218:1:
SCOPE_DELIMITER = 37 // netdb.h:185:1:
SIN6_LEN = 0 // in6.h:104:1:
TRY_AGAIN = 2 // netdb.h:152: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_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_IN_ADDR_DECLARED = 0 // in.h:163:1:
X_IN_TYPES_DEFINED_ = 0 // in.h:62:1:
X_LITTLE_ENDIAN = 1234 // _endian.h:42:1:
X_LP64 = 1 // <predefined>:1: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_NETDB_H_ = 0 // netdb.h:88:1:
X_NETINET6_IN6_H_ = 0 // in6.h:69:1:
X_NETINET_IN_H_ = 0 // in.h:39:1:
X_OFF_T_DEFINED_ = 0 // types.h:193:1:
X_PATH_HEQUIV = "/etc/hosts.equiv" // netdb.h:97:1:
X_PATH_HOSTS = "/etc/hosts" // netdb.h:98:1:
X_PATH_NETWORKS = "/etc/networks" // netdb.h:99:1:
X_PATH_PROTOCOLS = "/etc/protocols" // netdb.h:100:1:
X_PATH_SERVICES = "/etc/services" // netdb.h:101:1:
X_PDP_ENDIAN = 3412 // _endian.h:44:1:
X_PID_T_DEFINED_ = 0 // types.h:168: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_SA_FAMILY_T_DEFINED_ = 0 // in.h:57:1:
X_SIZE_T_DEFINED_ = 0 // types.h:173:1:
X_SOCKLEN_T_DEFINED_ = 0 // in6.h:400:1:
X_SSIZE_T_DEFINED_ = 0 // types.h:178: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_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_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:
)
type Ptrdiff_t = int64 /* <builtin>:3:26 */
+1 -1
View File
@@ -1,4 +1,4 @@
// Code generated by 'ccgo netinet/in/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o netinet/in/in_freebsd_386.go -pkgname in', DO NOT EDIT.
// Code generated by 'ccgo netinet/in/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o netinet/in/in_freebsd_386.go -pkgname in', DO NOT EDIT.
package in
+1 -1
View File
@@ -1,4 +1,4 @@
// Code generated by 'ccgo netinet/in/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o netinet/in/in_freebsd_amd64.go -pkgname in', DO NOT EDIT.
// Code generated by 'ccgo netinet/in/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o netinet/in/in_freebsd_amd64.go -pkgname in', DO NOT EDIT.
package in
+5
View File
@@ -0,0 +1,5 @@
// Code generated by 'ccgo netinet/in/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o netinet/in/in_linux_ppc64le.go -pkgname in', DO NOT EDIT.
package in
var CAPI = map[string]struct{}{}
+1 -1
View File
@@ -1,4 +1,4 @@
// Code generated by 'ccgo netinet/in/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o netinet/in/in_netbsd_amd64.go -pkgname in', DO NOT EDIT.
// Code generated by 'ccgo netinet/in/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o netinet/in/in_netbsd_amd64.go -pkgname in', DO NOT EDIT.
package in
+1 -1
View File
@@ -1,4 +1,4 @@
// Code generated by 'ccgo netinet/in/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o netinet/in/in_openbsd_amd64.go -pkgname in', DO NOT EDIT.
// Code generated by 'ccgo netinet/in/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o netinet/in/in_openbsd_amd64.go -pkgname in', DO NOT EDIT.
package in
+391 -391
View File
@@ -1,4 +1,4 @@
// Code generated by 'ccgo netinet/in/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o netinet/in/in_freebsd_386.go -pkgname in', DO NOT EDIT.
// Code generated by 'ccgo netinet/in/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o netinet/in/in_freebsd_386.go -pkgname in', DO NOT EDIT.
package in
@@ -15,396 +15,396 @@ var _ atomic.Value
var _ unsafe.Pointer
const (
BIG_ENDIAN = 4321
BYTE_ORDER = 1234
ICMP6_FILTER = 18
ICMPV6CTL_ND6_ONLINKNSRFC4861 = 47
INET6_ADDRSTRLEN = 46
INET_ADDRSTRLEN = 16
IN_CLASSA_HOST = 0x00ffffff
IN_CLASSA_MAX = 128
IN_CLASSA_NET = 0xff000000
IN_CLASSA_NSHIFT = 24
IN_CLASSB_HOST = 0x0000ffff
IN_CLASSB_MAX = 65536
IN_CLASSB_NET = 0xffff0000
IN_CLASSB_NSHIFT = 16
IN_CLASSC_HOST = 0x000000ff
IN_CLASSC_NET = 0xffffff00
IN_CLASSC_NSHIFT = 8
IN_CLASSD_HOST = 0x0fffffff
IN_CLASSD_NET = 0xf0000000
IN_CLASSD_NSHIFT = 28
IN_HISTORICAL_NETS = 0
IN_LOOPBACKNET = 127
IN_NETMASK_DEFAULT = 0xffffff00
IPCTL_ACCEPTSOURCEROUTE = 13
IPCTL_DEFTTL = 3
IPCTL_DIRECTEDBROADCAST = 9
IPCTL_FASTFORWARDING = 14
IPCTL_FORWARDING = 1
IPCTL_GIF_TTL = 16
IPCTL_INTRDQDROPS = 18
IPCTL_INTRDQMAXLEN = 17
IPCTL_INTRQDROPS = 11
IPCTL_INTRQMAXLEN = 10
IPCTL_SENDREDIRECTS = 2
IPCTL_SOURCEROUTE = 8
IPCTL_STATS = 12
IPPORT_EPHEMERALFIRST = 10000
IPPORT_EPHEMERALLAST = 65535
IPPORT_HIFIRSTAUTO = 49152
IPPORT_HILASTAUTO = 65535
IPPORT_MAX = 65535
IPPORT_RESERVED = 1024
IPPORT_RESERVEDSTART = 600
IPPROTO_3PC = 34
IPPROTO_ADFS = 68
IPPROTO_AH = 51
IPPROTO_AHIP = 61
IPPROTO_APES = 99
IPPROTO_ARGUS = 13
IPPROTO_AX25 = 93
IPPROTO_BHA = 49
IPPROTO_BLT = 30
IPPROTO_BRSATMON = 76
IPPROTO_CARP = 112
IPPROTO_CFTP = 62
IPPROTO_CHAOS = 16
IPPROTO_CMTP = 38
IPPROTO_CPHB = 73
IPPROTO_CPNX = 72
IPPROTO_DCCP = 33
IPPROTO_DDP = 37
IPPROTO_DGP = 86
IPPROTO_DIVERT = 258
IPPROTO_DONE = 257
IPPROTO_DSTOPTS = 60
IPPROTO_EGP = 8
IPPROTO_EMCON = 14
IPPROTO_ENCAP = 98
IPPROTO_EON = 80
IPPROTO_ESP = 50
IPPROTO_ETHERIP = 97
IPPROTO_FRAGMENT = 44
IPPROTO_GGP = 3
IPPROTO_GMTP = 100
IPPROTO_GRE = 47
IPPROTO_HELLO = 63
IPPROTO_HIP = 139
IPPROTO_HMP = 20
IPPROTO_HOPOPTS = 0
IPPROTO_ICMP = 1
IPPROTO_ICMPV6 = 58
IPPROTO_IDP = 22
IPPROTO_IDPR = 35
IPPROTO_IDRP = 45
IPPROTO_IGMP = 2
IPPROTO_IGP = 85
IPPROTO_IGRP = 88
IPPROTO_IL = 40
IPPROTO_INLSP = 52
IPPROTO_INP = 32
IPPROTO_IP = 0
IPPROTO_IPCOMP = 108
IPPROTO_IPCV = 71
IPPROTO_IPEIP = 94
IPPROTO_IPIP = 4
IPPROTO_IPPC = 67
IPPROTO_IPV4 = 4
IPPROTO_IPV6 = 41
IPPROTO_IRTP = 28
IPPROTO_KRYPTOLAN = 65
IPPROTO_LARP = 91
IPPROTO_LEAF1 = 25
IPPROTO_LEAF2 = 26
IPPROTO_MAX = 256
IPPROTO_MEAS = 19
IPPROTO_MH = 135
IPPROTO_MHRP = 48
IPPROTO_MICP = 95
IPPROTO_MOBILE = 55
IPPROTO_MPLS = 137
IPPROTO_MTP = 92
IPPROTO_MUX = 18
IPPROTO_ND = 77
IPPROTO_NHRP = 54
IPPROTO_NONE = 59
IPPROTO_NSP = 31
IPPROTO_NVPII = 11
IPPROTO_OLD_DIVERT = 254
IPPROTO_OSPFIGP = 89
IPPROTO_PFSYNC = 240
IPPROTO_PGM = 113
IPPROTO_PIGP = 9
IPPROTO_PIM = 103
IPPROTO_PRM = 21
IPPROTO_PUP = 12
IPPROTO_PVP = 75
IPPROTO_RAW = 255
IPPROTO_RCCMON = 10
IPPROTO_RDP = 27
IPPROTO_RESERVED_253 = 253
IPPROTO_RESERVED_254 = 254
IPPROTO_ROUTING = 43
IPPROTO_RSVP = 46
IPPROTO_RVD = 66
IPPROTO_SATEXPAK = 64
IPPROTO_SATMON = 69
IPPROTO_SCCSP = 96
IPPROTO_SCTP = 132
IPPROTO_SDRP = 42
IPPROTO_SEND = 259
IPPROTO_SHIM6 = 140
IPPROTO_SKIP = 57
IPPROTO_SPACER = 32767
IPPROTO_SRPC = 90
IPPROTO_ST = 7
IPPROTO_SVMTP = 82
IPPROTO_SWIPE = 53
IPPROTO_TCF = 87
IPPROTO_TCP = 6
IPPROTO_TLSP = 56
IPPROTO_TP = 29
IPPROTO_TPXX = 39
IPPROTO_TRUNK1 = 23
IPPROTO_TRUNK2 = 24
IPPROTO_TTP = 84
IPPROTO_UDP = 17
IPPROTO_UDPLITE = 136
IPPROTO_VINES = 83
IPPROTO_VISA = 70
IPPROTO_VMTP = 81
IPPROTO_WBEXPAK = 79
IPPROTO_WBMON = 78
IPPROTO_WSN = 74
IPPROTO_XNET = 15
IPPROTO_XTP = 36
IPV6CTL_ACCEPT_RTADV = 12
IPV6CTL_ADDRCTLPOLICY = 38
IPV6CTL_AUTO_FLOWLABEL = 17
IPV6CTL_AUTO_LINKLOCAL = 35
IPV6CTL_DAD_COUNT = 16
IPV6CTL_DEFHLIM = 3
IPV6CTL_DEFMCASTHLIM = 18
IPV6CTL_FORWARDING = 1
IPV6CTL_FORWSRCRT = 5
IPV6CTL_GIF_HLIM = 19
IPV6CTL_HDRNESTLIMIT = 15
IPV6CTL_INTRDQMAXLEN = 52
IPV6CTL_INTRQMAXLEN = 51
IPV6CTL_KAME_VERSION = 20
IPV6CTL_LOG_INTERVAL = 14
IPV6CTL_MAXFRAGBUCKETSIZE = 54
IPV6CTL_MAXFRAGPACKETS = 9
IPV6CTL_MAXFRAGS = 41
IPV6CTL_MAXFRAGSPERPACKET = 53
IPV6CTL_MAXID = 55
IPV6CTL_MCAST_PMTU = 44
IPV6CTL_MRTPROTO = 8
IPV6CTL_MRTSTATS = 7
IPV6CTL_NORBIT_RAIF = 49
IPV6CTL_NO_RADR = 48
IPV6CTL_PREFER_TEMPADDR = 37
IPV6CTL_RFC6204W3 = 50
IPV6CTL_RIP6STATS = 36
IPV6CTL_RR_PRUNE = 22
IPV6CTL_SENDREDIRECTS = 2
IPV6CTL_SOURCECHECK = 10
IPV6CTL_SOURCECHECK_LOGINT = 11
IPV6CTL_STATS = 6
IPV6CTL_STEALTH = 45
IPV6CTL_TEMPPLTIME = 33
IPV6CTL_TEMPVLTIME = 34
IPV6CTL_USETEMPADDR = 32
IPV6CTL_USE_DEFAULTZONE = 39
IPV6CTL_USE_DEPRECATED = 21
IPV6CTL_V6ONLY = 24
IPV6PORT_ANONMAX = 65535
IPV6PORT_ANONMIN = 49152
IPV6PORT_RESERVED = 1024
IPV6PORT_RESERVEDMAX = 1023
IPV6PORT_RESERVEDMIN = 600
IPV6PROTO_MAXID = 104
IPV6_AUTOFLOWLABEL = 59
IPV6_BINDANY = 64
IPV6_BINDMULTI = 65
IPV6_BINDV6ONLY = 27
IPV6_CHECKSUM = 26
IPV6_DEFAULT_MULTICAST_HOPS = 1
IPV6_DEFAULT_MULTICAST_LOOP = 1
IPV6_DONTFRAG = 62
IPV6_DSTOPTS = 50
IPV6_FLOWID = 67
IPV6_FLOWTYPE = 68
IPV6_FW_ADD = 30
IPV6_FW_DEL = 31
IPV6_FW_FLUSH = 32
IPV6_FW_GET = 34
IPV6_FW_ZERO = 33
IPV6_HOPLIMIT = 47
IPV6_HOPOPTS = 49
IPV6_IPSEC_POLICY = 28
IPV6_JOIN_GROUP = 12
IPV6_LEAVE_GROUP = 13
IPV6_MAX_GROUP_SRC_FILTER = 512
IPV6_MAX_MEMBERSHIPS = 4095
IPV6_MAX_SOCK_SRC_FILTER = 128
IPV6_MSFILTER = 74
IPV6_MULTICAST_HOPS = 10
IPV6_MULTICAST_IF = 9
IPV6_MULTICAST_LOOP = 11
IPV6_NEXTHOP = 48
IPV6_ORIGDSTADDR = 72
IPV6_PATHMTU = 44
IPV6_PKTINFO = 46
IPV6_PORTRANGE = 14
IPV6_PORTRANGE_DEFAULT = 0
IPV6_PORTRANGE_HIGH = 1
IPV6_PORTRANGE_LOW = 2
IPV6_PREFER_TEMPADDR = 63
IPV6_RECVDSTOPTS = 40
IPV6_RECVFLOWID = 70
IPV6_RECVHOPLIMIT = 37
IPV6_RECVHOPOPTS = 39
IPV6_RECVORIGDSTADDR = 72
IPV6_RECVPATHMTU = 43
IPV6_RECVPKTINFO = 36
IPV6_RECVRSSBUCKETID = 71
IPV6_RECVRTHDR = 38
IPV6_RECVTCLASS = 57
IPV6_RSSBUCKETID = 69
IPV6_RSS_LISTEN_BUCKET = 66
IPV6_RTHDR = 51
IPV6_RTHDRDSTOPTS = 35
IPV6_RTHDR_LOOSE = 0
IPV6_RTHDR_STRICT = 1
IPV6_RTHDR_TYPE_0 = 0
IPV6_SOCKOPT_RESERVED1 = 3
IPV6_TCLASS = 61
IPV6_UNICAST_HOPS = 4
IPV6_USE_MIN_MTU = 42
IPV6_V6ONLY = 27
IPV6_VLAN_PCP = 75
IP_ADD_MEMBERSHIP = 12
IP_ADD_SOURCE_MEMBERSHIP = 70
IP_BINDANY = 24
IP_BINDMULTI = 25
IP_BLOCK_SOURCE = 72
IP_DEFAULT_MULTICAST_LOOP = 1
IP_DEFAULT_MULTICAST_TTL = 1
IP_DONTFRAG = 67
IP_DROP_MEMBERSHIP = 13
IP_DROP_SOURCE_MEMBERSHIP = 71
IP_DUMMYNET3 = 49
IP_DUMMYNET_CONFIGURE = 60
IP_DUMMYNET_DEL = 61
IP_DUMMYNET_FLUSH = 62
IP_DUMMYNET_GET = 64
IP_FLOWID = 90
IP_FLOWTYPE = 91
IP_FW3 = 48
IP_FW_ADD = 50
IP_FW_DEL = 51
IP_FW_FLUSH = 52
IP_FW_GET = 54
IP_FW_NAT_CFG = 56
IP_FW_NAT_DEL = 57
IP_FW_NAT_GET_CONFIG = 58
IP_FW_NAT_GET_LOG = 59
IP_FW_RESETLOG = 55
IP_FW_TABLE_ADD = 40
IP_FW_TABLE_DEL = 41
IP_FW_TABLE_FLUSH = 42
IP_FW_TABLE_GETSIZE = 43
IP_FW_TABLE_LIST = 44
IP_FW_ZERO = 53
IP_HDRINCL = 2
IP_IPSEC_POLICY = 21
IP_MAX_GROUP_SRC_FILTER = 512
IP_MAX_MEMBERSHIPS = 4095
IP_MAX_SOCK_MUTE_FILTER = 128
IP_MAX_SOCK_SRC_FILTER = 128
IP_MINTTL = 66
IP_MSFILTER = 74
IP_MULTICAST_IF = 9
IP_MULTICAST_LOOP = 11
IP_MULTICAST_TTL = 10
IP_MULTICAST_VIF = 14
IP_ONESBCAST = 23
IP_OPTIONS = 1
IP_ORIGDSTADDR = 27
IP_PORTRANGE = 19
IP_PORTRANGE_DEFAULT = 0
IP_PORTRANGE_HIGH = 1
IP_PORTRANGE_LOW = 2
IP_RECVDSTADDR = 7
IP_RECVFLOWID = 93
IP_RECVIF = 20
IP_RECVOPTS = 5
IP_RECVORIGDSTADDR = 27
IP_RECVRETOPTS = 6
IP_RECVRSSBUCKETID = 94
IP_RECVTOS = 68
IP_RECVTTL = 65
IP_RETOPTS = 8
IP_RSSBUCKETID = 92
IP_RSS_LISTEN_BUCKET = 26
IP_RSVP_OFF = 16
IP_RSVP_ON = 15
IP_RSVP_VIF_OFF = 18
IP_RSVP_VIF_ON = 17
IP_SENDSRCADDR = 7
IP_TOS = 3
IP_TTL = 4
IP_UNBLOCK_SOURCE = 73
IP_VLAN_PCP = 75
LITTLE_ENDIAN = 1234
MCAST_BLOCK_SOURCE = 84
MCAST_EXCLUDE = 2
MCAST_INCLUDE = 1
MCAST_JOIN_GROUP = 80
MCAST_JOIN_SOURCE_GROUP = 82
MCAST_LEAVE_GROUP = 81
MCAST_LEAVE_SOURCE_GROUP = 83
MCAST_UNBLOCK_SOURCE = 85
MCAST_UNDEFINED = 0
PDP_ENDIAN = 3412
SIN6_LEN = 0
X_BIG_ENDIAN = 4321
X_BYTEORDER_FUNC_DEFINED = 0
X_BYTEORDER_PROTOTYPED = 0
X_BYTE_ORDER = 1234
X_FILE_OFFSET_BITS = 64
X_ILP32 = 1
X_IN_ADDR_T_DECLARED = 0
X_IN_PORT_T_DECLARED = 0
X_LITTLE_ENDIAN = 1234
X_MACHINE_ENDIAN_H_ = 0
X_MACHINE__LIMITS_H_ = 0
X_MACHINE__TYPES_H_ = 0
X_NETINET6_IN6_H_ = 0
X_NETINET_IN_H_ = 0
X_Nonnull = 0
X_Null_unspecified = 0
X_Nullable = 0
X_PDP_ENDIAN = 3412
X_QUAD_HIGHWORD = 1
X_QUAD_LOWWORD = 0
X_SA_FAMILY_T_DECLARED = 0
X_SIZE_T_DECLARED = 0
X_SOCKLEN_T_DECLARED = 0
X_SS_MAXSIZE = 128
X_STRUCT_IN_ADDR_DECLARED = 0
X_SYS_CDEFS_H_ = 0
X_SYS__ENDIAN_H_ = 0
X_SYS__SOCKADDR_STORAGE_H_ = 0
X_SYS__TYPES_H_ = 0
X_UINT16_T_DECLARED = 0
X_UINT32_T_DECLARED = 0
X_UINT8_T_DECLARED = 0
I386 = 1
Unix = 1
BIG_ENDIAN = 4321 // _endian.h:70:1:
BYTE_ORDER = 1234 // _endian.h:72:1:
ICMP6_FILTER = 18 // in6.h:420:1:
ICMPV6CTL_ND6_ONLINKNSRFC4861 = 47 // in6.h:638:1:
INET6_ADDRSTRLEN = 46 // in6.h:112:1:
INET_ADDRSTRLEN = 16 // in.h:130:1:
IN_CLASSA_HOST = 0x00ffffff // in.h:357:1:
IN_CLASSA_MAX = 128 // in.h:358:1:
IN_CLASSA_NET = 0xff000000 // in.h:355:1:
IN_CLASSA_NSHIFT = 24 // in.h:356:1:
IN_CLASSB_HOST = 0x0000ffff // in.h:363:1:
IN_CLASSB_MAX = 65536 // in.h:364:1:
IN_CLASSB_NET = 0xffff0000 // in.h:361:1:
IN_CLASSB_NSHIFT = 16 // in.h:362:1:
IN_CLASSC_HOST = 0x000000ff // in.h:369:1:
IN_CLASSC_NET = 0xffffff00 // in.h:367:1:
IN_CLASSC_NSHIFT = 8 // in.h:368:1:
IN_CLASSD_HOST = 0x0fffffff // in.h:379:1:
IN_CLASSD_NET = 0xf0000000 // in.h:377:1:
IN_CLASSD_NSHIFT = 28 // in.h:378:1:
IN_HISTORICAL_NETS = 0 // in.h:351:1:
IN_LOOPBACKNET = 127 // in.h:412:1:
IN_NETMASK_DEFAULT = 0xffffff00 // in.h:372:1:
IPCTL_ACCEPTSOURCEROUTE = 13 // in.h:646:1:
IPCTL_DEFTTL = 3 // in.h:634:1:
IPCTL_DIRECTEDBROADCAST = 9 // in.h:642:1:
IPCTL_FASTFORWARDING = 14 // in.h:647:1:
IPCTL_FORWARDING = 1 // in.h:632:1:
IPCTL_GIF_TTL = 16 // in.h:649:1:
IPCTL_INTRDQDROPS = 18 // in.h:651:1:
IPCTL_INTRDQMAXLEN = 17 // in.h:650:1:
IPCTL_INTRQDROPS = 11 // in.h:644:1:
IPCTL_INTRQMAXLEN = 10 // in.h:643:1:
IPCTL_SENDREDIRECTS = 2 // in.h:633:1:
IPCTL_SOURCEROUTE = 8 // in.h:641:1:
IPCTL_STATS = 12 // in.h:645:1:
IPPORT_EPHEMERALFIRST = 10000 // in.h:325:1:
IPPORT_EPHEMERALLAST = 65535 // in.h:326:1:
IPPORT_HIFIRSTAUTO = 49152 // in.h:331:1:
IPPORT_HILASTAUTO = 65535 // in.h:332:1:
IPPORT_MAX = 65535 // in.h:342:1:
IPPORT_RESERVED = 1024 // in.h:320:1:
IPPORT_RESERVEDSTART = 600 // in.h:340:1:
IPPROTO_3PC = 34 // in.h:173:1:
IPPROTO_ADFS = 68 // in.h:206:1:
IPPROTO_AH = 51 // in.h:189:1:
IPPROTO_AHIP = 61 // in.h:199:1:
IPPROTO_APES = 99 // in.h:237:1:
IPPROTO_ARGUS = 13 // in.h:153:1:
IPPROTO_AX25 = 93 // in.h:231:1:
IPPROTO_BHA = 49 // in.h:187:1:
IPPROTO_BLT = 30 // in.h:169:1:
IPPROTO_BRSATMON = 76 // in.h:214:1:
IPPROTO_CARP = 112 // in.h:247:1:
IPPROTO_CFTP = 62 // in.h:200:1:
IPPROTO_CHAOS = 16 // in.h:156:1:
IPPROTO_CMTP = 38 // in.h:177:1:
IPPROTO_CPHB = 73 // in.h:211:1:
IPPROTO_CPNX = 72 // in.h:210:1:
IPPROTO_DCCP = 33 // in.h:172:1:
IPPROTO_DDP = 37 // in.h:176:1:
IPPROTO_DGP = 86 // in.h:224:1:
IPPROTO_DIVERT = 258 // in.h:262:1:
IPPROTO_DONE = 257 // in.h:259:1:
IPPROTO_DSTOPTS = 60 // in.h:198:1:
IPPROTO_EGP = 8 // in.h:148:1:
IPPROTO_EMCON = 14 // in.h:154:1:
IPPROTO_ENCAP = 98 // in.h:236:1:
IPPROTO_EON = 80 // in.h:218:1:
IPPROTO_ESP = 50 // in.h:188:1:
IPPROTO_ETHERIP = 97 // in.h:235:1:
IPPROTO_FRAGMENT = 44 // in.h:182:1:
IPPROTO_GGP = 3 // in.h:144:1:
IPPROTO_GMTP = 100 // in.h:238:1:
IPPROTO_GRE = 47 // in.h:185:1:
IPPROTO_HELLO = 63 // in.h:201:1:
IPPROTO_HIP = 139 // in.h:243:1:
IPPROTO_HMP = 20 // in.h:159:1:
IPPROTO_HOPOPTS = 0 // in.h:142:1:
IPPROTO_ICMP = 1 // in.h:44:1:
IPPROTO_ICMPV6 = 58 // in.h:196:1:
IPPROTO_IDP = 22 // in.h:161:1:
IPPROTO_IDPR = 35 // in.h:174:1:
IPPROTO_IDRP = 45 // in.h:183:1:
IPPROTO_IGMP = 2 // in.h:143:1:
IPPROTO_IGP = 85 // in.h:223:1:
IPPROTO_IGRP = 88 // in.h:226:1:
IPPROTO_IL = 40 // in.h:179:1:
IPPROTO_INLSP = 52 // in.h:190:1:
IPPROTO_INP = 32 // in.h:171:1:
IPPROTO_IP = 0 // in.h:43:1:
IPPROTO_IPCOMP = 108 // in.h:239:1:
IPPROTO_IPCV = 71 // in.h:209:1:
IPPROTO_IPEIP = 94 // in.h:232:1:
IPPROTO_IPIP = 4 // in.h:146:1:
IPPROTO_IPPC = 67 // in.h:205:1:
IPPROTO_IPV4 = 4 // in.h:145:1:
IPPROTO_IPV6 = 41 // in.h:128:1:
IPPROTO_IRTP = 28 // in.h:167:1:
IPPROTO_KRYPTOLAN = 65 // in.h:203:1:
IPPROTO_LARP = 91 // in.h:229:1:
IPPROTO_LEAF1 = 25 // in.h:164:1:
IPPROTO_LEAF2 = 26 // in.h:165:1:
IPPROTO_MAX = 256 // in.h:256:1:
IPPROTO_MEAS = 19 // in.h:158:1:
IPPROTO_MH = 135 // in.h:241:1:
IPPROTO_MHRP = 48 // in.h:186:1:
IPPROTO_MICP = 95 // in.h:233:1:
IPPROTO_MOBILE = 55 // in.h:193:1:
IPPROTO_MPLS = 137 // in.h:249:1:
IPPROTO_MTP = 92 // in.h:230:1:
IPPROTO_MUX = 18 // in.h:157:1:
IPPROTO_ND = 77 // in.h:215:1:
IPPROTO_NHRP = 54 // in.h:192:1:
IPPROTO_NONE = 59 // in.h:197:1:
IPPROTO_NSP = 31 // in.h:170:1:
IPPROTO_NVPII = 11 // in.h:151:1:
IPPROTO_OLD_DIVERT = 254 // in.h:255:1:
IPPROTO_OSPFIGP = 89 // in.h:227:1:
IPPROTO_PFSYNC = 240 // in.h:250:1:
IPPROTO_PGM = 113 // in.h:248:1:
IPPROTO_PIGP = 9 // in.h:149:1:
IPPROTO_PIM = 103 // in.h:246:1:
IPPROTO_PRM = 21 // in.h:160:1:
IPPROTO_PUP = 12 // in.h:152:1:
IPPROTO_PVP = 75 // in.h:213:1:
IPPROTO_RAW = 255 // in.h:129:1:
IPPROTO_RCCMON = 10 // in.h:150:1:
IPPROTO_RDP = 27 // in.h:166:1:
IPPROTO_RESERVED_253 = 253 // in.h:251:1:
IPPROTO_RESERVED_254 = 254 // in.h:252:1:
IPPROTO_ROUTING = 43 // in.h:181:1:
IPPROTO_RSVP = 46 // in.h:184:1:
IPPROTO_RVD = 66 // in.h:204:1:
IPPROTO_SATEXPAK = 64 // in.h:202:1:
IPPROTO_SATMON = 69 // in.h:207:1:
IPPROTO_SCCSP = 96 // in.h:234:1:
IPPROTO_SCTP = 132 // in.h:240:1:
IPPROTO_SDRP = 42 // in.h:180:1:
IPPROTO_SEND = 259 // in.h:263:1:
IPPROTO_SHIM6 = 140 // in.h:244:1:
IPPROTO_SKIP = 57 // in.h:195:1:
IPPROTO_SPACER = 32767 // in.h:269:1:
IPPROTO_SRPC = 90 // in.h:228:1:
IPPROTO_ST = 7 // in.h:147:1:
IPPROTO_SVMTP = 82 // in.h:220:1:
IPPROTO_SWIPE = 53 // in.h:191:1:
IPPROTO_TCF = 87 // in.h:225:1:
IPPROTO_TCP = 6 // in.h:45:1:
IPPROTO_TLSP = 56 // in.h:194:1:
IPPROTO_TP = 29 // in.h:168:1:
IPPROTO_TPXX = 39 // in.h:178:1:
IPPROTO_TRUNK1 = 23 // in.h:162:1:
IPPROTO_TRUNK2 = 24 // in.h:163:1:
IPPROTO_TTP = 84 // in.h:222:1:
IPPROTO_UDP = 17 // in.h:46:1:
IPPROTO_UDPLITE = 136 // in.h:242:1:
IPPROTO_VINES = 83 // in.h:221:1:
IPPROTO_VISA = 70 // in.h:208:1:
IPPROTO_VMTP = 81 // in.h:219:1:
IPPROTO_WBEXPAK = 79 // in.h:217:1:
IPPROTO_WBMON = 78 // in.h:216:1:
IPPROTO_WSN = 74 // in.h:212:1:
IPPROTO_XNET = 15 // in.h:155:1:
IPPROTO_XTP = 36 // in.h:175:1:
IPV6CTL_ACCEPT_RTADV = 12 // in6.h:599:1:
IPV6CTL_ADDRCTLPOLICY = 38 // in6.h:624:1:
IPV6CTL_AUTO_FLOWLABEL = 17 // in6.h:604:1:
IPV6CTL_AUTO_LINKLOCAL = 35 // in6.h:621:1:
IPV6CTL_DAD_COUNT = 16 // in6.h:603:1:
IPV6CTL_DEFHLIM = 3 // in6.h:588:1:
IPV6CTL_DEFMCASTHLIM = 18 // in6.h:605:1:
IPV6CTL_FORWARDING = 1 // in6.h:586:1:
IPV6CTL_FORWSRCRT = 5 // in6.h:592:1:
IPV6CTL_GIF_HLIM = 19 // in6.h:606:1:
IPV6CTL_HDRNESTLIMIT = 15 // in6.h:602:1:
IPV6CTL_INTRDQMAXLEN = 52 // in6.h:645:1:
IPV6CTL_INTRQMAXLEN = 51 // in6.h:644:1:
IPV6CTL_KAME_VERSION = 20 // in6.h:607:1:
IPV6CTL_LOG_INTERVAL = 14 // in6.h:601:1:
IPV6CTL_MAXFRAGBUCKETSIZE = 54 // in6.h:648:1:
IPV6CTL_MAXFRAGPACKETS = 9 // in6.h:596:1:
IPV6CTL_MAXFRAGS = 41 // in6.h:627:1:
IPV6CTL_MAXFRAGSPERPACKET = 53 // in6.h:647:1:
IPV6CTL_MAXID = 55 // in6.h:649:1:
IPV6CTL_MCAST_PMTU = 44 // in6.h:632:1:
IPV6CTL_MRTPROTO = 8 // in6.h:595:1:
IPV6CTL_MRTSTATS = 7 // in6.h:594:1:
IPV6CTL_NORBIT_RAIF = 49 // in6.h:640:1:
IPV6CTL_NO_RADR = 48 // in6.h:639:1:
IPV6CTL_PREFER_TEMPADDR = 37 // in6.h:623:1:
IPV6CTL_RFC6204W3 = 50 // in6.h:642:1:
IPV6CTL_RIP6STATS = 36 // in6.h:622:1:
IPV6CTL_RR_PRUNE = 22 // in6.h:609:1:
IPV6CTL_SENDREDIRECTS = 2 // in6.h:587:1:
IPV6CTL_SOURCECHECK = 10 // in6.h:597:1:
IPV6CTL_SOURCECHECK_LOGINT = 11 // in6.h:598:1:
IPV6CTL_STATS = 6 // in6.h:593:1:
IPV6CTL_STEALTH = 45 // in6.h:636:1:
IPV6CTL_TEMPPLTIME = 33 // in6.h:619:1:
IPV6CTL_TEMPVLTIME = 34 // in6.h:620:1:
IPV6CTL_USETEMPADDR = 32 // in6.h:618:1:
IPV6CTL_USE_DEFAULTZONE = 39 // in6.h:625:1:
IPV6CTL_USE_DEPRECATED = 21 // in6.h:608:1:
IPV6CTL_V6ONLY = 24 // in6.h:613:1:
IPV6PORT_ANONMAX = 65535 // in6.h:89:1:
IPV6PORT_ANONMIN = 49152 // in6.h:88:1:
IPV6PORT_RESERVED = 1024 // in6.h:87:1:
IPV6PORT_RESERVEDMAX = 1023 // in6.h:91:1:
IPV6PORT_RESERVEDMIN = 600 // in6.h:90:1:
IPV6PROTO_MAXID = 104 // in6.h:581:1:
IPV6_AUTOFLOWLABEL = 59 // in6.h:484:1:
IPV6_BINDANY = 64 // in6.h:493:1:
IPV6_BINDMULTI = 65 // in6.h:495:1:
IPV6_BINDV6ONLY = 27 // in6.h:435:1:
IPV6_CHECKSUM = 26 // in6.h:432:1:
IPV6_DEFAULT_MULTICAST_HOPS = 1 // in6.h:527:1:
IPV6_DEFAULT_MULTICAST_LOOP = 1 // in6.h:528:1:
IPV6_DONTFRAG = 62 // in6.h:487:1:
IPV6_DSTOPTS = 50 // in6.h:475:1:
IPV6_FLOWID = 67 // in6.h:497:1:
IPV6_FLOWTYPE = 68 // in6.h:498:1:
IPV6_FW_ADD = 30 // in6.h:441:1:
IPV6_FW_DEL = 31 // in6.h:442:1:
IPV6_FW_FLUSH = 32 // in6.h:443:1:
IPV6_FW_GET = 34 // in6.h:445:1:
IPV6_FW_ZERO = 33 // in6.h:444:1:
IPV6_HOPLIMIT = 47 // in6.h:472:1:
IPV6_HOPOPTS = 49 // in6.h:474:1:
IPV6_IPSEC_POLICY = 28 // in6.h:438:1:
IPV6_JOIN_GROUP = 12 // in6.h:417:1:
IPV6_LEAVE_GROUP = 13 // in6.h:418:1:
IPV6_MAX_GROUP_SRC_FILTER = 512 // in6.h:539:1:
IPV6_MAX_MEMBERSHIPS = 4095 // in6.h:533:1:
IPV6_MAX_SOCK_SRC_FILTER = 128 // in6.h:540:1:
IPV6_MSFILTER = 74 // in6.h:510:1:
IPV6_MULTICAST_HOPS = 10 // in6.h:415:1:
IPV6_MULTICAST_IF = 9 // in6.h:414:1:
IPV6_MULTICAST_LOOP = 11 // in6.h:416:1:
IPV6_NEXTHOP = 48 // in6.h:473:1:
IPV6_ORIGDSTADDR = 72 // in6.h:503:1:
IPV6_PATHMTU = 44 // in6.h:463:1:
IPV6_PKTINFO = 46 // in6.h:471:1:
IPV6_PORTRANGE = 14 // in6.h:419:1:
IPV6_PORTRANGE_DEFAULT = 0 // in6.h:570:1:
IPV6_PORTRANGE_HIGH = 1 // in6.h:571:1:
IPV6_PORTRANGE_LOW = 2 // in6.h:572:1:
IPV6_PREFER_TEMPADDR = 63 // in6.h:489:1:
IPV6_RECVDSTOPTS = 40 // in6.h:455:1:
IPV6_RECVFLOWID = 70 // in6.h:500:1:
IPV6_RECVHOPLIMIT = 37 // in6.h:452:1:
IPV6_RECVHOPOPTS = 39 // in6.h:454:1:
IPV6_RECVORIGDSTADDR = 72 // in6.h:504:1:
IPV6_RECVPATHMTU = 43 // in6.h:461:1:
IPV6_RECVPKTINFO = 36 // in6.h:451:1:
IPV6_RECVRSSBUCKETID = 71 // in6.h:501:1:
IPV6_RECVRTHDR = 38 // in6.h:453:1:
IPV6_RECVTCLASS = 57 // in6.h:482:1:
IPV6_RSSBUCKETID = 69 // in6.h:499:1:
IPV6_RSS_LISTEN_BUCKET = 66 // in6.h:496:1:
IPV6_RTHDR = 51 // in6.h:476:1:
IPV6_RTHDRDSTOPTS = 35 // in6.h:449:1:
IPV6_RTHDR_LOOSE = 0 // in6.h:520:1:
IPV6_RTHDR_STRICT = 1 // in6.h:521:1:
IPV6_RTHDR_TYPE_0 = 0 // in6.h:522:1:
IPV6_SOCKOPT_RESERVED1 = 3 // in6.h:412:1:
IPV6_TCLASS = 61 // in6.h:486:1:
IPV6_UNICAST_HOPS = 4 // in6.h:413:1:
IPV6_USE_MIN_MTU = 42 // in6.h:460:1:
IPV6_V6ONLY = 27 // in6.h:433:1:
IPV6_VLAN_PCP = 75 // in6.h:515:1:
IP_ADD_MEMBERSHIP = 12 // in.h:434:1:
IP_ADD_SOURCE_MEMBERSHIP = 70 // in.h:490:1:
IP_BINDANY = 24 // in.h:447:1:
IP_BINDMULTI = 25 // in.h:448:1:
IP_BLOCK_SOURCE = 72 // in.h:492:1:
IP_DEFAULT_MULTICAST_LOOP = 1 // in.h:521:1:
IP_DEFAULT_MULTICAST_TTL = 1 // in.h:520:1:
IP_DONTFRAG = 67 // in.h:486:1:
IP_DROP_MEMBERSHIP = 13 // in.h:435:1:
IP_DROP_SOURCE_MEMBERSHIP = 71 // in.h:491:1:
IP_DUMMYNET3 = 49 // in.h:465:1:
IP_DUMMYNET_CONFIGURE = 60 // in.h:479:1:
IP_DUMMYNET_DEL = 61 // in.h:480:1:
IP_DUMMYNET_FLUSH = 62 // in.h:481:1:
IP_DUMMYNET_GET = 64 // in.h:482:1:
IP_FLOWID = 90 // in.h:511:1:
IP_FLOWTYPE = 91 // in.h:512:1:
IP_FW3 = 48 // in.h:464:1:
IP_FW_ADD = 50 // in.h:467:1:
IP_FW_DEL = 51 // in.h:468:1:
IP_FW_FLUSH = 52 // in.h:469:1:
IP_FW_GET = 54 // in.h:471:1:
IP_FW_NAT_CFG = 56 // in.h:474:1:
IP_FW_NAT_DEL = 57 // in.h:475:1:
IP_FW_NAT_GET_CONFIG = 58 // in.h:476:1:
IP_FW_NAT_GET_LOG = 59 // in.h:477:1:
IP_FW_RESETLOG = 55 // in.h:472:1:
IP_FW_TABLE_ADD = 40 // in.h:458:1:
IP_FW_TABLE_DEL = 41 // in.h:459:1:
IP_FW_TABLE_FLUSH = 42 // in.h:460:1:
IP_FW_TABLE_GETSIZE = 43 // in.h:461:1:
IP_FW_TABLE_LIST = 44 // in.h:462:1:
IP_FW_ZERO = 53 // in.h:470:1:
IP_HDRINCL = 2 // in.h:422:1:
IP_IPSEC_POLICY = 21 // in.h:444:1:
IP_MAX_GROUP_SRC_FILTER = 512 // in.h:532:1:
IP_MAX_MEMBERSHIPS = 4095 // in.h:526:1:
IP_MAX_SOCK_MUTE_FILTER = 128 // in.h:534:1:
IP_MAX_SOCK_SRC_FILTER = 128 // in.h:533:1:
IP_MINTTL = 66 // in.h:485:1:
IP_MSFILTER = 74 // in.h:496:1:
IP_MULTICAST_IF = 9 // in.h:430:1:
IP_MULTICAST_LOOP = 11 // in.h:433:1:
IP_MULTICAST_TTL = 10 // in.h:432:1:
IP_MULTICAST_VIF = 14 // in.h:436:1:
IP_ONESBCAST = 23 // in.h:446:1:
IP_OPTIONS = 1 // in.h:421:1:
IP_ORIGDSTADDR = 27 // in.h:450:1:
IP_PORTRANGE = 19 // in.h:441:1:
IP_PORTRANGE_DEFAULT = 0 // in.h:625:1:
IP_PORTRANGE_HIGH = 1 // in.h:626:1:
IP_PORTRANGE_LOW = 2 // in.h:627:1:
IP_RECVDSTADDR = 7 // in.h:427:1:
IP_RECVFLOWID = 93 // in.h:514:1:
IP_RECVIF = 20 // in.h:442:1:
IP_RECVOPTS = 5 // in.h:425:1:
IP_RECVORIGDSTADDR = 27 // in.h:451:1:
IP_RECVRETOPTS = 6 // in.h:426:1:
IP_RECVRSSBUCKETID = 94 // in.h:515:1:
IP_RECVTOS = 68 // in.h:487:1:
IP_RECVTTL = 65 // in.h:484:1:
IP_RETOPTS = 8 // in.h:429:1:
IP_RSSBUCKETID = 92 // in.h:513:1:
IP_RSS_LISTEN_BUCKET = 26 // in.h:449:1:
IP_RSVP_OFF = 16 // in.h:438:1:
IP_RSVP_ON = 15 // in.h:437:1:
IP_RSVP_VIF_OFF = 18 // in.h:440:1:
IP_RSVP_VIF_ON = 17 // in.h:439:1:
IP_SENDSRCADDR = 7 // in.h:428:1:
IP_TOS = 3 // in.h:423:1:
IP_TTL = 4 // in.h:424:1:
IP_UNBLOCK_SOURCE = 73 // in.h:493:1:
IP_VLAN_PCP = 75 // in.h:499:1:
LITTLE_ENDIAN = 1234 // _endian.h:69:1:
MCAST_BLOCK_SOURCE = 84 // in.h:507:1:
MCAST_EXCLUDE = 2 // in.h:619:1:
MCAST_INCLUDE = 1 // in.h:618:1:
MCAST_JOIN_GROUP = 80 // in.h:503:1:
MCAST_JOIN_SOURCE_GROUP = 82 // in.h:505:1:
MCAST_LEAVE_GROUP = 81 // in.h:504:1:
MCAST_LEAVE_SOURCE_GROUP = 83 // in.h:506:1:
MCAST_UNBLOCK_SOURCE = 85 // in.h:508:1:
MCAST_UNDEFINED = 0 // in.h:617:1:
PDP_ENDIAN = 3412 // _endian.h:71:1:
SIN6_LEN = 0 // in6.h:122:1:
X_BIG_ENDIAN = 4321 // _endian.h:47:1:
X_BYTEORDER_FUNC_DEFINED = 0 // in.h:118:1:
X_BYTEORDER_PROTOTYPED = 0 // in.h:108:1:
X_BYTE_ORDER = 1234 // _endian.h:40:1:
X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
X_ILP32 = 1 // <predefined>:1:1:
X_IN_ADDR_T_DECLARED = 0 // in.h:68:1:
X_IN_PORT_T_DECLARED = 0 // in.h:73:1:
X_LITTLE_ENDIAN = 1234 // _endian.h:46:1:
X_MACHINE_ENDIAN_H_ = 0 // endian.h:36:1:
X_MACHINE__LIMITS_H_ = 0 // _limits.h:36:1:
X_MACHINE__TYPES_H_ = 0 // _types.h:42:1:
X_NETINET6_IN6_H_ = 0 // in6.h:71:1:
X_NETINET_IN_H_ = 0 // in.h:36:1:
X_Nonnull = 0 // cdefs.h:790:1:
X_Null_unspecified = 0 // cdefs.h:792:1:
X_Nullable = 0 // cdefs.h:791:1:
X_PDP_ENDIAN = 3412 // _endian.h:48:1:
X_QUAD_HIGHWORD = 1 // _endian.h:55:1:
X_QUAD_LOWWORD = 0 // _endian.h:56:1:
X_SA_FAMILY_T_DECLARED = 0 // in.h:78:1:
X_SIZE_T_DECLARED = 0 // in6.h:701:1:
X_SOCKLEN_T_DECLARED = 0 // in.h:91:1:
X_SS_MAXSIZE = 128 // _sockaddr_storage.h:41:1:
X_STRUCT_IN_ADDR_DECLARED = 0 // in.h:86:1:
X_SYS_CDEFS_H_ = 0 // cdefs.h:39:1:
X_SYS__ENDIAN_H_ = 0 // _endian.h:33:1:
X_SYS__SOCKADDR_STORAGE_H_ = 0 // _sockaddr_storage.h:36:1:
X_SYS__TYPES_H_ = 0 // _types.h:32:1:
X_UINT16_T_DECLARED = 0 // in.h:58:1:
X_UINT32_T_DECLARED = 0 // in.h:63:1:
X_UINT8_T_DECLARED = 0 // in.h:53:1:
I386 = 1 // <predefined>:335:1:
Unix = 1 // <predefined>:336:1:
)
type Ptrdiff_t = int32 /* <builtin>:3:26 */
+387 -387
View File
@@ -1,4 +1,4 @@
// Code generated by 'ccgo netinet/in/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o netinet/in/in_freebsd_amd64.go -pkgname in', DO NOT EDIT.
// Code generated by 'ccgo netinet/in/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o netinet/in/in_freebsd_amd64.go -pkgname in', DO NOT EDIT.
package in
@@ -15,392 +15,392 @@ var _ atomic.Value
var _ unsafe.Pointer
const (
BIG_ENDIAN = 4321
BYTE_ORDER = 1234
ICMP6_FILTER = 18
ICMPV6CTL_ND6_ONLINKNSRFC4861 = 47
INET6_ADDRSTRLEN = 46
INET_ADDRSTRLEN = 16
IN_CLASSA_HOST = 0x00ffffff
IN_CLASSA_MAX = 128
IN_CLASSA_NET = 0xff000000
IN_CLASSA_NSHIFT = 24
IN_CLASSB_HOST = 0x0000ffff
IN_CLASSB_MAX = 65536
IN_CLASSB_NET = 0xffff0000
IN_CLASSB_NSHIFT = 16
IN_CLASSC_HOST = 0x000000ff
IN_CLASSC_NET = 0xffffff00
IN_CLASSC_NSHIFT = 8
IN_CLASSD_HOST = 0x0fffffff
IN_CLASSD_NET = 0xf0000000
IN_CLASSD_NSHIFT = 28
IN_LOOPBACKNET = 127
IPCTL_ACCEPTSOURCEROUTE = 13
IPCTL_DEFTTL = 3
IPCTL_DIRECTEDBROADCAST = 9
IPCTL_FASTFORWARDING = 14
IPCTL_FORWARDING = 1
IPCTL_GIF_TTL = 16
IPCTL_INTRDQDROPS = 18
IPCTL_INTRDQMAXLEN = 17
IPCTL_INTRQDROPS = 11
IPCTL_INTRQMAXLEN = 10
IPCTL_SENDREDIRECTS = 2
IPCTL_SOURCEROUTE = 8
IPCTL_STATS = 12
IPPORT_EPHEMERALFIRST = 10000
IPPORT_EPHEMERALLAST = 65535
IPPORT_HIFIRSTAUTO = 49152
IPPORT_HILASTAUTO = 65535
IPPORT_MAX = 65535
IPPORT_RESERVED = 1024
IPPORT_RESERVEDSTART = 600
IPPROTO_3PC = 34
IPPROTO_ADFS = 68
IPPROTO_AH = 51
IPPROTO_AHIP = 61
IPPROTO_APES = 99
IPPROTO_ARGUS = 13
IPPROTO_AX25 = 93
IPPROTO_BHA = 49
IPPROTO_BLT = 30
IPPROTO_BRSATMON = 76
IPPROTO_CARP = 112
IPPROTO_CFTP = 62
IPPROTO_CHAOS = 16
IPPROTO_CMTP = 38
IPPROTO_CPHB = 73
IPPROTO_CPNX = 72
IPPROTO_DCCP = 33
IPPROTO_DDP = 37
IPPROTO_DGP = 86
IPPROTO_DIVERT = 258
IPPROTO_DONE = 257
IPPROTO_DSTOPTS = 60
IPPROTO_EGP = 8
IPPROTO_EMCON = 14
IPPROTO_ENCAP = 98
IPPROTO_EON = 80
IPPROTO_ESP = 50
IPPROTO_ETHERIP = 97
IPPROTO_FRAGMENT = 44
IPPROTO_GGP = 3
IPPROTO_GMTP = 100
IPPROTO_GRE = 47
IPPROTO_HELLO = 63
IPPROTO_HIP = 139
IPPROTO_HMP = 20
IPPROTO_HOPOPTS = 0
IPPROTO_ICMP = 1
IPPROTO_ICMPV6 = 58
IPPROTO_IDP = 22
IPPROTO_IDPR = 35
IPPROTO_IDRP = 45
IPPROTO_IGMP = 2
IPPROTO_IGP = 85
IPPROTO_IGRP = 88
IPPROTO_IL = 40
IPPROTO_INLSP = 52
IPPROTO_INP = 32
IPPROTO_IP = 0
IPPROTO_IPCOMP = 108
IPPROTO_IPCV = 71
IPPROTO_IPEIP = 94
IPPROTO_IPIP = 4
IPPROTO_IPPC = 67
IPPROTO_IPV4 = 4
IPPROTO_IPV6 = 41
IPPROTO_IRTP = 28
IPPROTO_KRYPTOLAN = 65
IPPROTO_LARP = 91
IPPROTO_LEAF1 = 25
IPPROTO_LEAF2 = 26
IPPROTO_MAX = 256
IPPROTO_MEAS = 19
IPPROTO_MH = 135
IPPROTO_MHRP = 48
IPPROTO_MICP = 95
IPPROTO_MOBILE = 55
IPPROTO_MPLS = 137
IPPROTO_MTP = 92
IPPROTO_MUX = 18
IPPROTO_ND = 77
IPPROTO_NHRP = 54
IPPROTO_NONE = 59
IPPROTO_NSP = 31
IPPROTO_NVPII = 11
IPPROTO_OLD_DIVERT = 254
IPPROTO_OSPFIGP = 89
IPPROTO_PFSYNC = 240
IPPROTO_PGM = 113
IPPROTO_PIGP = 9
IPPROTO_PIM = 103
IPPROTO_PRM = 21
IPPROTO_PUP = 12
IPPROTO_PVP = 75
IPPROTO_RAW = 255
IPPROTO_RCCMON = 10
IPPROTO_RDP = 27
IPPROTO_RESERVED_253 = 253
IPPROTO_RESERVED_254 = 254
IPPROTO_ROUTING = 43
IPPROTO_RSVP = 46
IPPROTO_RVD = 66
IPPROTO_SATEXPAK = 64
IPPROTO_SATMON = 69
IPPROTO_SCCSP = 96
IPPROTO_SCTP = 132
IPPROTO_SDRP = 42
IPPROTO_SEND = 259
IPPROTO_SHIM6 = 140
IPPROTO_SKIP = 57
IPPROTO_SPACER = 32767
IPPROTO_SRPC = 90
IPPROTO_ST = 7
IPPROTO_SVMTP = 82
IPPROTO_SWIPE = 53
IPPROTO_TCF = 87
IPPROTO_TCP = 6
IPPROTO_TLSP = 56
IPPROTO_TP = 29
IPPROTO_TPXX = 39
IPPROTO_TRUNK1 = 23
IPPROTO_TRUNK2 = 24
IPPROTO_TTP = 84
IPPROTO_UDP = 17
IPPROTO_UDPLITE = 136
IPPROTO_VINES = 83
IPPROTO_VISA = 70
IPPROTO_VMTP = 81
IPPROTO_WBEXPAK = 79
IPPROTO_WBMON = 78
IPPROTO_WSN = 74
IPPROTO_XNET = 15
IPPROTO_XTP = 36
IPV6CTL_ACCEPT_RTADV = 12
IPV6CTL_ADDRCTLPOLICY = 38
IPV6CTL_AUTO_FLOWLABEL = 17
IPV6CTL_AUTO_LINKLOCAL = 35
IPV6CTL_DAD_COUNT = 16
IPV6CTL_DEFHLIM = 3
IPV6CTL_DEFMCASTHLIM = 18
IPV6CTL_FORWARDING = 1
IPV6CTL_FORWSRCRT = 5
IPV6CTL_GIF_HLIM = 19
IPV6CTL_HDRNESTLIMIT = 15
IPV6CTL_INTRDQMAXLEN = 52
IPV6CTL_INTRQMAXLEN = 51
IPV6CTL_KAME_VERSION = 20
IPV6CTL_LOG_INTERVAL = 14
IPV6CTL_MAXFRAGBUCKETSIZE = 54
IPV6CTL_MAXFRAGPACKETS = 9
IPV6CTL_MAXFRAGS = 41
IPV6CTL_MAXFRAGSPERPACKET = 53
IPV6CTL_MAXID = 55
IPV6CTL_MCAST_PMTU = 44
IPV6CTL_MRTPROTO = 8
IPV6CTL_MRTSTATS = 7
IPV6CTL_NORBIT_RAIF = 49
IPV6CTL_NO_RADR = 48
IPV6CTL_PREFER_TEMPADDR = 37
IPV6CTL_RFC6204W3 = 50
IPV6CTL_RIP6STATS = 36
IPV6CTL_RR_PRUNE = 22
IPV6CTL_SENDREDIRECTS = 2
IPV6CTL_SOURCECHECK = 10
IPV6CTL_SOURCECHECK_LOGINT = 11
IPV6CTL_STATS = 6
IPV6CTL_STEALTH = 45
IPV6CTL_TEMPPLTIME = 33
IPV6CTL_TEMPVLTIME = 34
IPV6CTL_USETEMPADDR = 32
IPV6CTL_USE_DEFAULTZONE = 39
IPV6CTL_USE_DEPRECATED = 21
IPV6CTL_V6ONLY = 24
IPV6PORT_ANONMAX = 65535
IPV6PORT_ANONMIN = 49152
IPV6PORT_RESERVED = 1024
IPV6PORT_RESERVEDMAX = 1023
IPV6PORT_RESERVEDMIN = 600
IPV6PROTO_MAXID = 104
IPV6_AUTOFLOWLABEL = 59
IPV6_BINDANY = 64
IPV6_BINDMULTI = 65
IPV6_BINDV6ONLY = 27
IPV6_CHECKSUM = 26
IPV6_DEFAULT_MULTICAST_HOPS = 1
IPV6_DEFAULT_MULTICAST_LOOP = 1
IPV6_DONTFRAG = 62
IPV6_DSTOPTS = 50
IPV6_FLOWID = 67
IPV6_FLOWTYPE = 68
IPV6_FW_ADD = 30
IPV6_FW_DEL = 31
IPV6_FW_FLUSH = 32
IPV6_FW_GET = 34
IPV6_FW_ZERO = 33
IPV6_HOPLIMIT = 47
IPV6_HOPOPTS = 49
IPV6_IPSEC_POLICY = 28
IPV6_JOIN_GROUP = 12
IPV6_LEAVE_GROUP = 13
IPV6_MAX_GROUP_SRC_FILTER = 512
IPV6_MAX_MEMBERSHIPS = 4095
IPV6_MAX_SOCK_SRC_FILTER = 128
IPV6_MSFILTER = 74
IPV6_MULTICAST_HOPS = 10
IPV6_MULTICAST_IF = 9
IPV6_MULTICAST_LOOP = 11
IPV6_NEXTHOP = 48
IPV6_ORIGDSTADDR = 72
IPV6_PATHMTU = 44
IPV6_PKTINFO = 46
IPV6_PORTRANGE = 14
IPV6_PORTRANGE_DEFAULT = 0
IPV6_PORTRANGE_HIGH = 1
IPV6_PORTRANGE_LOW = 2
IPV6_PREFER_TEMPADDR = 63
IPV6_RECVDSTOPTS = 40
IPV6_RECVFLOWID = 70
IPV6_RECVHOPLIMIT = 37
IPV6_RECVHOPOPTS = 39
IPV6_RECVORIGDSTADDR = 72
IPV6_RECVPATHMTU = 43
IPV6_RECVPKTINFO = 36
IPV6_RECVRSSBUCKETID = 71
IPV6_RECVRTHDR = 38
IPV6_RECVTCLASS = 57
IPV6_RSSBUCKETID = 69
IPV6_RSS_LISTEN_BUCKET = 66
IPV6_RTHDR = 51
IPV6_RTHDRDSTOPTS = 35
IPV6_RTHDR_LOOSE = 0
IPV6_RTHDR_STRICT = 1
IPV6_RTHDR_TYPE_0 = 0
IPV6_SOCKOPT_RESERVED1 = 3
IPV6_TCLASS = 61
IPV6_UNICAST_HOPS = 4
IPV6_USE_MIN_MTU = 42
IPV6_V6ONLY = 27
IPV6_VLAN_PCP = 75
IP_ADD_MEMBERSHIP = 12
IP_ADD_SOURCE_MEMBERSHIP = 70
IP_BINDANY = 24
IP_BINDMULTI = 25
IP_BLOCK_SOURCE = 72
IP_DEFAULT_MULTICAST_LOOP = 1
IP_DEFAULT_MULTICAST_TTL = 1
IP_DONTFRAG = 67
IP_DROP_MEMBERSHIP = 13
IP_DROP_SOURCE_MEMBERSHIP = 71
IP_DUMMYNET3 = 49
IP_DUMMYNET_CONFIGURE = 60
IP_DUMMYNET_DEL = 61
IP_DUMMYNET_FLUSH = 62
IP_DUMMYNET_GET = 64
IP_FLOWID = 90
IP_FLOWTYPE = 91
IP_FW3 = 48
IP_FW_ADD = 50
IP_FW_DEL = 51
IP_FW_FLUSH = 52
IP_FW_GET = 54
IP_FW_NAT_CFG = 56
IP_FW_NAT_DEL = 57
IP_FW_NAT_GET_CONFIG = 58
IP_FW_NAT_GET_LOG = 59
IP_FW_RESETLOG = 55
IP_FW_TABLE_ADD = 40
IP_FW_TABLE_DEL = 41
IP_FW_TABLE_FLUSH = 42
IP_FW_TABLE_GETSIZE = 43
IP_FW_TABLE_LIST = 44
IP_FW_ZERO = 53
IP_HDRINCL = 2
IP_IPSEC_POLICY = 21
IP_MAX_GROUP_SRC_FILTER = 512
IP_MAX_MEMBERSHIPS = 4095
IP_MAX_SOCK_MUTE_FILTER = 128
IP_MAX_SOCK_SRC_FILTER = 128
IP_MINTTL = 66
IP_MSFILTER = 74
IP_MULTICAST_IF = 9
IP_MULTICAST_LOOP = 11
IP_MULTICAST_TTL = 10
IP_MULTICAST_VIF = 14
IP_ONESBCAST = 23
IP_OPTIONS = 1
IP_ORIGDSTADDR = 27
IP_PORTRANGE = 19
IP_PORTRANGE_DEFAULT = 0
IP_PORTRANGE_HIGH = 1
IP_PORTRANGE_LOW = 2
IP_RECVDSTADDR = 7
IP_RECVFLOWID = 93
IP_RECVIF = 20
IP_RECVOPTS = 5
IP_RECVORIGDSTADDR = 27
IP_RECVRETOPTS = 6
IP_RECVRSSBUCKETID = 94
IP_RECVTOS = 68
IP_RECVTTL = 65
IP_RETOPTS = 8
IP_RSSBUCKETID = 92
IP_RSS_LISTEN_BUCKET = 26
IP_RSVP_OFF = 16
IP_RSVP_ON = 15
IP_RSVP_VIF_OFF = 18
IP_RSVP_VIF_ON = 17
IP_SENDSRCADDR = 7
IP_TOS = 3
IP_TTL = 4
IP_UNBLOCK_SOURCE = 73
IP_VLAN_PCP = 75
LITTLE_ENDIAN = 1234
MCAST_BLOCK_SOURCE = 84
MCAST_EXCLUDE = 2
MCAST_INCLUDE = 1
MCAST_JOIN_GROUP = 80
MCAST_JOIN_SOURCE_GROUP = 82
MCAST_LEAVE_GROUP = 81
MCAST_LEAVE_SOURCE_GROUP = 83
MCAST_UNBLOCK_SOURCE = 85
MCAST_UNDEFINED = 0
PDP_ENDIAN = 3412
SIN6_LEN = 0
X_BIG_ENDIAN = 4321
X_BYTEORDER_FUNC_DEFINED = 0
X_BYTEORDER_PROTOTYPED = 0
X_BYTE_ORDER = 1234
X_FILE_OFFSET_BITS = 64
X_IN_ADDR_T_DECLARED = 0
X_IN_PORT_T_DECLARED = 0
X_LITTLE_ENDIAN = 1234
X_LP64 = 1
X_MACHINE_ENDIAN_H_ = 0
X_MACHINE__LIMITS_H_ = 0
X_MACHINE__TYPES_H_ = 0
X_NETINET6_IN6_H_ = 0
X_NETINET_IN_H_ = 0
X_Nonnull = 0
X_Null_unspecified = 0
X_Nullable = 0
X_PDP_ENDIAN = 3412
X_QUAD_HIGHWORD = 1
X_QUAD_LOWWORD = 0
X_SA_FAMILY_T_DECLARED = 0
X_SIZE_T_DECLARED = 0
X_SOCKLEN_T_DECLARED = 0
X_SS_MAXSIZE = 128
X_STRUCT_IN_ADDR_DECLARED = 0
X_SYS_CDEFS_H_ = 0
X_SYS__SOCKADDR_STORAGE_H_ = 0
X_SYS__TYPES_H_ = 0
X_UINT16_T_DECLARED = 0
X_UINT32_T_DECLARED = 0
X_UINT8_T_DECLARED = 0
Unix = 1
BIG_ENDIAN = 4321 // endian.h:63:1:
BYTE_ORDER = 1234 // endian.h:65:1:
ICMP6_FILTER = 18 // in6.h:420:1:
ICMPV6CTL_ND6_ONLINKNSRFC4861 = 47 // in6.h:638:1:
INET6_ADDRSTRLEN = 46 // in6.h:112:1:
INET_ADDRSTRLEN = 16 // in.h:130:1:
IN_CLASSA_HOST = 0x00ffffff // in.h:352:1:
IN_CLASSA_MAX = 128 // in.h:353:1:
IN_CLASSA_NET = 0xff000000 // in.h:350:1:
IN_CLASSA_NSHIFT = 24 // in.h:351:1:
IN_CLASSB_HOST = 0x0000ffff // in.h:358:1:
IN_CLASSB_MAX = 65536 // in.h:359:1:
IN_CLASSB_NET = 0xffff0000 // in.h:356:1:
IN_CLASSB_NSHIFT = 16 // in.h:357:1:
IN_CLASSC_HOST = 0x000000ff // in.h:364:1:
IN_CLASSC_NET = 0xffffff00 // in.h:362:1:
IN_CLASSC_NSHIFT = 8 // in.h:363:1:
IN_CLASSD_HOST = 0x0fffffff // in.h:369:1:
IN_CLASSD_NET = 0xf0000000 // in.h:367:1:
IN_CLASSD_NSHIFT = 28 // in.h:368:1:
IN_LOOPBACKNET = 127 // in.h:401:1:
IPCTL_ACCEPTSOURCEROUTE = 13 // in.h:634:1:
IPCTL_DEFTTL = 3 // in.h:622:1:
IPCTL_DIRECTEDBROADCAST = 9 // in.h:630:1:
IPCTL_FASTFORWARDING = 14 // in.h:635:1:
IPCTL_FORWARDING = 1 // in.h:620:1:
IPCTL_GIF_TTL = 16 // in.h:637:1:
IPCTL_INTRDQDROPS = 18 // in.h:639:1:
IPCTL_INTRDQMAXLEN = 17 // in.h:638:1:
IPCTL_INTRQDROPS = 11 // in.h:632:1:
IPCTL_INTRQMAXLEN = 10 // in.h:631:1:
IPCTL_SENDREDIRECTS = 2 // in.h:621:1:
IPCTL_SOURCEROUTE = 8 // in.h:629:1:
IPCTL_STATS = 12 // in.h:633:1:
IPPORT_EPHEMERALFIRST = 10000 // in.h:325:1:
IPPORT_EPHEMERALLAST = 65535 // in.h:326:1:
IPPORT_HIFIRSTAUTO = 49152 // in.h:331:1:
IPPORT_HILASTAUTO = 65535 // in.h:332:1:
IPPORT_MAX = 65535 // in.h:342:1:
IPPORT_RESERVED = 1024 // in.h:320:1:
IPPORT_RESERVEDSTART = 600 // in.h:340:1:
IPPROTO_3PC = 34 // in.h:173:1:
IPPROTO_ADFS = 68 // in.h:206:1:
IPPROTO_AH = 51 // in.h:189:1:
IPPROTO_AHIP = 61 // in.h:199:1:
IPPROTO_APES = 99 // in.h:237:1:
IPPROTO_ARGUS = 13 // in.h:153:1:
IPPROTO_AX25 = 93 // in.h:231:1:
IPPROTO_BHA = 49 // in.h:187:1:
IPPROTO_BLT = 30 // in.h:169:1:
IPPROTO_BRSATMON = 76 // in.h:214:1:
IPPROTO_CARP = 112 // in.h:247:1:
IPPROTO_CFTP = 62 // in.h:200:1:
IPPROTO_CHAOS = 16 // in.h:156:1:
IPPROTO_CMTP = 38 // in.h:177:1:
IPPROTO_CPHB = 73 // in.h:211:1:
IPPROTO_CPNX = 72 // in.h:210:1:
IPPROTO_DCCP = 33 // in.h:172:1:
IPPROTO_DDP = 37 // in.h:176:1:
IPPROTO_DGP = 86 // in.h:224:1:
IPPROTO_DIVERT = 258 // in.h:262:1:
IPPROTO_DONE = 257 // in.h:259:1:
IPPROTO_DSTOPTS = 60 // in.h:198:1:
IPPROTO_EGP = 8 // in.h:148:1:
IPPROTO_EMCON = 14 // in.h:154:1:
IPPROTO_ENCAP = 98 // in.h:236:1:
IPPROTO_EON = 80 // in.h:218:1:
IPPROTO_ESP = 50 // in.h:188:1:
IPPROTO_ETHERIP = 97 // in.h:235:1:
IPPROTO_FRAGMENT = 44 // in.h:182:1:
IPPROTO_GGP = 3 // in.h:144:1:
IPPROTO_GMTP = 100 // in.h:238:1:
IPPROTO_GRE = 47 // in.h:185:1:
IPPROTO_HELLO = 63 // in.h:201:1:
IPPROTO_HIP = 139 // in.h:243:1:
IPPROTO_HMP = 20 // in.h:159:1:
IPPROTO_HOPOPTS = 0 // in.h:142:1:
IPPROTO_ICMP = 1 // in.h:44:1:
IPPROTO_ICMPV6 = 58 // in.h:196:1:
IPPROTO_IDP = 22 // in.h:161:1:
IPPROTO_IDPR = 35 // in.h:174:1:
IPPROTO_IDRP = 45 // in.h:183:1:
IPPROTO_IGMP = 2 // in.h:143:1:
IPPROTO_IGP = 85 // in.h:223:1:
IPPROTO_IGRP = 88 // in.h:226:1:
IPPROTO_IL = 40 // in.h:179:1:
IPPROTO_INLSP = 52 // in.h:190:1:
IPPROTO_INP = 32 // in.h:171:1:
IPPROTO_IP = 0 // in.h:43:1:
IPPROTO_IPCOMP = 108 // in.h:239:1:
IPPROTO_IPCV = 71 // in.h:209:1:
IPPROTO_IPEIP = 94 // in.h:232:1:
IPPROTO_IPIP = 4 // in.h:146:1:
IPPROTO_IPPC = 67 // in.h:205:1:
IPPROTO_IPV4 = 4 // in.h:145:1:
IPPROTO_IPV6 = 41 // in.h:128:1:
IPPROTO_IRTP = 28 // in.h:167:1:
IPPROTO_KRYPTOLAN = 65 // in.h:203:1:
IPPROTO_LARP = 91 // in.h:229:1:
IPPROTO_LEAF1 = 25 // in.h:164:1:
IPPROTO_LEAF2 = 26 // in.h:165:1:
IPPROTO_MAX = 256 // in.h:256:1:
IPPROTO_MEAS = 19 // in.h:158:1:
IPPROTO_MH = 135 // in.h:241:1:
IPPROTO_MHRP = 48 // in.h:186:1:
IPPROTO_MICP = 95 // in.h:233:1:
IPPROTO_MOBILE = 55 // in.h:193:1:
IPPROTO_MPLS = 137 // in.h:249:1:
IPPROTO_MTP = 92 // in.h:230:1:
IPPROTO_MUX = 18 // in.h:157:1:
IPPROTO_ND = 77 // in.h:215:1:
IPPROTO_NHRP = 54 // in.h:192:1:
IPPROTO_NONE = 59 // in.h:197:1:
IPPROTO_NSP = 31 // in.h:170:1:
IPPROTO_NVPII = 11 // in.h:151:1:
IPPROTO_OLD_DIVERT = 254 // in.h:255:1:
IPPROTO_OSPFIGP = 89 // in.h:227:1:
IPPROTO_PFSYNC = 240 // in.h:250:1:
IPPROTO_PGM = 113 // in.h:248:1:
IPPROTO_PIGP = 9 // in.h:149:1:
IPPROTO_PIM = 103 // in.h:246:1:
IPPROTO_PRM = 21 // in.h:160:1:
IPPROTO_PUP = 12 // in.h:152:1:
IPPROTO_PVP = 75 // in.h:213:1:
IPPROTO_RAW = 255 // in.h:129:1:
IPPROTO_RCCMON = 10 // in.h:150:1:
IPPROTO_RDP = 27 // in.h:166:1:
IPPROTO_RESERVED_253 = 253 // in.h:251:1:
IPPROTO_RESERVED_254 = 254 // in.h:252:1:
IPPROTO_ROUTING = 43 // in.h:181:1:
IPPROTO_RSVP = 46 // in.h:184:1:
IPPROTO_RVD = 66 // in.h:204:1:
IPPROTO_SATEXPAK = 64 // in.h:202:1:
IPPROTO_SATMON = 69 // in.h:207:1:
IPPROTO_SCCSP = 96 // in.h:234:1:
IPPROTO_SCTP = 132 // in.h:240:1:
IPPROTO_SDRP = 42 // in.h:180:1:
IPPROTO_SEND = 259 // in.h:263:1:
IPPROTO_SHIM6 = 140 // in.h:244:1:
IPPROTO_SKIP = 57 // in.h:195:1:
IPPROTO_SPACER = 32767 // in.h:269:1:
IPPROTO_SRPC = 90 // in.h:228:1:
IPPROTO_ST = 7 // in.h:147:1:
IPPROTO_SVMTP = 82 // in.h:220:1:
IPPROTO_SWIPE = 53 // in.h:191:1:
IPPROTO_TCF = 87 // in.h:225:1:
IPPROTO_TCP = 6 // in.h:45:1:
IPPROTO_TLSP = 56 // in.h:194:1:
IPPROTO_TP = 29 // in.h:168:1:
IPPROTO_TPXX = 39 // in.h:178:1:
IPPROTO_TRUNK1 = 23 // in.h:162:1:
IPPROTO_TRUNK2 = 24 // in.h:163:1:
IPPROTO_TTP = 84 // in.h:222:1:
IPPROTO_UDP = 17 // in.h:46:1:
IPPROTO_UDPLITE = 136 // in.h:242:1:
IPPROTO_VINES = 83 // in.h:221:1:
IPPROTO_VISA = 70 // in.h:208:1:
IPPROTO_VMTP = 81 // in.h:219:1:
IPPROTO_WBEXPAK = 79 // in.h:217:1:
IPPROTO_WBMON = 78 // in.h:216:1:
IPPROTO_WSN = 74 // in.h:212:1:
IPPROTO_XNET = 15 // in.h:155:1:
IPPROTO_XTP = 36 // in.h:175:1:
IPV6CTL_ACCEPT_RTADV = 12 // in6.h:599:1:
IPV6CTL_ADDRCTLPOLICY = 38 // in6.h:624:1:
IPV6CTL_AUTO_FLOWLABEL = 17 // in6.h:604:1:
IPV6CTL_AUTO_LINKLOCAL = 35 // in6.h:621:1:
IPV6CTL_DAD_COUNT = 16 // in6.h:603:1:
IPV6CTL_DEFHLIM = 3 // in6.h:588:1:
IPV6CTL_DEFMCASTHLIM = 18 // in6.h:605:1:
IPV6CTL_FORWARDING = 1 // in6.h:586:1:
IPV6CTL_FORWSRCRT = 5 // in6.h:592:1:
IPV6CTL_GIF_HLIM = 19 // in6.h:606:1:
IPV6CTL_HDRNESTLIMIT = 15 // in6.h:602:1:
IPV6CTL_INTRDQMAXLEN = 52 // in6.h:645:1:
IPV6CTL_INTRQMAXLEN = 51 // in6.h:644:1:
IPV6CTL_KAME_VERSION = 20 // in6.h:607:1:
IPV6CTL_LOG_INTERVAL = 14 // in6.h:601:1:
IPV6CTL_MAXFRAGBUCKETSIZE = 54 // in6.h:648:1:
IPV6CTL_MAXFRAGPACKETS = 9 // in6.h:596:1:
IPV6CTL_MAXFRAGS = 41 // in6.h:627:1:
IPV6CTL_MAXFRAGSPERPACKET = 53 // in6.h:647:1:
IPV6CTL_MAXID = 55 // in6.h:649:1:
IPV6CTL_MCAST_PMTU = 44 // in6.h:632:1:
IPV6CTL_MRTPROTO = 8 // in6.h:595:1:
IPV6CTL_MRTSTATS = 7 // in6.h:594:1:
IPV6CTL_NORBIT_RAIF = 49 // in6.h:640:1:
IPV6CTL_NO_RADR = 48 // in6.h:639:1:
IPV6CTL_PREFER_TEMPADDR = 37 // in6.h:623:1:
IPV6CTL_RFC6204W3 = 50 // in6.h:642:1:
IPV6CTL_RIP6STATS = 36 // in6.h:622:1:
IPV6CTL_RR_PRUNE = 22 // in6.h:609:1:
IPV6CTL_SENDREDIRECTS = 2 // in6.h:587:1:
IPV6CTL_SOURCECHECK = 10 // in6.h:597:1:
IPV6CTL_SOURCECHECK_LOGINT = 11 // in6.h:598:1:
IPV6CTL_STATS = 6 // in6.h:593:1:
IPV6CTL_STEALTH = 45 // in6.h:636:1:
IPV6CTL_TEMPPLTIME = 33 // in6.h:619:1:
IPV6CTL_TEMPVLTIME = 34 // in6.h:620:1:
IPV6CTL_USETEMPADDR = 32 // in6.h:618:1:
IPV6CTL_USE_DEFAULTZONE = 39 // in6.h:625:1:
IPV6CTL_USE_DEPRECATED = 21 // in6.h:608:1:
IPV6CTL_V6ONLY = 24 // in6.h:613:1:
IPV6PORT_ANONMAX = 65535 // in6.h:89:1:
IPV6PORT_ANONMIN = 49152 // in6.h:88:1:
IPV6PORT_RESERVED = 1024 // in6.h:87:1:
IPV6PORT_RESERVEDMAX = 1023 // in6.h:91:1:
IPV6PORT_RESERVEDMIN = 600 // in6.h:90:1:
IPV6PROTO_MAXID = 104 // in6.h:581:1:
IPV6_AUTOFLOWLABEL = 59 // in6.h:484:1:
IPV6_BINDANY = 64 // in6.h:493:1:
IPV6_BINDMULTI = 65 // in6.h:495:1:
IPV6_BINDV6ONLY = 27 // in6.h:435:1:
IPV6_CHECKSUM = 26 // in6.h:432:1:
IPV6_DEFAULT_MULTICAST_HOPS = 1 // in6.h:527:1:
IPV6_DEFAULT_MULTICAST_LOOP = 1 // in6.h:528:1:
IPV6_DONTFRAG = 62 // in6.h:487:1:
IPV6_DSTOPTS = 50 // in6.h:475:1:
IPV6_FLOWID = 67 // in6.h:497:1:
IPV6_FLOWTYPE = 68 // in6.h:498:1:
IPV6_FW_ADD = 30 // in6.h:441:1:
IPV6_FW_DEL = 31 // in6.h:442:1:
IPV6_FW_FLUSH = 32 // in6.h:443:1:
IPV6_FW_GET = 34 // in6.h:445:1:
IPV6_FW_ZERO = 33 // in6.h:444:1:
IPV6_HOPLIMIT = 47 // in6.h:472:1:
IPV6_HOPOPTS = 49 // in6.h:474:1:
IPV6_IPSEC_POLICY = 28 // in6.h:438:1:
IPV6_JOIN_GROUP = 12 // in6.h:417:1:
IPV6_LEAVE_GROUP = 13 // in6.h:418:1:
IPV6_MAX_GROUP_SRC_FILTER = 512 // in6.h:539:1:
IPV6_MAX_MEMBERSHIPS = 4095 // in6.h:533:1:
IPV6_MAX_SOCK_SRC_FILTER = 128 // in6.h:540:1:
IPV6_MSFILTER = 74 // in6.h:510:1:
IPV6_MULTICAST_HOPS = 10 // in6.h:415:1:
IPV6_MULTICAST_IF = 9 // in6.h:414:1:
IPV6_MULTICAST_LOOP = 11 // in6.h:416:1:
IPV6_NEXTHOP = 48 // in6.h:473:1:
IPV6_ORIGDSTADDR = 72 // in6.h:503:1:
IPV6_PATHMTU = 44 // in6.h:463:1:
IPV6_PKTINFO = 46 // in6.h:471:1:
IPV6_PORTRANGE = 14 // in6.h:419:1:
IPV6_PORTRANGE_DEFAULT = 0 // in6.h:570:1:
IPV6_PORTRANGE_HIGH = 1 // in6.h:571:1:
IPV6_PORTRANGE_LOW = 2 // in6.h:572:1:
IPV6_PREFER_TEMPADDR = 63 // in6.h:489:1:
IPV6_RECVDSTOPTS = 40 // in6.h:455:1:
IPV6_RECVFLOWID = 70 // in6.h:500:1:
IPV6_RECVHOPLIMIT = 37 // in6.h:452:1:
IPV6_RECVHOPOPTS = 39 // in6.h:454:1:
IPV6_RECVORIGDSTADDR = 72 // in6.h:504:1:
IPV6_RECVPATHMTU = 43 // in6.h:461:1:
IPV6_RECVPKTINFO = 36 // in6.h:451:1:
IPV6_RECVRSSBUCKETID = 71 // in6.h:501:1:
IPV6_RECVRTHDR = 38 // in6.h:453:1:
IPV6_RECVTCLASS = 57 // in6.h:482:1:
IPV6_RSSBUCKETID = 69 // in6.h:499:1:
IPV6_RSS_LISTEN_BUCKET = 66 // in6.h:496:1:
IPV6_RTHDR = 51 // in6.h:476:1:
IPV6_RTHDRDSTOPTS = 35 // in6.h:449:1:
IPV6_RTHDR_LOOSE = 0 // in6.h:520:1:
IPV6_RTHDR_STRICT = 1 // in6.h:521:1:
IPV6_RTHDR_TYPE_0 = 0 // in6.h:522:1:
IPV6_SOCKOPT_RESERVED1 = 3 // in6.h:412:1:
IPV6_TCLASS = 61 // in6.h:486:1:
IPV6_UNICAST_HOPS = 4 // in6.h:413:1:
IPV6_USE_MIN_MTU = 42 // in6.h:460:1:
IPV6_V6ONLY = 27 // in6.h:433:1:
IPV6_VLAN_PCP = 75 // in6.h:515:1:
IP_ADD_MEMBERSHIP = 12 // in.h:422:1:
IP_ADD_SOURCE_MEMBERSHIP = 70 // in.h:478:1:
IP_BINDANY = 24 // in.h:435:1:
IP_BINDMULTI = 25 // in.h:436:1:
IP_BLOCK_SOURCE = 72 // in.h:480:1:
IP_DEFAULT_MULTICAST_LOOP = 1 // in.h:509:1:
IP_DEFAULT_MULTICAST_TTL = 1 // in.h:508:1:
IP_DONTFRAG = 67 // in.h:474:1:
IP_DROP_MEMBERSHIP = 13 // in.h:423:1:
IP_DROP_SOURCE_MEMBERSHIP = 71 // in.h:479:1:
IP_DUMMYNET3 = 49 // in.h:453:1:
IP_DUMMYNET_CONFIGURE = 60 // in.h:467:1:
IP_DUMMYNET_DEL = 61 // in.h:468:1:
IP_DUMMYNET_FLUSH = 62 // in.h:469:1:
IP_DUMMYNET_GET = 64 // in.h:470:1:
IP_FLOWID = 90 // in.h:499:1:
IP_FLOWTYPE = 91 // in.h:500:1:
IP_FW3 = 48 // in.h:452:1:
IP_FW_ADD = 50 // in.h:455:1:
IP_FW_DEL = 51 // in.h:456:1:
IP_FW_FLUSH = 52 // in.h:457:1:
IP_FW_GET = 54 // in.h:459:1:
IP_FW_NAT_CFG = 56 // in.h:462:1:
IP_FW_NAT_DEL = 57 // in.h:463:1:
IP_FW_NAT_GET_CONFIG = 58 // in.h:464:1:
IP_FW_NAT_GET_LOG = 59 // in.h:465:1:
IP_FW_RESETLOG = 55 // in.h:460:1:
IP_FW_TABLE_ADD = 40 // in.h:446:1:
IP_FW_TABLE_DEL = 41 // in.h:447:1:
IP_FW_TABLE_FLUSH = 42 // in.h:448:1:
IP_FW_TABLE_GETSIZE = 43 // in.h:449:1:
IP_FW_TABLE_LIST = 44 // in.h:450:1:
IP_FW_ZERO = 53 // in.h:458:1:
IP_HDRINCL = 2 // in.h:410:1:
IP_IPSEC_POLICY = 21 // in.h:432:1:
IP_MAX_GROUP_SRC_FILTER = 512 // in.h:520:1:
IP_MAX_MEMBERSHIPS = 4095 // in.h:514:1:
IP_MAX_SOCK_MUTE_FILTER = 128 // in.h:522:1:
IP_MAX_SOCK_SRC_FILTER = 128 // in.h:521:1:
IP_MINTTL = 66 // in.h:473:1:
IP_MSFILTER = 74 // in.h:484:1:
IP_MULTICAST_IF = 9 // in.h:418:1:
IP_MULTICAST_LOOP = 11 // in.h:421:1:
IP_MULTICAST_TTL = 10 // in.h:420:1:
IP_MULTICAST_VIF = 14 // in.h:424:1:
IP_ONESBCAST = 23 // in.h:434:1:
IP_OPTIONS = 1 // in.h:409:1:
IP_ORIGDSTADDR = 27 // in.h:438:1:
IP_PORTRANGE = 19 // in.h:429:1:
IP_PORTRANGE_DEFAULT = 0 // in.h:613:1:
IP_PORTRANGE_HIGH = 1 // in.h:614:1:
IP_PORTRANGE_LOW = 2 // in.h:615:1:
IP_RECVDSTADDR = 7 // in.h:415:1:
IP_RECVFLOWID = 93 // in.h:502:1:
IP_RECVIF = 20 // in.h:430:1:
IP_RECVOPTS = 5 // in.h:413:1:
IP_RECVORIGDSTADDR = 27 // in.h:439:1:
IP_RECVRETOPTS = 6 // in.h:414:1:
IP_RECVRSSBUCKETID = 94 // in.h:503:1:
IP_RECVTOS = 68 // in.h:475:1:
IP_RECVTTL = 65 // in.h:472:1:
IP_RETOPTS = 8 // in.h:417:1:
IP_RSSBUCKETID = 92 // in.h:501:1:
IP_RSS_LISTEN_BUCKET = 26 // in.h:437:1:
IP_RSVP_OFF = 16 // in.h:426:1:
IP_RSVP_ON = 15 // in.h:425:1:
IP_RSVP_VIF_OFF = 18 // in.h:428:1:
IP_RSVP_VIF_ON = 17 // in.h:427:1:
IP_SENDSRCADDR = 7 // in.h:416:1:
IP_TOS = 3 // in.h:411:1:
IP_TTL = 4 // in.h:412:1:
IP_UNBLOCK_SOURCE = 73 // in.h:481:1:
IP_VLAN_PCP = 75 // in.h:487:1:
LITTLE_ENDIAN = 1234 // endian.h:62:1:
MCAST_BLOCK_SOURCE = 84 // in.h:495:1:
MCAST_EXCLUDE = 2 // in.h:607:1:
MCAST_INCLUDE = 1 // in.h:606:1:
MCAST_JOIN_GROUP = 80 // in.h:491:1:
MCAST_JOIN_SOURCE_GROUP = 82 // in.h:493:1:
MCAST_LEAVE_GROUP = 81 // in.h:492:1:
MCAST_LEAVE_SOURCE_GROUP = 83 // in.h:494:1:
MCAST_UNBLOCK_SOURCE = 85 // in.h:496:1:
MCAST_UNDEFINED = 0 // in.h:605:1:
PDP_ENDIAN = 3412 // endian.h:64:1:
SIN6_LEN = 0 // in6.h:122:1:
X_BIG_ENDIAN = 4321 // endian.h:52:1:
X_BYTEORDER_FUNC_DEFINED = 0 // in.h:118:1:
X_BYTEORDER_PROTOTYPED = 0 // in.h:108:1:
X_BYTE_ORDER = 1234 // endian.h:55:1:
X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
X_IN_ADDR_T_DECLARED = 0 // in.h:68:1:
X_IN_PORT_T_DECLARED = 0 // in.h:73:1:
X_LITTLE_ENDIAN = 1234 // endian.h:51:1:
X_LP64 = 1 // <predefined>:1:1:
X_MACHINE_ENDIAN_H_ = 0 // endian.h:36:1:
X_MACHINE__LIMITS_H_ = 0 // _limits.h:36:1:
X_MACHINE__TYPES_H_ = 0 // _types.h:42:1:
X_NETINET6_IN6_H_ = 0 // in6.h:71:1:
X_NETINET_IN_H_ = 0 // in.h:36:1:
X_Nonnull = 0 // cdefs.h:783:1:
X_Null_unspecified = 0 // cdefs.h:785:1:
X_Nullable = 0 // cdefs.h:784:1:
X_PDP_ENDIAN = 3412 // endian.h:53:1:
X_QUAD_HIGHWORD = 1 // endian.h:44:1:
X_QUAD_LOWWORD = 0 // endian.h:45:1:
X_SA_FAMILY_T_DECLARED = 0 // in.h:78:1:
X_SIZE_T_DECLARED = 0 // in6.h:701:1:
X_SOCKLEN_T_DECLARED = 0 // in.h:91:1:
X_SS_MAXSIZE = 128 // _sockaddr_storage.h:41:1:
X_STRUCT_IN_ADDR_DECLARED = 0 // in.h:86:1:
X_SYS_CDEFS_H_ = 0 // cdefs.h:39:1:
X_SYS__SOCKADDR_STORAGE_H_ = 0 // _sockaddr_storage.h:36:1:
X_SYS__TYPES_H_ = 0 // _types.h:32:1:
X_UINT16_T_DECLARED = 0 // in.h:58:1:
X_UINT32_T_DECLARED = 0 // in.h:63:1:
X_UINT8_T_DECLARED = 0 // in.h:53:1:
Unix = 1 // <predefined>:337:1:
)
type Ptrdiff_t = int64 /* <builtin>:3:26 */
File diff suppressed because it is too large Load Diff
+469 -469
View File
@@ -1,4 +1,4 @@
// Code generated by 'ccgo netinet/in/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o netinet/in/in_netbsd_amd64.go -pkgname in', DO NOT EDIT.
// Code generated by 'ccgo netinet/in/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o netinet/in/in_netbsd_amd64.go -pkgname in', DO NOT EDIT.
package in
@@ -15,474 +15,474 @@ var _ atomic.Value
var _ unsafe.Pointer
const (
AF_APPLETALK = 16
AF_ARP = 28
AF_BLUETOOTH = 31
AF_CAN = 35
AF_CCITT = 10
AF_CHAOS = 5
AF_CNT = 21
AF_COIP = 20
AF_DATAKIT = 9
AF_DECnet = 12
AF_DLI = 13
AF_E164 = 26
AF_ECMA = 8
AF_ETHER = 36
AF_HYLINK = 15
AF_IEEE80211 = 32
AF_IMPLINK = 3
AF_INET = 2
AF_INET6 = 24
AF_IPX = 23
AF_ISDN = 26
AF_ISO = 7
AF_LAT = 14
AF_LINK = 18
AF_LOCAL = 1
AF_MAX = 37
AF_MPLS = 33
AF_NATM = 27
AF_NS = 6
AF_OROUTE = 17
AF_OSI = 7
AF_PUP = 4
AF_ROUTE = 34
AF_SNA = 11
AF_UNIX = 1
AF_UNSPEC = 0
BIG_ENDIAN = 4321
BYTE_ORDER = 1234
CTL_IPPROTO_IPSEC = 258
FD_SETSIZE = 256
ICMP6_FILTER = 18
INET6_ADDRSTRLEN = 46
INET6_IS_ADDR_LINKLOCAL = 1
INET6_IS_ADDR_MC_LINKLOCAL = 2
INET6_IS_ADDR_SITELOCAL = 4
INET_ADDRSTRLEN = 16
INT16_MAX = 32767
INT16_MIN = -32768
INT32_MAX = 2147483647
INT32_MIN = -2147483648
INT64_MAX = 9223372036854775807
INT64_MIN = -9223372036854775808
INT8_MAX = 127
INT8_MIN = -128
INTMAX_MAX = 9223372036854775807
INTMAX_MIN = -9223372036854775808
INTPTR_MAX = 9223372036854775807
INTPTR_MIN = -9223372036854775808
INT_FAST16_MAX = 2147483647
INT_FAST16_MIN = -2147483648
INT_FAST32_MAX = 2147483647
INT_FAST32_MIN = -2147483648
INT_FAST64_MAX = 9223372036854775807
INT_FAST64_MIN = -9223372036854775808
INT_FAST8_MAX = 2147483647
INT_FAST8_MIN = -2147483648
INT_LEAST16_MAX = 32767
INT_LEAST16_MIN = -32768
INT_LEAST32_MAX = 2147483647
INT_LEAST32_MIN = -2147483648
INT_LEAST64_MAX = 9223372036854775807
INT_LEAST64_MIN = -9223372036854775808
INT_LEAST8_MAX = 127
INT_LEAST8_MIN = -128
IN_CLASSA_MAX = 128
IN_CLASSA_NSHIFT = 24
IN_CLASSB_MAX = 65536
IN_CLASSB_NSHIFT = 16
IN_CLASSC_NSHIFT = 8
IN_CLASSD_NSHIFT = 28
IN_LOOPBACKNET = 127
IPCTL_ALLOWSRCRT = 7
IPCTL_ANONPORTMAX = 11
IPCTL_ANONPORTMIN = 10
IPCTL_CHECKINTERFACE = 20
IPCTL_DAD_COUNT = 25
IPCTL_DEFTTL = 3
IPCTL_DIRECTEDBCAST = 6
IPCTL_FORWARDING = 1
IPCTL_FORWSRCRT = 5
IPCTL_GIF_TTL = 15
IPCTL_GRE_TTL = 19
IPCTL_HOSTZEROBROADCAST = 14
IPCTL_IFQ = 21
IPCTL_LOOPBACKCKSUM = 23
IPCTL_LOWPORTMAX = 17
IPCTL_LOWPORTMIN = 16
IPCTL_MAXFLOWS = 13
IPCTL_MAXFRAGPACKETS = 18
IPCTL_MTUDISC = 9
IPCTL_MTUDISCTIMEOUT = 12
IPCTL_RANDOMID = 22
IPCTL_SENDREDIRECTS = 2
IPCTL_STATS = 24
IPCTL_SUBNETSARELOCAL = 8
IPPORT_ANONMAX = 65535
IPPORT_ANONMIN = 49152
IPPORT_RESERVED = 1024
IPPORT_RESERVEDMAX = 1023
IPPORT_RESERVEDMIN = 600
IPPROTO_AH = 51
IPPROTO_CARP = 112
IPPROTO_DCCP = 33
IPPROTO_DONE = 257
IPPROTO_DSTOPTS = 60
IPPROTO_EGP = 8
IPPROTO_ENCAP = 98
IPPROTO_EON = 80
IPPROTO_ESP = 50
IPPROTO_ETHERIP = 97
IPPROTO_FRAGMENT = 44
IPPROTO_GGP = 3
IPPROTO_GRE = 47
IPPROTO_HOPOPTS = 0
IPPROTO_ICMP = 1
IPPROTO_ICMPV6 = 58
IPPROTO_IDP = 22
IPPROTO_IGMP = 2
IPPROTO_IP = 0
IPPROTO_IPCOMP = 108
IPPROTO_IPIP = 4
IPPROTO_IPV4 = 4
IPPROTO_IPV6 = 41
IPPROTO_IPV6_ICMP = 58
IPPROTO_L2TP = 115
IPPROTO_MAX = 256
IPPROTO_MOBILE = 55
IPPROTO_NONE = 59
IPPROTO_PFSYNC = 240
IPPROTO_PIM = 103
IPPROTO_PUP = 12
IPPROTO_RAW = 255
IPPROTO_ROUTING = 43
IPPROTO_RSVP = 46
IPPROTO_SCTP = 132
IPPROTO_TCP = 6
IPPROTO_TP = 29
IPPROTO_UDP = 17
IPPROTO_VRRP = 112
IPV6CTL_ACCEPT_RTADV = 12
IPV6CTL_ADDRCTLPOLICY = 38
IPV6CTL_ANONPORTMAX = 29
IPV6CTL_ANONPORTMIN = 28
IPV6CTL_AUTO_FLOWLABEL = 17
IPV6CTL_AUTO_LINKLOCAL = 35
IPV6CTL_DAD_COUNT = 16
IPV6CTL_DEFHLIM = 3
IPV6CTL_DEFMCASTHLIM = 18
IPV6CTL_FORWARDING = 1
IPV6CTL_FORWSRCRT = 5
IPV6CTL_GIF_HLIM = 19
IPV6CTL_HDRNESTLIMIT = 15
IPV6CTL_IFQ = 42
IPV6CTL_KAME_VERSION = 20
IPV6CTL_KEEPFAITH = 13
IPV6CTL_LOG_INTERVAL = 14
IPV6CTL_LOWPORTMAX = 31
IPV6CTL_LOWPORTMIN = 30
IPV6CTL_MAXFRAGPACKETS = 9
IPV6CTL_MAXFRAGS = 41
IPV6CTL_MRTPROTO = 8
IPV6CTL_MRTSTATS = 7
IPV6CTL_RR_PRUNE = 22
IPV6CTL_RTADV_MAXROUTES = 43
IPV6CTL_RTADV_NUMROUTES = 44
IPV6CTL_SENDREDIRECTS = 2
IPV6CTL_SOURCECHECK = 10
IPV6CTL_SOURCECHECK_LOGINT = 11
IPV6CTL_STATS = 6
IPV6CTL_USE_DEFAULTZONE = 39
IPV6CTL_USE_DEPRECATED = 21
IPV6CTL_V6ONLY = 24
IPV6PORT_ANONMAX = 65535
IPV6PORT_ANONMIN = 49152
IPV6PORT_RESERVED = 1024
IPV6PORT_RESERVEDMAX = 1023
IPV6PORT_RESERVEDMIN = 600
IPV6_CHECKSUM = 26
IPV6_DEFAULT_MULTICAST_HOPS = 1
IPV6_DEFAULT_MULTICAST_LOOP = 1
IPV6_DONTFRAG = 62
IPV6_DSTOPTS = 50
IPV6_FAITH = 29
IPV6_HOPLIMIT = 47
IPV6_HOPOPTS = 49
IPV6_IPSEC_POLICY = 28
IPV6_JOIN_GROUP = 12
IPV6_LEAVE_GROUP = 13
IPV6_MULTICAST_HOPS = 10
IPV6_MULTICAST_IF = 9
IPV6_MULTICAST_LOOP = 11
IPV6_NEXTHOP = 48
IPV6_PATHMTU = 44
IPV6_PKTINFO = 46
IPV6_PORTALGO = 17
IPV6_PORTRANGE = 14
IPV6_PORTRANGE_DEFAULT = 0
IPV6_PORTRANGE_HIGH = 1
IPV6_PORTRANGE_LOW = 2
IPV6_PREFER_TEMPADDR = 63
IPV6_RECVDSTOPTS = 40
IPV6_RECVHOPLIMIT = 37
IPV6_RECVHOPOPTS = 39
IPV6_RECVPATHMTU = 43
IPV6_RECVPKTINFO = 36
IPV6_RECVRTHDR = 38
IPV6_RECVTCLASS = 57
IPV6_RTHDR = 51
IPV6_RTHDRDSTOPTS = 35
IPV6_RTHDR_LOOSE = 0
IPV6_RTHDR_STRICT = 1
IPV6_RTHDR_TYPE_0 = 0
IPV6_SOCKOPT_RESERVED1 = 3
IPV6_TCLASS = 61
IPV6_UNICAST_HOPS = 4
IPV6_USE_MIN_MTU = 42
IPV6_V6ONLY = 27
IP_ADD_MEMBERSHIP = 12
IP_DEFAULT_MULTICAST_LOOP = 1
IP_DEFAULT_MULTICAST_TTL = 1
IP_DROP_MEMBERSHIP = 13
IP_ERRORMTU = 21
IP_HDRINCL = 2
IP_IPSEC_POLICY = 22
IP_MAX_MEMBERSHIPS = 20
IP_MINTTL = 24
IP_MULTICAST_IF = 9
IP_MULTICAST_LOOP = 11
IP_MULTICAST_TTL = 10
IP_OPTIONS = 1
IP_PKTINFO = 25
IP_PORTALGO = 18
IP_PORTRANGE = 19
IP_PORTRANGE_DEFAULT = 0
IP_PORTRANGE_HIGH = 1
IP_PORTRANGE_LOW = 2
IP_RECVDSTADDR = 7
IP_RECVIF = 20
IP_RECVOPTS = 5
IP_RECVPKTINFO = 26
IP_RECVRETOPTS = 6
IP_RECVTTL = 23
IP_RETOPTS = 8
IP_SENDSRCADDR = 7
IP_TOS = 3
IP_TTL = 4
LITTLE_ENDIAN = 1234
MSG_BCAST = 0x0100
MSG_CMSG_CLOEXEC = 0x0800
MSG_CONTROLMBUF = 0x2000000
MSG_CTRUNC = 0x0020
MSG_DONTROUTE = 0x0004
MSG_DONTWAIT = 0x0080
MSG_EOR = 0x0008
MSG_IOVUSRSPACE = 0x4000000
MSG_LENUSRSPACE = 0x8000000
MSG_MCAST = 0x0200
MSG_NAMEMBUF = 0x1000000
MSG_NBIO = 0x1000
MSG_NOSIGNAL = 0x0400
MSG_NOTIFICATION = 0x4000
MSG_OOB = 0x0001
MSG_PEEK = 0x0002
MSG_TRUNC = 0x0010
MSG_USERFLAGS = 0x0ffffff
MSG_WAITALL = 0x0040
MSG_WAITFORONE = 0x2000
NBBY = 8
NET_RT_DUMP = 1
NET_RT_FLAGS = 2
NET_RT_IFLIST = 6
NET_RT_OIFLIST = 5
NET_RT_OOIFLIST = 4
NET_RT_OOOIFLIST = 3
NFDBITS = 32
NODEVMAJOR = -1
PCB_ALL = 0
PCB_SLOP = 20
PDP_ENDIAN = 3412
PF_APPLETALK = 16
PF_ARP = 28
PF_BLUETOOTH = 31
PF_CAN = 35
PF_CCITT = 10
PF_CHAOS = 5
PF_CNT = 21
PF_COIP = 20
PF_DATAKIT = 9
PF_DECnet = 12
PF_DLI = 13
PF_E164 = 26
PF_ECMA = 8
PF_ETHER = 36
PF_HYLINK = 15
PF_IMPLINK = 3
PF_INET = 2
PF_INET6 = 24
PF_IPX = 23
PF_ISDN = 26
PF_ISO = 7
PF_KEY = 29
PF_LAT = 14
PF_LINK = 18
PF_LOCAL = 1
PF_MAX = 37
PF_MPLS = 33
PF_NATM = 27
PF_NS = 6
PF_OROUTE = 17
PF_OSI = 7
PF_PIP = 25
PF_PUP = 4
PF_ROUTE = 34
PF_RTIP = 22
PF_SNA = 11
PF_UNIX = 1
PF_UNSPEC = 0
PF_XTP = 19
PTRDIFF_MAX = 9223372036854775807
PTRDIFF_MIN = -9223372036854775808
SCM_CREDS = 0x10
SCM_RIGHTS = 0x01
SCM_TIMESTAMP = 0x08
SHUT_RD = 0
SHUT_RDWR = 2
SHUT_WR = 1
SIG_ATOMIC_MAX = 2147483647
SIG_ATOMIC_MIN = -2147483648
SIN6_LEN = 0
SIZE_MAX = 18446744073709551615
SOCK_CLOEXEC = 0x10000000
SOCK_CONN_DGRAM = 6
SOCK_DCCP = 6
SOCK_DGRAM = 2
SOCK_FLAGS_MASK = 0xf0000000
SOCK_NONBLOCK = 0x20000000
SOCK_NOSIGPIPE = 0x40000000
SOCK_RAW = 3
SOCK_RDM = 4
SOCK_SEQPACKET = 5
SOCK_STREAM = 1
SOL_SOCKET = 0xffff
SOMAXCONN = 128
SO_ACCEPTCONN = 0x0002
SO_ACCEPTFILTER = 0x1000
SO_BROADCAST = 0x0020
SO_DEBUG = 0x0001
SO_DEFOPTS = 27645
SO_DONTROUTE = 0x0010
SO_ERROR = 0x1007
SO_KEEPALIVE = 0x0008
SO_LINGER = 0x0080
SO_NOHEADER = 0x100a
SO_NOSIGPIPE = 0x0800
SO_OOBINLINE = 0x0100
SO_OVERFLOWED = 0x1009
SO_RCVBUF = 0x1002
SO_RCVLOWAT = 0x1004
SO_RCVTIMEO = 0x100c
SO_RERROR = 0x4000
SO_REUSEADDR = 0x0004
SO_REUSEPORT = 0x0200
SO_SNDBUF = 0x1001
SO_SNDLOWAT = 0x1003
SO_SNDTIMEO = 0x100b
SO_TIMESTAMP = 0x2000
SO_TYPE = 0x1008
SO_USELOOPBACK = 0x0040
UINT16_MAX = 65535
UINT32_MAX = 4294967295
UINT64_MAX = 18446744073709551615
UINT8_MAX = 255
UINTMAX_MAX = 18446744073709551615
UINTPTR_MAX = 18446744073709551615
UINT_FAST16_MAX = 4294967295
UINT_FAST32_MAX = 4294967295
UINT_FAST64_MAX = 18446744073709551615
UINT_FAST8_MAX = 4294967295
UINT_LEAST16_MAX = 65535
UINT_LEAST32_MAX = 4294967295
UINT_LEAST64_MAX = 18446744073709551615
UINT_LEAST8_MAX = 255
UIO_MAXIOV = 1024
WCHAR_MAX = 0x7fffffff
WCHAR_MIN = -2147483648
WINT_MAX = 0x7fffffff
WINT_MIN = -2147483648
X_AMD64_BYTE_SWAP_H_ = 0
X_AMD64_INT_CONST_H_ = 0
X_AMD64_INT_LIMITS_H_ = 0
X_AMD64_INT_MWGWTYPES_H_ = 0
X_AMD64_INT_TYPES_H_ = 0
X_AMD64_WCHAR_LIMITS_H_ = 0
X_BIG_ENDIAN = 4321
X_BSD_INT16_T_ = 0
X_BSD_INT32_T_ = 0
X_BSD_INT64_T_ = 0
X_BSD_INT8_T_ = 0
X_BSD_INTPTR_T_ = 0
X_BSD_UINT16_T_ = 0
X_BSD_UINT32_T_ = 0
X_BSD_UINT64_T_ = 0
X_BSD_UINT8_T_ = 0
X_BSD_UINTPTR_T_ = 0
X_BYTE_ORDER = 1234
X_FILE_OFFSET_BITS = 64
X_LIB_PTHREAD_TYPES_H = 0
X_LITTLE_ENDIAN = 1234
X_LP64 = 1
X_NETBSD_SOURCE = 1
X_NETINET6_IN6_H_ = 0
X_NETINET_IN_H_ = 0
X_PDP_ENDIAN = 3412
X_PT_BARRIERATTR_DEAD = 0xDEAD0808
X_PT_BARRIERATTR_MAGIC = 0x88880808
X_PT_BARRIER_DEAD = 0xDEAD0008
X_PT_BARRIER_MAGIC = 0x88880008
X_PT_CONDATTR_DEAD = 0xDEAD0006
X_PT_CONDATTR_MAGIC = 0x66660006
X_PT_COND_DEAD = 0xDEAD0005
X_PT_COND_MAGIC = 0x55550005
X_PT_MUTEXATTR_DEAD = 0xDEAD0004
X_PT_MUTEXATTR_MAGIC = 0x44440004
X_PT_MUTEX_DEAD = 0xDEAD0003
X_PT_MUTEX_MAGIC = 0x33330003
X_PT_RWLOCKATTR_DEAD = 0xDEAD0909
X_PT_RWLOCKATTR_MAGIC = 0x99990909
X_PT_RWLOCK_DEAD = 0xDEAD0009
X_PT_RWLOCK_MAGIC = 0x99990009
X_PT_SPINLOCK_DEAD = 0xDEAD0007
X_PT_SPINLOCK_MAGIC = 0x77770007
X_PT_SPINLOCK_PSHARED = 0x00000001
X_QUAD_HIGHWORD = 1
X_QUAD_LOWWORD = 0
X_SS_MAXSIZE = 128
X_SYS_ANSI_H_ = 0
X_SYS_BSWAP_H_ = 0
X_SYS_CDEFS_ELF_H_ = 0
X_SYS_CDEFS_H_ = 0
X_SYS_COMMON_ANSI_H_ = 0
X_SYS_COMMON_INT_LIMITS_H_ = 0
X_SYS_COMMON_INT_MWGWTYPES_H_ = 0
X_SYS_COMMON_INT_TYPES_H_ = 0
X_SYS_ENDIAN_H_ = 0
X_SYS_FD_SET_H_ = 0
X_SYS_SIGTYPES_H_ = 0
X_SYS_SOCKET_H_ = 0
X_SYS_STDINT_H_ = 0
X_SYS_TYPES_H_ = 0
X_SYS_UIO_H_ = 0
X_X86_64_BSWAP_H_ = 0
X_X86_64_CDEFS_H_ = 0
X_X86_64_TYPES_H_ = 0
Pseudo_AF_HDRCMPLT = 30
Pseudo_AF_KEY = 29
Pseudo_AF_PIP = 25
Pseudo_AF_RTIP = 22
Pseudo_AF_XTP = 19
AF_APPLETALK = 16 // socket.h:218:1:
AF_ARP = 28 // socket.h:237:1:
AF_BLUETOOTH = 31 // socket.h:243:1:
AF_CAN = 35 // socket.h:247:1:
AF_CCITT = 10 // socket.h:212:1:
AF_CHAOS = 5 // socket.h:206:1:
AF_CNT = 21 // socket.h:225:1:
AF_COIP = 20 // socket.h:224:1:
AF_DATAKIT = 9 // socket.h:211:1:
AF_DECnet = 12 // socket.h:214:1:
AF_DLI = 13 // socket.h:215:1:
AF_E164 = 26 // socket.h:235:1:
AF_ECMA = 8 // socket.h:210:1:
AF_ETHER = 36 // socket.h:248:1:
AF_HYLINK = 15 // socket.h:217:1:
AF_IEEE80211 = 32 // socket.h:244:1:
AF_IMPLINK = 3 // socket.h:204:1:
AF_INET = 2 // socket.h:203:1:
AF_INET6 = 24 // socket.h:230:1:
AF_IPX = 23 // socket.h:229:1:
AF_ISDN = 26 // socket.h:234:1:
AF_ISO = 7 // socket.h:208:1:
AF_LAT = 14 // socket.h:216:1:
AF_LINK = 18 // socket.h:220:1:
AF_LOCAL = 1 // socket.h:201:1:
AF_MAX = 37 // socket.h:249:1:
AF_MPLS = 33 // socket.h:245:1:
AF_NATM = 27 // socket.h:236:1:
AF_NS = 6 // socket.h:207:1:
AF_OROUTE = 17 // socket.h:219:1:
AF_OSI = 7 // socket.h:209:1:
AF_PUP = 4 // socket.h:205:1:
AF_ROUTE = 34 // socket.h:246:1:
AF_SNA = 11 // socket.h:213:1:
AF_UNIX = 1 // socket.h:202:1:
AF_UNSPEC = 0 // socket.h:200:1:
BIG_ENDIAN = 4321 // endian.h:101:1:
BYTE_ORDER = 1234 // endian.h:103:1:
CTL_IPPROTO_IPSEC = 258 // in.h:118:1:
FD_SETSIZE = 256 // fd_set.h:59:1:
ICMP6_FILTER = 18 // in6.h:393:1:
INET6_ADDRSTRLEN = 46 // in6.h:138:1:
INET6_IS_ADDR_LINKLOCAL = 1 // in6.h:678:1:
INET6_IS_ADDR_MC_LINKLOCAL = 2 // in6.h:679:1:
INET6_IS_ADDR_SITELOCAL = 4 // in6.h:680:1:
INET_ADDRSTRLEN = 16 // in.h:249:1:
INT16_MAX = 32767 // common_int_limits.h:53:1:
INT16_MIN = -32768 // common_int_limits.h:47:1:
INT32_MAX = 2147483647 // common_int_limits.h:54:1:
INT32_MIN = -2147483648 // common_int_limits.h:48:1:
INT64_MAX = 9223372036854775807 // common_int_limits.h:55:1:
INT64_MIN = -9223372036854775808 // common_int_limits.h:49:1:
INT8_MAX = 127 // common_int_limits.h:52:1:
INT8_MIN = -128 // common_int_limits.h:46:1:
INTMAX_MAX = 9223372036854775807 // common_int_limits.h:111:1:
INTMAX_MIN = -9223372036854775808 // common_int_limits.h:110:1:
INTPTR_MAX = 9223372036854775807 // common_int_limits.h:105:1:
INTPTR_MIN = -9223372036854775808 // common_int_limits.h:104:1:
INT_FAST16_MAX = 2147483647 // common_int_limits.h:93:1:
INT_FAST16_MIN = -2147483648 // common_int_limits.h:87:1:
INT_FAST32_MAX = 2147483647 // common_int_limits.h:94:1:
INT_FAST32_MIN = -2147483648 // common_int_limits.h:88:1:
INT_FAST64_MAX = 9223372036854775807 // common_int_limits.h:95:1:
INT_FAST64_MIN = -9223372036854775808 // common_int_limits.h:89:1:
INT_FAST8_MAX = 2147483647 // common_int_limits.h:92:1:
INT_FAST8_MIN = -2147483648 // common_int_limits.h:86:1:
INT_LEAST16_MAX = 32767 // common_int_limits.h:73:1:
INT_LEAST16_MIN = -32768 // common_int_limits.h:67:1:
INT_LEAST32_MAX = 2147483647 // common_int_limits.h:74:1:
INT_LEAST32_MIN = -2147483648 // common_int_limits.h:68:1:
INT_LEAST64_MAX = 9223372036854775807 // common_int_limits.h:75:1:
INT_LEAST64_MIN = -9223372036854775808 // common_int_limits.h:69:1:
INT_LEAST8_MAX = 127 // common_int_limits.h:72:1:
INT_LEAST8_MIN = -128 // common_int_limits.h:66:1:
IN_CLASSA_MAX = 128 // in.h:182:1:
IN_CLASSA_NSHIFT = 24 // in.h:180:1:
IN_CLASSB_MAX = 65536 // in.h:189:1:
IN_CLASSB_NSHIFT = 16 // in.h:187:1:
IN_CLASSC_NSHIFT = 8 // in.h:194:1:
IN_CLASSD_NSHIFT = 28 // in.h:201:1:
IN_LOOPBACKNET = 127 // in.h:236:1:
IPCTL_ALLOWSRCRT = 7 // in.h:348:1:
IPCTL_ANONPORTMAX = 11 // in.h:352:1:
IPCTL_ANONPORTMIN = 10 // in.h:351:1:
IPCTL_CHECKINTERFACE = 20 // in.h:361:1:
IPCTL_DAD_COUNT = 25 // in.h:366:1:
IPCTL_DEFTTL = 3 // in.h:344:1:
IPCTL_DIRECTEDBCAST = 6 // in.h:347:1:
IPCTL_FORWARDING = 1 // in.h:342:1:
IPCTL_FORWSRCRT = 5 // in.h:346:1:
IPCTL_GIF_TTL = 15 // in.h:356:1:
IPCTL_GRE_TTL = 19 // in.h:360:1:
IPCTL_HOSTZEROBROADCAST = 14 // in.h:355:1:
IPCTL_IFQ = 21 // in.h:362:1:
IPCTL_LOOPBACKCKSUM = 23 // in.h:364:1:
IPCTL_LOWPORTMAX = 17 // in.h:358:1:
IPCTL_LOWPORTMIN = 16 // in.h:357:1:
IPCTL_MAXFLOWS = 13 // in.h:354:1:
IPCTL_MAXFRAGPACKETS = 18 // in.h:359:1:
IPCTL_MTUDISC = 9 // in.h:350:1:
IPCTL_MTUDISCTIMEOUT = 12 // in.h:353:1:
IPCTL_RANDOMID = 22 // in.h:363:1:
IPCTL_SENDREDIRECTS = 2 // in.h:343:1:
IPCTL_STATS = 24 // in.h:365:1:
IPCTL_SUBNETSARELOCAL = 8 // in.h:349:1:
IPPORT_ANONMAX = 65535 // in.h:151:1:
IPPORT_ANONMIN = 49152 // in.h:150:1:
IPPORT_RESERVED = 1024 // in.h:149:1:
IPPORT_RESERVEDMAX = 1023 // in.h:153:1:
IPPORT_RESERVEDMIN = 600 // in.h:152:1:
IPPROTO_AH = 51 // in.h:95:1:
IPPROTO_CARP = 112 // in.h:107:1:
IPPROTO_DCCP = 33 // in.h:88:1:
IPPROTO_DONE = 257 // in.h:115:1:
IPPROTO_DSTOPTS = 60 // in.h:100:1:
IPPROTO_EGP = 8 // in.h:83:1:
IPPROTO_ENCAP = 98 // in.h:103:1:
IPPROTO_EON = 80 // in.h:101:1:
IPPROTO_ESP = 50 // in.h:94:1:
IPPROTO_ETHERIP = 97 // in.h:102:1:
IPPROTO_FRAGMENT = 44 // in.h:91:1:
IPPROTO_GGP = 3 // in.h:79:1:
IPPROTO_GRE = 47 // in.h:93:1:
IPPROTO_HOPOPTS = 0 // in.h:76:1:
IPPROTO_ICMP = 1 // in.h:77:1:
IPPROTO_ICMPV6 = 58 // in.h:98:1:
IPPROTO_IDP = 22 // in.h:86:1:
IPPROTO_IGMP = 2 // in.h:78:1:
IPPROTO_IP = 0 // in.h:75:1:
IPPROTO_IPCOMP = 108 // in.h:105:1:
IPPROTO_IPIP = 4 // in.h:81:1:
IPPROTO_IPV4 = 4 // in.h:80:1:
IPPROTO_IPV6 = 41 // in.h:89:1:
IPPROTO_IPV6_ICMP = 58 // in.h:97:1:
IPPROTO_L2TP = 115 // in.h:108:1:
IPPROTO_MAX = 256 // in.h:112:1:
IPPROTO_MOBILE = 55 // in.h:96:1:
IPPROTO_NONE = 59 // in.h:99:1:
IPPROTO_PFSYNC = 240 // in.h:110:1:
IPPROTO_PIM = 103 // in.h:104:1:
IPPROTO_PUP = 12 // in.h:84:1:
IPPROTO_RAW = 255 // in.h:111:1:
IPPROTO_ROUTING = 43 // in.h:90:1:
IPPROTO_RSVP = 46 // in.h:92:1:
IPPROTO_SCTP = 132 // in.h:109:1:
IPPROTO_TCP = 6 // in.h:82:1:
IPPROTO_TP = 29 // in.h:87:1:
IPPROTO_UDP = 17 // in.h:85:1:
IPPROTO_VRRP = 112 // in.h:106:1:
IPV6CTL_ACCEPT_RTADV = 12 // in6.h:509:1:
IPV6CTL_ADDRCTLPOLICY = 38 // in6.h:530:1:
IPV6CTL_ANONPORTMAX = 29 // in6.h:524:1:
IPV6CTL_ANONPORTMIN = 28 // in6.h:523:1:
IPV6CTL_AUTO_FLOWLABEL = 17 // in6.h:514:1:
IPV6CTL_AUTO_LINKLOCAL = 35 // in6.h:528:1:
IPV6CTL_DAD_COUNT = 16 // in6.h:513:1:
IPV6CTL_DEFHLIM = 3 // in6.h:500:1:
IPV6CTL_DEFMCASTHLIM = 18 // in6.h:515:1:
IPV6CTL_FORWARDING = 1 // in6.h:498:1:
IPV6CTL_FORWSRCRT = 5 // in6.h:502:1:
IPV6CTL_GIF_HLIM = 19 // in6.h:516:1:
IPV6CTL_HDRNESTLIMIT = 15 // in6.h:512:1:
IPV6CTL_IFQ = 42 // in6.h:534:1:
IPV6CTL_KAME_VERSION = 20 // in6.h:517:1:
IPV6CTL_KEEPFAITH = 13 // in6.h:510:1:
IPV6CTL_LOG_INTERVAL = 14 // in6.h:511:1:
IPV6CTL_LOWPORTMAX = 31 // in6.h:526:1:
IPV6CTL_LOWPORTMIN = 30 // in6.h:525:1:
IPV6CTL_MAXFRAGPACKETS = 9 // in6.h:506:1:
IPV6CTL_MAXFRAGS = 41 // in6.h:533:1:
IPV6CTL_MRTPROTO = 8 // in6.h:505:1:
IPV6CTL_MRTSTATS = 7 // in6.h:504:1:
IPV6CTL_RR_PRUNE = 22 // in6.h:519:1:
IPV6CTL_RTADV_MAXROUTES = 43 // in6.h:535:1:
IPV6CTL_RTADV_NUMROUTES = 44 // in6.h:537:1:
IPV6CTL_SENDREDIRECTS = 2 // in6.h:499:1:
IPV6CTL_SOURCECHECK = 10 // in6.h:507:1:
IPV6CTL_SOURCECHECK_LOGINT = 11 // in6.h:508:1:
IPV6CTL_STATS = 6 // in6.h:503:1:
IPV6CTL_USE_DEFAULTZONE = 39 // in6.h:531:1:
IPV6CTL_USE_DEPRECATED = 21 // in6.h:518:1:
IPV6CTL_V6ONLY = 24 // in6.h:521:1:
IPV6PORT_ANONMAX = 65535 // in6.h:115:1:
IPV6PORT_ANONMIN = 49152 // in6.h:114:1:
IPV6PORT_RESERVED = 1024 // in6.h:113:1:
IPV6PORT_RESERVEDMAX = 1023 // in6.h:117:1:
IPV6PORT_RESERVEDMIN = 600 // in6.h:116:1:
IPV6_CHECKSUM = 26 // in6.h:405:1:
IPV6_DEFAULT_MULTICAST_HOPS = 1 // in6.h:453:1:
IPV6_DEFAULT_MULTICAST_LOOP = 1 // in6.h:454:1:
IPV6_DONTFRAG = 62 // in6.h:441:1:
IPV6_DSTOPTS = 50 // in6.h:432:1:
IPV6_FAITH = 29 // in6.h:409:1:
IPV6_HOPLIMIT = 47 // in6.h:429:1:
IPV6_HOPOPTS = 49 // in6.h:431:1:
IPV6_IPSEC_POLICY = 28 // in6.h:408:1:
IPV6_JOIN_GROUP = 12 // in6.h:388:1:
IPV6_LEAVE_GROUP = 13 // in6.h:389:1:
IPV6_MULTICAST_HOPS = 10 // in6.h:385:1:
IPV6_MULTICAST_IF = 9 // in6.h:384:1:
IPV6_MULTICAST_LOOP = 11 // in6.h:386:1:
IPV6_NEXTHOP = 48 // in6.h:430:1:
IPV6_PATHMTU = 44 // in6.h:424:1:
IPV6_PKTINFO = 46 // in6.h:428:1:
IPV6_PORTALGO = 17 // in6.h:392:1:
IPV6_PORTRANGE = 14 // in6.h:390:1:
IPV6_PORTRANGE_DEFAULT = 0 // in6.h:484:1:
IPV6_PORTRANGE_HIGH = 1 // in6.h:485:1:
IPV6_PORTRANGE_LOW = 2 // in6.h:486:1:
IPV6_PREFER_TEMPADDR = 63 // in6.h:442:1:
IPV6_RECVDSTOPTS = 40 // in6.h:418:1:
IPV6_RECVHOPLIMIT = 37 // in6.h:415:1:
IPV6_RECVHOPOPTS = 39 // in6.h:417:1:
IPV6_RECVPATHMTU = 43 // in6.h:423:1:
IPV6_RECVPKTINFO = 36 // in6.h:414:1:
IPV6_RECVRTHDR = 38 // in6.h:416:1:
IPV6_RECVTCLASS = 57 // in6.h:435:1:
IPV6_RTHDR = 51 // in6.h:433:1:
IPV6_RTHDRDSTOPTS = 35 // in6.h:412:1:
IPV6_RTHDR_LOOSE = 0 // in6.h:446:1:
IPV6_RTHDR_STRICT = 1 // in6.h:447:1:
IPV6_RTHDR_TYPE_0 = 0 // in6.h:448:1:
IPV6_SOCKOPT_RESERVED1 = 3 // in6.h:382:1:
IPV6_TCLASS = 61 // in6.h:440:1:
IPV6_UNICAST_HOPS = 4 // in6.h:383:1:
IPV6_USE_MIN_MTU = 42 // in6.h:422:1:
IPV6_V6ONLY = 27 // in6.h:406:1:
IP_ADD_MEMBERSHIP = 12 // in.h:283:1:
IP_DEFAULT_MULTICAST_LOOP = 1 // in.h:312:1:
IP_DEFAULT_MULTICAST_TTL = 1 // in.h:311:1:
IP_DROP_MEMBERSHIP = 13 // in.h:284:1:
IP_ERRORMTU = 21 // in.h:288:1:
IP_HDRINCL = 2 // in.h:272:1:
IP_IPSEC_POLICY = 22 // in.h:289:1:
IP_MAX_MEMBERSHIPS = 20 // in.h:313:1:
IP_MINTTL = 24 // in.h:291:1:
IP_MULTICAST_IF = 9 // in.h:279:1:
IP_MULTICAST_LOOP = 11 // in.h:281:1:
IP_MULTICAST_TTL = 10 // in.h:280:1:
IP_OPTIONS = 1 // in.h:271:1:
IP_PKTINFO = 25 // in.h:292:1:
IP_PORTALGO = 18 // in.h:285:1:
IP_PORTRANGE = 19 // in.h:286:1:
IP_PORTRANGE_DEFAULT = 0 // in.h:327:1:
IP_PORTRANGE_HIGH = 1 // in.h:328:1:
IP_PORTRANGE_LOW = 2 // in.h:329:1:
IP_RECVDSTADDR = 7 // in.h:277:1:
IP_RECVIF = 20 // in.h:287:1:
IP_RECVOPTS = 5 // in.h:275:1:
IP_RECVPKTINFO = 26 // in.h:293:1:
IP_RECVRETOPTS = 6 // in.h:276:1:
IP_RECVTTL = 23 // in.h:290:1:
IP_RETOPTS = 8 // in.h:278:1:
IP_SENDSRCADDR = 7 // in.h:295:1:
IP_TOS = 3 // in.h:273:1:
IP_TTL = 4 // in.h:274:1:
LITTLE_ENDIAN = 1234 // endian.h:100:1:
MSG_BCAST = 0x0100 // socket.h:497:1:
MSG_CMSG_CLOEXEC = 0x0800 // socket.h:501:1:
MSG_CONTROLMBUF = 0x2000000 // socket.h:515:1:
MSG_CTRUNC = 0x0020 // socket.h:494:1:
MSG_DONTROUTE = 0x0004 // socket.h:491:1:
MSG_DONTWAIT = 0x0080 // socket.h:496:1:
MSG_EOR = 0x0008 // socket.h:492:1:
MSG_IOVUSRSPACE = 0x4000000 // socket.h:516:1:
MSG_LENUSRSPACE = 0x8000000 // socket.h:517:1:
MSG_MCAST = 0x0200 // socket.h:498:1:
MSG_NAMEMBUF = 0x1000000 // socket.h:514:1:
MSG_NBIO = 0x1000 // socket.h:502:1:
MSG_NOSIGNAL = 0x0400 // socket.h:499:1:
MSG_NOTIFICATION = 0x4000 // socket.h:504:1:
MSG_OOB = 0x0001 // socket.h:489:1:
MSG_PEEK = 0x0002 // socket.h:490:1:
MSG_TRUNC = 0x0010 // socket.h:493:1:
MSG_USERFLAGS = 0x0ffffff // socket.h:513:1:
MSG_WAITALL = 0x0040 // socket.h:495:1:
MSG_WAITFORONE = 0x2000 // socket.h:503:1:
NBBY = 8 // types.h:316:1:
NET_RT_DUMP = 1 // socket.h:457:1:
NET_RT_FLAGS = 2 // socket.h:458:1:
NET_RT_IFLIST = 6 // socket.h:462:1:
NET_RT_OIFLIST = 5 // socket.h:461:1:
NET_RT_OOIFLIST = 4 // socket.h:460:1:
NET_RT_OOOIFLIST = 3 // socket.h:459:1:
NFDBITS = 32 // fd_set.h:93:1:
NODEVMAJOR = -1 // types.h:258:1:
PCB_ALL = 0 // socket.h:444:1:
PCB_SLOP = 20 // socket.h:443:1:
PDP_ENDIAN = 3412 // endian.h:102:1:
PF_APPLETALK = 16 // socket.h:334:1:
PF_ARP = 28 // socket.h:351:1:
PF_BLUETOOTH = 31 // socket.h:355:1:
PF_CAN = 35 // socket.h:358:1:
PF_CCITT = 10 // socket.h:328:1:
PF_CHAOS = 5 // socket.h:322:1:
PF_CNT = 21 // socket.h:341:1:
PF_COIP = 20 // socket.h:340:1:
PF_DATAKIT = 9 // socket.h:327:1:
PF_DECnet = 12 // socket.h:330:1:
PF_DLI = 13 // socket.h:331:1:
PF_E164 = 26 // socket.h:349:1:
PF_ECMA = 8 // socket.h:326:1:
PF_ETHER = 36 // socket.h:359:1:
PF_HYLINK = 15 // socket.h:333:1:
PF_IMPLINK = 3 // socket.h:320:1:
PF_INET = 2 // socket.h:319:1:
PF_INET6 = 24 // socket.h:342:1:
PF_IPX = 23 // socket.h:343:1:
PF_ISDN = 26 // socket.h:348:1:
PF_ISO = 7 // socket.h:324:1:
PF_KEY = 29 // socket.h:353:1:
PF_LAT = 14 // socket.h:332:1:
PF_LINK = 18 // socket.h:336:1:
PF_LOCAL = 1 // socket.h:317:1:
PF_MAX = 37 // socket.h:361:1:
PF_MPLS = 33 // socket.h:356:1:
PF_NATM = 27 // socket.h:350:1:
PF_NS = 6 // socket.h:323:1:
PF_OROUTE = 17 // socket.h:335:1:
PF_OSI = 7 // socket.h:325:1:
PF_PIP = 25 // socket.h:346:1:
PF_PUP = 4 // socket.h:321:1:
PF_ROUTE = 34 // socket.h:357:1:
PF_RTIP = 22 // socket.h:345:1:
PF_SNA = 11 // socket.h:329:1:
PF_UNIX = 1 // socket.h:318:1:
PF_UNSPEC = 0 // socket.h:316:1:
PF_XTP = 19 // socket.h:338:1:
PTRDIFF_MAX = 9223372036854775807 // common_int_limits.h:121:1:
PTRDIFF_MIN = -9223372036854775808 // common_int_limits.h:120:1:
SCM_CREDS = 0x10 // socket.h:581:1:
SCM_RIGHTS = 0x01 // socket.h:576:1:
SCM_TIMESTAMP = 0x08 // socket.h:580:1:
SHUT_RD = 0 // socket.h:587:1:
SHUT_RDWR = 2 // socket.h:589:1:
SHUT_WR = 1 // socket.h:588:1:
SIG_ATOMIC_MAX = 2147483647 // common_int_limits.h:125:1:
SIG_ATOMIC_MIN = -2147483648 // common_int_limits.h:124:1:
SIN6_LEN = 0 // in6.h:144:1:
SIZE_MAX = 18446744073709551615 // common_int_limits.h:128:1:
SOCK_CLOEXEC = 0x10000000 // socket.h:113:1:
SOCK_CONN_DGRAM = 6 // socket.h:110:1:
SOCK_DCCP = 6 // socket.h:111:1:
SOCK_DGRAM = 2 // socket.h:106:1:
SOCK_FLAGS_MASK = 0xf0000000 // socket.h:116:1:
SOCK_NONBLOCK = 0x20000000 // socket.h:114:1:
SOCK_NOSIGPIPE = 0x40000000 // socket.h:115:1:
SOCK_RAW = 3 // socket.h:107:1:
SOCK_RDM = 4 // socket.h:108:1:
SOCK_SEQPACKET = 5 // socket.h:109:1:
SOCK_STREAM = 1 // socket.h:105:1:
SOL_SOCKET = 0xffff // socket.h:195:1:
SOMAXCONN = 128 // socket.h:470:1:
SO_ACCEPTCONN = 0x0002 // socket.h:122:1:
SO_ACCEPTFILTER = 0x1000 // socket.h:133:1:
SO_BROADCAST = 0x0020 // socket.h:126:1:
SO_DEBUG = 0x0001 // socket.h:121:1:
SO_DEFOPTS = 27645 // socket.h:138:1:
SO_DONTROUTE = 0x0010 // socket.h:125:1:
SO_ERROR = 0x1007 // socket.h:169:1:
SO_KEEPALIVE = 0x0008 // socket.h:124:1:
SO_LINGER = 0x0080 // socket.h:128:1:
SO_NOHEADER = 0x100a // socket.h:173:1:
SO_NOSIGPIPE = 0x0800 // socket.h:132:1:
SO_OOBINLINE = 0x0100 // socket.h:129:1:
SO_OVERFLOWED = 0x1009 // socket.h:171:1:
SO_RCVBUF = 0x1002 // socket.h:164:1:
SO_RCVLOWAT = 0x1004 // socket.h:166:1:
SO_RCVTIMEO = 0x100c // socket.h:178:1:
SO_RERROR = 0x4000 // socket.h:135:1:
SO_REUSEADDR = 0x0004 // socket.h:123:1:
SO_REUSEPORT = 0x0200 // socket.h:130:1:
SO_SNDBUF = 0x1001 // socket.h:163:1:
SO_SNDLOWAT = 0x1003 // socket.h:165:1:
SO_SNDTIMEO = 0x100b // socket.h:177:1:
SO_TIMESTAMP = 0x2000 // socket.h:134:1:
SO_TYPE = 0x1008 // socket.h:170:1:
SO_USELOOPBACK = 0x0040 // socket.h:127:1:
UINT16_MAX = 65535 // common_int_limits.h:59:1:
UINT32_MAX = 4294967295 // common_int_limits.h:60:1:
UINT64_MAX = 18446744073709551615 // common_int_limits.h:61:1:
UINT8_MAX = 255 // common_int_limits.h:58:1:
UINTMAX_MAX = 18446744073709551615 // common_int_limits.h:112:1:
UINTPTR_MAX = 18446744073709551615 // common_int_limits.h:106:1:
UINT_FAST16_MAX = 4294967295 // common_int_limits.h:99:1:
UINT_FAST32_MAX = 4294967295 // common_int_limits.h:100:1:
UINT_FAST64_MAX = 18446744073709551615 // common_int_limits.h:101:1:
UINT_FAST8_MAX = 4294967295 // common_int_limits.h:98:1:
UINT_LEAST16_MAX = 65535 // common_int_limits.h:79:1:
UINT_LEAST32_MAX = 4294967295 // common_int_limits.h:80:1:
UINT_LEAST64_MAX = 18446744073709551615 // common_int_limits.h:81:1:
UINT_LEAST8_MAX = 255 // common_int_limits.h:78:1:
UIO_MAXIOV = 1024 // uio.h:97:1:
WCHAR_MAX = 0x7fffffff // wchar_limits.h:41:1:
WCHAR_MIN = -2147483648 // wchar_limits.h:40:1:
WINT_MAX = 0x7fffffff // wchar_limits.h:45:1:
WINT_MIN = -2147483648 // wchar_limits.h:44:1:
X_AMD64_BYTE_SWAP_H_ = 0 // byte_swap.h:37:1:
X_AMD64_INT_CONST_H_ = 0 // int_const.h:33:1:
X_AMD64_INT_LIMITS_H_ = 0 // int_limits.h:33:1:
X_AMD64_INT_MWGWTYPES_H_ = 0 // int_mwgwtypes.h:33:1:
X_AMD64_INT_TYPES_H_ = 0 // int_types.h:35:1:
X_AMD64_WCHAR_LIMITS_H_ = 0 // wchar_limits.h:33:1:
X_BIG_ENDIAN = 4321 // endian.h:44:1:
X_BSD_INT16_T_ = 0 // types.h:65:1:
X_BSD_INT32_T_ = 0 // types.h:75:1:
X_BSD_INT64_T_ = 0 // types.h:85:1:
X_BSD_INT8_T_ = 0 // types.h:55:1:
X_BSD_INTPTR_T_ = 0 // stdint.h:80:1:
X_BSD_UINT16_T_ = 0 // types.h:70:1:
X_BSD_UINT32_T_ = 0 // in.h:52:1:
X_BSD_UINT64_T_ = 0 // types.h:90:1:
X_BSD_UINT8_T_ = 0 // in.h:47:1:
X_BSD_UINTPTR_T_ = 0 // stdint.h:85:1:
X_BYTE_ORDER = 1234 // endian_machdep.h:3:1:
X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
X_LIB_PTHREAD_TYPES_H = 0 // pthread_types.h:33:1:
X_LITTLE_ENDIAN = 1234 // endian.h:43:1:
X_LP64 = 1 // <predefined>:268:1:
X_NETBSD_SOURCE = 1 // featuretest.h:70:1:
X_NETINET6_IN6_H_ = 0 // in6.h:65:1:
X_NETINET_IN_H_ = 0 // in.h:40:1:
X_PDP_ENDIAN = 3412 // endian.h:45:1:
X_PT_BARRIERATTR_DEAD = 0xDEAD0808 // pthread_types.h:278:1:
X_PT_BARRIERATTR_MAGIC = 0x88880808 // pthread_types.h:277:1:
X_PT_BARRIER_DEAD = 0xDEAD0008 // pthread_types.h:270:1:
X_PT_BARRIER_MAGIC = 0x88880008 // pthread_types.h:269:1:
X_PT_CONDATTR_DEAD = 0xDEAD0006 // pthread_types.h:197:1:
X_PT_CONDATTR_MAGIC = 0x66660006 // pthread_types.h:196:1:
X_PT_COND_DEAD = 0xDEAD0005 // pthread_types.h:182:1:
X_PT_COND_MAGIC = 0x55550005 // pthread_types.h:181:1:
X_PT_MUTEXATTR_DEAD = 0xDEAD0004 // pthread_types.h:167:1:
X_PT_MUTEXATTR_MAGIC = 0x44440004 // pthread_types.h:166:1:
X_PT_MUTEX_DEAD = 0xDEAD0003 // pthread_types.h:139:1:
X_PT_MUTEX_MAGIC = 0x33330003 // pthread_types.h:138:1:
X_PT_RWLOCKATTR_DEAD = 0xDEAD0909 // pthread_types.h:253:1:
X_PT_RWLOCKATTR_MAGIC = 0x99990909 // pthread_types.h:252:1:
X_PT_RWLOCK_DEAD = 0xDEAD0009 // pthread_types.h:236:1:
X_PT_RWLOCK_MAGIC = 0x99990009 // pthread_types.h:235:1:
X_PT_SPINLOCK_DEAD = 0xDEAD0007 // pthread_types.h:213:1:
X_PT_SPINLOCK_MAGIC = 0x77770007 // pthread_types.h:212:1:
X_PT_SPINLOCK_PSHARED = 0x00000001 // pthread_types.h:214:1:
X_QUAD_HIGHWORD = 1 // endian.h:84:1:
X_QUAD_LOWWORD = 0 // endian.h:85:1:
X_SS_MAXSIZE = 128 // socket.h:294:1:
X_SYS_ANSI_H_ = 0 // ansi.h:33:1:
X_SYS_BSWAP_H_ = 0 // bswap.h:6:1:
X_SYS_CDEFS_ELF_H_ = 0 // cdefs_elf.h:31:1:
X_SYS_CDEFS_H_ = 0 // cdefs.h:37:1:
X_SYS_COMMON_ANSI_H_ = 0 // common_ansi.h:33:1:
X_SYS_COMMON_INT_LIMITS_H_ = 0 // common_int_limits.h:33:1:
X_SYS_COMMON_INT_MWGWTYPES_H_ = 0 // common_int_mwgwtypes.h:33:1:
X_SYS_COMMON_INT_TYPES_H_ = 0 // common_int_types.h:33:1:
X_SYS_ENDIAN_H_ = 0 // endian.h:35:1:
X_SYS_FD_SET_H_ = 0 // fd_set.h:35:1:
X_SYS_SIGTYPES_H_ = 0 // sigtypes.h:40:1:
X_SYS_SOCKET_H_ = 0 // socket.h:64:1:
X_SYS_STDINT_H_ = 0 // stdint.h:33:1:
X_SYS_TYPES_H_ = 0 // types.h:40:1:
X_SYS_UIO_H_ = 0 // uio.h:35:1:
X_X86_64_BSWAP_H_ = 0 // bswap.h:6:1:
X_X86_64_CDEFS_H_ = 0 // cdefs.h:4:1:
X_X86_64_TYPES_H_ = 0 // types.h:35:1:
Pseudo_AF_HDRCMPLT = 30 // socket.h:240:1:
Pseudo_AF_KEY = 29 // socket.h:239:1:
Pseudo_AF_PIP = 25 // socket.h:232:1:
Pseudo_AF_RTIP = 22 // socket.h:227:1:
Pseudo_AF_XTP = 19 // socket.h:222:1:
)
// file offset
+270 -270
View File
@@ -1,4 +1,4 @@
// Code generated by 'ccgo netinet/in/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o netinet/in/in_openbsd_amd64.go -pkgname in', DO NOT EDIT.
// Code generated by 'ccgo netinet/in/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o netinet/in/in_openbsd_amd64.go -pkgname in', DO NOT EDIT.
package in
@@ -15,275 +15,275 @@ var _ atomic.Value
var _ unsafe.Pointer
const (
BIG_ENDIAN = 4321
BYTE_ORDER = 1234
ICMP6_FILTER = 18
INET6_ADDRSTRLEN = 46
INET_ADDRSTRLEN = 16
IN_CLASSA_MAX = 128
IN_CLASSA_NSHIFT = 24
IN_CLASSB_MAX = 65536
IN_CLASSB_NSHIFT = 16
IN_CLASSC_NSHIFT = 8
IN_CLASSD_NSHIFT = 28
IN_LOOPBACKNET = 127
IN_RFC3021_NSHIFT = 31
IPCTL_ARPDOWN = 40
IPCTL_ARPQUEUE = 41
IPCTL_ARPQUEUED = 36
IPCTL_ARPTIMEOUT = 39
IPCTL_DEFTTL = 3
IPCTL_DIRECTEDBCAST = 6
IPCTL_ENCDEBUG = 12
IPCTL_FORWARDING = 1
IPCTL_IFQUEUE = 30
IPCTL_IPPORT_FIRSTAUTO = 7
IPCTL_IPPORT_HIFIRSTAUTO = 9
IPCTL_IPPORT_HILASTAUTO = 10
IPCTL_IPPORT_LASTAUTO = 8
IPCTL_IPPORT_MAXQUEUE = 11
IPCTL_IPSEC_ALLOCATIONS = 18
IPCTL_IPSEC_AUTH_ALGORITHM = 26
IPCTL_IPSEC_BYTES = 20
IPCTL_IPSEC_EMBRYONIC_SA_TIMEOUT = 15
IPCTL_IPSEC_ENC_ALGORITHM = 25
IPCTL_IPSEC_EXPIRE_ACQUIRE = 14
IPCTL_IPSEC_FIRSTUSE = 24
IPCTL_IPSEC_IPCOMP_ALGORITHM = 29
IPCTL_IPSEC_REQUIRE_PFS = 16
IPCTL_IPSEC_SOFT_ALLOCATIONS = 17
IPCTL_IPSEC_SOFT_BYTES = 19
IPCTL_IPSEC_SOFT_FIRSTUSE = 23
IPCTL_IPSEC_SOFT_TIMEOUT = 22
IPCTL_IPSEC_STATS = 13
IPCTL_IPSEC_TIMEOUT = 21
IPCTL_MAXID = 42
IPCTL_MFORWARDING = 31
IPCTL_MRTMFC = 37
IPCTL_MRTPROTO = 34
IPCTL_MRTSTATS = 35
IPCTL_MRTVIF = 38
IPCTL_MTUDISC = 27
IPCTL_MTUDISCTIMEOUT = 28
IPCTL_MULTIPATH = 32
IPCTL_SENDREDIRECTS = 2
IPCTL_SOURCEROUTE = 5
IPCTL_STATS = 33
IPPORT_HIFIRSTAUTO = 49152
IPPORT_HILASTAUTO = 65535
IPPORT_RESERVED = 1024
IPPORT_USERRESERVED = 49151
IPPROTO_AH = 51
IPPROTO_CARP = 112
IPPROTO_DIVERT = 258
IPPROTO_DONE = 257
IPPROTO_DSTOPTS = 60
IPPROTO_EGP = 8
IPPROTO_ENCAP = 98
IPPROTO_EON = 80
IPPROTO_ESP = 50
IPPROTO_ETHERIP = 97
IPPROTO_FRAGMENT = 44
IPPROTO_GGP = 3
IPPROTO_GRE = 47
IPPROTO_HOPOPTS = 0
IPPROTO_ICMP = 1
IPPROTO_ICMPV6 = 58
IPPROTO_IDP = 22
IPPROTO_IGMP = 2
IPPROTO_IP = 0
IPPROTO_IPCOMP = 108
IPPROTO_IPIP = 4
IPPROTO_IPV4 = 4
IPPROTO_IPV6 = 41
IPPROTO_MAX = 256
IPPROTO_MAXID = 259
IPPROTO_MOBILE = 55
IPPROTO_MPLS = 137
IPPROTO_NONE = 59
IPPROTO_PFSYNC = 240
IPPROTO_PIM = 103
IPPROTO_PUP = 12
IPPROTO_RAW = 255
IPPROTO_ROUTING = 43
IPPROTO_RSVP = 46
IPPROTO_SCTP = 132
IPPROTO_TCP = 6
IPPROTO_TP = 29
IPPROTO_UDP = 17
IPPROTO_UDPLITE = 136
IPSEC6_OUTSA = 56
IPSEC_AUTH_LEVEL_DEFAULT = 1
IPSEC_ESP_NETWORK_LEVEL_DEFAULT = 1
IPSEC_ESP_TRANS_LEVEL_DEFAULT = 1
IPSEC_IPCOMP_LEVEL_DEFAULT = 1
IPSEC_LEVEL_AVAIL = 0x01
IPSEC_LEVEL_BYPASS = 0x00
IPSEC_LEVEL_DEFAULT = 1
IPSEC_LEVEL_NONE = 0x00
IPSEC_LEVEL_REQUIRE = 0x03
IPSEC_LEVEL_UNIQUE = 0x04
IPSEC_LEVEL_USE = 0x02
IPV6CTL_ACCEPT_RTADV = 12
IPV6CTL_AUTO_FLOWLABEL = 17
IPV6CTL_DAD_COUNT = 16
IPV6CTL_DAD_PENDING = 49
IPV6CTL_DEFHLIM = 3
IPV6CTL_DEFMCASTHLIM = 18
IPV6CTL_FORWARDING = 1
IPV6CTL_FORWSRCRT = 5
IPV6CTL_HDRNESTLIMIT = 15
IPV6CTL_IFQUEUE = 51
IPV6CTL_LOG_INTERVAL = 14
IPV6CTL_MAXDYNROUTES = 48
IPV6CTL_MAXFRAGPACKETS = 9
IPV6CTL_MAXFRAGS = 41
IPV6CTL_MAXID = 55
IPV6CTL_MCAST_PMTU = 44
IPV6CTL_MFORWARDING = 42
IPV6CTL_MRTMFC = 53
IPV6CTL_MRTMIF = 52
IPV6CTL_MRTPROTO = 8
IPV6CTL_MRTSTATS = 7
IPV6CTL_MTUDISCTIMEOUT = 50
IPV6CTL_MULTIPATH = 43
IPV6CTL_NEIGHBORGCTHRESH = 45
IPV6CTL_SENDREDIRECTS = 2
IPV6CTL_SOIIKEY = 54
IPV6CTL_SOURCECHECK = 10
IPV6CTL_SOURCECHECK_LOGINT = 11
IPV6CTL_STATS = 6
IPV6CTL_USE_DEPRECATED = 21
IPV6PROTO_MAXID = 259
IPV6_AUTH_LEVEL = 53
IPV6_AUTOFLOWLABEL = 59
IPV6_CHECKSUM = 26
IPV6_DEFAULT_MULTICAST_HOPS = 1
IPV6_DEFAULT_MULTICAST_LOOP = 1
IPV6_DONTFRAG = 62
IPV6_DSTOPTS = 50
IPV6_ESP_NETWORK_LEVEL = 55
IPV6_ESP_TRANS_LEVEL = 54
IPV6_HOPLIMIT = 47
IPV6_HOPOPTS = 49
IPV6_IPCOMP_LEVEL = 60
IPV6_JOIN_GROUP = 12
IPV6_LEAVE_GROUP = 13
IPV6_MINHOPCOUNT = 65
IPV6_MULTICAST_HOPS = 10
IPV6_MULTICAST_IF = 9
IPV6_MULTICAST_LOOP = 11
IPV6_NEXTHOP = 48
IPV6_PATHMTU = 44
IPV6_PIPEX = 63
IPV6_PKTINFO = 46
IPV6_PORTRANGE = 14
IPV6_PORTRANGE_DEFAULT = 0
IPV6_PORTRANGE_HIGH = 1
IPV6_PORTRANGE_LOW = 2
IPV6_RECVDSTOPTS = 40
IPV6_RECVDSTPORT = 64
IPV6_RECVHOPLIMIT = 37
IPV6_RECVHOPOPTS = 39
IPV6_RECVPATHMTU = 43
IPV6_RECVPKTINFO = 36
IPV6_RECVRTHDR = 38
IPV6_RECVTCLASS = 57
IPV6_RTABLE = 0x1021
IPV6_RTHDR = 51
IPV6_RTHDRDSTOPTS = 35
IPV6_RTHDR_LOOSE = 0
IPV6_RTHDR_TYPE_0 = 0
IPV6_TCLASS = 61
IPV6_UNICAST_HOPS = 4
IPV6_USE_MIN_MTU = 42
IPV6_V6ONLY = 27
IP_ADD_MEMBERSHIP = 12
IP_AUTH_LEVEL = 20
IP_DEFAULT_MULTICAST_LOOP = 1
IP_DEFAULT_MULTICAST_TTL = 1
IP_DROP_MEMBERSHIP = 13
IP_ESP_NETWORK_LEVEL = 22
IP_ESP_TRANS_LEVEL = 21
IP_HDRINCL = 2
IP_IPCOMP_LEVEL = 29
IP_IPDEFTTL = 37
IP_IPSECFLOWINFO = 36
IP_IPSEC_LOCAL_AUTH = 27
IP_IPSEC_LOCAL_CRED = 25
IP_IPSEC_LOCAL_ID = 23
IP_IPSEC_REMOTE_AUTH = 28
IP_IPSEC_REMOTE_CRED = 26
IP_IPSEC_REMOTE_ID = 24
IP_MAX_MEMBERSHIPS = 4095
IP_MINTTL = 32
IP_MIN_MEMBERSHIPS = 15
IP_MULTICAST_IF = 9
IP_MULTICAST_LOOP = 11
IP_MULTICAST_TTL = 10
IP_OPTIONS = 1
IP_PIPEX = 34
IP_PORTRANGE = 19
IP_PORTRANGE_DEFAULT = 0
IP_PORTRANGE_HIGH = 1
IP_PORTRANGE_LOW = 2
IP_RECVDSTADDR = 7
IP_RECVDSTPORT = 33
IP_RECVIF = 30
IP_RECVOPTS = 5
IP_RECVRETOPTS = 6
IP_RECVRTABLE = 35
IP_RECVTTL = 31
IP_RETOPTS = 8
IP_RTABLE = 0x1021
IP_SENDSRCADDR = 7
IP_TOS = 3
IP_TTL = 4
LITTLE_ENDIAN = 1234
PDP_ENDIAN = 3412
SIN6_LEN = 0
X_BIG_ENDIAN = 4321
X_BYTE_ORDER = 1234
X_CLOCKID_T_DEFINED_ = 0
X_CLOCK_T_DEFINED_ = 0
X_FILE_OFFSET_BITS = 64
X_INT16_T_DEFINED_ = 0
X_INT32_T_DEFINED_ = 0
X_INT64_T_DEFINED_ = 0
X_INT8_T_DEFINED_ = 0
X_IN_ADDR_DECLARED = 0
X_IN_TYPES_DEFINED_ = 0
X_LITTLE_ENDIAN = 1234
X_LP64 = 1
X_MACHINE_CDEFS_H_ = 0
X_MACHINE_ENDIAN_H_ = 0
X_MACHINE__TYPES_H_ = 0
X_MAX_PAGE_SHIFT = 12
X_NETINET6_IN6_H_ = 0
X_NETINET_IN_H_ = 0
X_OFF_T_DEFINED_ = 0
X_PDP_ENDIAN = 3412
X_PID_T_DEFINED_ = 0
X_QUAD_HIGHWORD = 1
X_QUAD_LOWWORD = 0
X_RET_PROTECTOR = 1
X_SA_FAMILY_T_DEFINED_ = 0
X_SIZE_T_DEFINED_ = 0
X_SOCKLEN_T_DEFINED_ = 0
X_SSIZE_T_DEFINED_ = 0
X_STACKALIGNBYTES = 15
X_SYS_CDEFS_H_ = 0
X_SYS_ENDIAN_H_ = 0
X_SYS_TYPES_H_ = 0
X_SYS__ENDIAN_H_ = 0
X_SYS__TYPES_H_ = 0
X_TIMER_T_DEFINED_ = 0
X_TIME_T_DEFINED_ = 0
X_UINT16_T_DEFINED_ = 0
X_UINT32_T_DEFINED_ = 0
X_UINT64_T_DEFINED_ = 0
X_UINT8_T_DEFINED_ = 0
Unix = 1
BIG_ENDIAN = 4321 // endian.h:45:1:
BYTE_ORDER = 1234 // endian.h:47:1:
ICMP6_FILTER = 18 // in6.h:304:1:
INET6_ADDRSTRLEN = 46 // in6.h:97:1:
INET_ADDRSTRLEN = 16 // in.h:382:1:
IN_CLASSA_MAX = 128 // in.h:195:1:
IN_CLASSA_NSHIFT = 24 // in.h:193:1:
IN_CLASSB_MAX = 65536 // in.h:202:1:
IN_CLASSB_NSHIFT = 16 // in.h:200:1:
IN_CLASSC_NSHIFT = 8 // in.h:207:1:
IN_CLASSD_NSHIFT = 28 // in.h:214:1:
IN_LOOPBACKNET = 127 // in.h:253:1:
IN_RFC3021_NSHIFT = 31 // in.h:219:1:
IPCTL_ARPDOWN = 40 // in.h:698:1:
IPCTL_ARPQUEUE = 41 // in.h:699:1:
IPCTL_ARPQUEUED = 36 // in.h:694:1:
IPCTL_ARPTIMEOUT = 39 // in.h:697:1:
IPCTL_DEFTTL = 3 // in.h:662:1:
IPCTL_DIRECTEDBCAST = 6 // in.h:664:1:
IPCTL_ENCDEBUG = 12 // in.h:670:1:
IPCTL_FORWARDING = 1 // in.h:660:1:
IPCTL_IFQUEUE = 30 // in.h:688:1:
IPCTL_IPPORT_FIRSTAUTO = 7 // in.h:665:1:
IPCTL_IPPORT_HIFIRSTAUTO = 9 // in.h:667:1:
IPCTL_IPPORT_HILASTAUTO = 10 // in.h:668:1:
IPCTL_IPPORT_LASTAUTO = 8 // in.h:666:1:
IPCTL_IPPORT_MAXQUEUE = 11 // in.h:669:1:
IPCTL_IPSEC_ALLOCATIONS = 18 // in.h:676:1:
IPCTL_IPSEC_AUTH_ALGORITHM = 26 // in.h:684:1:
IPCTL_IPSEC_BYTES = 20 // in.h:678:1:
IPCTL_IPSEC_EMBRYONIC_SA_TIMEOUT = 15 // in.h:673:1:
IPCTL_IPSEC_ENC_ALGORITHM = 25 // in.h:683:1:
IPCTL_IPSEC_EXPIRE_ACQUIRE = 14 // in.h:672:1:
IPCTL_IPSEC_FIRSTUSE = 24 // in.h:682:1:
IPCTL_IPSEC_IPCOMP_ALGORITHM = 29 // in.h:687:1:
IPCTL_IPSEC_REQUIRE_PFS = 16 // in.h:674:1:
IPCTL_IPSEC_SOFT_ALLOCATIONS = 17 // in.h:675:1:
IPCTL_IPSEC_SOFT_BYTES = 19 // in.h:677:1:
IPCTL_IPSEC_SOFT_FIRSTUSE = 23 // in.h:681:1:
IPCTL_IPSEC_SOFT_TIMEOUT = 22 // in.h:680:1:
IPCTL_IPSEC_STATS = 13 // in.h:671:1:
IPCTL_IPSEC_TIMEOUT = 21 // in.h:679:1:
IPCTL_MAXID = 42 // in.h:700:1:
IPCTL_MFORWARDING = 31 // in.h:689:1:
IPCTL_MRTMFC = 37 // in.h:695:1:
IPCTL_MRTPROTO = 34 // in.h:692:1:
IPCTL_MRTSTATS = 35 // in.h:693:1:
IPCTL_MRTVIF = 38 // in.h:696:1:
IPCTL_MTUDISC = 27 // in.h:685:1:
IPCTL_MTUDISCTIMEOUT = 28 // in.h:686:1:
IPCTL_MULTIPATH = 32 // in.h:690:1:
IPCTL_SENDREDIRECTS = 2 // in.h:661:1:
IPCTL_SOURCEROUTE = 5 // in.h:663:1:
IPCTL_STATS = 33 // in.h:691:1:
IPPORT_HIFIRSTAUTO = 49152 // in.h:159:1:
IPPORT_HILASTAUTO = 65535 // in.h:160:1:
IPPORT_RESERVED = 1024 // in.h:153:1:
IPPORT_USERRESERVED = 49151 // in.h:154:1:
IPPROTO_AH = 51 // in.h:89:1:
IPPROTO_CARP = 112 // in.h:99:1:
IPPROTO_DIVERT = 258 // in.h:109:1:
IPPROTO_DONE = 257 // in.h:173:1:
IPPROTO_DSTOPTS = 60 // in.h:93:1:
IPPROTO_EGP = 8 // in.h:78:1:
IPPROTO_ENCAP = 98 // in.h:96:1:
IPPROTO_EON = 80 // in.h:94:1:
IPPROTO_ESP = 50 // in.h:88:1:
IPPROTO_ETHERIP = 97 // in.h:95:1:
IPPROTO_FRAGMENT = 44 // in.h:85:1:
IPPROTO_GGP = 3 // in.h:74:1:
IPPROTO_GRE = 47 // in.h:87:1:
IPPROTO_HOPOPTS = 0 // in.h:71:1:
IPPROTO_ICMP = 1 // in.h:72:1:
IPPROTO_ICMPV6 = 58 // in.h:91:1:
IPPROTO_IDP = 22 // in.h:81:1:
IPPROTO_IGMP = 2 // in.h:73:1:
IPPROTO_IP = 0 // in.h:70:1:
IPPROTO_IPCOMP = 108 // in.h:98:1:
IPPROTO_IPIP = 4 // in.h:75:1:
IPPROTO_IPV4 = 4 // in.h:76:1:
IPPROTO_IPV6 = 41 // in.h:83:1:
IPPROTO_MAX = 256 // in.h:106:1:
IPPROTO_MAXID = 259 // in.h:393:1:
IPPROTO_MOBILE = 55 // in.h:90:1:
IPPROTO_MPLS = 137 // in.h:102:1:
IPPROTO_NONE = 59 // in.h:92:1:
IPPROTO_PFSYNC = 240 // in.h:103:1:
IPPROTO_PIM = 103 // in.h:97:1:
IPPROTO_PUP = 12 // in.h:79:1:
IPPROTO_RAW = 255 // in.h:104:1:
IPPROTO_ROUTING = 43 // in.h:84:1:
IPPROTO_RSVP = 46 // in.h:86:1:
IPPROTO_SCTP = 132 // in.h:100:1:
IPPROTO_TCP = 6 // in.h:77:1:
IPPROTO_TP = 29 // in.h:82:1:
IPPROTO_UDP = 17 // in.h:80:1:
IPPROTO_UDPLITE = 136 // in.h:101:1:
IPSEC6_OUTSA = 56 // in6.h:337:1:
IPSEC_AUTH_LEVEL_DEFAULT = 1 // in.h:336:1:
IPSEC_ESP_NETWORK_LEVEL_DEFAULT = 1 // in.h:338:1:
IPSEC_ESP_TRANS_LEVEL_DEFAULT = 1 // in.h:337:1:
IPSEC_IPCOMP_LEVEL_DEFAULT = 1 // in.h:339:1:
IPSEC_LEVEL_AVAIL = 0x01 // in.h:330:1:
IPSEC_LEVEL_BYPASS = 0x00 // in.h:328:1:
IPSEC_LEVEL_DEFAULT = 1 // in.h:334:1:
IPSEC_LEVEL_NONE = 0x00 // in.h:329:1:
IPSEC_LEVEL_REQUIRE = 0x03 // in.h:332:1:
IPSEC_LEVEL_UNIQUE = 0x04 // in.h:333:1:
IPSEC_LEVEL_USE = 0x02 // in.h:331:1:
IPV6CTL_ACCEPT_RTADV = 12 // in6.h:575:1:
IPV6CTL_AUTO_FLOWLABEL = 17 // in6.h:579:1:
IPV6CTL_DAD_COUNT = 16 // in6.h:578:1:
IPV6CTL_DAD_PENDING = 49 // in6.h:589:1:
IPV6CTL_DEFHLIM = 3 // in6.h:567:1:
IPV6CTL_DEFMCASTHLIM = 18 // in6.h:580:1:
IPV6CTL_FORWARDING = 1 // in6.h:565:1:
IPV6CTL_FORWSRCRT = 5 // in6.h:568:1:
IPV6CTL_HDRNESTLIMIT = 15 // in6.h:577:1:
IPV6CTL_IFQUEUE = 51 // in6.h:591:1:
IPV6CTL_LOG_INTERVAL = 14 // in6.h:576:1:
IPV6CTL_MAXDYNROUTES = 48 // in6.h:588:1:
IPV6CTL_MAXFRAGPACKETS = 9 // in6.h:572:1:
IPV6CTL_MAXFRAGS = 41 // in6.h:583:1:
IPV6CTL_MAXID = 55 // in6.h:595:1:
IPV6CTL_MCAST_PMTU = 44 // in6.h:586:1:
IPV6CTL_MFORWARDING = 42 // in6.h:584:1:
IPV6CTL_MRTMFC = 53 // in6.h:593:1:
IPV6CTL_MRTMIF = 52 // in6.h:592:1:
IPV6CTL_MRTPROTO = 8 // in6.h:571:1:
IPV6CTL_MRTSTATS = 7 // in6.h:570:1:
IPV6CTL_MTUDISCTIMEOUT = 50 // in6.h:590:1:
IPV6CTL_MULTIPATH = 43 // in6.h:585:1:
IPV6CTL_NEIGHBORGCTHRESH = 45 // in6.h:587:1:
IPV6CTL_SENDREDIRECTS = 2 // in6.h:566:1:
IPV6CTL_SOIIKEY = 54 // in6.h:594:1:
IPV6CTL_SOURCECHECK = 10 // in6.h:573:1:
IPV6CTL_SOURCECHECK_LOGINT = 11 // in6.h:574:1:
IPV6CTL_STATS = 6 // in6.h:569:1:
IPV6CTL_USE_DEPRECATED = 21 // in6.h:581:1:
IPV6PROTO_MAXID = 259 // in6.h:470:1:
IPV6_AUTH_LEVEL = 53 // in6.h:333:1:
IPV6_AUTOFLOWLABEL = 59 // in6.h:341:1:
IPV6_CHECKSUM = 26 // in6.h:307:1:
IPV6_DEFAULT_MULTICAST_HOPS = 1 // in6.h:360:1:
IPV6_DEFAULT_MULTICAST_LOOP = 1 // in6.h:361:1:
IPV6_DONTFRAG = 62 // in6.h:345:1:
IPV6_DSTOPTS = 50 // in6.h:330:1:
IPV6_ESP_NETWORK_LEVEL = 55 // in6.h:335:1:
IPV6_ESP_TRANS_LEVEL = 54 // in6.h:334:1:
IPV6_HOPLIMIT = 47 // in6.h:327:1:
IPV6_HOPOPTS = 49 // in6.h:329:1:
IPV6_IPCOMP_LEVEL = 60 // in6.h:342:1:
IPV6_JOIN_GROUP = 12 // in6.h:300:1:
IPV6_LEAVE_GROUP = 13 // in6.h:301:1:
IPV6_MINHOPCOUNT = 65 // in6.h:349:1:
IPV6_MULTICAST_HOPS = 10 // in6.h:298:1:
IPV6_MULTICAST_IF = 9 // in6.h:297:1:
IPV6_MULTICAST_LOOP = 11 // in6.h:299:1:
IPV6_NEXTHOP = 48 // in6.h:328:1:
IPV6_PATHMTU = 44 // in6.h:322:1:
IPV6_PIPEX = 63 // in6.h:346:1:
IPV6_PKTINFO = 46 // in6.h:326:1:
IPV6_PORTRANGE = 14 // in6.h:302:1:
IPV6_PORTRANGE_DEFAULT = 0 // in6.h:393:1:
IPV6_PORTRANGE_HIGH = 1 // in6.h:394:1:
IPV6_PORTRANGE_LOW = 2 // in6.h:395:1:
IPV6_RECVDSTOPTS = 40 // in6.h:317:1:
IPV6_RECVDSTPORT = 64 // in6.h:348:1:
IPV6_RECVHOPLIMIT = 37 // in6.h:314:1:
IPV6_RECVHOPOPTS = 39 // in6.h:316:1:
IPV6_RECVPATHMTU = 43 // in6.h:320:1:
IPV6_RECVPKTINFO = 36 // in6.h:313:1:
IPV6_RECVRTHDR = 38 // in6.h:315:1:
IPV6_RECVTCLASS = 57 // in6.h:339:1:
IPV6_RTABLE = 0x1021 // in6.h:351:1:
IPV6_RTHDR = 51 // in6.h:331:1:
IPV6_RTHDRDSTOPTS = 35 // in6.h:311:1:
IPV6_RTHDR_LOOSE = 0 // in6.h:354:1:
IPV6_RTHDR_TYPE_0 = 0 // in6.h:355:1:
IPV6_TCLASS = 61 // in6.h:344:1:
IPV6_UNICAST_HOPS = 4 // in6.h:296:1:
IPV6_USE_MIN_MTU = 42 // in6.h:319:1:
IPV6_V6ONLY = 27 // in6.h:308:1:
IP_ADD_MEMBERSHIP = 12 // in.h:297:1:
IP_AUTH_LEVEL = 20 // in.h:300:1:
IP_DEFAULT_MULTICAST_LOOP = 1 // in.h:347:1:
IP_DEFAULT_MULTICAST_TTL = 1 // in.h:346:1:
IP_DROP_MEMBERSHIP = 13 // in.h:298:1:
IP_ESP_NETWORK_LEVEL = 22 // in.h:302:1:
IP_ESP_TRANS_LEVEL = 21 // in.h:301:1:
IP_HDRINCL = 2 // in.h:287:1:
IP_IPCOMP_LEVEL = 29 // in.h:309:1:
IP_IPDEFTTL = 37 // in.h:317:1:
IP_IPSECFLOWINFO = 36 // in.h:316:1:
IP_IPSEC_LOCAL_AUTH = 27 // in.h:307:1:
IP_IPSEC_LOCAL_CRED = 25 // in.h:305:1:
IP_IPSEC_LOCAL_ID = 23 // in.h:303:1:
IP_IPSEC_REMOTE_AUTH = 28 // in.h:308:1:
IP_IPSEC_REMOTE_CRED = 26 // in.h:306:1:
IP_IPSEC_REMOTE_ID = 24 // in.h:304:1:
IP_MAX_MEMBERSHIPS = 4095 // in.h:354:1:
IP_MINTTL = 32 // in.h:312:1:
IP_MIN_MEMBERSHIPS = 15 // in.h:353:1:
IP_MULTICAST_IF = 9 // in.h:294:1:
IP_MULTICAST_LOOP = 11 // in.h:296:1:
IP_MULTICAST_TTL = 10 // in.h:295:1:
IP_OPTIONS = 1 // in.h:286:1:
IP_PIPEX = 34 // in.h:314:1:
IP_PORTRANGE = 19 // in.h:299:1:
IP_PORTRANGE_DEFAULT = 0 // in.h:374:1:
IP_PORTRANGE_HIGH = 1 // in.h:375:1:
IP_PORTRANGE_LOW = 2 // in.h:376:1:
IP_RECVDSTADDR = 7 // in.h:292:1:
IP_RECVDSTPORT = 33 // in.h:313:1:
IP_RECVIF = 30 // in.h:310:1:
IP_RECVOPTS = 5 // in.h:290:1:
IP_RECVRETOPTS = 6 // in.h:291:1:
IP_RECVRTABLE = 35 // in.h:315:1:
IP_RECVTTL = 31 // in.h:311:1:
IP_RETOPTS = 8 // in.h:293:1:
IP_RTABLE = 0x1021 // in.h:321:1:
IP_SENDSRCADDR = 7 // in.h:318:1:
IP_TOS = 3 // in.h:288:1:
IP_TTL = 4 // in.h:289:1:
LITTLE_ENDIAN = 1234 // endian.h:44:1:
PDP_ENDIAN = 3412 // endian.h:46:1:
SIN6_LEN = 0 // in6.h:104: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_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_IN_ADDR_DECLARED = 0 // in.h:163:1:
X_IN_TYPES_DEFINED_ = 0 // in.h:62:1:
X_LITTLE_ENDIAN = 1234 // _endian.h:42:1:
X_LP64 = 1 // <predefined>:1: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_NETINET6_IN6_H_ = 0 // in6.h:69:1:
X_NETINET_IN_H_ = 0 // in.h:39:1:
X_OFF_T_DEFINED_ = 0 // types.h:193:1:
X_PDP_ENDIAN = 3412 // _endian.h:44:1:
X_PID_T_DEFINED_ = 0 // types.h:168: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_SA_FAMILY_T_DEFINED_ = 0 // in.h:57:1:
X_SIZE_T_DEFINED_ = 0 // types.h:173:1:
X_SOCKLEN_T_DEFINED_ = 0 // in6.h:400:1:
X_SSIZE_T_DEFINED_ = 0 // types.h:178: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_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_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:
)
type Ptrdiff_t = int64 /* <builtin>:3:26 */
+1 -1
View File
@@ -1,4 +1,4 @@
// Code generated by 'ccgo poll/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o poll/poll_freebsd_386.go -pkgname poll', DO NOT EDIT.
// Code generated by 'ccgo poll/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o poll/poll_freebsd_386.go -pkgname poll', DO NOT EDIT.
package poll
+1 -1
View File
@@ -1,4 +1,4 @@
// Code generated by 'ccgo poll/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o poll/poll_freebsd_amd64.go -pkgname poll', DO NOT EDIT.
// Code generated by 'ccgo poll/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o poll/poll_freebsd_amd64.go -pkgname poll', DO NOT EDIT.
package poll

Some files were not shown because too many files have changed in this diff Show More