chore(deps): Update sqlite dependencies

This commit is contained in:
TwiN
2022-12-01 20:19:56 -05:00
parent 080563bd4f
commit cdec353744
564 changed files with 583632 additions and 1166555 deletions

View File

@ -1,5 +1,11 @@
// Code generated by 'ccgo unistd/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o unistd/unistd_darwin_amd64.go -pkgname unistd', DO NOT EDIT.
// Code generated by 'ccgo unistd/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o unistd/unistd_darwin_amd64.go -pkgname unistd', DO NOT EDIT.
package unistd
var CAPI = map[string]struct{}{}
var CAPI = map[string]struct{}{
"__darwin_check_fd_set": {},
"__darwin_check_fd_set_overflow": {},
"__darwin_fd_clr": {},
"__darwin_fd_isset": {},
"__darwin_fd_set": {},
}

View File

@ -1,5 +1,11 @@
// Code generated by 'ccgo unistd/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o unistd/unistd_darwin_arm64.go -pkgname unistd', DO NOT EDIT.
// Code generated by 'ccgo unistd/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o unistd/unistd_darwin_arm64.go -pkgname unistd', DO NOT EDIT.
package unistd
var CAPI = map[string]struct{}{}
var CAPI = map[string]struct{}{
"__darwin_check_fd_set": {},
"__darwin_check_fd_set_overflow": {},
"__darwin_fd_clr": {},
"__darwin_fd_isset": {},
"__darwin_fd_set": {},
}

View File

@ -1,4 +1,4 @@
// Code generated by 'ccgo unistd/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o unistd/unistd_freebsd_amd64.go -pkgname unistd', DO NOT EDIT.
// Code generated by 'ccgo unistd/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o unistd/unistd_freebsd_amd64.go -pkgname unistd', DO NOT EDIT.
package unistd

View File

@ -1,4 +1,4 @@
// Code generated by 'ccgo unistd/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o unistd/unistd_linux_amd64.go -pkgname unistd', DO NOT EDIT.
// Code generated by 'ccgo unistd/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o unistd/unistd_linux_amd64.go -pkgname unistd', DO NOT EDIT.
package unistd

View File

@ -1,4 +1,4 @@
// Code generated by 'ccgo unistd/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o unistd/unistd_netbsd_amd64.go -pkgname unistd', DO NOT EDIT.
// Code generated by 'ccgo unistd/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o unistd/unistd_netbsd_amd64.go -pkgname unistd', DO NOT EDIT.
package unistd

View File

@ -1,4 +1,4 @@
// Code generated by 'ccgo unistd/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o unistd/unistd_windows_386.go -pkgname unistd', DO NOT EDIT.
// Code generated by 'ccgo unistd/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o unistd/unistd_windows_386.go -pkgname unistd', DO NOT EDIT.
package unistd

View File

@ -1,4 +1,4 @@
// Code generated by 'ccgo unistd/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o unistd/unistd_windows_amd64.go -pkgname unistd', DO NOT EDIT.
// Code generated by 'ccgo unistd\gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o unistd\unistd_windows_amd64.go -pkgname unistd', DO NOT EDIT.
package unistd

View File

@ -1,4 +1,4 @@
// Code generated by 'ccgo unistd/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o unistd/unistd_darwin_amd64.go -pkgname unistd', DO NOT EDIT.
// Code generated by 'ccgo unistd/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o unistd/unistd_darwin_amd64.go -pkgname unistd', DO NOT EDIT.
package unistd
@ -15,370 +15,370 @@ var _ atomic.Value
var _ unsafe.Pointer
const (
ACCESSX_MAX_DESCRIPTORS = 100
ACCESSX_MAX_TABLESIZE = 16384
FD_SETSIZE = 1024
F_LOCK = 1
F_OK = 0
F_TEST = 3
F_TLOCK = 2
F_ULOCK = 0
L_INCR = 1
L_SET = 0
L_XTND = 2
R_OK = 4
SEEK_CUR = 1
SEEK_DATA = 4
SEEK_END = 2
SEEK_HOLE = 3
SEEK_SET = 0
STDERR_FILENO = 2
STDIN_FILENO = 0
STDOUT_FILENO = 1
SYNC_VOLUME_FULLSYNC = 0x01
SYNC_VOLUME_WAIT = 0x02
W_OK = 2
X_OK = 1
X_ACCESS_EXTENDED_MASK = 4193792
X_APPEND_OK = 8192
X_BSD_I386__TYPES_H_ = 0
X_BSD_MACHINE_TYPES_H_ = 0
X_BSD_MACHINE__TYPES_H_ = 0
X_CDEFS_H_ = 0
X_CHOWN_OK = 2097152
X_CS_DARWIN_USER_CACHE_DIR = 65538
X_CS_DARWIN_USER_DIR = 65536
X_CS_DARWIN_USER_TEMP_DIR = 65537
X_CS_PATH = 1
X_CS_POSIX_V6_ILP32_OFF32_CFLAGS = 2
X_CS_POSIX_V6_ILP32_OFF32_LDFLAGS = 3
X_CS_POSIX_V6_ILP32_OFF32_LIBS = 4
X_CS_POSIX_V6_ILP32_OFFBIG_CFLAGS = 5
X_CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS = 6
X_CS_POSIX_V6_ILP32_OFFBIG_LIBS = 7
X_CS_POSIX_V6_LP64_OFF64_CFLAGS = 8
X_CS_POSIX_V6_LP64_OFF64_LDFLAGS = 9
X_CS_POSIX_V6_LP64_OFF64_LIBS = 10
X_CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS = 11
X_CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS = 12
X_CS_POSIX_V6_LPBIG_OFFBIG_LIBS = 13
X_CS_POSIX_V6_WIDTH_RESTRICTED_ENVS = 14
X_CS_XBS5_ILP32_OFF32_CFLAGS = 20
X_CS_XBS5_ILP32_OFF32_LDFLAGS = 21
X_CS_XBS5_ILP32_OFF32_LIBS = 22
X_CS_XBS5_ILP32_OFF32_LINTFLAGS = 23
X_CS_XBS5_ILP32_OFFBIG_CFLAGS = 24
X_CS_XBS5_ILP32_OFFBIG_LDFLAGS = 25
X_CS_XBS5_ILP32_OFFBIG_LIBS = 26
X_CS_XBS5_ILP32_OFFBIG_LINTFLAGS = 27
X_CS_XBS5_LP64_OFF64_CFLAGS = 28
X_CS_XBS5_LP64_OFF64_LDFLAGS = 29
X_CS_XBS5_LP64_OFF64_LIBS = 30
X_CS_XBS5_LP64_OFF64_LINTFLAGS = 31
X_CS_XBS5_LPBIG_OFFBIG_CFLAGS = 32
X_CS_XBS5_LPBIG_OFFBIG_LDFLAGS = 33
X_CS_XBS5_LPBIG_OFFBIG_LIBS = 34
X_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS = 35
X_CTERMID_H_ = 0
X_DARWIN_FEATURE_64_BIT_INODE = 1
X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1
X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3
X_DELETE_OK = 4096
X_DEV_T = 0
X_EXECUTE_OK = 2048
X_FD_SET = 0
X_FILE_OFFSET_BITS = 64
X_FORTIFY_SOURCE = 2
X_GID_T = 0
X_INT16_T = 0
X_INT32_T = 0
X_INT64_T = 0
X_INT8_T = 0
X_INTPTR_T = 0
X_LP64 = 1
X_MACHTYPES_H_ = 0
X_MODE_T = 0
X_Nonnull = 0
X_Null_unspecified = 0
X_Nullable = 0
X_OFF_T = 0
X_PC_2_SYMLINKS = 15
X_PC_ALLOC_SIZE_MIN = 16
X_PC_ASYNC_IO = 17
X_PC_AUTH_OPAQUE_NP = 14
X_PC_CASE_PRESERVING = 12
X_PC_CASE_SENSITIVE = 11
X_PC_CHOWN_RESTRICTED = 7
X_PC_EXTENDED_SECURITY_NP = 13
X_PC_FILESIZEBITS = 18
X_PC_LINK_MAX = 1
X_PC_MAX_CANON = 2
X_PC_MAX_INPUT = 3
X_PC_MIN_HOLE_SIZE = 27
X_PC_NAME_CHARS_MAX = 10
X_PC_NAME_MAX = 4
X_PC_NO_TRUNC = 8
X_PC_PATH_MAX = 5
X_PC_PIPE_BUF = 6
X_PC_PRIO_IO = 19
X_PC_REC_INCR_XFER_SIZE = 20
X_PC_REC_MAX_XFER_SIZE = 21
X_PC_REC_MIN_XFER_SIZE = 22
X_PC_REC_XFER_ALIGN = 23
X_PC_SYMLINK_MAX = 24
X_PC_SYNC_IO = 25
X_PC_VDISABLE = 9
X_PC_XATTR_SIZE_BITS = 26
X_PID_T = 0
X_POSIX2_CHAR_TERM = 200112
X_POSIX2_C_BIND = 200112
X_POSIX2_C_DEV = 200112
X_POSIX2_FORT_DEV = -1
X_POSIX2_FORT_RUN = 200112
X_POSIX2_LOCALEDEF = 200112
X_POSIX2_PBS = -1
X_POSIX2_PBS_ACCOUNTING = -1
X_POSIX2_PBS_CHECKPOINT = -1
X_POSIX2_PBS_LOCATE = -1
X_POSIX2_PBS_MESSAGE = -1
X_POSIX2_PBS_TRACK = -1
X_POSIX2_SW_DEV = 200112
X_POSIX2_UPE = 200112
X_POSIX2_VERSION = 200112
X_POSIX_ADVISORY_INFO = -1
X_POSIX_ASYNCHRONOUS_IO = -1
X_POSIX_BARRIERS = -1
X_POSIX_CHOWN_RESTRICTED = 200112
X_POSIX_CLOCK_SELECTION = -1
X_POSIX_CPUTIME = -1
X_POSIX_FSYNC = 200112
X_POSIX_IPV6 = 200112
X_POSIX_JOB_CONTROL = 200112
X_POSIX_MAPPED_FILES = 200112
X_POSIX_MEMLOCK = -1
X_POSIX_MEMLOCK_RANGE = -1
X_POSIX_MEMORY_PROTECTION = 200112
X_POSIX_MESSAGE_PASSING = -1
X_POSIX_MONOTONIC_CLOCK = -1
X_POSIX_NO_TRUNC = 200112
X_POSIX_PRIORITIZED_IO = -1
X_POSIX_PRIORITY_SCHEDULING = -1
X_POSIX_RAW_SOCKETS = -1
X_POSIX_READER_WRITER_LOCKS = 200112
X_POSIX_REALTIME_SIGNALS = -1
X_POSIX_REGEXP = 200112
X_POSIX_SAVED_IDS = 200112
X_POSIX_SEMAPHORES = -1
X_POSIX_SHARED_MEMORY_OBJECTS = -1
X_POSIX_SHELL = 200112
X_POSIX_SPAWN = -1
X_POSIX_SPIN_LOCKS = -1
X_POSIX_SPORADIC_SERVER = -1
X_POSIX_SYNCHRONIZED_IO = -1
X_POSIX_THREADS = 200112
X_POSIX_THREAD_ATTR_STACKADDR = 200112
X_POSIX_THREAD_ATTR_STACKSIZE = 200112
X_POSIX_THREAD_CPUTIME = -1
X_POSIX_THREAD_KEYS_MAX = 128
X_POSIX_THREAD_PRIORITY_SCHEDULING = -1
X_POSIX_THREAD_PRIO_INHERIT = -1
X_POSIX_THREAD_PRIO_PROTECT = -1
X_POSIX_THREAD_PROCESS_SHARED = 200112
X_POSIX_THREAD_SAFE_FUNCTIONS = 200112
X_POSIX_THREAD_SPORADIC_SERVER = -1
X_POSIX_TIMEOUTS = -1
X_POSIX_TIMERS = -1
X_POSIX_TRACE = -1
X_POSIX_TRACE_EVENT_FILTER = -1
X_POSIX_TRACE_INHERIT = -1
X_POSIX_TRACE_LOG = -1
X_POSIX_TYPED_MEMORY_OBJECTS = -1
X_POSIX_V6_ILP32_OFF32 = -1
X_POSIX_V6_ILP32_OFFBIG = -1
X_POSIX_V6_LP64_OFF64 = 1
X_POSIX_V6_LPBIG_OFFBIG = 1
X_POSIX_V7_ILP32_OFF32 = -1
X_POSIX_V7_ILP32_OFFBIG = -1
X_POSIX_V7_LP64_OFF64 = 1
X_POSIX_V7_LPBIG_OFFBIG = 1
X_POSIX_VERSION = 200112
X_RATTR_OK = 32768
X_READ_OK = 512
X_REXT_OK = 131072
X_RMFILE_OK = 16384
X_RPERM_OK = 524288
X_SC_2_CHAR_TERM = 20
X_SC_2_C_BIND = 18
X_SC_2_C_DEV = 19
X_SC_2_FORT_DEV = 21
X_SC_2_FORT_RUN = 22
X_SC_2_LOCALEDEF = 23
X_SC_2_PBS = 59
X_SC_2_PBS_ACCOUNTING = 60
X_SC_2_PBS_CHECKPOINT = 61
X_SC_2_PBS_LOCATE = 62
X_SC_2_PBS_MESSAGE = 63
X_SC_2_PBS_TRACK = 64
X_SC_2_SW_DEV = 24
X_SC_2_UPE = 25
X_SC_2_VERSION = 17
X_SC_ADVISORY_INFO = 65
X_SC_AIO_LISTIO_MAX = 42
X_SC_AIO_MAX = 43
X_SC_AIO_PRIO_DELTA_MAX = 44
X_SC_ARG_MAX = 1
X_SC_ASYNCHRONOUS_IO = 28
X_SC_ATEXIT_MAX = 107
X_SC_BARRIERS = 66
X_SC_BC_BASE_MAX = 9
X_SC_BC_DIM_MAX = 10
X_SC_BC_SCALE_MAX = 11
X_SC_BC_STRING_MAX = 12
X_SC_CHILD_MAX = 2
X_SC_CLK_TCK = 3
X_SC_CLOCK_SELECTION = 67
X_SC_COLL_WEIGHTS_MAX = 13
X_SC_CPUTIME = 68
X_SC_DELAYTIMER_MAX = 45
X_SC_EXPR_NEST_MAX = 14
X_SC_FILE_LOCKING = 69
X_SC_FSYNC = 38
X_SC_GETGR_R_SIZE_MAX = 70
X_SC_GETPW_R_SIZE_MAX = 71
X_SC_HOST_NAME_MAX = 72
X_SC_IOV_MAX = 56
X_SC_IPV6 = 118
X_SC_JOB_CONTROL = 6
X_SC_LINE_MAX = 15
X_SC_LOGIN_NAME_MAX = 73
X_SC_MAPPED_FILES = 47
X_SC_MEMLOCK = 30
X_SC_MEMLOCK_RANGE = 31
X_SC_MEMORY_PROTECTION = 32
X_SC_MESSAGE_PASSING = 33
X_SC_MONOTONIC_CLOCK = 74
X_SC_MQ_OPEN_MAX = 46
X_SC_MQ_PRIO_MAX = 75
X_SC_NGROUPS_MAX = 4
X_SC_NPROCESSORS_CONF = 57
X_SC_NPROCESSORS_ONLN = 58
X_SC_OPEN_MAX = 5
X_SC_PAGESIZE = 29
X_SC_PAGE_SIZE = 29
X_SC_PASS_MAX = 131
X_SC_PHYS_PAGES = 200
X_SC_PRIORITIZED_IO = 34
X_SC_PRIORITY_SCHEDULING = 35
X_SC_RAW_SOCKETS = 119
X_SC_READER_WRITER_LOCKS = 76
X_SC_REALTIME_SIGNALS = 36
X_SC_REGEXP = 77
X_SC_RE_DUP_MAX = 16
X_SC_RTSIG_MAX = 48
X_SC_SAVED_IDS = 7
X_SC_SEMAPHORES = 37
X_SC_SEM_NSEMS_MAX = 49
X_SC_SEM_VALUE_MAX = 50
X_SC_SHARED_MEMORY_OBJECTS = 39
X_SC_SHELL = 78
X_SC_SIGQUEUE_MAX = 51
X_SC_SPAWN = 79
X_SC_SPIN_LOCKS = 80
X_SC_SPORADIC_SERVER = 81
X_SC_SS_REPL_MAX = 126
X_SC_STREAM_MAX = 26
X_SC_SYMLOOP_MAX = 120
X_SC_SYNCHRONIZED_IO = 40
X_SC_THREADS = 96
X_SC_THREAD_ATTR_STACKADDR = 82
X_SC_THREAD_ATTR_STACKSIZE = 83
X_SC_THREAD_CPUTIME = 84
X_SC_THREAD_DESTRUCTOR_ITERATIONS = 85
X_SC_THREAD_KEYS_MAX = 86
X_SC_THREAD_PRIORITY_SCHEDULING = 89
X_SC_THREAD_PRIO_INHERIT = 87
X_SC_THREAD_PRIO_PROTECT = 88
X_SC_THREAD_PROCESS_SHARED = 90
X_SC_THREAD_SAFE_FUNCTIONS = 91
X_SC_THREAD_SPORADIC_SERVER = 92
X_SC_THREAD_STACK_MIN = 93
X_SC_THREAD_THREADS_MAX = 94
X_SC_TIMEOUTS = 95
X_SC_TIMERS = 41
X_SC_TIMER_MAX = 52
X_SC_TRACE = 97
X_SC_TRACE_EVENT_FILTER = 98
X_SC_TRACE_EVENT_NAME_MAX = 127
X_SC_TRACE_INHERIT = 99
X_SC_TRACE_LOG = 100
X_SC_TRACE_NAME_MAX = 128
X_SC_TRACE_SYS_MAX = 129
X_SC_TRACE_USER_EVENT_MAX = 130
X_SC_TTY_NAME_MAX = 101
X_SC_TYPED_MEMORY_OBJECTS = 102
X_SC_TZNAME_MAX = 27
X_SC_V6_ILP32_OFF32 = 103
X_SC_V6_ILP32_OFFBIG = 104
X_SC_V6_LP64_OFF64 = 105
X_SC_V6_LPBIG_OFFBIG = 106
X_SC_VERSION = 8
X_SC_XBS5_ILP32_OFF32 = 122
X_SC_XBS5_ILP32_OFFBIG = 123
X_SC_XBS5_LP64_OFF64 = 124
X_SC_XBS5_LPBIG_OFFBIG = 125
X_SC_XOPEN_CRYPT = 108
X_SC_XOPEN_ENH_I18N = 109
X_SC_XOPEN_LEGACY = 110
X_SC_XOPEN_REALTIME = 111
X_SC_XOPEN_REALTIME_THREADS = 112
X_SC_XOPEN_SHM = 113
X_SC_XOPEN_STREAMS = 114
X_SC_XOPEN_UNIX = 115
X_SC_XOPEN_VERSION = 116
X_SC_XOPEN_XCU_VERSION = 121
X_SIGSET_T = 0
X_SIZE_T = 0
X_SSIZE_T = 0
X_SUSECONDS_T = 0
X_SYS_SELECT_H_ = 0
X_SYS_UNISTD_H_ = 0
X_SYS__PTHREAD_TYPES_H_ = 0
X_SYS__SELECT_H_ = 0
X_SYS__TYPES_H_ = 0
X_TIME_T = 0
X_UID_T = 0
X_UINT32_T = 0
X_UINT64_T = 0
X_UINTPTR_T = 0
X_UNISTD_H_ = 0
X_USECONDS_T = 0
X_UUID_T = 0
X_U_INT16_T = 0
X_U_INT32_T = 0
X_U_INT64_T = 0
X_U_INT8_T = 0
X_V6_ILP32_OFF32 = -1
X_V6_ILP32_OFFBIG = -1
X_V6_LP64_OFF64 = 1
X_V6_LPBIG_OFFBIG = 1
X_WATTR_OK = 65536
X_WEXT_OK = 262144
X_WPERM_OK = 1048576
X_WRITE_OK = 1024
X_XBS5_ILP32_OFF32 = -1
X_XBS5_ILP32_OFFBIG = -1
X_XBS5_LP64_OFF64 = 1
X_XBS5_LPBIG_OFFBIG = 1
X_XOPEN_CRYPT = 1
X_XOPEN_ENH_I18N = 1
X_XOPEN_LEGACY = -1
X_XOPEN_REALTIME = -1
X_XOPEN_REALTIME_THREADS = -1
X_XOPEN_SHM = 1
X_XOPEN_STREAMS = -1
X_XOPEN_UNIX = 1
X_XOPEN_VERSION = 600
X_XOPEN_XCU_VERSION = 4
ACCESSX_MAX_DESCRIPTORS = 100 // unistd.h:137:1:
ACCESSX_MAX_TABLESIZE = 16384 // unistd.h:138:1:
FD_SETSIZE = 1024 // _fd_setsize.h:29:1:
F_LOCK = 1 // unistd.h:528:1:
F_OK = 0 // unistd.h:89:1:
F_TEST = 3 // unistd.h:530:1:
F_TLOCK = 2 // unistd.h:529:1:
F_ULOCK = 0 // unistd.h:527:1:
L_INCR = 1 // unistd.h:127:1:
L_SET = 0 // unistd.h:126:1:
L_XTND = 2 // unistd.h:128:1:
R_OK = 4 // unistd.h:92:1:
SEEK_CUR = 1 // _seek_set.h:34:1:
SEEK_DATA = 4 // _seek_set.h:44:1:
SEEK_END = 2 // _seek_set.h:35:1:
SEEK_HOLE = 3 // _seek_set.h:40:1:
SEEK_SET = 0 // _seek_set.h:33:1:
STDERR_FILENO = 2 // unistd.h:88:1:
STDIN_FILENO = 0 // unistd.h:86:1:
STDOUT_FILENO = 1 // unistd.h:87:1:
SYNC_VOLUME_FULLSYNC = 0x01 // unistd.h:776:1:
SYNC_VOLUME_WAIT = 0x02 // unistd.h:777:1:
W_OK = 2 // unistd.h:91:1:
X_OK = 1 // unistd.h:90:1:
X_ACCESS_EXTENDED_MASK = 4193792 // unistd.h:114:1:
X_APPEND_OK = 8192 // unistd.h:104:1:
X_BSD_I386__TYPES_H_ = 0 // _types.h:29:1:
X_BSD_MACHINE_TYPES_H_ = 0 // types.h:32:1:
X_BSD_MACHINE__TYPES_H_ = 0 // _types.h:29:1:
X_CDEFS_H_ = 0 // cdefs.h:68:1:
X_CHOWN_OK = 2097152 // unistd.h:112:1:
X_CS_DARWIN_USER_CACHE_DIR = 65538 // unistd.h:415:1:
X_CS_DARWIN_USER_DIR = 65536 // unistd.h:413:1:
X_CS_DARWIN_USER_TEMP_DIR = 65537 // unistd.h:414:1:
X_CS_PATH = 1 // unistd.h:175:1:
X_CS_POSIX_V6_ILP32_OFF32_CFLAGS = 2 // unistd.h:377:1:
X_CS_POSIX_V6_ILP32_OFF32_LDFLAGS = 3 // unistd.h:378:1:
X_CS_POSIX_V6_ILP32_OFF32_LIBS = 4 // unistd.h:379:1:
X_CS_POSIX_V6_ILP32_OFFBIG_CFLAGS = 5 // unistd.h:380:1:
X_CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS = 6 // unistd.h:381:1:
X_CS_POSIX_V6_ILP32_OFFBIG_LIBS = 7 // unistd.h:382:1:
X_CS_POSIX_V6_LP64_OFF64_CFLAGS = 8 // unistd.h:383:1:
X_CS_POSIX_V6_LP64_OFF64_LDFLAGS = 9 // unistd.h:384:1:
X_CS_POSIX_V6_LP64_OFF64_LIBS = 10 // unistd.h:385:1:
X_CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS = 11 // unistd.h:386:1:
X_CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS = 12 // unistd.h:387:1:
X_CS_POSIX_V6_LPBIG_OFFBIG_LIBS = 13 // unistd.h:388:1:
X_CS_POSIX_V6_WIDTH_RESTRICTED_ENVS = 14 // unistd.h:389:1:
X_CS_XBS5_ILP32_OFF32_CFLAGS = 20 // unistd.h:394:1:
X_CS_XBS5_ILP32_OFF32_LDFLAGS = 21 // unistd.h:395:1:
X_CS_XBS5_ILP32_OFF32_LIBS = 22 // unistd.h:396:1:
X_CS_XBS5_ILP32_OFF32_LINTFLAGS = 23 // unistd.h:397:1:
X_CS_XBS5_ILP32_OFFBIG_CFLAGS = 24 // unistd.h:398:1:
X_CS_XBS5_ILP32_OFFBIG_LDFLAGS = 25 // unistd.h:399:1:
X_CS_XBS5_ILP32_OFFBIG_LIBS = 26 // unistd.h:400:1:
X_CS_XBS5_ILP32_OFFBIG_LINTFLAGS = 27 // unistd.h:401:1:
X_CS_XBS5_LP64_OFF64_CFLAGS = 28 // unistd.h:402:1:
X_CS_XBS5_LP64_OFF64_LDFLAGS = 29 // unistd.h:403:1:
X_CS_XBS5_LP64_OFF64_LIBS = 30 // unistd.h:404:1:
X_CS_XBS5_LP64_OFF64_LINTFLAGS = 31 // unistd.h:405:1:
X_CS_XBS5_LPBIG_OFFBIG_CFLAGS = 32 // unistd.h:406:1:
X_CS_XBS5_LPBIG_OFFBIG_LDFLAGS = 33 // unistd.h:407:1:
X_CS_XBS5_LPBIG_OFFBIG_LIBS = 34 // unistd.h:408:1:
X_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS = 35 // unistd.h:409:1:
X_CTERMID_H_ = 0 // _ctermid.h:25:1:
X_DARWIN_FEATURE_64_BIT_INODE = 1 // cdefs.h:745:1:
X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1 // cdefs.h:771:1:
X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3 // cdefs.h:779:1:
X_DELETE_OK = 4096 // unistd.h:103:1:
X_DEV_T = 0 // _dev_t.h:29:1:
X_EXECUTE_OK = 2048 // unistd.h:102:1:
X_FD_SET = 0 // _fd_def.h:29:1:
X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
X_FORTIFY_SOURCE = 2 // _types.h:65:1:
X_GID_T = 0 // _gid_t.h:29:1:
X_INT16_T = 0 // _int16_t.h:29:1:
X_INT32_T = 0 // _int32_t.h:29:1:
X_INT64_T = 0 // _int64_t.h:29:1:
X_INT8_T = 0 // _int8_t.h:29:1:
X_INTPTR_T = 0 // _intptr_t.h:29:1:
X_LP64 = 1 // <predefined>:1:1:
X_MACHTYPES_H_ = 0 // types.h:67:1:
X_MODE_T = 0 // _mode_t.h:29:1:
X_Nonnull = 0 // cdefs.h:243:1:
X_Null_unspecified = 0 // cdefs.h:246:1:
X_Nullable = 0 // cdefs.h:240:1:
X_OFF_T = 0 // _off_t.h:29:1:
X_PC_2_SYMLINKS = 15 // unistd.h:160:1:
X_PC_ALLOC_SIZE_MIN = 16 // unistd.h:161:1:
X_PC_ASYNC_IO = 17 // unistd.h:162:1:
X_PC_AUTH_OPAQUE_NP = 14 // unistd.h:157:1:
X_PC_CASE_PRESERVING = 12 // unistd.h:155:1:
X_PC_CASE_SENSITIVE = 11 // unistd.h:154:1:
X_PC_CHOWN_RESTRICTED = 7 // unistd.h:148:1:
X_PC_EXTENDED_SECURITY_NP = 13 // unistd.h:156:1:
X_PC_FILESIZEBITS = 18 // unistd.h:163:1:
X_PC_LINK_MAX = 1 // unistd.h:142:1:
X_PC_MAX_CANON = 2 // unistd.h:143:1:
X_PC_MAX_INPUT = 3 // unistd.h:144:1:
X_PC_MIN_HOLE_SIZE = 27 // unistd.h:172:1:
X_PC_NAME_CHARS_MAX = 10 // unistd.h:153:1:
X_PC_NAME_MAX = 4 // unistd.h:145:1:
X_PC_NO_TRUNC = 8 // unistd.h:149:1:
X_PC_PATH_MAX = 5 // unistd.h:146:1:
X_PC_PIPE_BUF = 6 // unistd.h:147:1:
X_PC_PRIO_IO = 19 // unistd.h:164:1:
X_PC_REC_INCR_XFER_SIZE = 20 // unistd.h:165:1:
X_PC_REC_MAX_XFER_SIZE = 21 // unistd.h:166:1:
X_PC_REC_MIN_XFER_SIZE = 22 // unistd.h:167:1:
X_PC_REC_XFER_ALIGN = 23 // unistd.h:168:1:
X_PC_SYMLINK_MAX = 24 // unistd.h:169:1:
X_PC_SYNC_IO = 25 // unistd.h:170:1:
X_PC_VDISABLE = 9 // unistd.h:150:1:
X_PC_XATTR_SIZE_BITS = 26 // unistd.h:171:1:
X_PID_T = 0 // _pid_t.h:29:1:
X_POSIX2_CHAR_TERM = 200112 // unistd.h:152:1:
X_POSIX2_C_BIND = 200112 // unistd.h:150:1:
X_POSIX2_C_DEV = 200112 // unistd.h:151:1:
X_POSIX2_FORT_DEV = -1 // unistd.h:153:1:
X_POSIX2_FORT_RUN = 200112 // unistd.h:154:1:
X_POSIX2_LOCALEDEF = 200112 // unistd.h:155:1:
X_POSIX2_PBS = -1 // unistd.h:156:1:
X_POSIX2_PBS_ACCOUNTING = -1 // unistd.h:157:1:
X_POSIX2_PBS_CHECKPOINT = -1 // unistd.h:158:1:
X_POSIX2_PBS_LOCATE = -1 // unistd.h:159:1:
X_POSIX2_PBS_MESSAGE = -1 // unistd.h:160:1:
X_POSIX2_PBS_TRACK = -1 // unistd.h:161:1:
X_POSIX2_SW_DEV = 200112 // unistd.h:162:1:
X_POSIX2_UPE = 200112 // unistd.h:163:1:
X_POSIX2_VERSION = 200112 // unistd.h:80:1:
X_POSIX_ADVISORY_INFO = -1 // unistd.h:98:1:
X_POSIX_ASYNCHRONOUS_IO = -1 // unistd.h:99:1:
X_POSIX_BARRIERS = -1 // unistd.h:100:1:
X_POSIX_CHOWN_RESTRICTED = 200112 // unistd.h:101:1:
X_POSIX_CLOCK_SELECTION = -1 // unistd.h:102:1:
X_POSIX_CPUTIME = -1 // unistd.h:103:1:
X_POSIX_FSYNC = 200112 // unistd.h:104:1:
X_POSIX_IPV6 = 200112 // unistd.h:105:1:
X_POSIX_JOB_CONTROL = 200112 // unistd.h:106:1:
X_POSIX_MAPPED_FILES = 200112 // unistd.h:107:1:
X_POSIX_MEMLOCK = -1 // unistd.h:108:1:
X_POSIX_MEMLOCK_RANGE = -1 // unistd.h:109:1:
X_POSIX_MEMORY_PROTECTION = 200112 // unistd.h:110:1:
X_POSIX_MESSAGE_PASSING = -1 // unistd.h:111:1:
X_POSIX_MONOTONIC_CLOCK = -1 // unistd.h:112:1:
X_POSIX_NO_TRUNC = 200112 // unistd.h:113:1:
X_POSIX_PRIORITIZED_IO = -1 // unistd.h:114:1:
X_POSIX_PRIORITY_SCHEDULING = -1 // unistd.h:115:1:
X_POSIX_RAW_SOCKETS = -1 // unistd.h:116:1:
X_POSIX_READER_WRITER_LOCKS = 200112 // unistd.h:117:1:
X_POSIX_REALTIME_SIGNALS = -1 // unistd.h:118:1:
X_POSIX_REGEXP = 200112 // unistd.h:119:1:
X_POSIX_SAVED_IDS = 200112 // unistd.h:120:1:
X_POSIX_SEMAPHORES = -1 // unistd.h:121:1:
X_POSIX_SHARED_MEMORY_OBJECTS = -1 // unistd.h:122:1:
X_POSIX_SHELL = 200112 // unistd.h:123:1:
X_POSIX_SPAWN = -1 // unistd.h:124:1:
X_POSIX_SPIN_LOCKS = -1 // unistd.h:125:1:
X_POSIX_SPORADIC_SERVER = -1 // unistd.h:126:1:
X_POSIX_SYNCHRONIZED_IO = -1 // unistd.h:127:1:
X_POSIX_THREADS = 200112 // unistd.h:137:1:
X_POSIX_THREAD_ATTR_STACKADDR = 200112 // unistd.h:128:1:
X_POSIX_THREAD_ATTR_STACKSIZE = 200112 // unistd.h:129:1:
X_POSIX_THREAD_CPUTIME = -1 // unistd.h:130:1:
X_POSIX_THREAD_KEYS_MAX = 128 // unistd.h:86:1:
X_POSIX_THREAD_PRIORITY_SCHEDULING = -1 // unistd.h:133:1:
X_POSIX_THREAD_PRIO_INHERIT = -1 // unistd.h:131:1:
X_POSIX_THREAD_PRIO_PROTECT = -1 // unistd.h:132:1:
X_POSIX_THREAD_PROCESS_SHARED = 200112 // unistd.h:134:1:
X_POSIX_THREAD_SAFE_FUNCTIONS = 200112 // unistd.h:135:1:
X_POSIX_THREAD_SPORADIC_SERVER = -1 // unistd.h:136:1:
X_POSIX_TIMEOUTS = -1 // unistd.h:138:1:
X_POSIX_TIMERS = -1 // unistd.h:139:1:
X_POSIX_TRACE = -1 // unistd.h:140:1:
X_POSIX_TRACE_EVENT_FILTER = -1 // unistd.h:141:1:
X_POSIX_TRACE_INHERIT = -1 // unistd.h:142:1:
X_POSIX_TRACE_LOG = -1 // unistd.h:143:1:
X_POSIX_TYPED_MEMORY_OBJECTS = -1 // unistd.h:144:1:
X_POSIX_V6_ILP32_OFF32 = -1 // unistd.h:173:1:
X_POSIX_V6_ILP32_OFFBIG = -1 // unistd.h:174:1:
X_POSIX_V6_LP64_OFF64 = 1 // unistd.h:175:1:
X_POSIX_V6_LPBIG_OFFBIG = 1 // unistd.h:176:1:
X_POSIX_V7_ILP32_OFF32 = -1 // unistd.h:180:1:
X_POSIX_V7_ILP32_OFFBIG = -1 // unistd.h:181:1:
X_POSIX_V7_LP64_OFF64 = 1 // unistd.h:182:1:
X_POSIX_V7_LPBIG_OFFBIG = 1 // unistd.h:183:1:
X_POSIX_VERSION = 200112 // unistd.h:79:1:
X_RATTR_OK = 32768 // unistd.h:106:1:
X_READ_OK = 512 // unistd.h:100:1:
X_REXT_OK = 131072 // unistd.h:108:1:
X_RMFILE_OK = 16384 // unistd.h:105:1:
X_RPERM_OK = 524288 // unistd.h:110:1:
X_SC_2_CHAR_TERM = 20 // unistd.h:232:1:
X_SC_2_C_BIND = 18 // unistd.h:230:1:
X_SC_2_C_DEV = 19 // unistd.h:231:1:
X_SC_2_FORT_DEV = 21 // unistd.h:233:1:
X_SC_2_FORT_RUN = 22 // unistd.h:234:1:
X_SC_2_LOCALEDEF = 23 // unistd.h:235:1:
X_SC_2_PBS = 59 // unistd.h:275:1:
X_SC_2_PBS_ACCOUNTING = 60 // unistd.h:276:1:
X_SC_2_PBS_CHECKPOINT = 61 // unistd.h:277:1:
X_SC_2_PBS_LOCATE = 62 // unistd.h:278:1:
X_SC_2_PBS_MESSAGE = 63 // unistd.h:279:1:
X_SC_2_PBS_TRACK = 64 // unistd.h:280:1:
X_SC_2_SW_DEV = 24 // unistd.h:236:1:
X_SC_2_UPE = 25 // unistd.h:237:1:
X_SC_2_VERSION = 17 // unistd.h:229:1:
X_SC_ADVISORY_INFO = 65 // unistd.h:281:1:
X_SC_AIO_LISTIO_MAX = 42 // unistd.h:256:1:
X_SC_AIO_MAX = 43 // unistd.h:257:1:
X_SC_AIO_PRIO_DELTA_MAX = 44 // unistd.h:258:1:
X_SC_ARG_MAX = 1 // unistd.h:213:1:
X_SC_ASYNCHRONOUS_IO = 28 // unistd.h:242:1:
X_SC_ATEXIT_MAX = 107 // unistd.h:329:1:
X_SC_BARRIERS = 66 // unistd.h:282:1:
X_SC_BC_BASE_MAX = 9 // unistd.h:221:1:
X_SC_BC_DIM_MAX = 10 // unistd.h:222:1:
X_SC_BC_SCALE_MAX = 11 // unistd.h:223:1:
X_SC_BC_STRING_MAX = 12 // unistd.h:224:1:
X_SC_CHILD_MAX = 2 // unistd.h:214:1:
X_SC_CLK_TCK = 3 // unistd.h:215:1:
X_SC_CLOCK_SELECTION = 67 // unistd.h:283:1:
X_SC_COLL_WEIGHTS_MAX = 13 // unistd.h:225:1:
X_SC_CPUTIME = 68 // unistd.h:284:1:
X_SC_DELAYTIMER_MAX = 45 // unistd.h:259:1:
X_SC_EXPR_NEST_MAX = 14 // unistd.h:226:1:
X_SC_FILE_LOCKING = 69 // unistd.h:285:1:
X_SC_FSYNC = 38 // unistd.h:252:1:
X_SC_GETGR_R_SIZE_MAX = 70 // unistd.h:286:1:
X_SC_GETPW_R_SIZE_MAX = 71 // unistd.h:287:1:
X_SC_HOST_NAME_MAX = 72 // unistd.h:288:1:
X_SC_IOV_MAX = 56 // unistd.h:330:1:
X_SC_IPV6 = 118 // unistd.h:323:1:
X_SC_JOB_CONTROL = 6 // unistd.h:218:1:
X_SC_LINE_MAX = 15 // unistd.h:227:1:
X_SC_LOGIN_NAME_MAX = 73 // unistd.h:289:1:
X_SC_MAPPED_FILES = 47 // unistd.h:261:1:
X_SC_MEMLOCK = 30 // unistd.h:244:1:
X_SC_MEMLOCK_RANGE = 31 // unistd.h:245:1:
X_SC_MEMORY_PROTECTION = 32 // unistd.h:246:1:
X_SC_MESSAGE_PASSING = 33 // unistd.h:247:1:
X_SC_MONOTONIC_CLOCK = 74 // unistd.h:290:1:
X_SC_MQ_OPEN_MAX = 46 // unistd.h:260:1:
X_SC_MQ_PRIO_MAX = 75 // unistd.h:291:1:
X_SC_NGROUPS_MAX = 4 // unistd.h:216:1:
X_SC_NPROCESSORS_CONF = 57 // unistd.h:270:1:
X_SC_NPROCESSORS_ONLN = 58 // unistd.h:271:1:
X_SC_OPEN_MAX = 5 // unistd.h:217:1:
X_SC_PAGESIZE = 29 // unistd.h:243:1:
X_SC_PAGE_SIZE = 29 // unistd.h:331:1:
X_SC_PASS_MAX = 131 // unistd.h:362:1:
X_SC_PHYS_PAGES = 200 // unistd.h:367:1:
X_SC_PRIORITIZED_IO = 34 // unistd.h:248:1:
X_SC_PRIORITY_SCHEDULING = 35 // unistd.h:249:1:
X_SC_RAW_SOCKETS = 119 // unistd.h:324:1:
X_SC_READER_WRITER_LOCKS = 76 // unistd.h:292:1:
X_SC_REALTIME_SIGNALS = 36 // unistd.h:250:1:
X_SC_REGEXP = 77 // unistd.h:293:1:
X_SC_RE_DUP_MAX = 16 // unistd.h:228:1:
X_SC_RTSIG_MAX = 48 // unistd.h:262:1:
X_SC_SAVED_IDS = 7 // unistd.h:219:1:
X_SC_SEMAPHORES = 37 // unistd.h:251:1:
X_SC_SEM_NSEMS_MAX = 49 // unistd.h:263:1:
X_SC_SEM_VALUE_MAX = 50 // unistd.h:264:1:
X_SC_SHARED_MEMORY_OBJECTS = 39 // unistd.h:253:1:
X_SC_SHELL = 78 // unistd.h:294:1:
X_SC_SIGQUEUE_MAX = 51 // unistd.h:265:1:
X_SC_SPAWN = 79 // unistd.h:295:1:
X_SC_SPIN_LOCKS = 80 // unistd.h:296:1:
X_SC_SPORADIC_SERVER = 81 // unistd.h:297:1:
X_SC_SS_REPL_MAX = 126 // unistd.h:353:1:
X_SC_STREAM_MAX = 26 // unistd.h:238:1:
X_SC_SYMLOOP_MAX = 120 // unistd.h:325:1:
X_SC_SYNCHRONIZED_IO = 40 // unistd.h:254:1:
X_SC_THREADS = 96 // unistd.h:312:1:
X_SC_THREAD_ATTR_STACKADDR = 82 // unistd.h:298:1:
X_SC_THREAD_ATTR_STACKSIZE = 83 // unistd.h:299:1:
X_SC_THREAD_CPUTIME = 84 // unistd.h:300:1:
X_SC_THREAD_DESTRUCTOR_ITERATIONS = 85 // unistd.h:301:1:
X_SC_THREAD_KEYS_MAX = 86 // unistd.h:302:1:
X_SC_THREAD_PRIORITY_SCHEDULING = 89 // unistd.h:305:1:
X_SC_THREAD_PRIO_INHERIT = 87 // unistd.h:303:1:
X_SC_THREAD_PRIO_PROTECT = 88 // unistd.h:304:1:
X_SC_THREAD_PROCESS_SHARED = 90 // unistd.h:306:1:
X_SC_THREAD_SAFE_FUNCTIONS = 91 // unistd.h:307:1:
X_SC_THREAD_SPORADIC_SERVER = 92 // unistd.h:308:1:
X_SC_THREAD_STACK_MIN = 93 // unistd.h:309:1:
X_SC_THREAD_THREADS_MAX = 94 // unistd.h:310:1:
X_SC_TIMEOUTS = 95 // unistd.h:311:1:
X_SC_TIMERS = 41 // unistd.h:255:1:
X_SC_TIMER_MAX = 52 // unistd.h:266:1:
X_SC_TRACE = 97 // unistd.h:313:1:
X_SC_TRACE_EVENT_FILTER = 98 // unistd.h:314:1:
X_SC_TRACE_EVENT_NAME_MAX = 127 // unistd.h:354:1:
X_SC_TRACE_INHERIT = 99 // unistd.h:315:1:
X_SC_TRACE_LOG = 100 // unistd.h:316:1:
X_SC_TRACE_NAME_MAX = 128 // unistd.h:355:1:
X_SC_TRACE_SYS_MAX = 129 // unistd.h:356:1:
X_SC_TRACE_USER_EVENT_MAX = 130 // unistd.h:357:1:
X_SC_TTY_NAME_MAX = 101 // unistd.h:317:1:
X_SC_TYPED_MEMORY_OBJECTS = 102 // unistd.h:318:1:
X_SC_TZNAME_MAX = 27 // unistd.h:239:1:
X_SC_V6_ILP32_OFF32 = 103 // unistd.h:319:1:
X_SC_V6_ILP32_OFFBIG = 104 // unistd.h:320:1:
X_SC_V6_LP64_OFF64 = 105 // unistd.h:321:1:
X_SC_V6_LPBIG_OFFBIG = 106 // unistd.h:322:1:
X_SC_VERSION = 8 // unistd.h:220:1:
X_SC_XBS5_ILP32_OFF32 = 122 // unistd.h:346:1:
X_SC_XBS5_ILP32_OFFBIG = 123 // unistd.h:347:1:
X_SC_XBS5_LP64_OFF64 = 124 // unistd.h:348:1:
X_SC_XBS5_LPBIG_OFFBIG = 125 // unistd.h:349:1:
X_SC_XOPEN_CRYPT = 108 // unistd.h:332:1:
X_SC_XOPEN_ENH_I18N = 109 // unistd.h:333:1:
X_SC_XOPEN_LEGACY = 110 // unistd.h:334:1:
X_SC_XOPEN_REALTIME = 111 // unistd.h:335:1:
X_SC_XOPEN_REALTIME_THREADS = 112 // unistd.h:336:1:
X_SC_XOPEN_SHM = 113 // unistd.h:337:1:
X_SC_XOPEN_STREAMS = 114 // unistd.h:338:1:
X_SC_XOPEN_UNIX = 115 // unistd.h:339:1:
X_SC_XOPEN_VERSION = 116 // unistd.h:340:1:
X_SC_XOPEN_XCU_VERSION = 121 // unistd.h:341:1:
X_SIGSET_T = 0 // _sigset_t.h:29:1:
X_SIZE_T = 0 // _size_t.h:29:1:
X_SSIZE_T = 0 // _ssize_t.h:29:1:
X_SUSECONDS_T = 0 // _suseconds_t.h:29:1:
X_SYS_SELECT_H_ = 0 // select.h:64:1:
X_SYS_UNISTD_H_ = 0 // unistd.h:65:1:
X_SYS__PTHREAD_TYPES_H_ = 0 // _pthread_types.h:30:1:
X_SYS__SELECT_H_ = 0 // _select.h:37:1:
X_SYS__TYPES_H_ = 0 // _types.h:30:1:
X_TIME_T = 0 // _time_t.h:29:1:
X_UID_T = 0 // _uid_t.h:29:1:
X_UINT32_T = 0 // _uint32_t.h:30:1:
X_UINT64_T = 0 // _uint64_t.h:30:1:
X_UINTPTR_T = 0 // _uintptr_t.h:29:1:
X_UNISTD_H_ = 0 // unistd.h:69:1:
X_USECONDS_T = 0 // _useconds_t.h:29:1:
X_UUID_T = 0 // _uuid_t.h:29:1:
X_U_INT16_T = 0 // _u_int16_t.h:29:1:
X_U_INT32_T = 0 // _u_int32_t.h:29:1:
X_U_INT64_T = 0 // _u_int64_t.h:29:1:
X_U_INT8_T = 0 // _u_int8_t.h:29:1:
X_V6_ILP32_OFF32 = -1 // unistd.h:187:1:
X_V6_ILP32_OFFBIG = -1 // unistd.h:188:1:
X_V6_LP64_OFF64 = 1 // unistd.h:189:1:
X_V6_LPBIG_OFFBIG = 1 // unistd.h:190:1:
X_WATTR_OK = 65536 // unistd.h:107:1:
X_WEXT_OK = 262144 // unistd.h:109:1:
X_WPERM_OK = 1048576 // unistd.h:111:1:
X_WRITE_OK = 1024 // unistd.h:101:1:
X_XBS5_ILP32_OFF32 = -1 // unistd.h:195:1:
X_XBS5_ILP32_OFFBIG = -1 // unistd.h:196:1:
X_XBS5_LP64_OFF64 = 1 // unistd.h:197:1:
X_XBS5_LPBIG_OFFBIG = 1 // unistd.h:198:1:
X_XOPEN_CRYPT = 1 // unistd.h:202:1:
X_XOPEN_ENH_I18N = 1 // unistd.h:203:1:
X_XOPEN_LEGACY = -1 // unistd.h:204:1:
X_XOPEN_REALTIME = -1 // unistd.h:205:1:
X_XOPEN_REALTIME_THREADS = -1 // unistd.h:206:1:
X_XOPEN_SHM = 1 // unistd.h:207:1:
X_XOPEN_STREAMS = -1 // unistd.h:208:1:
X_XOPEN_UNIX = 1 // unistd.h:209:1:
X_XOPEN_VERSION = 600 // unistd.h:93:1:
X_XOPEN_XCU_VERSION = 4 // unistd.h:94:1:
)
type Ptrdiff_t = int64 /* <builtin>:3:26 */
@ -399,6 +399,8 @@ type X__uint128_t = struct {
type X__builtin_va_list = uintptr /* <builtin>:46:14 */
type X__float128 = float64 /* <builtin>:47:21 */
var X__darwin_check_fd_set_overflow uintptr /* <builtin>:146:5: */
// Copyright (c) 2000, 2002-2006, 2008-2010, 2012 Apple Inc. All rights reserved.
//
// @APPLE_LICENSE_HEADER_START@
@ -583,6 +585,13 @@ type X__float128 = float64 /* <builtin>:47:21 */
// in between its arguments. __CONCAT can also concatenate double-quoted
// strings produced by the __STRING macro, but this only works with ANSI C.
// In non-ANSI C environments, new programs will want ANSI-only C keywords
// deleted from the program and old programs will want them left alone.
// When using a compiler other than gcc, programs using the ANSI C keywords
// const, inline etc. as normal identifiers should define -DNO_ANSI_KEYWORDS.
// When using "gcc -traditional", we assume that this is the intent; if
// __GNUC__ is defined but __STDC__ is not, we leave the new keywords alone.
// __unused denotes variables and functions that may not be used, preventing
// the compiler from warning about it if not used.
@ -950,8 +959,8 @@ type X__darwin_ct_rune_t = int32 /* _types.h:70:33 */ // ct_rune_t
// mbstate_t is an opaque object to keep conversion state, during multibyte
// stream conversions. The content must not be referenced by user programs.
type X__mbstate_t = struct {
_ [0]uint64
F__mbstate8 [128]int8
F__ccgo_pad1 [0]uint64
F__mbstate8 [128]int8
} /* _types.h:79:3 */
type X__darwin_mbstate_t = X__mbstate_t /* _types.h:81:33 */ // mbstate_t
@ -3140,9 +3149,9 @@ type Timespec = struct {
// @APPLE_OSREFERENCE_LICENSE_HEADER_END@
type Timeval = struct {
Ftv_sec X__darwin_time_t
Ftv_usec X__darwin_suseconds_t
_ [4]byte
Ftv_sec X__darwin_time_t
Ftv_usec X__darwin_suseconds_t
F__ccgo_pad1 [4]byte
} /* _timeval.h:34:1 */
// The time_t and suseconds_t types shall be defined as described in

File diff suppressed because it is too large Load Diff

View File

@ -1,4 +1,4 @@
// Code generated by 'ccgo unistd/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o unistd/unistd_freebsd_amd64.go -pkgname unistd', DO NOT EDIT.
// Code generated by 'ccgo unistd/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o unistd/unistd_freebsd_amd64.go -pkgname unistd', DO NOT EDIT.
package unistd
@ -15,374 +15,377 @@ var _ atomic.Value
var _ unsafe.Pointer
const (
BIG_ENDIAN = 4321
BYTE_ORDER = 1234
FD_SETSIZE = 1024
F_LOCK = 1
F_OK = 0
F_TEST = 3
F_TLOCK = 2
F_ULOCK = 0
LITTLE_ENDIAN = 1234
L_INCR = 1
L_SET = 0
L_XTND = 2
PDP_ENDIAN = 3412
RFCENVG = 2048
RFCFDG = 4096
RFCNAMEG = 1024
RFENVG = 2
RFFDG = 4
RFFLAGS = 2416930932
RFHIGHPID = 262144
RFKERNELONLY = 268828672
RFLINUXTHPN = 65536
RFMEM = 32
RFNAMEG = 1
RFNOTEG = 8
RFNOWAIT = 64
RFPPWAIT = 2147483648
RFPROC = 16
RFPROCDESC = 268435456
RFSIGSHARE = 16384
RFSPAWN = 2147483648
RFSTOPPED = 131072
RFTHREAD = 8192
RFTSIGMASK = 0xFF
RFTSIGSHIFT = 20
RFTSIGZMB = 524288
R_OK = 0x04
SEEK_CUR = 1
SEEK_DATA = 3
SEEK_END = 2
SEEK_HOLE = 4
SEEK_SET = 0
STDERR_FILENO = 2
STDIN_FILENO = 0
STDOUT_FILENO = 1
W_OK = 0x02
X_OK = 0x01
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_CS_PATH = 1
X_CS_POSIX_V6_ILP32_OFF32_CFLAGS = 2
X_CS_POSIX_V6_ILP32_OFF32_LDFLAGS = 3
X_CS_POSIX_V6_ILP32_OFF32_LIBS = 4
X_CS_POSIX_V6_ILP32_OFFBIG_CFLAGS = 5
X_CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS = 6
X_CS_POSIX_V6_ILP32_OFFBIG_LIBS = 7
X_CS_POSIX_V6_LP64_OFF64_CFLAGS = 8
X_CS_POSIX_V6_LP64_OFF64_LDFLAGS = 9
X_CS_POSIX_V6_LP64_OFF64_LIBS = 10
X_CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS = 11
X_CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS = 12
X_CS_POSIX_V6_LPBIG_OFFBIG_LIBS = 13
X_CS_POSIX_V6_WIDTH_RESTRICTED_ENVS = 14
X_DEV_T_DECLARED = 0
X_FFLAGS_T_DECLARED = 0
X_FILE_OFFSET_BITS = 64
X_FSBLKCNT_T_DECLARED = 0
X_FTRUNCATE_DECLARED = 0
X_GETOPT_DECLARED = 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_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_MKDTEMP_DECLARED = 0
X_MKNOD_DECLARED = 0
X_MKSTEMP_DECLARED = 0
X_MKTEMP_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_OPTRESET_DECLARED = 0
X_PC_ACL_EXTENDED = 59
X_PC_ACL_NFS4 = 64
X_PC_ACL_PATH_MAX = 60
X_PC_ALLOC_SIZE_MIN = 10
X_PC_ASYNC_IO = 53
X_PC_CAP_PRESENT = 61
X_PC_CHOWN_RESTRICTED = 7
X_PC_FILESIZEBITS = 12
X_PC_INF_PRESENT = 62
X_PC_LINK_MAX = 1
X_PC_MAC_PRESENT = 63
X_PC_MAX_CANON = 2
X_PC_MAX_INPUT = 3
X_PC_MIN_HOLE_SIZE = 21
X_PC_NAME_MAX = 4
X_PC_NO_TRUNC = 8
X_PC_PATH_MAX = 5
X_PC_PIPE_BUF = 6
X_PC_PRIO_IO = 54
X_PC_REC_INCR_XFER_SIZE = 14
X_PC_REC_MAX_XFER_SIZE = 15
X_PC_REC_MIN_XFER_SIZE = 16
X_PC_REC_XFER_ALIGN = 17
X_PC_SYMLINK_MAX = 18
X_PC_SYNC_IO = 55
X_PC_VDISABLE = 9
X_PDP_ENDIAN = 3412
X_PID_T_DECLARED = 0
X_POSIX2_CHAR_TERM = 1
X_POSIX2_C_BIND = 200112
X_POSIX2_C_DEV = -1
X_POSIX2_FORT_DEV = -1
X_POSIX2_FORT_RUN = 200112
X_POSIX2_LOCALEDEF = -1
X_POSIX2_PBS = -1
X_POSIX2_PBS_ACCOUNTING = -1
X_POSIX2_PBS_CHECKPOINT = -1
X_POSIX2_PBS_LOCATE = -1
X_POSIX2_PBS_MESSAGE = -1
X_POSIX2_PBS_TRACK = -1
X_POSIX2_SW_DEV = -1
X_POSIX2_UPE = 200112
X_POSIX2_VERSION = 199212
X_POSIX_ADVISORY_INFO = 200112
X_POSIX_ASYNCHRONOUS_IO = 200112
X_POSIX_BARRIERS = 200112
X_POSIX_CHOWN_RESTRICTED = 1
X_POSIX_CLOCK_SELECTION = -1
X_POSIX_CPUTIME = 200112
X_POSIX_FSYNC = 200112
X_POSIX_IPV6 = 0
X_POSIX_JOB_CONTROL = 1
X_POSIX_MAPPED_FILES = 200112
X_POSIX_MEMLOCK = -1
X_POSIX_MEMLOCK_RANGE = 200112
X_POSIX_MEMORY_PROTECTION = 200112
X_POSIX_MESSAGE_PASSING = 200112
X_POSIX_MONOTONIC_CLOCK = 200112
X_POSIX_NO_TRUNC = 1
X_POSIX_PRIORITIZED_IO = -1
X_POSIX_PRIORITY_SCHEDULING = 0
X_POSIX_RAW_SOCKETS = 200112
X_POSIX_READER_WRITER_LOCKS = 200112
X_POSIX_REALTIME_SIGNALS = 200112
X_POSIX_REGEXP = 1
X_POSIX_SEMAPHORES = 200112
X_POSIX_SHARED_MEMORY_OBJECTS = 200112
X_POSIX_SHELL = 1
X_POSIX_SPAWN = 200112
X_POSIX_SPIN_LOCKS = 200112
X_POSIX_SPORADIC_SERVER = -1
X_POSIX_SYNCHRONIZED_IO = -1
X_POSIX_THREADS = 200112
X_POSIX_THREAD_ATTR_STACKADDR = 200112
X_POSIX_THREAD_ATTR_STACKSIZE = 200112
X_POSIX_THREAD_CPUTIME = 200112
X_POSIX_THREAD_PRIORITY_SCHEDULING = 200112
X_POSIX_THREAD_PRIO_INHERIT = 200112
X_POSIX_THREAD_PRIO_PROTECT = 200112
X_POSIX_THREAD_PROCESS_SHARED = 200112
X_POSIX_THREAD_SAFE_FUNCTIONS = -1
X_POSIX_THREAD_SPORADIC_SERVER = -1
X_POSIX_TIMEOUTS = 200112
X_POSIX_TIMERS = 200112
X_POSIX_TRACE = -1
X_POSIX_TRACE_EVENT_FILTER = -1
X_POSIX_TRACE_INHERIT = -1
X_POSIX_TRACE_LOG = -1
X_POSIX_TYPED_MEMORY_OBJECTS = -1
X_POSIX_VDISABLE = 0xff
X_POSIX_VERSION = 200112
X_PTHREAD_T_DECLARED = 0
X_QUAD_HIGHWORD = 1
X_QUAD_LOWWORD = 0
X_RLIM_T_DECLARED = 0
X_SC_2_CHAR_TERM = 20
X_SC_2_C_BIND = 18
X_SC_2_C_DEV = 19
X_SC_2_FORT_DEV = 21
X_SC_2_FORT_RUN = 22
X_SC_2_LOCALEDEF = 23
X_SC_2_PBS = 59
X_SC_2_PBS_ACCOUNTING = 60
X_SC_2_PBS_CHECKPOINT = 61
X_SC_2_PBS_LOCATE = 62
X_SC_2_PBS_MESSAGE = 63
X_SC_2_PBS_TRACK = 64
X_SC_2_SW_DEV = 24
X_SC_2_UPE = 25
X_SC_2_VERSION = 17
X_SC_ADVISORY_INFO = 65
X_SC_AIO_LISTIO_MAX = 42
X_SC_AIO_MAX = 43
X_SC_AIO_PRIO_DELTA_MAX = 44
X_SC_ARG_MAX = 1
X_SC_ASYNCHRONOUS_IO = 28
X_SC_ATEXIT_MAX = 107
X_SC_BARRIERS = 66
X_SC_BC_BASE_MAX = 9
X_SC_BC_DIM_MAX = 10
X_SC_BC_SCALE_MAX = 11
X_SC_BC_STRING_MAX = 12
X_SC_CHILD_MAX = 2
X_SC_CLK_TCK = 3
X_SC_CLOCK_SELECTION = 67
X_SC_COLL_WEIGHTS_MAX = 13
X_SC_CPUSET_SIZE = 122
X_SC_CPUTIME = 68
X_SC_DELAYTIMER_MAX = 45
X_SC_EXPR_NEST_MAX = 14
X_SC_FILE_LOCKING = 69
X_SC_FSYNC = 38
X_SC_GETGR_R_SIZE_MAX = 70
X_SC_GETPW_R_SIZE_MAX = 71
X_SC_HOST_NAME_MAX = 72
X_SC_IOV_MAX = 56
X_SC_IPV6 = 118
X_SC_JOB_CONTROL = 6
X_SC_LINE_MAX = 15
X_SC_LOGIN_NAME_MAX = 73
X_SC_MAPPED_FILES = 29
X_SC_MEMLOCK = 30
X_SC_MEMLOCK_RANGE = 31
X_SC_MEMORY_PROTECTION = 32
X_SC_MESSAGE_PASSING = 33
X_SC_MONOTONIC_CLOCK = 74
X_SC_MQ_OPEN_MAX = 46
X_SC_MQ_PRIO_MAX = 75
X_SC_NGROUPS_MAX = 4
X_SC_NPROCESSORS_CONF = 57
X_SC_NPROCESSORS_ONLN = 58
X_SC_OPEN_MAX = 5
X_SC_PAGESIZE = 47
X_SC_PAGE_SIZE = 47
X_SC_PHYS_PAGES = 121
X_SC_PRIORITIZED_IO = 34
X_SC_PRIORITY_SCHEDULING = 35
X_SC_RAW_SOCKETS = 119
X_SC_READER_WRITER_LOCKS = 76
X_SC_REALTIME_SIGNALS = 36
X_SC_REGEXP = 77
X_SC_RE_DUP_MAX = 16
X_SC_RTSIG_MAX = 48
X_SC_SAVED_IDS = 7
X_SC_SEMAPHORES = 37
X_SC_SEM_NSEMS_MAX = 49
X_SC_SEM_VALUE_MAX = 50
X_SC_SHARED_MEMORY_OBJECTS = 39
X_SC_SHELL = 78
X_SC_SIGQUEUE_MAX = 51
X_SC_SPAWN = 79
X_SC_SPIN_LOCKS = 80
X_SC_SPORADIC_SERVER = 81
X_SC_STREAM_MAX = 26
X_SC_SYMLOOP_MAX = 120
X_SC_SYNCHRONIZED_IO = 40
X_SC_THREADS = 96
X_SC_THREAD_ATTR_STACKADDR = 82
X_SC_THREAD_ATTR_STACKSIZE = 83
X_SC_THREAD_CPUTIME = 84
X_SC_THREAD_DESTRUCTOR_ITERATIONS = 85
X_SC_THREAD_KEYS_MAX = 86
X_SC_THREAD_PRIORITY_SCHEDULING = 89
X_SC_THREAD_PRIO_INHERIT = 87
X_SC_THREAD_PRIO_PROTECT = 88
X_SC_THREAD_PROCESS_SHARED = 90
X_SC_THREAD_SAFE_FUNCTIONS = 91
X_SC_THREAD_SPORADIC_SERVER = 92
X_SC_THREAD_STACK_MIN = 93
X_SC_THREAD_THREADS_MAX = 94
X_SC_TIMEOUTS = 95
X_SC_TIMERS = 41
X_SC_TIMER_MAX = 52
X_SC_TRACE = 97
X_SC_TRACE_EVENT_FILTER = 98
X_SC_TRACE_INHERIT = 99
X_SC_TRACE_LOG = 100
X_SC_TTY_NAME_MAX = 101
X_SC_TYPED_MEMORY_OBJECTS = 102
X_SC_TZNAME_MAX = 27
X_SC_V6_ILP32_OFF32 = 103
X_SC_V6_ILP32_OFFBIG = 104
X_SC_V6_LP64_OFF64 = 105
X_SC_V6_LPBIG_OFFBIG = 106
X_SC_VERSION = 8
X_SC_XOPEN_CRYPT = 108
X_SC_XOPEN_ENH_I18N = 109
X_SC_XOPEN_LEGACY = 110
X_SC_XOPEN_REALTIME = 111
X_SC_XOPEN_REALTIME_THREADS = 112
X_SC_XOPEN_SHM = 113
X_SC_XOPEN_STREAMS = 114
X_SC_XOPEN_UNIX = 115
X_SC_XOPEN_VERSION = 116
X_SC_XOPEN_XCU_VERSION = 117
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_SWAB_DECLARED = 0
X_SYS_CDEFS_H_ = 0
X_SYS_SELECT_H_ = 0
X_SYS_TIMESPEC_H_ = 0
X_SYS_TYPES_H_ = 0
X_SYS_UNISTD_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_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_UNISTD_H_ = 0
X_USECONDS_T_DECLARED = 0
X_V6_ILP32_OFF32 = -1
X_V6_ILP32_OFFBIG = 0
X_V6_LP64_OFF64 = 0
X_V6_LPBIG_OFFBIG = -1
X_XOPEN_CRYPT = -1
X_XOPEN_ENH_I18N = -1
X_XOPEN_LEGACY = -1
X_XOPEN_REALTIME = -1
X_XOPEN_REALTIME_THREADS = -1
X_XOPEN_SHM = 1
X_XOPEN_STREAMS = -1
X_XOPEN_UNIX = -1
Unix = 1
BIG_ENDIAN = 4321 // _endian.h:70:1:
BYTE_ORDER = 1234 // _endian.h:72:1:
CLOSE_RANGE_CLOEXEC = 4 // unistd.h:205:1:
FD_SETSIZE = 1024 // select.h:61:1:
F_LOCK = 1 // unistd.h:85:1:
F_OK = 0 // unistd.h:102:1:
F_TEST = 3 // unistd.h:87:1:
F_TLOCK = 2 // unistd.h:86:1:
F_ULOCK = 0 // unistd.h:84:1:
LITTLE_ENDIAN = 1234 // _endian.h:69:1:
L_INCR = 1 // unistd.h:121:1:
L_SET = 0 // unistd.h:120:1:
L_XTND = 2 // unistd.h:122:1:
PDP_ENDIAN = 3412 // _endian.h:71:1:
RFCENVG = 2048 // unistd.h:178:1:
RFCFDG = 4096 // unistd.h:179:1:
RFCNAMEG = 1024 // unistd.h:177:1:
RFENVG = 2 // unistd.h:171:1:
RFFDG = 4 // unistd.h:172:1:
RFFLAGS = 2416930932 // unistd.h:195:1:
RFHIGHPID = 262144 // unistd.h:184:1:
RFKERNELONLY = 268828672 // unistd.h:198:1:
RFLINUXTHPN = 65536 // unistd.h:182:1:
RFMEM = 32 // unistd.h:175:1:
RFNAMEG = 1 // unistd.h:170:1:
RFNOTEG = 8 // unistd.h:173:1:
RFNOWAIT = 64 // unistd.h:176:1:
RFPPWAIT = 2147483648 // unistd.h:192:1:
RFPROC = 16 // unistd.h:174:1:
RFPROCDESC = 268435456 // unistd.h:190:1:
RFSIGSHARE = 16384 // unistd.h:181:1:
RFSPAWN = 2147483648 // unistd.h:194:1:
RFSTOPPED = 131072 // unistd.h:183:1:
RFTHREAD = 8192 // unistd.h:180:1:
RFTSIGMASK = 0xFF // unistd.h:187:1:
RFTSIGSHIFT = 20 // unistd.h:186:1:
RFTSIGZMB = 524288 // unistd.h:185:1:
R_OK = 0x04 // unistd.h:105:1:
SEEK_CUR = 1 // unistd.h:110:1:
SEEK_DATA = 3 // unistd.h:114:1:
SEEK_END = 2 // unistd.h:111:1:
SEEK_HOLE = 4 // unistd.h:115:1:
SEEK_SET = 0 // unistd.h:109:1:
STDERR_FILENO = 2 // unistd.h:81:1:
STDIN_FILENO = 0 // unistd.h:79:1:
STDOUT_FILENO = 1 // unistd.h:80:1:
SWAPOFF_FORCE = 0x00000001 // unistd.h:200:1:
W_OK = 0x02 // unistd.h:104:1:
X_OK = 0x01 // unistd.h:103: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_CS_PATH = 1 // unistd.h:302:1:
X_CS_POSIX_V6_ILP32_OFF32_CFLAGS = 2 // unistd.h:306:1:
X_CS_POSIX_V6_ILP32_OFF32_LDFLAGS = 3 // unistd.h:307:1:
X_CS_POSIX_V6_ILP32_OFF32_LIBS = 4 // unistd.h:308:1:
X_CS_POSIX_V6_ILP32_OFFBIG_CFLAGS = 5 // unistd.h:309:1:
X_CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS = 6 // unistd.h:310:1:
X_CS_POSIX_V6_ILP32_OFFBIG_LIBS = 7 // unistd.h:311:1:
X_CS_POSIX_V6_LP64_OFF64_CFLAGS = 8 // unistd.h:312:1:
X_CS_POSIX_V6_LP64_OFF64_LDFLAGS = 9 // unistd.h:313:1:
X_CS_POSIX_V6_LP64_OFF64_LIBS = 10 // unistd.h:314:1:
X_CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS = 11 // unistd.h:315:1:
X_CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS = 12 // unistd.h:316:1:
X_CS_POSIX_V6_LPBIG_OFFBIG_LIBS = 13 // unistd.h:317:1:
X_CS_POSIX_V6_WIDTH_RESTRICTED_ENVS = 14 // unistd.h:318: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_GETOPT_DECLARED = 0 // unistd.h:378: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:46: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_MKDTEMP_DECLARED = 0 // unistd.h:528:1:
X_MKNOD_DECLARED = 0 // unistd.h:532:1:
X_MKSTEMP_DECLARED = 0 // unistd.h:536:1:
X_MKTEMP_DECLARED = 0 // unistd.h:541: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_OPTRESET_DECLARED = 0 // unistd.h:592:1:
X_PC_ACL_EXTENDED = 59 // unistd.h:153:1:
X_PC_ACL_NFS4 = 64 // unistd.h:158:1:
X_PC_ACL_PATH_MAX = 60 // unistd.h:154:1:
X_PC_ALLOC_SIZE_MIN = 10 // unistd.h:143:1:
X_PC_ASYNC_IO = 53 // unistd.h:137:1:
X_PC_CAP_PRESENT = 61 // unistd.h:155:1:
X_PC_CHOWN_RESTRICTED = 7 // unistd.h:132:1:
X_PC_FILESIZEBITS = 12 // unistd.h:144:1:
X_PC_INF_PRESENT = 62 // unistd.h:156:1:
X_PC_LINK_MAX = 1 // unistd.h:126:1:
X_PC_MAC_PRESENT = 63 // unistd.h:157:1:
X_PC_MAX_CANON = 2 // unistd.h:127:1:
X_PC_MAX_INPUT = 3 // unistd.h:128:1:
X_PC_MIN_HOLE_SIZE = 21 // unistd.h:162:1:
X_PC_NAME_MAX = 4 // unistd.h:129:1:
X_PC_NO_TRUNC = 8 // unistd.h:133:1:
X_PC_PATH_MAX = 5 // unistd.h:130:1:
X_PC_PIPE_BUF = 6 // unistd.h:131:1:
X_PC_PRIO_IO = 54 // unistd.h:138:1:
X_PC_REC_INCR_XFER_SIZE = 14 // unistd.h:145:1:
X_PC_REC_MAX_XFER_SIZE = 15 // unistd.h:146:1:
X_PC_REC_MIN_XFER_SIZE = 16 // unistd.h:147:1:
X_PC_REC_XFER_ALIGN = 17 // unistd.h:148:1:
X_PC_SYMLINK_MAX = 18 // unistd.h:149:1:
X_PC_SYNC_IO = 55 // unistd.h:139:1:
X_PC_VDISABLE = 9 // unistd.h:134:1:
X_PDP_ENDIAN = 3412 // _endian.h:48:1:
X_PID_T_DECLARED = 0 // types.h:186:1:
X_POSIX2_CHAR_TERM = 1 // unistd.h:127:1:
X_POSIX2_C_BIND = 200112 // unistd.h:125:1:
X_POSIX2_C_DEV = -1 // unistd.h:126:1:
X_POSIX2_FORT_DEV = -1 // unistd.h:128:1:
X_POSIX2_FORT_RUN = 200112 // unistd.h:129:1:
X_POSIX2_LOCALEDEF = -1 // unistd.h:130:1:
X_POSIX2_PBS = -1 // unistd.h:131:1:
X_POSIX2_PBS_ACCOUNTING = -1 // unistd.h:132:1:
X_POSIX2_PBS_CHECKPOINT = -1 // unistd.h:133:1:
X_POSIX2_PBS_LOCATE = -1 // unistd.h:134:1:
X_POSIX2_PBS_MESSAGE = -1 // unistd.h:135:1:
X_POSIX2_PBS_TRACK = -1 // unistd.h:136:1:
X_POSIX2_SW_DEV = -1 // unistd.h:137:1:
X_POSIX2_UPE = 200112 // unistd.h:138:1:
X_POSIX2_VERSION = 199212 // unistd.h:154:1:
X_POSIX_ADVISORY_INFO = 200112 // unistd.h:54:1:
X_POSIX_ASYNCHRONOUS_IO = 200112 // unistd.h:55:1:
X_POSIX_BARRIERS = 200112 // unistd.h:104:1:
X_POSIX_CHOWN_RESTRICTED = 1 // unistd.h:56:1:
X_POSIX_CLOCK_SELECTION = -1 // unistd.h:57:1:
X_POSIX_CPUTIME = 200112 // unistd.h:105:1:
X_POSIX_FSYNC = 200112 // unistd.h:59:1:
X_POSIX_IPV6 = 0 // unistd.h:60:1:
X_POSIX_JOB_CONTROL = 1 // unistd.h:61:1:
X_POSIX_MAPPED_FILES = 200112 // unistd.h:62:1:
X_POSIX_MEMLOCK = -1 // unistd.h:63:1:
X_POSIX_MEMLOCK_RANGE = 200112 // unistd.h:64:1:
X_POSIX_MEMORY_PROTECTION = 200112 // unistd.h:65:1:
X_POSIX_MESSAGE_PASSING = 200112 // unistd.h:66:1:
X_POSIX_MONOTONIC_CLOCK = 200112 // unistd.h:67:1:
X_POSIX_NO_TRUNC = 1 // unistd.h:68:1:
X_POSIX_PRIORITIZED_IO = -1 // unistd.h:69:1:
X_POSIX_PRIORITY_SCHEDULING = 0 // unistd.h:70:1:
X_POSIX_RAW_SOCKETS = 200112 // unistd.h:71:1:
X_POSIX_READER_WRITER_LOCKS = 200112 // unistd.h:106:1:
X_POSIX_REALTIME_SIGNALS = 200112 // unistd.h:72:1:
X_POSIX_REGEXP = 1 // unistd.h:107:1:
X_POSIX_SEMAPHORES = 200112 // unistd.h:73:1:
X_POSIX_SHARED_MEMORY_OBJECTS = 200112 // unistd.h:74:1:
X_POSIX_SHELL = 1 // unistd.h:108:1:
X_POSIX_SPAWN = 200112 // unistd.h:109:1:
X_POSIX_SPIN_LOCKS = 200112 // unistd.h:110:1:
X_POSIX_SPORADIC_SERVER = -1 // unistd.h:75:1:
X_POSIX_SYNCHRONIZED_IO = -1 // unistd.h:76:1:
X_POSIX_THREADS = 200112 // unistd.h:120:1:
X_POSIX_THREAD_ATTR_STACKADDR = 200112 // unistd.h:111:1:
X_POSIX_THREAD_ATTR_STACKSIZE = 200112 // unistd.h:112:1:
X_POSIX_THREAD_CPUTIME = 200112 // unistd.h:113:1:
X_POSIX_THREAD_PRIORITY_SCHEDULING = 200112 // unistd.h:116:1:
X_POSIX_THREAD_PRIO_INHERIT = 200112 // unistd.h:114:1:
X_POSIX_THREAD_PRIO_PROTECT = 200112 // unistd.h:115:1:
X_POSIX_THREAD_PROCESS_SHARED = 200112 // unistd.h:117:1:
X_POSIX_THREAD_SAFE_FUNCTIONS = -1 // unistd.h:118:1:
X_POSIX_THREAD_SPORADIC_SERVER = -1 // unistd.h:119:1:
X_POSIX_TIMEOUTS = 200112 // unistd.h:77:1:
X_POSIX_TIMERS = 200112 // unistd.h:78:1:
X_POSIX_TRACE = -1 // unistd.h:121:1:
X_POSIX_TRACE_EVENT_FILTER = -1 // unistd.h:122:1:
X_POSIX_TRACE_INHERIT = -1 // unistd.h:123:1:
X_POSIX_TRACE_LOG = -1 // unistd.h:124:1:
X_POSIX_TYPED_MEMORY_OBJECTS = -1 // unistd.h:79:1:
X_POSIX_VDISABLE = 0xff // unistd.h:80:1:
X_POSIX_VERSION = 200112 // unistd.h:99: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_SC_2_CHAR_TERM = 20 // unistd.h:184:1:
X_SC_2_C_BIND = 18 // unistd.h:182:1:
X_SC_2_C_DEV = 19 // unistd.h:183:1:
X_SC_2_FORT_DEV = 21 // unistd.h:185:1:
X_SC_2_FORT_RUN = 22 // unistd.h:186:1:
X_SC_2_LOCALEDEF = 23 // unistd.h:187:1:
X_SC_2_PBS = 59 // unistd.h:222:1:
X_SC_2_PBS_ACCOUNTING = 60 // unistd.h:223:1:
X_SC_2_PBS_CHECKPOINT = 61 // unistd.h:224:1:
X_SC_2_PBS_LOCATE = 62 // unistd.h:225:1:
X_SC_2_PBS_MESSAGE = 63 // unistd.h:226:1:
X_SC_2_PBS_TRACK = 64 // unistd.h:227:1:
X_SC_2_SW_DEV = 24 // unistd.h:188:1:
X_SC_2_UPE = 25 // unistd.h:189:1:
X_SC_2_VERSION = 17 // unistd.h:181:1:
X_SC_ADVISORY_INFO = 65 // unistd.h:228:1:
X_SC_AIO_LISTIO_MAX = 42 // unistd.h:208:1:
X_SC_AIO_MAX = 43 // unistd.h:209:1:
X_SC_AIO_PRIO_DELTA_MAX = 44 // unistd.h:210:1:
X_SC_ARG_MAX = 1 // unistd.h:165:1:
X_SC_ASYNCHRONOUS_IO = 28 // unistd.h:194:1:
X_SC_ATEXIT_MAX = 107 // unistd.h:276:1:
X_SC_BARRIERS = 66 // unistd.h:229:1:
X_SC_BC_BASE_MAX = 9 // unistd.h:173:1:
X_SC_BC_DIM_MAX = 10 // unistd.h:174:1:
X_SC_BC_SCALE_MAX = 11 // unistd.h:175:1:
X_SC_BC_STRING_MAX = 12 // unistd.h:176:1:
X_SC_CHILD_MAX = 2 // unistd.h:166:1:
X_SC_CLK_TCK = 3 // unistd.h:167:1:
X_SC_CLOCK_SELECTION = 67 // unistd.h:230:1:
X_SC_COLL_WEIGHTS_MAX = 13 // unistd.h:177:1:
X_SC_CPUSET_SIZE = 122 // unistd.h:294:1:
X_SC_CPUTIME = 68 // unistd.h:231:1:
X_SC_DELAYTIMER_MAX = 45 // unistd.h:211:1:
X_SC_EXPR_NEST_MAX = 14 // unistd.h:178:1:
X_SC_FILE_LOCKING = 69 // unistd.h:232:1:
X_SC_FSYNC = 38 // unistd.h:204:1:
X_SC_GETGR_R_SIZE_MAX = 70 // unistd.h:233:1:
X_SC_GETPW_R_SIZE_MAX = 71 // unistd.h:234:1:
X_SC_HOST_NAME_MAX = 72 // unistd.h:235:1:
X_SC_IOV_MAX = 56 // unistd.h:277:1:
X_SC_IPV6 = 118 // unistd.h:270:1:
X_SC_JOB_CONTROL = 6 // unistd.h:170:1:
X_SC_LINE_MAX = 15 // unistd.h:179:1:
X_SC_LOGIN_NAME_MAX = 73 // unistd.h:236:1:
X_SC_MAPPED_FILES = 29 // unistd.h:195:1:
X_SC_MEMLOCK = 30 // unistd.h:196:1:
X_SC_MEMLOCK_RANGE = 31 // unistd.h:197:1:
X_SC_MEMORY_PROTECTION = 32 // unistd.h:198:1:
X_SC_MESSAGE_PASSING = 33 // unistd.h:199:1:
X_SC_MONOTONIC_CLOCK = 74 // unistd.h:237:1:
X_SC_MQ_OPEN_MAX = 46 // unistd.h:212:1:
X_SC_MQ_PRIO_MAX = 75 // unistd.h:238:1:
X_SC_NGROUPS_MAX = 4 // unistd.h:168:1:
X_SC_NPROCESSORS_CONF = 57 // unistd.h:292:1:
X_SC_NPROCESSORS_ONLN = 58 // unistd.h:293:1:
X_SC_OPEN_MAX = 5 // unistd.h:169:1:
X_SC_PAGESIZE = 47 // unistd.h:213:1:
X_SC_PAGE_SIZE = 47 // unistd.h:278:1:
X_SC_PHYS_PAGES = 121 // unistd.h:298:1:
X_SC_PRIORITIZED_IO = 34 // unistd.h:200:1:
X_SC_PRIORITY_SCHEDULING = 35 // unistd.h:201:1:
X_SC_RAW_SOCKETS = 119 // unistd.h:271:1:
X_SC_READER_WRITER_LOCKS = 76 // unistd.h:239:1:
X_SC_REALTIME_SIGNALS = 36 // unistd.h:202:1:
X_SC_REGEXP = 77 // unistd.h:240:1:
X_SC_RE_DUP_MAX = 16 // unistd.h:180:1:
X_SC_RTSIG_MAX = 48 // unistd.h:214:1:
X_SC_SAVED_IDS = 7 // unistd.h:171:1:
X_SC_SEMAPHORES = 37 // unistd.h:203:1:
X_SC_SEM_NSEMS_MAX = 49 // unistd.h:215:1:
X_SC_SEM_VALUE_MAX = 50 // unistd.h:216:1:
X_SC_SHARED_MEMORY_OBJECTS = 39 // unistd.h:205:1:
X_SC_SHELL = 78 // unistd.h:241:1:
X_SC_SIGQUEUE_MAX = 51 // unistd.h:217:1:
X_SC_SPAWN = 79 // unistd.h:242:1:
X_SC_SPIN_LOCKS = 80 // unistd.h:243:1:
X_SC_SPORADIC_SERVER = 81 // unistd.h:244:1:
X_SC_STREAM_MAX = 26 // unistd.h:190:1:
X_SC_SYMLOOP_MAX = 120 // unistd.h:272:1:
X_SC_SYNCHRONIZED_IO = 40 // unistd.h:206:1:
X_SC_THREADS = 96 // unistd.h:259:1:
X_SC_THREAD_ATTR_STACKADDR = 82 // unistd.h:245:1:
X_SC_THREAD_ATTR_STACKSIZE = 83 // unistd.h:246:1:
X_SC_THREAD_CPUTIME = 84 // unistd.h:247:1:
X_SC_THREAD_DESTRUCTOR_ITERATIONS = 85 // unistd.h:248:1:
X_SC_THREAD_KEYS_MAX = 86 // unistd.h:249:1:
X_SC_THREAD_PRIORITY_SCHEDULING = 89 // unistd.h:252:1:
X_SC_THREAD_PRIO_INHERIT = 87 // unistd.h:250:1:
X_SC_THREAD_PRIO_PROTECT = 88 // unistd.h:251:1:
X_SC_THREAD_PROCESS_SHARED = 90 // unistd.h:253:1:
X_SC_THREAD_SAFE_FUNCTIONS = 91 // unistd.h:254:1:
X_SC_THREAD_SPORADIC_SERVER = 92 // unistd.h:255:1:
X_SC_THREAD_STACK_MIN = 93 // unistd.h:256:1:
X_SC_THREAD_THREADS_MAX = 94 // unistd.h:257:1:
X_SC_TIMEOUTS = 95 // unistd.h:258:1:
X_SC_TIMERS = 41 // unistd.h:207:1:
X_SC_TIMER_MAX = 52 // unistd.h:218:1:
X_SC_TRACE = 97 // unistd.h:260:1:
X_SC_TRACE_EVENT_FILTER = 98 // unistd.h:261:1:
X_SC_TRACE_INHERIT = 99 // unistd.h:262:1:
X_SC_TRACE_LOG = 100 // unistd.h:263:1:
X_SC_TTY_NAME_MAX = 101 // unistd.h:264:1:
X_SC_TYPED_MEMORY_OBJECTS = 102 // unistd.h:265:1:
X_SC_TZNAME_MAX = 27 // unistd.h:191:1:
X_SC_V6_ILP32_OFF32 = 103 // unistd.h:266:1:
X_SC_V6_ILP32_OFFBIG = 104 // unistd.h:267:1:
X_SC_V6_LP64_OFF64 = 105 // unistd.h:268:1:
X_SC_V6_LPBIG_OFFBIG = 106 // unistd.h:269:1:
X_SC_VERSION = 8 // unistd.h:172:1:
X_SC_XOPEN_CRYPT = 108 // unistd.h:279:1:
X_SC_XOPEN_ENH_I18N = 109 // unistd.h:280:1:
X_SC_XOPEN_LEGACY = 110 // unistd.h:281:1:
X_SC_XOPEN_REALTIME = 111 // unistd.h:282:1:
X_SC_XOPEN_REALTIME_THREADS = 112 // unistd.h:283:1:
X_SC_XOPEN_SHM = 113 // unistd.h:284:1:
X_SC_XOPEN_STREAMS = 114 // unistd.h:285:1:
X_SC_XOPEN_UNIX = 115 // unistd.h:286:1:
X_SC_XOPEN_VERSION = 116 // unistd.h:287:1:
X_SC_XOPEN_XCU_VERSION = 117 // unistd.h:288: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_SWAB_DECLARED = 0 // unistd.h:461:1:
X_SYS_CDEFS_H_ = 0 // cdefs.h:39:1:
X_SYS_SELECT_H_ = 0 // select.h:35:1:
X_SYS_TIMESPEC_H_ = 0 // timespec.h:37:1:
X_SYS_TYPES_H_ = 0 // types.h:41:1:
X_SYS_UNISTD_H_ = 0 // unistd.h:36: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_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_UNISTD_H_ = 0 // unistd.h:36:1:
X_USECONDS_T_DECLARED = 0 // types.h:239:1:
X_V6_ILP32_OFF32 = -1 // unistd.h:139:1:
X_V6_ILP32_OFFBIG = 0 // unistd.h:140:1:
X_V6_LP64_OFF64 = 0 // unistd.h:141:1:
X_V6_LPBIG_OFFBIG = -1 // unistd.h:142:1:
X_XOPEN_CRYPT = -1 // unistd.h:145:1:
X_XOPEN_ENH_I18N = -1 // unistd.h:146:1:
X_XOPEN_LEGACY = -1 // unistd.h:147:1:
X_XOPEN_REALTIME = -1 // unistd.h:148:1:
X_XOPEN_REALTIME_THREADS = -1 // unistd.h:149:1:
X_XOPEN_SHM = 1 // unistd.h:83:1:
X_XOPEN_STREAMS = -1 // unistd.h:84:1:
X_XOPEN_UNIX = -1 // unistd.h:150:1:
Unix = 1 // <predefined>:340:1:
)
type Ptrdiff_t = int64 /* <builtin>:3:26 */
@ -652,12 +655,15 @@ type X__float128 = float64 /* <builtin>:47:21 */
// Function should not be analyzed.
// Function or variable should not be sanitized, i.e. by AddressSanitizer.
// Function or variable should not be sanitized, e.g., by AddressSanitizer.
// GCC has the nosanitize attribute, but as a function attribute only, and
// warns on use as a variable attribute.
// Guard variables and structure members by lock.
// Alignment builtins for better type checking and improved code generation.
// Provide fallback versions for other compilers (GCC/Clang < 10):
// -
// SPDX-License-Identifier: BSD-3-Clause
//
@ -770,42 +776,6 @@ type X__float128 = float64 /* <builtin>:47:21 */
// @(#)endian.h 7.8 (Berkeley) 4/3/91
// $FreeBSD$
// -
// SPDX-License-Identifier: BSD-3-Clause
//
// Copyright (c) 1991, 1993
// The Regents of the University of California. All rights reserved.
//
// This code is derived from software contributed to Berkeley by
// Berkeley Software Design, Inc.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
// 1. Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// 2. Redistributions in binary form must reproduce the above copyright
// notice, this list of conditions and the following disclaimer in the
// documentation and/or other materials provided with the distribution.
// 3. Neither the name of the University nor the names of its contributors
// may be used to endorse or promote products derived from this software
// without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// @(#)cdefs.h 8.8 (Berkeley) 1/9/95
// $FreeBSD$
// -
// SPDX-License-Identifier: BSD-2-Clause-FreeBSD
//
@ -1048,8 +1018,8 @@ type X__cpusetid_t = int32 /* _types.h:70:14 */ // cpuset identifier.
type X__daddr_t = X__int64_t /* _types.h:71:19 */ // bwrite(3), FIOBMAP2, etc
// Unusual type definitions.
// rune_t is declared to be an ``int'' instead of the more natural
// ``unsigned long'' or ``long''. Two things are happening here. It is not
// rune_t is declared to be an int instead of the more natural
// unsigned long or long. Two things are happening here. It is not
// unsigned so that EOF (-1) can be naturally assigned to it and used. Also,
// it looks like 10646 will be a 31 bit standard. This means that if your
// ints cannot hold 32 bits, you will be in trouble. The reason an int was
@ -1082,8 +1052,8 @@ type X__fixpt_t = X__uint32_t /* _types.h:115:20 */ // fixed point number
// mbstate_t is an opaque object to keep conversion state during multibyte
// stream conversions.
type X__mbstate_t = struct {
_ [0]uint64
F__mbstate8 [128]int8
F__ccgo_pad1 [0]uint64
F__mbstate8 [128]int8
} /* _types.h:124:3 */
type X__rman_res_t = X__uintmax_t /* _types.h:126:25 */
@ -1093,9 +1063,9 @@ type X__rman_res_t = X__uintmax_t /* _types.h:126:25 */
type X__va_list = X__builtin_va_list /* _types.h:133:27 */ // internally known to gcc
type X__gnuc_va_list = X__va_list /* _types.h:140:20 */
type Pthread_once = struct {
Fstate int32
_ [4]byte
Fmutex Pthread_mutex_t
Fstate int32
F__ccgo_pad1 [4]byte
Fmutex Pthread_mutex_t
} /* _pthreadtypes.h:52:1 */
// Primitive system data type definitions required by P1003.1c.

View File

@ -34,6 +34,7 @@ const (
X_OK = 1
X_ATFILE_SOURCE = 1
X_BITS_POSIX_OPT_H = 1
X_BITS_TIME64_H = 1
X_BITS_TYPESIZES_H = 1
X_BITS_TYPES_H = 1
X_BSD_SIZE_T_ = 0
@ -44,6 +45,7 @@ const (
X_GCC_SIZE_T = 0
X_GETOPT_CORE_H = 1
X_GETOPT_POSIX_H = 1
X_ILP32 = 1
X_LFS64_ASYNCHRONOUS_IO = 1
X_LFS64_LARGEFILE = 1
X_LFS64_STDIO = 1
@ -149,7 +151,7 @@ const (
// the `_SC_*' symbols for the NAME argument to `sysconf';
// and the `_CS_*' symbols for the NAME argument to `confstr'.
// `sysconf', `pathconf', and `confstr' NAME values. Generic version.
// Copyright (C) 1993-2018 Free Software Foundation, Inc.
// 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
@ -164,7 +166,7 @@ const (
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// Values for the NAME argument to `pathconf' and `fpathconf'.
const ( /* confname.h:24:1: */
@ -522,7 +524,7 @@ type Wchar_t = int32 /* <builtin>:15:24 */
type X__builtin_va_list = uintptr /* <builtin>:46:14 */
type X__float128 = float64 /* <builtin>:47:21 */
// Copyright (C) 1991-2018 Free Software Foundation, Inc.
// 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
@ -537,11 +539,11 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// POSIX Standard: 2.10 Symbolic Constants <unistd.h>
// Copyright (C) 1991-2018 Free Software Foundation, Inc.
// 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
@ -556,7 +558,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// These are defined by the user (or the compiler)
// to specify the desired environment:
@ -564,6 +566,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
// __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__
@ -684,6 +687,8 @@ type X__float128 = float64 /* <builtin>:47:21 */
// 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.
@ -706,9 +711,22 @@ type X__float128 = float64 /* <builtin>:47:21 */
// 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-2018 Free Software Foundation, Inc.
// 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
@ -723,7 +741,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <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
@ -736,7 +754,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
// these macros to test for features in specific releases.
// This is here only because every header file already includes this one.
// Copyright (C) 1992-2018 Free Software Foundation, Inc.
// 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
@ -751,7 +769,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// We are almost always included from features.h.
@ -866,7 +884,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
// semantics.
//
// clang++ identifies itself as gcc-4.2, but has support for GNU inlining
// semantics, that can be checked fot by using the __GNUC_STDC_INLINE_ and
// 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
@ -887,10 +905,14 @@ type X__float128 = float64 /* <builtin>:47:21 */
// 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-96 version.
// Copyright (C) 2016-2018 Free Software Foundation, Inc.
// 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
@ -905,7 +927,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// long double is distinct from double, so there is nothing to
// define here.
@ -1066,7 +1088,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// Define POSIX options for Linux.
// Copyright (C) 1996-2018 Free Software Foundation, Inc.
// Copyright (C) 1996-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
@ -1081,13 +1103,16 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// 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 <http://www.gnu.org/licenses/>.
// not, see <https://www.gnu.org/licenses/>.
// Job control is supported.
// Processes have a saved set-user-ID and a saved set-group-ID.
// Priority scheduling is supported.
// Priority scheduling is not supported with the correct semantics,
// but GNU/Linux applications expect that the corresponding interfaces
// are available, even though the semantics do not meet the POSIX
// requirements. See glibc bug 14829.
// Synchronizing file data is supported.
@ -1190,7 +1215,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
// Typed memory objects are not available.
// Get the environment definitions from Unix98.
// Copyright (C) 1999-2018 Free Software Foundation, Inc.
// Copyright (C) 1999-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
@ -1205,7 +1230,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// Determine the wordsize from the preprocessor defines.
@ -1249,7 +1274,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
// All functions that are not declared anywhere else.
// bits/types.h -- definitions of __*_t types underlying *_t types.
// Copyright (C) 2002-2018 Free Software Foundation, Inc.
// 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
@ -1264,11 +1289,11 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// Never include this file directly; use <sys/types.h> instead.
// Copyright (C) 1991-2018 Free Software Foundation, Inc.
// 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
@ -1283,43 +1308,63 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// Determine the wordsize from the preprocessor defines.
// Bit size of the time_t type at glibc build time, x86-64 and x32 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/>.
// For others, time size is word size.
// Convenience types.
type X__u_char = uint8 /* types.h:30:23 */
type X__u_short = uint16 /* types.h:31:28 */
type X__u_int = uint32 /* types.h:32:22 */
type X__u_long = uint32 /* types.h:33:27 */
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 = uint32 /* types.h:34:27 */
// Fixed-size types, underlying types depend on word size and compiler.
type X__int8_t = int8 /* types.h:36:21 */
type X__uint8_t = uint8 /* types.h:37:23 */
type X__int16_t = int16 /* types.h:38:26 */
type X__uint16_t = uint16 /* types.h:39:28 */
type X__int32_t = int32 /* types.h:40:20 */
type X__uint32_t = uint32 /* types.h:41:22 */
type X__int64_t = int64 /* types.h:46:44 */
type X__uint64_t = uint64 /* types.h:47:46 */
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:47:44 */
type X__uint64_t = uint64 /* types.h:48:46 */
// Smallest types with at least a given width.
type X__int_least8_t = X__int8_t /* types.h:51:18 */
type X__uint_least8_t = X__uint8_t /* types.h:52:19 */
type X__int_least16_t = X__int16_t /* types.h:53:19 */
type X__uint_least16_t = X__uint16_t /* types.h:54:20 */
type X__int_least32_t = X__int32_t /* types.h:55:19 */
type X__uint_least32_t = X__uint32_t /* types.h:56:20 */
type X__int_least64_t = X__int64_t /* types.h:57:19 */
type X__uint_least64_t = X__uint64_t /* types.h:58:20 */
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:65:37 */
type X__u_quad_t = uint64 /* types.h:66:46 */
type X__quad_t = int64 /* types.h:66:37 */
type X__u_quad_t = uint64 /* types.h:67:46 */
// Largest integral types.
type X__intmax_t = int64 /* types.h:74:37 */
type X__uintmax_t = uint64 /* types.h:75:46 */
type X__intmax_t = int64 /* types.h:75:37 */
type X__uintmax_t = uint64 /* types.h:76:46 */
// The machine-dependent file <bits/typesizes.h> defines __*_T_TYPE
// macros for each of the OS types we define below. The definitions
@ -1331,7 +1376,7 @@ type X__uintmax_t = uint64 /* types.h:75:46 */
// 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, always long long
// QUAD -- 64-bit type, traditionally long long
// WORD -- natural type of __WORDSIZE bits (int or long)
// LONGWORD -- type of __WORDSIZE bits, traditionally long
//
@ -1353,7 +1398,7 @@ type X__uintmax_t = uint64 /* types.h:75:46 */
// We want __extension__ before typedef's that use nonstandard base types
// such as `long long' in C89 mode.
// bits/typesizes.h -- underlying types for *_t. Linux/x86-64 version.
// Copyright (C) 2012-2018 Free Software Foundation, Inc.
// Copyright (C) 2012-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
@ -1368,7 +1413,7 @@ type X__uintmax_t = uint64 /* types.h:75:46 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <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.
@ -1377,76 +1422,106 @@ type X__uintmax_t = uint64 /* types.h:75:46 */
// Number of descriptors that can fit in an `fd_set'.
type X__dev_t = X__u_quad_t /* types.h:143:25 */ // Type of device numbers.
type X__uid_t = uint32 /* types.h:144:25 */ // Type of user identifications.
type X__gid_t = uint32 /* types.h:145:25 */ // Type of group identifications.
type X__ino_t = uint32 /* types.h:146:25 */ // Type of file serial numbers.
type X__ino64_t = X__u_quad_t /* types.h:147:27 */ // Type of file serial numbers (LFS).
type X__mode_t = uint32 /* types.h:148:26 */ // Type of file attribute bitmasks.
type X__nlink_t = uint32 /* types.h:149:27 */ // Type of file link counts.
type X__off_t = int32 /* types.h:150:25 */ // Type of file sizes and offsets.
type X__off64_t = X__quad_t /* types.h:151:27 */ // Type of file sizes and offsets (LFS).
type X__pid_t = int32 /* types.h:152:25 */ // Type of process identifications.
type X__fsid_t = struct{ F__val [2]int32 } /* types.h:153:26 */ // Type of file system IDs.
type X__clock_t = int32 /* types.h:154:27 */ // Type of CPU usage counts.
type X__rlim_t = uint32 /* types.h:155:26 */ // Type for resource measurement.
type X__rlim64_t = X__u_quad_t /* types.h:156:28 */ // Type for resource measurement (LFS).
type X__id_t = uint32 /* types.h:157:24 */ // General type for IDs.
type X__time_t = int32 /* types.h:158:26 */ // Seconds since the Epoch.
type X__useconds_t = uint32 /* types.h:159:30 */ // Count of microseconds.
type X__suseconds_t = int32 /* types.h:160:31 */ // Signed count of microseconds.
// 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/>.
type X__daddr_t = int32 /* types.h:162:27 */ // The type of a disk address.
type X__key_t = int32 /* types.h:163:25 */ // Type of an IPC key.
// Define __TIME64_T_TYPE so that it is always a 64-bit type.
// Define a 64-bit time type alongsize the 32-bit one.
type X__dev_t = X__uint64_t /* 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 = uint32 /* types.h:148:25 */ // Type of file serial numbers.
type X__ino64_t = X__uint64_t /* 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 = uint32 /* types.h:151:27 */ // Type of file link counts.
type X__off_t = int32 /* types.h:152:25 */ // Type of file sizes and offsets.
type X__off64_t = X__int64_t /* 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 = int32 /* types.h:156:27 */ // Type of CPU usage counts.
type X__rlim_t = uint32 /* types.h:157:26 */ // Type for resource measurement.
type X__rlim64_t = X__uint64_t /* 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 = int32 /* types.h:160:26 */ // Seconds since the Epoch.
type X__useconds_t = uint32 /* types.h:161:30 */ // Count of microseconds.
type X__suseconds_t = int32 /* 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:166:29 */
type X__clockid_t = int32 /* types.h:168:29 */
// Timer ID returned by `timer_create'.
type X__timer_t = uintptr /* types.h:169:12 */
type X__timer_t = uintptr /* types.h:171:12 */
// Type to represent block size.
type X__blksize_t = int32 /* types.h:172:29 */
type X__blksize_t = int32 /* types.h:174:29 */
// Types from the Large File Support interface.
// Type to count number of disk blocks.
type X__blkcnt_t = int32 /* types.h:177:28 */
type X__blkcnt64_t = X__quad_t /* types.h:178:30 */
type X__blkcnt_t = int32 /* types.h:179:28 */
type X__blkcnt64_t = X__int64_t /* types.h:180:30 */
// Type to count file system blocks.
type X__fsblkcnt_t = uint32 /* types.h:181:30 */
type X__fsblkcnt64_t = X__u_quad_t /* types.h:182:32 */
type X__fsblkcnt_t = uint32 /* types.h:183:30 */
type X__fsblkcnt64_t = X__uint64_t /* types.h:184:32 */
// Type to count file system nodes.
type X__fsfilcnt_t = uint32 /* types.h:185:30 */
type X__fsfilcnt64_t = X__u_quad_t /* types.h:186:32 */
type X__fsfilcnt_t = uint32 /* types.h:187:30 */
type X__fsfilcnt64_t = X__uint64_t /* types.h:188:32 */
// Type of miscellaneous file system fields.
type X__fsword_t = int32 /* types.h:189:28 */
type X__fsword_t = int32 /* types.h:191:28 */
type X__ssize_t = int32 /* types.h:191:27 */ // Type of a byte count, or error.
type X__ssize_t = int32 /* types.h:193:27 */ // Type of a byte count, or error.
// Signed long type used in system calls.
type X__syscall_slong_t = int32 /* types.h:194:33 */
type X__syscall_slong_t = int32 /* types.h:196:33 */
// Unsigned long type used in system calls.
type X__syscall_ulong_t = uint32 /* types.h:196:33 */
type X__syscall_ulong_t = uint32 /* types.h:198:33 */
// These few don't really vary by system, they always correspond
// to one of the other defined types.
type X__loff_t = X__off64_t /* types.h:200:19 */ // Type of file sizes and offsets (LFS).
type X__caddr_t = uintptr /* types.h:201:14 */
//
// 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 = int32 /* types.h:204:25 */
type X__intptr_t = int32 /* types.h:206:25 */
// Duplicate info from sys/socket.h.
type X__socklen_t = uint32 /* types.h:207:23 */
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:212:13 */
//
// even in the presence of asynchronous interrupts.
// It is not currently necessary for this to be machine-specific.
type X__sig_atomic_t = int32 /* types.h:214:13 */
// Seconds since the Epoch, visible to user code when time_t is too
//
// narrow only for consistency with the old way of widening too-narrow
// types. User code should never use __time64_t.
type X__time64_t = X__int64_t /* types.h:222:28 */
type Ssize_t = X__ssize_t /* unistd.h:220:19 */
@ -1458,15 +1533,11 @@ type Ssize_t = X__ssize_t /* unistd.h:220:19 */
// Define this type if we are doing the whole job,
// or if we want this type in particular.
// In 4.3bsd-net2, leave these undefined to indicate that size_t, etc.
// are already defined.
// BSD/OS 3.1 and FreeBSD [23].x require the MACHINE_ANSI_H check here.
// NetBSD 5 requires the I386_ANSI_H and X86_64_ANSI_H checks here.
// A null pointer constant.
// The Single Unix specification says that some more types are
// available here.
//
// available here.
type Gid_t = X__gid_t /* unistd.h:232:17 */
type Uid_t = X__uid_t /* unistd.h:237:17 */
@ -1483,4 +1554,23 @@ type Socklen_t = X__socklen_t /* unistd.h:274:21 */
// Define some macros helping to catch buffer overflows.
// System-specific extensions.
// System-specific extensions of <unistd.h>, Linux version.
// Copyright (C) 2019-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/>.
var _ int8 /* gen.c:2:13: */

View File

@ -1,4 +1,4 @@
// Code generated by 'ccgo unistd/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o unistd/unistd_linux_amd64.go -pkgname unistd', DO NOT EDIT.
// Code generated by 'ccgo unistd/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o unistd/unistd_linux_amd64.go -pkgname unistd', DO NOT EDIT.
package unistd
@ -15,141 +15,142 @@ var _ atomic.Value
var _ unsafe.Pointer
const (
F_LOCK = 1
F_OK = 0
F_TEST = 3
F_TLOCK = 2
F_ULOCK = 0
L_INCR = 1
L_SET = 0
L_XTND = 2
R_OK = 4
SEEK_CUR = 1
SEEK_END = 2
SEEK_SET = 0
STDERR_FILENO = 2
STDIN_FILENO = 0
STDOUT_FILENO = 1
W_OK = 2
X_OK = 1
X_ATFILE_SOURCE = 1
X_BITS_POSIX_OPT_H = 1
X_BITS_TYPESIZES_H = 1
X_BITS_TYPES_H = 1
X_BSD_SIZE_T_ = 0
X_BSD_SIZE_T_DEFINED_ = 0
X_DEFAULT_SOURCE = 1
X_FEATURES_H = 1
X_FILE_OFFSET_BITS = 64
X_GCC_SIZE_T = 0
X_GETOPT_CORE_H = 1
X_GETOPT_POSIX_H = 1
X_LFS64_ASYNCHRONOUS_IO = 1
X_LFS64_LARGEFILE = 1
X_LFS64_STDIO = 1
X_LFS_ASYNCHRONOUS_IO = 1
X_LFS_LARGEFILE = 1
X_LP64 = 1
X_POSIX2_CHAR_TERM = 200809
X_POSIX2_C_BIND = 200809
X_POSIX2_C_DEV = 200809
X_POSIX2_C_VERSION = 200809
X_POSIX2_LOCALEDEF = 200809
X_POSIX2_SW_DEV = 200809
X_POSIX2_VERSION = 200809
X_POSIX_ADVISORY_INFO = 200809
X_POSIX_ASYNCHRONOUS_IO = 200809
X_POSIX_ASYNC_IO = 1
X_POSIX_BARRIERS = 200809
X_POSIX_CHOWN_RESTRICTED = 0
X_POSIX_CLOCK_SELECTION = 200809
X_POSIX_CPUTIME = 0
X_POSIX_C_SOURCE = 200809
X_POSIX_FSYNC = 200809
X_POSIX_IPV6 = 200809
X_POSIX_JOB_CONTROL = 1
X_POSIX_MAPPED_FILES = 200809
X_POSIX_MEMLOCK = 200809
X_POSIX_MEMLOCK_RANGE = 200809
X_POSIX_MEMORY_PROTECTION = 200809
X_POSIX_MESSAGE_PASSING = 200809
X_POSIX_MONOTONIC_CLOCK = 0
X_POSIX_NO_TRUNC = 1
X_POSIX_PRIORITIZED_IO = 200809
X_POSIX_PRIORITY_SCHEDULING = 200809
X_POSIX_RAW_SOCKETS = 200809
X_POSIX_READER_WRITER_LOCKS = 200809
X_POSIX_REALTIME_SIGNALS = 200809
X_POSIX_REENTRANT_FUNCTIONS = 1
X_POSIX_REGEXP = 1
X_POSIX_SAVED_IDS = 1
X_POSIX_SEMAPHORES = 200809
X_POSIX_SHARED_MEMORY_OBJECTS = 200809
X_POSIX_SHELL = 1
X_POSIX_SOURCE = 1
X_POSIX_SPAWN = 200809
X_POSIX_SPIN_LOCKS = 200809
X_POSIX_SPORADIC_SERVER = -1
X_POSIX_SYNCHRONIZED_IO = 200809
X_POSIX_THREADS = 200809
X_POSIX_THREAD_ATTR_STACKADDR = 200809
X_POSIX_THREAD_ATTR_STACKSIZE = 200809
X_POSIX_THREAD_CPUTIME = 0
X_POSIX_THREAD_PRIORITY_SCHEDULING = 200809
X_POSIX_THREAD_PRIO_INHERIT = 200809
X_POSIX_THREAD_PRIO_PROTECT = 200809
X_POSIX_THREAD_PROCESS_SHARED = 200809
X_POSIX_THREAD_ROBUST_PRIO_INHERIT = 200809
X_POSIX_THREAD_ROBUST_PRIO_PROTECT = -1
X_POSIX_THREAD_SAFE_FUNCTIONS = 200809
X_POSIX_THREAD_SPORADIC_SERVER = -1
X_POSIX_TIMEOUTS = 200809
X_POSIX_TIMERS = 200809
X_POSIX_TRACE = -1
X_POSIX_TRACE_EVENT_FILTER = -1
X_POSIX_TRACE_INHERIT = -1
X_POSIX_TRACE_LOG = -1
X_POSIX_TYPED_MEMORY_OBJECTS = -1
X_POSIX_V6_LP64_OFF64 = 1
X_POSIX_V6_LPBIG_OFFBIG = -1
X_POSIX_V7_LP64_OFF64 = 1
X_POSIX_V7_LPBIG_OFFBIG = -1
X_POSIX_VDISABLE = 0
X_POSIX_VERSION = 200809
X_SIZET_ = 0
X_SIZE_T = 0
X_SIZE_T_ = 0
X_SIZE_T_DECLARED = 0
X_SIZE_T_DEFINED = 0
X_SIZE_T_DEFINED_ = 0
X_STDC_PREDEF_H = 1
X_SYS_CDEFS_H = 1
X_SYS_SIZE_T_H = 0
X_T_SIZE = 0
X_T_SIZE_ = 0
X_UNISTD_H = 1
X_XBS5_LP64_OFF64 = 1
X_XBS5_LPBIG_OFFBIG = -1
X_XOPEN_ENH_I18N = 1
X_XOPEN_LEGACY = 1
X_XOPEN_REALTIME = 1
X_XOPEN_REALTIME_THREADS = 1
X_XOPEN_SHM = 1
X_XOPEN_UNIX = 1
X_XOPEN_VERSION = 700
X_XOPEN_XCU_VERSION = 4
X_XOPEN_XPG2 = 1
X_XOPEN_XPG3 = 1
X_XOPEN_XPG4 = 1
Linux = 1
Unix = 1
F_LOCK = 1 // unistd.h:1074:1:
F_OK = 0 // unistd.h:284:1:
F_TEST = 3 // unistd.h:1076:1:
F_TLOCK = 2 // unistd.h:1075:1:
F_ULOCK = 0 // unistd.h:1073:1:
L_INCR = 1 // unistd.h:323:1:
L_SET = 0 // unistd.h:322:1:
L_XTND = 2 // unistd.h:324:1:
R_OK = 4 // unistd.h:281:1:
SEEK_CUR = 1 // unistd.h:312:1:
SEEK_END = 2 // unistd.h:313:1:
SEEK_SET = 0 // unistd.h:311:1:
STDERR_FILENO = 2 // unistd.h:212:1:
STDIN_FILENO = 0 // unistd.h:210:1:
STDOUT_FILENO = 1 // unistd.h:211:1:
W_OK = 2 // unistd.h:282:1:
X_OK = 1 // unistd.h:283:1:
X_ATFILE_SOURCE = 1 // features.h:342:1:
X_BITS_POSIX_OPT_H = 1 // posix_opt.h:20:1:
X_BITS_TIME64_H = 1 // time64.h:24:1:
X_BITS_TYPESIZES_H = 1 // typesizes.h:24:1:
X_BITS_TYPES_H = 1 // types.h:24:1:
X_BSD_SIZE_T_ = 0 // stddef.h:189:1:
X_BSD_SIZE_T_DEFINED_ = 0 // stddef.h:192:1:
X_DEFAULT_SOURCE = 1 // features.h:227:1:
X_FEATURES_H = 1 // features.h:19:1:
X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
X_GCC_SIZE_T = 0 // stddef.h:195:1:
X_GETOPT_CORE_H = 1 // getopt_core.h:21:1:
X_GETOPT_POSIX_H = 1 // getopt_posix.h:21:1:
X_LFS64_ASYNCHRONOUS_IO = 1 // posix_opt.h:117:1:
X_LFS64_LARGEFILE = 1 // posix_opt.h:121:1:
X_LFS64_STDIO = 1 // posix_opt.h:122:1:
X_LFS_ASYNCHRONOUS_IO = 1 // posix_opt.h:112:1:
X_LFS_LARGEFILE = 1 // posix_opt.h:120:1:
X_LP64 = 1 // <predefined>:284:1:
X_POSIX2_CHAR_TERM = 200809 // posix_opt.h:179:1:
X_POSIX2_C_BIND = 200809 // unistd.h:74:1:
X_POSIX2_C_DEV = 200809 // unistd.h:78:1:
X_POSIX2_C_VERSION = 200809 // unistd.h:70:1:
X_POSIX2_LOCALEDEF = 200809 // unistd.h:86:1:
X_POSIX2_SW_DEV = 200809 // unistd.h:82:1:
X_POSIX2_VERSION = 200809 // unistd.h:67:1:
X_POSIX_ADVISORY_INFO = 200809 // posix_opt.h:170:1:
X_POSIX_ASYNCHRONOUS_IO = 200809 // posix_opt.h:109:1:
X_POSIX_ASYNC_IO = 1 // posix_opt.h:110:1:
X_POSIX_BARRIERS = 200809 // posix_opt.h:155:1:
X_POSIX_CHOWN_RESTRICTED = 0 // posix_opt.h:53:1:
X_POSIX_CLOCK_SELECTION = 200809 // posix_opt.h:167:1:
X_POSIX_CPUTIME = 0 // posix_opt.h:128:1:
X_POSIX_C_SOURCE = 200809 // features.h:281:1:
X_POSIX_FSYNC = 200809 // posix_opt.h:38:1:
X_POSIX_IPV6 = 200809 // posix_opt.h:173:1:
X_POSIX_JOB_CONTROL = 1 // posix_opt.h:23:1:
X_POSIX_MAPPED_FILES = 200809 // posix_opt.h:41:1:
X_POSIX_MEMLOCK = 200809 // posix_opt.h:44:1:
X_POSIX_MEMLOCK_RANGE = 200809 // posix_opt.h:47:1:
X_POSIX_MEMORY_PROTECTION = 200809 // posix_opt.h:50:1:
X_POSIX_MESSAGE_PASSING = 200809 // posix_opt.h:158:1:
X_POSIX_MONOTONIC_CLOCK = 0 // posix_opt.h:164:1:
X_POSIX_NO_TRUNC = 1 // posix_opt.h:60:1:
X_POSIX_PRIORITIZED_IO = 200809 // posix_opt.h:114:1:
X_POSIX_PRIORITY_SCHEDULING = 200809 // posix_opt.h:32:1:
X_POSIX_RAW_SOCKETS = 200809 // posix_opt.h:176:1:
X_POSIX_READER_WRITER_LOCKS = 200809 // posix_opt.h:137:1:
X_POSIX_REALTIME_SIGNALS = 200809 // posix_opt.h:106:1:
X_POSIX_REENTRANT_FUNCTIONS = 1 // posix_opt.h:75:1:
X_POSIX_REGEXP = 1 // posix_opt.h:134:1:
X_POSIX_SAVED_IDS = 1 // posix_opt.h:26:1:
X_POSIX_SEMAPHORES = 200809 // posix_opt.h:103:1:
X_POSIX_SHARED_MEMORY_OBJECTS = 200809 // posix_opt.h:125:1:
X_POSIX_SHELL = 1 // posix_opt.h:140:1:
X_POSIX_SOURCE = 1 // features.h:279:1:
X_POSIX_SPAWN = 200809 // posix_opt.h:149:1:
X_POSIX_SPIN_LOCKS = 200809 // posix_opt.h:146:1:
X_POSIX_SPORADIC_SERVER = -1 // posix_opt.h:182:1:
X_POSIX_SYNCHRONIZED_IO = 200809 // posix_opt.h:35:1:
X_POSIX_THREADS = 200809 // posix_opt.h:72:1:
X_POSIX_THREAD_ATTR_STACKADDR = 200809 // posix_opt.h:85:1:
X_POSIX_THREAD_ATTR_STACKSIZE = 200809 // posix_opt.h:82:1:
X_POSIX_THREAD_CPUTIME = 0 // posix_opt.h:131:1:
X_POSIX_THREAD_PRIORITY_SCHEDULING = 200809 // posix_opt.h:79:1:
X_POSIX_THREAD_PRIO_INHERIT = 200809 // posix_opt.h:88:1:
X_POSIX_THREAD_PRIO_PROTECT = 200809 // posix_opt.h:92:1:
X_POSIX_THREAD_PROCESS_SHARED = 200809 // posix_opt.h:161:1:
X_POSIX_THREAD_ROBUST_PRIO_INHERIT = 200809 // posix_opt.h:96:1:
X_POSIX_THREAD_ROBUST_PRIO_PROTECT = -1 // posix_opt.h:99:1:
X_POSIX_THREAD_SAFE_FUNCTIONS = 200809 // posix_opt.h:76:1:
X_POSIX_THREAD_SPORADIC_SERVER = -1 // posix_opt.h:183:1:
X_POSIX_TIMEOUTS = 200809 // posix_opt.h:143:1:
X_POSIX_TIMERS = 200809 // posix_opt.h:152:1:
X_POSIX_TRACE = -1 // posix_opt.h:186:1:
X_POSIX_TRACE_EVENT_FILTER = -1 // posix_opt.h:187:1:
X_POSIX_TRACE_INHERIT = -1 // posix_opt.h:188:1:
X_POSIX_TRACE_LOG = -1 // posix_opt.h:189:1:
X_POSIX_TYPED_MEMORY_OBJECTS = -1 // posix_opt.h:192:1:
X_POSIX_V6_LP64_OFF64 = 1 // environments.h:62:1:
X_POSIX_V6_LPBIG_OFFBIG = -1 // environments.h:57:1:
X_POSIX_V7_LP64_OFF64 = 1 // environments.h:61:1:
X_POSIX_V7_LPBIG_OFFBIG = -1 // environments.h:56:1:
X_POSIX_VDISABLE = 0 // posix_opt.h:57:1:
X_POSIX_VERSION = 200809 // unistd.h:34:1:
X_SIZET_ = 0 // stddef.h:196:1:
X_SIZE_T = 0 // stddef.h:183:1:
X_SIZE_T_ = 0 // stddef.h:188:1:
X_SIZE_T_DECLARED = 0 // stddef.h:193:1:
X_SIZE_T_DEFINED = 0 // stddef.h:191:1:
X_SIZE_T_DEFINED_ = 0 // stddef.h:190:1:
X_STDC_PREDEF_H = 1 // <predefined>:162:1:
X_SYS_CDEFS_H = 1 // cdefs.h:19:1:
X_SYS_SIZE_T_H = 0 // stddef.h:184:1:
X_T_SIZE = 0 // stddef.h:186:1:
X_T_SIZE_ = 0 // stddef.h:185:1:
X_UNISTD_H = 1 // unistd.h:23:1:
X_XBS5_LP64_OFF64 = 1 // environments.h:63:1:
X_XBS5_LPBIG_OFFBIG = -1 // environments.h:58:1:
X_XOPEN_ENH_I18N = 1 // unistd.h:112:1:
X_XOPEN_LEGACY = 1 // unistd.h:115:1:
X_XOPEN_REALTIME = 1 // posix_opt.h:63:1:
X_XOPEN_REALTIME_THREADS = 1 // posix_opt.h:66:1:
X_XOPEN_SHM = 1 // posix_opt.h:69:1:
X_XOPEN_UNIX = 1 // unistd.h:108:1:
X_XOPEN_VERSION = 700 // unistd.h:90:1:
X_XOPEN_XCU_VERSION = 4 // unistd.h:100:1:
X_XOPEN_XPG2 = 1 // unistd.h:103:1:
X_XOPEN_XPG3 = 1 // unistd.h:104:1:
X_XOPEN_XPG4 = 1 // unistd.h:105:1:
Linux = 1 // <predefined>:231:1:
Unix = 1 // <predefined>:177:1:
)
// Get the `_PC_*' symbols for the NAME argument to `pathconf' and `fpathconf';
// the `_SC_*' symbols for the NAME argument to `sysconf';
// and the `_CS_*' symbols for the NAME argument to `confstr'.
// `sysconf', `pathconf', and `confstr' NAME values. Generic version.
// Copyright (C) 1993-2018 Free Software Foundation, Inc.
// 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
@ -164,7 +165,7 @@ const (
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// Values for the NAME argument to `pathconf' and `fpathconf'.
const ( /* confname.h:24:1: */
@ -531,7 +532,7 @@ type X__uint128_t = struct {
type X__builtin_va_list = uintptr /* <builtin>:46:14 */
type X__float128 = float64 /* <builtin>:47:21 */
// Copyright (C) 1991-2018 Free Software Foundation, Inc.
// 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
@ -546,11 +547,11 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// POSIX Standard: 2.10 Symbolic Constants <unistd.h>
// Copyright (C) 1991-2018 Free Software Foundation, Inc.
// 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
@ -565,7 +566,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// These are defined by the user (or the compiler)
// to specify the desired environment:
@ -573,6 +574,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
// __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__
@ -693,6 +695,8 @@ type X__float128 = float64 /* <builtin>:47:21 */
// 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.
@ -715,9 +719,22 @@ type X__float128 = float64 /* <builtin>:47:21 */
// 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-2018 Free Software Foundation, Inc.
// 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
@ -732,7 +749,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <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
@ -745,7 +762,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
// these macros to test for features in specific releases.
// This is here only because every header file already includes this one.
// Copyright (C) 1992-2018 Free Software Foundation, Inc.
// 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
@ -760,7 +777,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// We are almost always included from features.h.
@ -875,7 +892,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
// semantics.
//
// clang++ identifies itself as gcc-4.2, but has support for GNU inlining
// semantics, that can be checked fot by using the __GNUC_STDC_INLINE_ and
// 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
@ -896,11 +913,15 @@ type X__float128 = float64 /* <builtin>:47:21 */
// 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.
// Both x86-64 and x32 use the 64-bit system call interface.
// Properties of long double type. ldbl-96 version.
// Copyright (C) 2016-2018 Free Software Foundation, Inc.
// 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
@ -915,7 +936,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// long double is distinct from double, so there is nothing to
// define here.
@ -1076,7 +1097,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// Define POSIX options for Linux.
// Copyright (C) 1996-2018 Free Software Foundation, Inc.
// Copyright (C) 1996-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
@ -1091,13 +1112,16 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// 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 <http://www.gnu.org/licenses/>.
// not, see <https://www.gnu.org/licenses/>.
// Job control is supported.
// Processes have a saved set-user-ID and a saved set-group-ID.
// Priority scheduling is supported.
// Priority scheduling is not supported with the correct semantics,
// but GNU/Linux applications expect that the corresponding interfaces
// are available, even though the semantics do not meet the POSIX
// requirements. See glibc bug 14829.
// Synchronizing file data is supported.
@ -1200,7 +1224,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
// Typed memory objects are not available.
// Get the environment definitions from Unix98.
// Copyright (C) 1999-2018 Free Software Foundation, Inc.
// Copyright (C) 1999-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
@ -1215,7 +1239,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// Determine the wordsize from the preprocessor defines.
@ -1258,7 +1282,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
// All functions that are not declared anywhere else.
// bits/types.h -- definitions of __*_t types underlying *_t types.
// Copyright (C) 2002-2018 Free Software Foundation, Inc.
// 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
@ -1273,11 +1297,11 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// Never include this file directly; use <sys/types.h> instead.
// Copyright (C) 1991-2018 Free Software Foundation, Inc.
// 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
@ -1292,45 +1316,64 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// Determine the wordsize from the preprocessor defines.
// Both x86-64 and x32 use the 64-bit system call interface.
// Bit size of the time_t type at glibc build time, x86-64 and x32 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/>.
// For others, time size is word size.
// Convenience types.
type X__u_char = uint8 /* types.h:30:23 */
type X__u_short = uint16 /* types.h:31:28 */
type X__u_int = uint32 /* types.h:32:22 */
type X__u_long = uint64 /* types.h:33:27 */
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:36:21 */
type X__uint8_t = uint8 /* types.h:37:23 */
type X__int16_t = int16 /* types.h:38:26 */
type X__uint16_t = uint16 /* types.h:39:28 */
type X__int32_t = int32 /* types.h:40:20 */
type X__uint32_t = uint32 /* types.h:41:22 */
type X__int64_t = int64 /* types.h:43:25 */
type X__uint64_t = uint64 /* types.h:44:27 */
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:51:18 */
type X__uint_least8_t = X__uint8_t /* types.h:52:19 */
type X__int_least16_t = X__int16_t /* types.h:53:19 */
type X__uint_least16_t = X__uint16_t /* types.h:54:20 */
type X__int_least32_t = X__int32_t /* types.h:55:19 */
type X__uint_least32_t = X__uint32_t /* types.h:56:20 */
type X__int_least64_t = X__int64_t /* types.h:57:19 */
type X__uint_least64_t = X__uint64_t /* types.h:58:20 */
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:62:18 */
type X__u_quad_t = uint64 /* types.h:63:27 */
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:71:18 */
type X__uintmax_t = uint64 /* types.h:72:27 */
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
@ -1342,7 +1385,7 @@ type X__uintmax_t = uint64 /* types.h:72:27 */
// 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, always long long
// QUAD -- 64-bit type, traditionally long long
// WORD -- natural type of __WORDSIZE bits (int or long)
// LONGWORD -- type of __WORDSIZE bits, traditionally long
//
@ -1363,7 +1406,7 @@ type X__uintmax_t = uint64 /* types.h:72:27 */
// No need to mark the typedef with __extension__.
// bits/typesizes.h -- underlying types for *_t. Linux/x86-64 version.
// Copyright (C) 2012-2018 Free Software Foundation, Inc.
// Copyright (C) 2012-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
@ -1378,7 +1421,7 @@ type X__uintmax_t = uint64 /* types.h:72:27 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <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.
@ -1393,78 +1436,108 @@ type X__uintmax_t = uint64 /* types.h:72:27 */
// 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'.
type X__dev_t = uint64 /* types.h:143:25 */ // Type of device numbers.
type X__uid_t = uint32 /* types.h:144:25 */ // Type of user identifications.
type X__gid_t = uint32 /* types.h:145:25 */ // Type of group identifications.
type X__ino_t = uint64 /* types.h:146:25 */ // Type of file serial numbers.
type X__ino64_t = uint64 /* types.h:147:27 */ // Type of file serial numbers (LFS).
type X__mode_t = uint32 /* types.h:148:26 */ // Type of file attribute bitmasks.
type X__nlink_t = uint64 /* types.h:149:27 */ // Type of file link counts.
type X__off_t = int64 /* types.h:150:25 */ // Type of file sizes and offsets.
type X__off64_t = int64 /* types.h:151:27 */ // Type of file sizes and offsets (LFS).
type X__pid_t = int32 /* types.h:152:25 */ // Type of process identifications.
type X__fsid_t = struct{ F__val [2]int32 } /* types.h:153:26 */ // Type of file system IDs.
type X__clock_t = int64 /* types.h:154:27 */ // Type of CPU usage counts.
type X__rlim_t = uint64 /* types.h:155:26 */ // Type for resource measurement.
type X__rlim64_t = uint64 /* types.h:156:28 */ // Type for resource measurement (LFS).
type X__id_t = uint32 /* types.h:157:24 */ // General type for IDs.
type X__time_t = int64 /* types.h:158:26 */ // Seconds since the Epoch.
type X__useconds_t = uint32 /* types.h:159:30 */ // Count of microseconds.
type X__suseconds_t = int64 /* types.h:160:31 */ // Signed count of microseconds.
// 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/>.
type X__daddr_t = int32 /* types.h:162:27 */ // The type of a disk address.
type X__key_t = int32 /* types.h:163:25 */ // Type of an IPC key.
// 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:166:29 */
type X__clockid_t = int32 /* types.h:168:29 */
// Timer ID returned by `timer_create'.
type X__timer_t = uintptr /* types.h:169:12 */
type X__timer_t = uintptr /* types.h:171:12 */
// Type to represent block size.
type X__blksize_t = int64 /* types.h:172:29 */
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:177:28 */
type X__blkcnt64_t = int64 /* types.h:178:30 */
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:181:30 */
type X__fsblkcnt64_t = uint64 /* types.h:182:32 */
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:185:30 */
type X__fsfilcnt64_t = uint64 /* types.h:186:32 */
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:189:28 */
type X__fsword_t = int64 /* types.h:191:28 */
type X__ssize_t = int64 /* types.h:191:27 */ // Type of a byte count, or error.
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:194:33 */
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:196:33 */
type X__syscall_ulong_t = uint64 /* types.h:198:33 */
// These few don't really vary by system, they always correspond
// to one of the other defined types.
type X__loff_t = X__off64_t /* types.h:200:19 */ // Type of file sizes and offsets (LFS).
type X__caddr_t = uintptr /* types.h:201:14 */
//
// 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:204:25 */
type X__intptr_t = int64 /* types.h:206:25 */
// Duplicate info from sys/socket.h.
type X__socklen_t = uint32 /* types.h:207:23 */
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:212:13 */
//
// even in the presence of asynchronous interrupts.
// It is not currently necessary for this to be machine-specific.
type X__sig_atomic_t = int32 /* types.h:214:13 */
// Seconds since the Epoch, visible to user code when time_t is too
// narrow only for consistency with the old way of widening too-narrow
// types. User code should never use __time64_t.
type Ssize_t = X__ssize_t /* unistd.h:220:19 */
@ -1476,15 +1549,11 @@ type Ssize_t = X__ssize_t /* unistd.h:220:19 */
// Define this type if we are doing the whole job,
// or if we want this type in particular.
// In 4.3bsd-net2, leave these undefined to indicate that size_t, etc.
// are already defined.
// BSD/OS 3.1 and FreeBSD [23].x require the MACHINE_ANSI_H check here.
// NetBSD 5 requires the I386_ANSI_H and X86_64_ANSI_H checks here.
// A null pointer constant.
// The Single Unix specification says that some more types are
// available here.
//
// available here.
type Gid_t = X__gid_t /* unistd.h:232:17 */
type Uid_t = X__uid_t /* unistd.h:237:17 */
@ -1501,4 +1570,23 @@ type Socklen_t = X__socklen_t /* unistd.h:274:21 */
// Define some macros helping to catch buffer overflows.
// System-specific extensions.
// System-specific extensions of <unistd.h>, Linux version.
// Copyright (C) 2019-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/>.
var _ int8 /* gen.c:2:13: */

View File

@ -34,6 +34,7 @@ const (
X_OK = 1
X_ATFILE_SOURCE = 1
X_BITS_POSIX_OPT_H = 1
X_BITS_TIME64_H = 1
X_BITS_TYPESIZES_H = 1
X_BITS_TYPES_H = 1
X_BSD_SIZE_T_ = 0
@ -154,7 +155,7 @@ const (
// the `_SC_*' symbols for the NAME argument to `sysconf';
// and the `_CS_*' symbols for the NAME argument to `confstr'.
// `sysconf', `pathconf', and `confstr' NAME values. Generic version.
// Copyright (C) 1993-2018 Free Software Foundation, Inc.
// 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
@ -169,7 +170,7 @@ const (
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// Values for the NAME argument to `pathconf' and `fpathconf'.
const ( /* confname.h:24:1: */
@ -527,7 +528,7 @@ type Wchar_t = uint32 /* <builtin>:15:24 */
type X__builtin_va_list = uintptr /* <builtin>:46:14 */
type X__float128 = float64 /* <builtin>:47:21 */
// Copyright (C) 1991-2018 Free Software Foundation, Inc.
// 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
@ -542,11 +543,11 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// POSIX Standard: 2.10 Symbolic Constants <unistd.h>
// Copyright (C) 1991-2018 Free Software Foundation, Inc.
// 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
@ -561,7 +562,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// These are defined by the user (or the compiler)
// to specify the desired environment:
@ -569,6 +570,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
// __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__
@ -689,6 +691,8 @@ type X__float128 = float64 /* <builtin>:47:21 */
// 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.
@ -711,9 +715,22 @@ type X__float128 = float64 /* <builtin>:47:21 */
// 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-2018 Free Software Foundation, Inc.
// 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
@ -728,7 +745,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <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
@ -741,7 +758,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
// these macros to test for features in specific releases.
// This is here only because every header file already includes this one.
// Copyright (C) 1992-2018 Free Software Foundation, Inc.
// 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
@ -756,7 +773,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// We are almost always included from features.h.
@ -871,7 +888,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
// semantics.
//
// clang++ identifies itself as gcc-4.2, but has support for GNU inlining
// semantics, that can be checked fot by using the __GNUC_STDC_INLINE_ and
// 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
@ -892,7 +909,11 @@ type X__float128 = float64 /* <builtin>:47:21 */
// argument to strncpy and strncat, as the char array is not necessarily
// a NUL-terminated string.
// Copyright (C) 1999-2018 Free Software Foundation, Inc.
// Undefine (also defined in libc-symbols.h).
// Copies attributes from the declaration or type referenced by
// the argument.
// Copyright (C) 1999-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
@ -907,10 +928,10 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// Properties of long double type.
// Copyright (C) 2016-2018 Free Software Foundation, Inc.
// 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
@ -925,7 +946,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// This header is included by <sys/cdefs.h>.
//
@ -1102,7 +1123,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// Define POSIX options for Linux.
// Copyright (C) 1996-2018 Free Software Foundation, Inc.
// Copyright (C) 1996-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
@ -1117,13 +1138,16 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// 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 <http://www.gnu.org/licenses/>.
// not, see <https://www.gnu.org/licenses/>.
// Job control is supported.
// Processes have a saved set-user-ID and a saved set-group-ID.
// Priority scheduling is supported.
// Priority scheduling is not supported with the correct semantics,
// but GNU/Linux applications expect that the corresponding interfaces
// are available, even though the semantics do not meet the POSIX
// requirements. See glibc bug 14829.
// Synchronizing file data is supported.
@ -1226,7 +1250,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
// Typed memory objects are not available.
// Get the environment definitions from Unix98.
// Copyright (C) 1999-2018 Free Software Foundation, Inc.
// Copyright (C) 1999-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
@ -1241,9 +1265,9 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// Copyright (C) 1999-2018 Free Software Foundation, Inc.
// Copyright (C) 1999-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
@ -1258,7 +1282,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// This header should define the following symbols under the described
// situations. A value `1' means that the model is always supported,
@ -1292,7 +1316,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
// All functions that are not declared anywhere else.
// bits/types.h -- definitions of __*_t types underlying *_t types.
// Copyright (C) 2002-2018 Free Software Foundation, Inc.
// 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
@ -1307,11 +1331,11 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// Never include this file directly; use <sys/types.h> instead.
// Copyright (C) 1991-2018 Free Software Foundation, Inc.
// 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
@ -1326,9 +1350,9 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// Copyright (C) 1999-2018 Free Software Foundation, Inc.
// Copyright (C) 1999-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
@ -1343,41 +1367,78 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// 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/>.
// Copyright (C) 1999-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/>.
// Size in bits of the 'time_t' type of the default ABI.
// Convenience types.
type X__u_char = uint8 /* types.h:30:23 */
type X__u_short = uint16 /* types.h:31:28 */
type X__u_int = uint32 /* types.h:32:22 */
type X__u_long = uint32 /* types.h:33:27 */
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 = uint32 /* types.h:34:27 */
// Fixed-size types, underlying types depend on word size and compiler.
type X__int8_t = int8 /* types.h:36:21 */
type X__uint8_t = uint8 /* types.h:37:23 */
type X__int16_t = int16 /* types.h:38:26 */
type X__uint16_t = uint16 /* types.h:39:28 */
type X__int32_t = int32 /* types.h:40:20 */
type X__uint32_t = uint32 /* types.h:41:22 */
type X__int64_t = int64 /* types.h:46:44 */
type X__uint64_t = uint64 /* types.h:47:46 */
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:47:44 */
type X__uint64_t = uint64 /* types.h:48:46 */
// Smallest types with at least a given width.
type X__int_least8_t = X__int8_t /* types.h:51:18 */
type X__uint_least8_t = X__uint8_t /* types.h:52:19 */
type X__int_least16_t = X__int16_t /* types.h:53:19 */
type X__uint_least16_t = X__uint16_t /* types.h:54:20 */
type X__int_least32_t = X__int32_t /* types.h:55:19 */
type X__uint_least32_t = X__uint32_t /* types.h:56:20 */
type X__int_least64_t = X__int64_t /* types.h:57:19 */
type X__uint_least64_t = X__uint64_t /* types.h:58:20 */
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:65:37 */
type X__u_quad_t = uint64 /* types.h:66:46 */
type X__quad_t = int64 /* types.h:66:37 */
type X__u_quad_t = uint64 /* types.h:67:46 */
// Largest integral types.
type X__intmax_t = int64 /* types.h:74:37 */
type X__uintmax_t = uint64 /* types.h:75:46 */
type X__intmax_t = int64 /* types.h:75:37 */
type X__uintmax_t = uint64 /* types.h:76:46 */
// The machine-dependent file <bits/typesizes.h> defines __*_T_TYPE
// macros for each of the OS types we define below. The definitions
@ -1389,7 +1450,7 @@ type X__uintmax_t = uint64 /* types.h:75:46 */
// 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, always long long
// QUAD -- 64-bit type, traditionally long long
// WORD -- natural type of __WORDSIZE bits (int or long)
// LONGWORD -- type of __WORDSIZE bits, traditionally long
//
@ -1411,7 +1472,7 @@ type X__uintmax_t = uint64 /* types.h:75:46 */
// We want __extension__ before typedef's that use nonstandard base types
// such as `long long' in C89 mode.
// bits/typesizes.h -- underlying types for *_t. Generic version.
// Copyright (C) 2002-2018 Free Software Foundation, Inc.
// 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
@ -1426,83 +1487,113 @@ type X__uintmax_t = uint64 /* types.h:75:46 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <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.
// Number of descriptors that can fit in an `fd_set'.
type X__dev_t = X__u_quad_t /* types.h:143:25 */ // Type of device numbers.
type X__uid_t = uint32 /* types.h:144:25 */ // Type of user identifications.
type X__gid_t = uint32 /* types.h:145:25 */ // Type of group identifications.
type X__ino_t = uint32 /* types.h:146:25 */ // Type of file serial numbers.
type X__ino64_t = X__u_quad_t /* types.h:147:27 */ // Type of file serial numbers (LFS).
type X__mode_t = uint32 /* types.h:148:26 */ // Type of file attribute bitmasks.
type X__nlink_t = uint32 /* types.h:149:27 */ // Type of file link counts.
type X__off_t = int32 /* types.h:150:25 */ // Type of file sizes and offsets.
type X__off64_t = X__quad_t /* types.h:151:27 */ // Type of file sizes and offsets (LFS).
type X__pid_t = int32 /* types.h:152:25 */ // Type of process identifications.
type X__fsid_t = struct{ F__val [2]int32 } /* types.h:153:26 */ // Type of file system IDs.
type X__clock_t = int32 /* types.h:154:27 */ // Type of CPU usage counts.
type X__rlim_t = uint32 /* types.h:155:26 */ // Type for resource measurement.
type X__rlim64_t = X__u_quad_t /* types.h:156:28 */ // Type for resource measurement (LFS).
type X__id_t = uint32 /* types.h:157:24 */ // General type for IDs.
type X__time_t = int32 /* types.h:158:26 */ // Seconds since the Epoch.
type X__useconds_t = uint32 /* types.h:159:30 */ // Count of microseconds.
type X__suseconds_t = int32 /* types.h:160:31 */ // Signed count of microseconds.
// 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/>.
type X__daddr_t = int32 /* types.h:162:27 */ // The type of a disk address.
type X__key_t = int32 /* types.h:163:25 */ // Type of an IPC key.
// Define __TIME64_T_TYPE so that it is always a 64-bit type.
// Define a 64-bit time type alongsize the 32-bit one.
type X__dev_t = X__uint64_t /* 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 = uint32 /* types.h:148:25 */ // Type of file serial numbers.
type X__ino64_t = X__uint64_t /* 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 = uint32 /* types.h:151:27 */ // Type of file link counts.
type X__off_t = int32 /* types.h:152:25 */ // Type of file sizes and offsets.
type X__off64_t = X__int64_t /* 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 = int32 /* types.h:156:27 */ // Type of CPU usage counts.
type X__rlim_t = uint32 /* types.h:157:26 */ // Type for resource measurement.
type X__rlim64_t = X__uint64_t /* 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 = int32 /* types.h:160:26 */ // Seconds since the Epoch.
type X__useconds_t = uint32 /* types.h:161:30 */ // Count of microseconds.
type X__suseconds_t = int32 /* 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:166:29 */
type X__clockid_t = int32 /* types.h:168:29 */
// Timer ID returned by `timer_create'.
type X__timer_t = uintptr /* types.h:169:12 */
type X__timer_t = uintptr /* types.h:171:12 */
// Type to represent block size.
type X__blksize_t = int32 /* types.h:172:29 */
type X__blksize_t = int32 /* types.h:174:29 */
// Types from the Large File Support interface.
// Type to count number of disk blocks.
type X__blkcnt_t = int32 /* types.h:177:28 */
type X__blkcnt64_t = X__quad_t /* types.h:178:30 */
type X__blkcnt_t = int32 /* types.h:179:28 */
type X__blkcnt64_t = X__int64_t /* types.h:180:30 */
// Type to count file system blocks.
type X__fsblkcnt_t = uint32 /* types.h:181:30 */
type X__fsblkcnt64_t = X__u_quad_t /* types.h:182:32 */
type X__fsblkcnt_t = uint32 /* types.h:183:30 */
type X__fsblkcnt64_t = X__uint64_t /* types.h:184:32 */
// Type to count file system nodes.
type X__fsfilcnt_t = uint32 /* types.h:185:30 */
type X__fsfilcnt64_t = X__u_quad_t /* types.h:186:32 */
type X__fsfilcnt_t = uint32 /* types.h:187:30 */
type X__fsfilcnt64_t = X__uint64_t /* types.h:188:32 */
// Type of miscellaneous file system fields.
type X__fsword_t = int32 /* types.h:189:28 */
type X__fsword_t = int32 /* types.h:191:28 */
type X__ssize_t = int32 /* types.h:191:27 */ // Type of a byte count, or error.
type X__ssize_t = int32 /* types.h:193:27 */ // Type of a byte count, or error.
// Signed long type used in system calls.
type X__syscall_slong_t = int32 /* types.h:194:33 */
type X__syscall_slong_t = int32 /* types.h:196:33 */
// Unsigned long type used in system calls.
type X__syscall_ulong_t = uint32 /* types.h:196:33 */
type X__syscall_ulong_t = uint32 /* types.h:198:33 */
// These few don't really vary by system, they always correspond
// to one of the other defined types.
type X__loff_t = X__off64_t /* types.h:200:19 */ // Type of file sizes and offsets (LFS).
type X__caddr_t = uintptr /* types.h:201:14 */
//
// 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 = int32 /* types.h:204:25 */
type X__intptr_t = int32 /* types.h:206:25 */
// Duplicate info from sys/socket.h.
type X__socklen_t = uint32 /* types.h:207:23 */
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:212:13 */
//
// even in the presence of asynchronous interrupts.
// It is not currently necessary for this to be machine-specific.
type X__sig_atomic_t = int32 /* types.h:214:13 */
// Seconds since the Epoch, visible to user code when time_t is too
//
// narrow only for consistency with the old way of widening too-narrow
// types. User code should never use __time64_t.
type X__time64_t = X__int64_t /* types.h:222:28 */
type Ssize_t = X__ssize_t /* unistd.h:220:19 */
@ -1514,15 +1605,11 @@ type Ssize_t = X__ssize_t /* unistd.h:220:19 */
// Define this type if we are doing the whole job,
// or if we want this type in particular.
// In 4.3bsd-net2, leave these undefined to indicate that size_t, etc.
// are already defined.
// BSD/OS 3.1 and FreeBSD [23].x require the MACHINE_ANSI_H check here.
// NetBSD 5 requires the I386_ANSI_H and X86_64_ANSI_H checks here.
// A null pointer constant.
// The Single Unix specification says that some more types are
// available here.
//
// available here.
type Gid_t = X__gid_t /* unistd.h:232:17 */
type Uid_t = X__uid_t /* unistd.h:237:17 */
@ -1539,4 +1626,23 @@ type Socklen_t = X__socklen_t /* unistd.h:274:21 */
// Define some macros helping to catch buffer overflows.
var _ int8 /* gen.c:2:13: */
// System-specific extensions.
// System-specific extensions of <unistd.h>, Linux version.
// Copyright (C) 2019-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/>.
var _ uint8 /* gen.c:2:13: */

View File

@ -34,6 +34,7 @@ const (
X_OK = 1
X_ATFILE_SOURCE = 1
X_BITS_POSIX_OPT_H = 1
X_BITS_TIME64_H = 1
X_BITS_TYPESIZES_H = 1
X_BITS_TYPES_H = 1
X_BSD_SIZE_T_ = 0
@ -155,7 +156,7 @@ const (
// the `_SC_*' symbols for the NAME argument to `sysconf';
// and the `_CS_*' symbols for the NAME argument to `confstr'.
// `sysconf', `pathconf', and `confstr' NAME values. Generic version.
// Copyright (C) 1993-2018 Free Software Foundation, Inc.
// 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
@ -170,7 +171,7 @@ const (
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// Values for the NAME argument to `pathconf' and `fpathconf'.
const ( /* confname.h:24:1: */
@ -537,7 +538,7 @@ type X__uint128_t = struct {
type X__builtin_va_list = uintptr /* <builtin>:46:14 */
type X__float128 = float64 /* <builtin>:47:21 */
// Copyright (C) 1991-2018 Free Software Foundation, Inc.
// 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
@ -552,11 +553,11 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// POSIX Standard: 2.10 Symbolic Constants <unistd.h>
// Copyright (C) 1991-2018 Free Software Foundation, Inc.
// 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
@ -571,7 +572,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// These are defined by the user (or the compiler)
// to specify the desired environment:
@ -579,6 +580,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
// __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__
@ -699,6 +701,8 @@ type X__float128 = float64 /* <builtin>:47:21 */
// 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.
@ -721,9 +725,22 @@ type X__float128 = float64 /* <builtin>:47:21 */
// 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-2018 Free Software Foundation, Inc.
// 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
@ -738,7 +755,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <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
@ -751,7 +768,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
// these macros to test for features in specific releases.
// This is here only because every header file already includes this one.
// Copyright (C) 1992-2018 Free Software Foundation, Inc.
// 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
@ -766,7 +783,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// We are almost always included from features.h.
@ -881,7 +898,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
// semantics.
//
// clang++ identifies itself as gcc-4.2, but has support for GNU inlining
// semantics, that can be checked fot by using the __GNUC_STDC_INLINE_ and
// 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
@ -902,9 +919,13 @@ type X__float128 = float64 /* <builtin>:47:21 */
// 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.
//
// Copyright (C) 2016-2018 Free Software Foundation, Inc.
// 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
@ -919,10 +940,10 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// Properties of long double type. ldbl-128 version.
// Copyright (C) 2016-2018 Free Software Foundation, Inc.
// 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
@ -937,7 +958,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// long double is distinct from double, so there is nothing to
// define here.
@ -971,7 +992,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
// Determine the wordsize from the preprocessor defines.
//
// Copyright (C) 2016-2018 Free Software Foundation, Inc.
// 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
@ -986,7 +1007,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// This file is automatically generated.
// It defines a symbol `__stub_FUNCTION' for each function
@ -1117,7 +1138,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// Define POSIX options for Linux.
// Copyright (C) 1996-2018 Free Software Foundation, Inc.
// Copyright (C) 1996-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
@ -1132,13 +1153,16 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// 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 <http://www.gnu.org/licenses/>.
// not, see <https://www.gnu.org/licenses/>.
// Job control is supported.
// Processes have a saved set-user-ID and a saved set-group-ID.
// Priority scheduling is supported.
// Priority scheduling is not supported with the correct semantics,
// but GNU/Linux applications expect that the corresponding interfaces
// are available, even though the semantics do not meet the POSIX
// requirements. See glibc bug 14829.
// Synchronizing file data is supported.
@ -1241,7 +1265,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
// Typed memory objects are not available.
// Get the environment definitions from Unix98.
// Copyright (C) 1999-2018 Free Software Foundation, Inc.
// Copyright (C) 1999-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
@ -1256,11 +1280,11 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// Determine the wordsize from the preprocessor defines.
//
// Copyright (C) 2016-2018 Free Software Foundation, Inc.
// 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
@ -1275,7 +1299,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// This header should define the following symbols under the described
// situations. A value `1' means that the model is always supported,
@ -1305,7 +1329,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
// All functions that are not declared anywhere else.
// bits/types.h -- definitions of __*_t types underlying *_t types.
// Copyright (C) 2002-2018 Free Software Foundation, Inc.
// 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
@ -1320,11 +1344,11 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// Never include this file directly; use <sys/types.h> instead.
// Copyright (C) 1991-2018 Free Software Foundation, Inc.
// 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
@ -1339,11 +1363,11 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// Determine the wordsize from the preprocessor defines.
//
// Copyright (C) 2016-2018 Free Software Foundation, Inc.
// 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
@ -1358,41 +1382,80 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// <https://www.gnu.org/licenses/>.
// 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.
//
// 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/>.
// Size in bits of the 'time_t' type of the default ABI.
// Convenience types.
type X__u_char = uint8 /* types.h:30:23 */
type X__u_short = uint16 /* types.h:31:28 */
type X__u_int = uint32 /* types.h:32:22 */
type X__u_long = uint64 /* types.h:33:27 */
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:36:21 */
type X__uint8_t = uint8 /* types.h:37:23 */
type X__int16_t = int16 /* types.h:38:26 */
type X__uint16_t = uint16 /* types.h:39:28 */
type X__int32_t = int32 /* types.h:40:20 */
type X__uint32_t = uint32 /* types.h:41:22 */
type X__int64_t = int64 /* types.h:43:25 */
type X__uint64_t = uint64 /* types.h:44:27 */
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:51:18 */
type X__uint_least8_t = X__uint8_t /* types.h:52:19 */
type X__int_least16_t = X__int16_t /* types.h:53:19 */
type X__uint_least16_t = X__uint16_t /* types.h:54:20 */
type X__int_least32_t = X__int32_t /* types.h:55:19 */
type X__uint_least32_t = X__uint32_t /* types.h:56:20 */
type X__int_least64_t = X__int64_t /* types.h:57:19 */
type X__uint_least64_t = X__uint64_t /* types.h:58:20 */
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:62:18 */
type X__u_quad_t = uint64 /* types.h:63:27 */
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:71:18 */
type X__uintmax_t = uint64 /* types.h:72:27 */
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
@ -1404,7 +1467,7 @@ type X__uintmax_t = uint64 /* types.h:72:27 */
// 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, always long long
// QUAD -- 64-bit type, traditionally long long
// WORD -- natural type of __WORDSIZE bits (int or long)
// LONGWORD -- type of __WORDSIZE bits, traditionally long
//
@ -1425,7 +1488,7 @@ type X__uintmax_t = uint64 /* types.h:72:27 */
// No need to mark the typedef with __extension__.
// bits/typesizes.h -- underlying types for *_t. For the generic Linux ABI.
// Copyright (C) 2011-2018 Free Software Foundation, Inc.
// Copyright (C) 2011-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
// Contributed by Chris Metcalf <cmetcalf@tilera.com>, 2011.
//
@ -1441,7 +1504,7 @@ type X__uintmax_t = uint64 /* types.h:72:27 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library. If not, see
// <http://www.gnu.org/licenses/>.
// <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.
@ -1454,78 +1517,107 @@ type X__uintmax_t = uint64 /* types.h:72:27 */
// 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'.
type X__dev_t = uint64 /* types.h:143:25 */ // Type of device numbers.
type X__uid_t = uint32 /* types.h:144:25 */ // Type of user identifications.
type X__gid_t = uint32 /* types.h:145:25 */ // Type of group identifications.
type X__ino_t = uint64 /* types.h:146:25 */ // Type of file serial numbers.
type X__ino64_t = uint64 /* types.h:147:27 */ // Type of file serial numbers (LFS).
type X__mode_t = uint32 /* types.h:148:26 */ // Type of file attribute bitmasks.
type X__nlink_t = uint32 /* types.h:149:27 */ // Type of file link counts.
type X__off_t = int64 /* types.h:150:25 */ // Type of file sizes and offsets.
type X__off64_t = int64 /* types.h:151:27 */ // Type of file sizes and offsets (LFS).
type X__pid_t = int32 /* types.h:152:25 */ // Type of process identifications.
type X__fsid_t = struct{ F__val [2]int32 } /* types.h:153:26 */ // Type of file system IDs.
type X__clock_t = int64 /* types.h:154:27 */ // Type of CPU usage counts.
type X__rlim_t = uint64 /* types.h:155:26 */ // Type for resource measurement.
type X__rlim64_t = uint64 /* types.h:156:28 */ // Type for resource measurement (LFS).
type X__id_t = uint32 /* types.h:157:24 */ // General type for IDs.
type X__time_t = int64 /* types.h:158:26 */ // Seconds since the Epoch.
type X__useconds_t = uint32 /* types.h:159:30 */ // Count of microseconds.
type X__suseconds_t = int64 /* types.h:160:31 */ // Signed count of microseconds.
// 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/>.
type X__daddr_t = int32 /* types.h:162:27 */ // The type of a disk address.
type X__key_t = int32 /* types.h:163:25 */ // Type of an IPC key.
// 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 = uint32 /* 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:166:29 */
type X__clockid_t = int32 /* types.h:168:29 */
// Timer ID returned by `timer_create'.
type X__timer_t = uintptr /* types.h:169:12 */
type X__timer_t = uintptr /* types.h:171:12 */
// Type to represent block size.
type X__blksize_t = int32 /* types.h:172:29 */
type X__blksize_t = int32 /* 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:177:28 */
type X__blkcnt64_t = int64 /* types.h:178:30 */
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:181:30 */
type X__fsblkcnt64_t = uint64 /* types.h:182:32 */
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:185:30 */
type X__fsfilcnt64_t = uint64 /* types.h:186:32 */
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:189:28 */
type X__fsword_t = int64 /* types.h:191:28 */
type X__ssize_t = int64 /* types.h:191:27 */ // Type of a byte count, or error.
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:194:33 */
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:196:33 */
type X__syscall_ulong_t = uint64 /* types.h:198:33 */
// These few don't really vary by system, they always correspond
// to one of the other defined types.
type X__loff_t = X__off64_t /* types.h:200:19 */ // Type of file sizes and offsets (LFS).
type X__caddr_t = uintptr /* types.h:201:14 */
//
// 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:204:25 */
type X__intptr_t = int64 /* types.h:206:25 */
// Duplicate info from sys/socket.h.
type X__socklen_t = uint32 /* types.h:207:23 */
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:212:13 */
//
// even in the presence of asynchronous interrupts.
// It is not currently necessary for this to be machine-specific.
type X__sig_atomic_t = int32 /* types.h:214:13 */
// Seconds since the Epoch, visible to user code when time_t is too
// narrow only for consistency with the old way of widening too-narrow
// types. User code should never use __time64_t.
type Ssize_t = X__ssize_t /* unistd.h:220:19 */
@ -1537,15 +1629,11 @@ type Ssize_t = X__ssize_t /* unistd.h:220:19 */
// Define this type if we are doing the whole job,
// or if we want this type in particular.
// In 4.3bsd-net2, leave these undefined to indicate that size_t, etc.
// are already defined.
// BSD/OS 3.1 and FreeBSD [23].x require the MACHINE_ANSI_H check here.
// NetBSD 5 requires the I386_ANSI_H and X86_64_ANSI_H checks here.
// A null pointer constant.
// The Single Unix specification says that some more types are
// available here.
//
// available here.
type Gid_t = X__gid_t /* unistd.h:232:17 */
type Uid_t = X__uid_t /* unistd.h:237:17 */
@ -1562,4 +1650,23 @@ type Socklen_t = X__socklen_t /* unistd.h:274:21 */
// Define some macros helping to catch buffer overflows.
var _ int8 /* gen.c:2:13: */
// System-specific extensions.
// System-specific extensions of <unistd.h>, Linux version.
// Copyright (C) 2019-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/>.
var _ uint8 /* gen.c:2:13: */

View File

@ -909,7 +909,13 @@ type X__float128 = float64 /* <builtin>:47:21 */
// 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.
@ -1509,7 +1515,8 @@ type X__syscall_slong_t = int64 /* types.h:196:33 */
type X__syscall_ulong_t = uint64 /* types.h:198:33 */
// These few don't really vary by system, they always correspond
// to one of the other defined types.
//
// to one of the other defined types.
type X__loff_t = X__off64_t /* types.h:202:19 */ // Type of file sizes and offsets (LFS).
type X__caddr_t = uintptr /* types.h:203:14 */
@ -1520,8 +1527,9 @@ type X__intptr_t = int64 /* types.h:206:25 */
type X__socklen_t = uint32 /* types.h:209:23 */
// C99: An integer type that can be accessed as an atomic entity,
// even in the presence of asynchronous interrupts.
// It is not currently necessary for this to be machine-specific.
//
// even in the presence of asynchronous interrupts.
// It is not currently necessary for this to be machine-specific.
type X__sig_atomic_t = int32 /* types.h:214:13 */
// Seconds since the Epoch, visible to user code when time_t is too
@ -1538,15 +1546,11 @@ type Ssize_t = X__ssize_t /* unistd.h:220:19 */
// Define this type if we are doing the whole job,
// or if we want this type in particular.
// In 4.3bsd-net2, leave these undefined to indicate that size_t, etc.
// are already defined.
// BSD/OS 3.1 and FreeBSD [23].x require the MACHINE_ANSI_H check here.
// NetBSD 5 requires the I386_ANSI_H and X86_64_ANSI_H checks here.
// A null pointer constant.
// The Single Unix specification says that some more types are
// available here.
//
// available here.
type Gid_t = X__gid_t /* unistd.h:232:17 */
type Uid_t = X__uid_t /* unistd.h:237:17 */

View File

@ -1,4 +1,4 @@
// Code generated by 'ccgo unistd/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o unistd/unistd_netbsd_amd64.go -pkgname unistd', DO NOT EDIT.
// Code generated by 'ccgo unistd/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o unistd/unistd_netbsd_amd64.go -pkgname unistd', DO NOT EDIT.
package unistd
@ -15,314 +15,312 @@ var _ atomic.Value
var _ unsafe.Pointer
const (
BIG_ENDIAN = 4321
BYTE_ORDER = 1234
FDATASYNC = 0x0010
FDISKSYNC = 0x0040
FD_SETSIZE = 256
FFILESYNC = 0x0020
F_LOCK = 1
F_OK = 0
F_TEST = 3
F_TLOCK = 2
F_ULOCK = 0
GETPASS_7BIT = 0x080
GETPASS_BUF_LIMIT = 0x004
GETPASS_ECHO = 0x020
GETPASS_ECHO_NL = 0x400
GETPASS_ECHO_STAR = 0x040
GETPASS_FAIL_EOF = 0x002
GETPASS_FORCE_LOWER = 0x100
GETPASS_FORCE_UPPER = 0x200
GETPASS_NEED_TTY = 0x001
GETPASS_NO_BEEP = 0x010
GETPASS_NO_SIGNAL = 0x008
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
L_INCR = 1
L_SET = 0
L_XTND = 2
NBBY = 8
NFDBITS = 32
NODEVMAJOR = -1
PDP_ENDIAN = 3412
PTRDIFF_MAX = 9223372036854775807
PTRDIFF_MIN = -9223372036854775808
R_OK = 0x04
SEEK_CUR = 1
SEEK_END = 2
SEEK_SET = 0
SIG_ATOMIC_MAX = 2147483647
SIG_ATOMIC_MIN = -2147483648
SIZE_MAX = 18446744073709551615
STDERR_FILENO = 2
STDIN_FILENO = 0
STDOUT_FILENO = 1
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
W_OK = 0x02
X_OK = 0x01
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_CS_PATH = 1
X_FILE_OFFSET_BITS = 64
X_GCC_PTRDIFF_T = 0
X_GCC_SIZE_T = 0
X_LIB_PTHREAD_TYPES_H = 0
X_LITTLE_ENDIAN = 1234
X_LP64 = 1
X_NETBSD_SOURCE = 1
X_O_SC_CLK_TCK = 3
X_PC_2_SYMLINKS = 13
X_PC_ACL_EXTENDED = 14
X_PC_CHOWN_RESTRICTED = 7
X_PC_FILESIZEBITS = 11
X_PC_LINK_MAX = 1
X_PC_MAX_CANON = 2
X_PC_MAX_INPUT = 3
X_PC_MIN_HOLE_SIZE = 15
X_PC_NAME_MAX = 4
X_PC_NO_TRUNC = 8
X_PC_PATH_MAX = 5
X_PC_PIPE_BUF = 6
X_PC_SYMLINK_MAX = 12
X_PC_SYNC_IO = 10
X_PC_VDISABLE = 9
X_PDP_ENDIAN = 3412
X_POSIX2_C_BIND = 200112
X_POSIX2_VERSION = 200112
X_POSIX_ASYNCHRONOUS_IO = 200112
X_POSIX_BARRIERS = 200112
X_POSIX_CHOWN_RESTRICTED = 1
X_POSIX_CLOCK_SELECTION = -1
X_POSIX_CPUTIME = 200112
X_POSIX_FSYNC = 1
X_POSIX_IPV6 = 0
X_POSIX_JOB_CONTROL = 1
X_POSIX_MAPPED_FILES = 1
X_POSIX_MEMLOCK = 1
X_POSIX_MEMLOCK_RANGE = 1
X_POSIX_MEMORY_PROTECTION = 1
X_POSIX_MESSAGE_PASSING = 200112
X_POSIX_MONOTONIC_CLOCK = 200112
X_POSIX_NO_TRUNC = 1
X_POSIX_PRIORITIZED_IO = -1
X_POSIX_PRIORITY_SCHEDULING = 200112
X_POSIX_RAW_SOCKETS = 200112
X_POSIX_READER_WRITER_LOCKS = 200112
X_POSIX_REGEXP = 1
X_POSIX_SEMAPHORES = 0
X_POSIX_SHARED_MEMORY_OBJECTS = 0
X_POSIX_SHELL = 1
X_POSIX_SPAWN = 200809
X_POSIX_SPIN_LOCKS = 200112
X_POSIX_SYNCHRONIZED_IO = 1
X_POSIX_THREADS = 200112
X_POSIX_THREAD_ATTR_STACKADDR = 200112
X_POSIX_THREAD_ATTR_STACKSIZE = 200112
X_POSIX_THREAD_CPUTIME = 200112
X_POSIX_THREAD_PRIO_PROTECT = 200112
X_POSIX_THREAD_SAFE_FUNCTIONS = 200112
X_POSIX_TIMERS = 200112
X_POSIX_VERSION = 200112
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_SC_2_CHAR_TERM = 20
X_SC_2_C_BIND = 18
X_SC_2_C_DEV = 19
X_SC_2_FORT_DEV = 21
X_SC_2_FORT_RUN = 22
X_SC_2_LOCALEDEF = 23
X_SC_2_PBS = 80
X_SC_2_PBS_ACCOUNTING = 81
X_SC_2_PBS_CHECKPOINT = 82
X_SC_2_PBS_LOCATE = 83
X_SC_2_PBS_MESSAGE = 84
X_SC_2_PBS_TRACK = 85
X_SC_2_SW_DEV = 24
X_SC_2_UPE = 25
X_SC_2_VERSION = 17
X_SC_AIO_LISTIO_MAX = 51
X_SC_AIO_MAX = 52
X_SC_ARG_MAX = 1
X_SC_ASYNCHRONOUS_IO = 50
X_SC_ATEXIT_MAX = 40
X_SC_BARRIERS = 43
X_SC_BC_BASE_MAX = 9
X_SC_BC_DIM_MAX = 10
X_SC_BC_SCALE_MAX = 11
X_SC_BC_STRING_MAX = 12
X_SC_CHILD_MAX = 2
X_SC_CLK_TCK = 39
X_SC_CLOCK_SELECTION = 49
X_SC_COLL_WEIGHTS_MAX = 13
X_SC_CPUTIME = 90
X_SC_DELAYTIMER_MAX = 92
X_SC_EXPR_NEST_MAX = 14
X_SC_FSYNC = 29
X_SC_GETGR_R_SIZE_MAX = 47
X_SC_GETPW_R_SIZE_MAX = 48
X_SC_HOST_NAME_MAX = 69
X_SC_IOV_MAX = 32
X_SC_JOB_CONTROL = 6
X_SC_LINE_MAX = 15
X_SC_LOGIN_NAME_MAX = 37
X_SC_MAPPED_FILES = 33
X_SC_MEMLOCK = 34
X_SC_MEMLOCK_RANGE = 35
X_SC_MEMORY_PROTECTION = 36
X_SC_MESSAGE_PASSING = 53
X_SC_MONOTONIC_CLOCK = 38
X_SC_MQ_OPEN_MAX = 54
X_SC_MQ_PRIO_MAX = 55
X_SC_NGROUPS_MAX = 4
X_SC_NPROCESSORS_CONF = 1001
X_SC_NPROCESSORS_ONLN = 1002
X_SC_OPEN_MAX = 5
X_SC_PAGESIZE = 28
X_SC_PAGE_SIZE = 28
X_SC_PASS_MAX = 70
X_SC_PHYS_PAGES = 121
X_SC_PRIORITY_SCHEDULING = 56
X_SC_READER_WRITER_LOCKS = 46
X_SC_REALTIME_SIGNALS = 94
X_SC_REGEXP = 71
X_SC_RE_DUP_MAX = 16
X_SC_SAVED_IDS = 7
X_SC_SCHED_PRI_MAX = 2003
X_SC_SCHED_PRI_MIN = 2002
X_SC_SCHED_RT_TS = 2001
X_SC_SEMAPHORES = 42
X_SC_SEM_NSEMS_MAX = 89
X_SC_SHARED_MEMORY_OBJECTS = 87
X_SC_SHELL = 72
X_SC_SIGQUEUE_MAX = 93
X_SC_SPAWN = 86
X_SC_SPIN_LOCKS = 45
X_SC_STREAM_MAX = 26
X_SC_SYMLOOP_MAX = 73
X_SC_SYNCHRONIZED_IO = 31
X_SC_THREADS = 41
X_SC_THREAD_ATTR_STACKADDR = 61
X_SC_THREAD_ATTR_STACKSIZE = 62
X_SC_THREAD_CPUTIME = 91
X_SC_THREAD_DESTRUCTOR_ITERATIONS = 57
X_SC_THREAD_KEYS_MAX = 58
X_SC_THREAD_PRIORITY_SCHEDULING = 63
X_SC_THREAD_PRIO_INHERIT = 64
X_SC_THREAD_PRIO_PROTECT = 65
X_SC_THREAD_PROCESS_SHARED = 66
X_SC_THREAD_SAFE_FUNCTIONS = 67
X_SC_THREAD_STACK_MIN = 59
X_SC_THREAD_THREADS_MAX = 60
X_SC_TIMERS = 44
X_SC_TIMER_MAX = 88
X_SC_TTY_NAME_MAX = 68
X_SC_TZNAME_MAX = 27
X_SC_V6_ILP32_OFF32 = 74
X_SC_V6_ILP32_OFFBIG = 75
X_SC_V6_LP64_OFF64 = 76
X_SC_V6_LPBIG_OFFBIG = 77
X_SC_VERSION = 8
X_SC_XOPEN_SHM = 30
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_NULL_H_ = 0
X_SYS_STDINT_H_ = 0
X_SYS_TYPES_H_ = 0
X_SYS_UNISTD_H_ = 0
X_UNISTD_H_ = 0
X_X86_64_BSWAP_H_ = 0
X_X86_64_CDEFS_H_ = 0
X_X86_64_TYPES_H_ = 0
X_XOPEN_SHM = 0
BIG_ENDIAN = 4321 // endian.h:101:1:
BYTE_ORDER = 1234 // endian.h:103:1:
FDATASYNC = 0x0010 // unistd.h:196:1:
FDISKSYNC = 0x0040 // unistd.h:198:1:
FD_SETSIZE = 256 // fd_set.h:59:1:
FFILESYNC = 0x0020 // unistd.h:197:1:
F_LOCK = 1 // unistd.h:253:1:
F_OK = 0 // unistd.h:172:1:
F_TEST = 3 // unistd.h:255:1:
F_TLOCK = 2 // unistd.h:254:1:
F_ULOCK = 0 // unistd.h:252:1:
GETPASS_7BIT = 0x080 // unistd.h:351:1:
GETPASS_BUF_LIMIT = 0x004 // unistd.h:346:1:
GETPASS_ECHO = 0x020 // unistd.h:349:1:
GETPASS_ECHO_NL = 0x400 // unistd.h:354:1:
GETPASS_ECHO_STAR = 0x040 // unistd.h:350:1:
GETPASS_FAIL_EOF = 0x002 // unistd.h:345:1:
GETPASS_FORCE_LOWER = 0x100 // unistd.h:352:1:
GETPASS_FORCE_UPPER = 0x200 // unistd.h:353:1:
GETPASS_NEED_TTY = 0x001 // unistd.h:344:1:
GETPASS_NO_BEEP = 0x010 // unistd.h:348:1:
GETPASS_NO_SIGNAL = 0x008 // unistd.h:347: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:
L_INCR = 1 // unistd.h:185:1:
L_SET = 0 // unistd.h:184:1:
L_XTND = 2 // unistd.h:186: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:
R_OK = 0x04 // unistd.h:175:1:
SEEK_CUR = 1 // unistd.h:179:1:
SEEK_END = 2 // unistd.h:180:1:
SEEK_SET = 0 // unistd.h:178: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:
STDERR_FILENO = 2 // unistd.h:82:1:
STDIN_FILENO = 0 // unistd.h:80:1:
STDOUT_FILENO = 1 // unistd.h:81: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:
W_OK = 0x02 // unistd.h:174:1:
X_OK = 0x01 // unistd.h:173: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_CS_PATH = 1 // unistd.h:338: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_O_SC_CLK_TCK = 3 // unistd.h:227:1:
X_PC_2_SYMLINKS = 13 // unistd.h:214:1:
X_PC_ACL_EXTENDED = 14 // unistd.h:215:1:
X_PC_CHOWN_RESTRICTED = 7 // unistd.h:208:1:
X_PC_FILESIZEBITS = 11 // unistd.h:212:1:
X_PC_LINK_MAX = 1 // unistd.h:202:1:
X_PC_MAX_CANON = 2 // unistd.h:203:1:
X_PC_MAX_INPUT = 3 // unistd.h:204:1:
X_PC_MIN_HOLE_SIZE = 15 // unistd.h:218:1:
X_PC_NAME_MAX = 4 // unistd.h:205:1:
X_PC_NO_TRUNC = 8 // unistd.h:209:1:
X_PC_PATH_MAX = 5 // unistd.h:206:1:
X_PC_PIPE_BUF = 6 // unistd.h:207:1:
X_PC_SYMLINK_MAX = 12 // unistd.h:213:1:
X_PC_SYNC_IO = 10 // unistd.h:211:1:
X_PC_VDISABLE = 9 // unistd.h:210:1:
X_PDP_ENDIAN = 3412 // endian.h:45:1:
X_POSIX2_C_BIND = 200112 // unistd.h:166:1:
X_POSIX2_VERSION = 200112 // unistd.h:63:1:
X_POSIX_ASYNCHRONOUS_IO = 200112 // unistd.h:89:1:
X_POSIX_BARRIERS = 200112 // unistd.h:91:1:
X_POSIX_CHOWN_RESTRICTED = 1 // unistd.h:93:1:
X_POSIX_CLOCK_SELECTION = -1 // unistd.h:95:1:
X_POSIX_CPUTIME = 200112 // unistd.h:97:1:
X_POSIX_FSYNC = 1 // unistd.h:101:1:
X_POSIX_IPV6 = 0 // unistd.h:103:1:
X_POSIX_JOB_CONTROL = 1 // unistd.h:105:1:
X_POSIX_MAPPED_FILES = 1 // unistd.h:107:1:
X_POSIX_MEMLOCK = 1 // unistd.h:109:1:
X_POSIX_MEMLOCK_RANGE = 1 // unistd.h:111:1:
X_POSIX_MEMORY_PROTECTION = 1 // unistd.h:113:1:
X_POSIX_MESSAGE_PASSING = 200112 // unistd.h:115:1:
X_POSIX_MONOTONIC_CLOCK = 200112 // unistd.h:117:1:
X_POSIX_NO_TRUNC = 1 // unistd.h:119:1:
X_POSIX_PRIORITIZED_IO = -1 // unistd.h:121:1:
X_POSIX_PRIORITY_SCHEDULING = 200112 // unistd.h:123:1:
X_POSIX_RAW_SOCKETS = 200112 // unistd.h:125:1:
X_POSIX_READER_WRITER_LOCKS = 200112 // unistd.h:127:1:
X_POSIX_REGEXP = 1 // unistd.h:131:1:
X_POSIX_SEMAPHORES = 0 // unistd.h:133:1:
X_POSIX_SHARED_MEMORY_OBJECTS = 0 // unistd.h:135:1:
X_POSIX_SHELL = 1 // unistd.h:137:1:
X_POSIX_SPAWN = 200809 // unistd.h:68:1:
X_POSIX_SPIN_LOCKS = 200112 // unistd.h:139:1:
X_POSIX_SYNCHRONIZED_IO = 1 // unistd.h:143:1:
X_POSIX_THREADS = 200112 // unistd.h:145:1:
X_POSIX_THREAD_ATTR_STACKADDR = 200112 // unistd.h:149:1:
X_POSIX_THREAD_ATTR_STACKSIZE = 200112 // unistd.h:147:1:
X_POSIX_THREAD_CPUTIME = 200112 // unistd.h:151:1:
X_POSIX_THREAD_PRIO_PROTECT = 200112 // unistd.h:153:1:
X_POSIX_THREAD_SAFE_FUNCTIONS = 200112 // unistd.h:155:1:
X_POSIX_TIMERS = 200112 // unistd.h:159:1:
X_POSIX_VERSION = 200112 // unistd.h:62: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_SC_2_CHAR_TERM = 20 // unistd.h:244:1:
X_SC_2_C_BIND = 18 // unistd.h:242:1:
X_SC_2_C_DEV = 19 // unistd.h:243:1:
X_SC_2_FORT_DEV = 21 // unistd.h:245:1:
X_SC_2_FORT_RUN = 22 // unistd.h:246:1:
X_SC_2_LOCALEDEF = 23 // unistd.h:247:1:
X_SC_2_PBS = 80 // unistd.h:305:1:
X_SC_2_PBS_ACCOUNTING = 81 // unistd.h:306:1:
X_SC_2_PBS_CHECKPOINT = 82 // unistd.h:307:1:
X_SC_2_PBS_LOCATE = 83 // unistd.h:308:1:
X_SC_2_PBS_MESSAGE = 84 // unistd.h:309:1:
X_SC_2_PBS_TRACK = 85 // unistd.h:310:1:
X_SC_2_SW_DEV = 24 // unistd.h:248:1:
X_SC_2_UPE = 25 // unistd.h:249:1:
X_SC_2_VERSION = 17 // unistd.h:241:1:
X_SC_AIO_LISTIO_MAX = 51 // unistd.h:276:1:
X_SC_AIO_MAX = 52 // unistd.h:277:1:
X_SC_ARG_MAX = 1 // unistd.h:225:1:
X_SC_ASYNCHRONOUS_IO = 50 // unistd.h:275:1:
X_SC_ATEXIT_MAX = 40 // unistd.h:265:1:
X_SC_BARRIERS = 43 // unistd.h:268:1:
X_SC_BC_BASE_MAX = 9 // unistd.h:233:1:
X_SC_BC_DIM_MAX = 10 // unistd.h:234:1:
X_SC_BC_SCALE_MAX = 11 // unistd.h:235:1:
X_SC_BC_STRING_MAX = 12 // unistd.h:236:1:
X_SC_CHILD_MAX = 2 // unistd.h:226:1:
X_SC_CLK_TCK = 39 // unistd.h:264:1:
X_SC_CLOCK_SELECTION = 49 // unistd.h:274:1:
X_SC_COLL_WEIGHTS_MAX = 13 // unistd.h:237:1:
X_SC_CPUTIME = 90 // unistd.h:318:1:
X_SC_DELAYTIMER_MAX = 92 // unistd.h:320:1:
X_SC_EXPR_NEST_MAX = 14 // unistd.h:238:1:
X_SC_FSYNC = 29 // unistd.h:254:1:
X_SC_GETGR_R_SIZE_MAX = 47 // unistd.h:272:1:
X_SC_GETPW_R_SIZE_MAX = 48 // unistd.h:273:1:
X_SC_HOST_NAME_MAX = 69 // unistd.h:294:1:
X_SC_IOV_MAX = 32 // unistd.h:257:1:
X_SC_JOB_CONTROL = 6 // unistd.h:230:1:
X_SC_LINE_MAX = 15 // unistd.h:239:1:
X_SC_LOGIN_NAME_MAX = 37 // unistd.h:262:1:
X_SC_MAPPED_FILES = 33 // unistd.h:258:1:
X_SC_MEMLOCK = 34 // unistd.h:259:1:
X_SC_MEMLOCK_RANGE = 35 // unistd.h:260:1:
X_SC_MEMORY_PROTECTION = 36 // unistd.h:261:1:
X_SC_MESSAGE_PASSING = 53 // unistd.h:278:1:
X_SC_MONOTONIC_CLOCK = 38 // unistd.h:263:1:
X_SC_MQ_OPEN_MAX = 54 // unistd.h:279:1:
X_SC_MQ_PRIO_MAX = 55 // unistd.h:280:1:
X_SC_NGROUPS_MAX = 4 // unistd.h:228:1:
X_SC_NPROCESSORS_CONF = 1001 // unistd.h:329:1:
X_SC_NPROCESSORS_ONLN = 1002 // unistd.h:330:1:
X_SC_OPEN_MAX = 5 // unistd.h:229:1:
X_SC_PAGESIZE = 28 // unistd.h:252:1:
X_SC_PAGE_SIZE = 28 // unistd.h:253:1:
X_SC_PASS_MAX = 70 // unistd.h:295:1:
X_SC_PHYS_PAGES = 121 // unistd.h:325:1:
X_SC_PRIORITY_SCHEDULING = 56 // unistd.h:281:1:
X_SC_READER_WRITER_LOCKS = 46 // unistd.h:271:1:
X_SC_REALTIME_SIGNALS = 94 // unistd.h:322:1:
X_SC_REGEXP = 71 // unistd.h:296:1:
X_SC_RE_DUP_MAX = 16 // unistd.h:240:1:
X_SC_SAVED_IDS = 7 // unistd.h:231:1:
X_SC_SCHED_PRI_MAX = 2003 // unistd.h:334:1:
X_SC_SCHED_PRI_MIN = 2002 // unistd.h:333:1:
X_SC_SCHED_RT_TS = 2001 // unistd.h:332:1:
X_SC_SEMAPHORES = 42 // unistd.h:267:1:
X_SC_SEM_NSEMS_MAX = 89 // unistd.h:317:1:
X_SC_SHARED_MEMORY_OBJECTS = 87 // unistd.h:314:1:
X_SC_SHELL = 72 // unistd.h:297:1:
X_SC_SIGQUEUE_MAX = 93 // unistd.h:321:1:
X_SC_SPAWN = 86 // unistd.h:313:1:
X_SC_SPIN_LOCKS = 45 // unistd.h:270:1:
X_SC_STREAM_MAX = 26 // unistd.h:250:1:
X_SC_SYMLOOP_MAX = 73 // unistd.h:298:1:
X_SC_SYNCHRONIZED_IO = 31 // unistd.h:256:1:
X_SC_THREADS = 41 // unistd.h:266:1:
X_SC_THREAD_ATTR_STACKADDR = 61 // unistd.h:286:1:
X_SC_THREAD_ATTR_STACKSIZE = 62 // unistd.h:287:1:
X_SC_THREAD_CPUTIME = 91 // unistd.h:319:1:
X_SC_THREAD_DESTRUCTOR_ITERATIONS = 57 // unistd.h:282:1:
X_SC_THREAD_KEYS_MAX = 58 // unistd.h:283:1:
X_SC_THREAD_PRIORITY_SCHEDULING = 63 // unistd.h:288:1:
X_SC_THREAD_PRIO_INHERIT = 64 // unistd.h:289:1:
X_SC_THREAD_PRIO_PROTECT = 65 // unistd.h:290:1:
X_SC_THREAD_PROCESS_SHARED = 66 // unistd.h:291:1:
X_SC_THREAD_SAFE_FUNCTIONS = 67 // unistd.h:292:1:
X_SC_THREAD_STACK_MIN = 59 // unistd.h:284:1:
X_SC_THREAD_THREADS_MAX = 60 // unistd.h:285:1:
X_SC_TIMERS = 44 // unistd.h:269:1:
X_SC_TIMER_MAX = 88 // unistd.h:316:1:
X_SC_TTY_NAME_MAX = 68 // unistd.h:293:1:
X_SC_TZNAME_MAX = 27 // unistd.h:251:1:
X_SC_V6_ILP32_OFF32 = 74 // unistd.h:301:1:
X_SC_V6_ILP32_OFFBIG = 75 // unistd.h:302:1:
X_SC_V6_LP64_OFF64 = 76 // unistd.h:303:1:
X_SC_V6_LPBIG_OFFBIG = 77 // unistd.h:304:1:
X_SC_VERSION = 8 // unistd.h:232:1:
X_SC_XOPEN_SHM = 30 // unistd.h:255: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_NULL_H_ = 0 // null.h:9:1:
X_SYS_STDINT_H_ = 0 // stdint.h:33:1:
X_SYS_TYPES_H_ = 0 // types.h:40:1:
X_SYS_UNISTD_H_ = 0 // unistd.h:35:1:
X_UNISTD_H_ = 0 // unistd.h:64: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:
X_XOPEN_SHM = 0 // unistd.h:169:1:
)
type Ptrdiff_t = int64 /* <builtin>:3:26 */
@ -558,15 +556,6 @@ type X__uintptr_t = uint64 /* common_int_types.h:59:26 */
// _LARGEFILE_SOURCE Large File Support
// <http://ftp.sas.com/standards/large.file/x_open.20Mar96.html>
// DO NOT EDIT THIS FILE.
//
// It has been auto-edited by fixincludes from:
//
// "/usr/include/sys/types.h"
//
// This had to be done to correct non-standard usages in the
// original, manufacturer supplied header file.
// $NetBSD: types.h,v 1.102 2018/11/06 16:26:44 maya Exp $
// -
@ -972,32 +961,32 @@ type X__wctype_t = uintptr /* ansi.h:54:31 */
// mbstate_t is an opaque object to keep conversion state, during multibyte
// stream conversions. The content must not be referenced by user programs.
type X__mbstate_t = struct {
F__mbstateL X__int64_t
_ [120]byte
F__mbstateL X__int64_t
F__ccgo_pad1 [120]byte
} /* ansi.h:63:3 */
type X__va_list = X__builtin_va_list /* ansi.h:72:27 */
type Int8_t = X__int8_t /* types.h:63:18 */
type Int8_t = X__int8_t /* types.h:54:18 */
type Uint8_t = X__uint8_t /* types.h:68:19 */
type Uint8_t = X__uint8_t /* types.h:59:19 */
type Int16_t = X__int16_t /* types.h:73:19 */
type Int16_t = X__int16_t /* types.h:64:19 */
type Uint16_t = X__uint16_t /* types.h:78:20 */
type Uint16_t = X__uint16_t /* types.h:69:20 */
type Int32_t = X__int32_t /* types.h:83:19 */
type Int32_t = X__int32_t /* types.h:74:19 */
type Uint32_t = X__uint32_t /* types.h:88:20 */
type Uint32_t = X__uint32_t /* types.h:79:20 */
type Int64_t = X__int64_t /* types.h:93:19 */
type Int64_t = X__int64_t /* types.h:84:19 */
type Uint64_t = X__uint64_t /* types.h:98:20 */
type Uint64_t = X__uint64_t /* types.h:89:20 */
type U_int8_t = Uint8_t /* types.h:102:18 */
type U_int16_t = Uint16_t /* types.h:103:18 */
type U_int32_t = Uint32_t /* types.h:104:18 */
type U_int64_t = Uint64_t /* types.h:105:18 */
type U_int8_t = Uint8_t /* types.h:93:18 */
type U_int16_t = Uint16_t /* types.h:94:18 */
type U_int32_t = Uint32_t /* types.h:95:18 */
type U_int64_t = Uint64_t /* types.h:96:18 */
// $NetBSD: endian.h,v 1.1 2003/04/26 18:39:40 fvdl Exp $
@ -1160,15 +1149,6 @@ type U_int64_t = Uint64_t /* types.h:105:18 */
//
// @(#)cdefs.h 8.8 (Berkeley) 1/9/95
// DO NOT EDIT THIS FILE.
//
// It has been auto-edited by fixincludes from:
//
// "/usr/include/sys/types.h"
//
// This had to be done to correct non-standard usages in the
// original, manufacturer supplied header file.
// $NetBSD: types.h,v 1.102 2018/11/06 16:26:44 maya Exp $
// -
@ -1402,19 +1382,19 @@ type Uint_fast64_t = uint64 /* common_int_mwgwtypes.h:62:32 */
type Intmax_t = int64 /* common_int_mwgwtypes.h:66:33 */
type Uintmax_t = uint64 /* common_int_mwgwtypes.h:67:32 */
type U_char = uint8 /* types.h:110:23 */
type U_short = uint16 /* types.h:111:24 */
type U_int = uint32 /* types.h:112:22 */
type U_long = uint64 /* types.h:113:23 */
type U_char = uint8 /* types.h:101:23 */
type U_short = uint16 /* types.h:102:24 */
type U_int = uint32 /* types.h:103:22 */
type U_long = uint64 /* types.h:104:23 */
type Unchar = uint8 /* types.h:115:23 */ // Sys V compatibility
type Ushort = uint16 /* types.h:116:24 */ // Sys V compatibility
type Uint = uint32 /* types.h:117:22 */ // Sys V compatibility
type Ulong = uint64 /* types.h:118:23 */ // Sys V compatibility
type Unchar = uint8 /* types.h:106:23 */ // Sys V compatibility
type Ushort = uint16 /* types.h:107:24 */ // Sys V compatibility
type Uint = uint32 /* types.h:108:22 */ // Sys V compatibility
type Ulong = uint64 /* types.h:109:23 */ // Sys V compatibility
type U_quad_t = Uint64_t /* types.h:121:18 */ // quads
type Quad_t = Int64_t /* types.h:122:18 */
type Qaddr_t = uintptr /* types.h:123:16 */
type U_quad_t = Uint64_t /* types.h:112:18 */ // quads
type Quad_t = Int64_t /* types.h:113:18 */
type Qaddr_t = uintptr /* types.h:114:16 */
// The types longlong_t and u_longlong_t exist for use with the
// Sun-derived XDR routines involving these types, and their usage
@ -1424,69 +1404,69 @@ type Qaddr_t = uintptr /* types.h:123:16 */
// respectively. Portable programs that need 64-bit types should use
// the C99 types int64_t and uint64_t instead.
type Longlong_t = Int64_t /* types.h:135:18 */ // for XDR
type U_longlong_t = Uint64_t /* types.h:136:18 */ // for XDR
type Longlong_t = Int64_t /* types.h:126:18 */ // for XDR
type U_longlong_t = Uint64_t /* types.h:127:18 */ // for XDR
type Blkcnt_t = Int64_t /* types.h:138:18 */ // fs block count
type Blksize_t = Int32_t /* types.h:139:18 */ // fs optimal block size
type Blkcnt_t = Int64_t /* types.h:129:18 */ // fs block count
type Blksize_t = Int32_t /* types.h:130:18 */ // fs optimal block size
type Fsblkcnt_t = X__fsblkcnt_t /* types.h:142:22 */ // fs block count (statvfs)
type Fsblkcnt_t = X__fsblkcnt_t /* types.h:133:22 */ // fs block count (statvfs)
type Fsfilcnt_t = X__fsfilcnt_t /* types.h:147:22 */ // fs file count
type Fsfilcnt_t = X__fsfilcnt_t /* types.h:138:22 */ // fs file count
// We don't and shouldn't use caddr_t in the kernel anymore
type Caddr_t = X__caddr_t /* types.h:154:19 */ // core address
type Caddr_t = X__caddr_t /* types.h:145:19 */ // core address
type Daddr_t = Int64_t /* types.h:163:18 */ // disk address
type Daddr_t = Int64_t /* types.h:154:18 */ // disk address
type Dev_t = Uint64_t /* types.h:166:18 */ // device number
type Fixpt_t = Uint32_t /* types.h:167:18 */ // fixed point number
type Dev_t = Uint64_t /* types.h:157:18 */ // device number
type Fixpt_t = Uint32_t /* types.h:158:18 */ // fixed point number
type Gid_t = X__gid_t /* types.h:170:18 */ // group id
type Gid_t = X__gid_t /* types.h:161:18 */ // group id
type Id_t = Uint32_t /* types.h:174:18 */ // group id, process id or user id
type Ino_t = Uint64_t /* types.h:175:18 */ // inode number
type Key_t = int64 /* types.h:176:15 */ // IPC key (for Sys V IPC)
type Id_t = Uint32_t /* types.h:165:18 */ // group id, process id or user id
type Ino_t = Uint64_t /* types.h:166:18 */ // inode number
type Key_t = int64 /* types.h:167:15 */ // IPC key (for Sys V IPC)
type Mode_t = X__mode_t /* types.h:179:18 */ // permissions
type Mode_t = X__mode_t /* types.h:170:18 */ // permissions
type Nlink_t = Uint32_t /* types.h:183:18 */ // link count
type Nlink_t = Uint32_t /* types.h:174:18 */ // link count
type Off_t = X__off_t /* types.h:186:18 */ // file offset
type Off_t = X__off_t /* types.h:177:18 */ // file offset
type Pid_t = X__pid_t /* types.h:191:18 */ // process id
type Lwpid_t = Int32_t /* types.h:194:18 */ // LWP id
type Rlim_t = Uint64_t /* types.h:195:18 */ // resource limit
type Segsz_t = Int32_t /* types.h:196:18 */ // segment size
type Swblk_t = Int32_t /* types.h:197:18 */ // swap offset
type Pid_t = X__pid_t /* types.h:182:18 */ // process id
type Lwpid_t = Int32_t /* types.h:185:18 */ // LWP id
type Rlim_t = Uint64_t /* types.h:186:18 */ // resource limit
type Segsz_t = Int32_t /* types.h:187:18 */ // segment size
type Swblk_t = Int32_t /* types.h:188:18 */ // swap offset
type Uid_t = X__uid_t /* types.h:200:18 */ // user id
type Uid_t = X__uid_t /* types.h:191:18 */ // user id
type Mqd_t = int32 /* types.h:204:14 */
type Mqd_t = int32 /* types.h:195:14 */
type Cpuid_t = uint64 /* types.h:206:23 */
type Cpuid_t = uint64 /* types.h:197:23 */
type Psetid_t = int32 /* types.h:208:14 */
type Psetid_t = int32 /* types.h:199:14 */
type X__cpu_simple_lock_t = X__cpu_simple_lock_nv_t /* types.h:210:41 */
type X__cpu_simple_lock_t = X__cpu_simple_lock_nv_t /* types.h:201:41 */
// Major, minor numbers, dev_t's.
type X__devmajor_t = Int32_t /* types.h:264:17 */
type X__devminor_t = Int32_t /* types.h:264:31 */
type X__devmajor_t = Int32_t /* types.h:255:17 */
type X__devminor_t = Int32_t /* types.h:255:31 */
type Clock_t = uint32 /* types.h:277:24 */
type Clock_t = uint32 /* types.h:268:24 */
type Ssize_t = int64 /* types.h:301:24 */
type Ssize_t = int64 /* types.h:284:24 */
type Time_t = X__int64_t /* types.h:306:23 */
type Time_t = X__int64_t /* types.h:289:23 */
type Clockid_t = int32 /* types.h:311:26 */
type Clockid_t = int32 /* types.h:294:26 */
type Timer_t = int32 /* types.h:316:24 */
type Timer_t = int32 /* types.h:299:24 */
type Suseconds_t = int32 /* types.h:321:27 */
type Suseconds_t = int32 /* types.h:304:27 */
type Useconds_t = uint32 /* types.h:326:26 */
type Useconds_t = uint32 /* types.h:309:26 */
// $NetBSD: fd_set.h,v 1.7 2018/06/24 12:05:40 kamil Exp $
@ -1666,9 +1646,9 @@ type Fd_set = Fd_set1 /* fd_set.h:68:3 */
// Expose our internals if we are not required to hide them.
type Kauth_cred_t = uintptr /* types.h:335:27 */
type Kauth_cred_t = uintptr /* types.h:318:27 */
type Pri_t = int32 /* types.h:337:13 */
type Pri_t = int32 /* types.h:320:13 */
// $NetBSD: pthread_types.h,v 1.23 2017/09/09 23:21:45 kamil Exp $
@ -1729,24 +1709,24 @@ type X__pthread_mutex_st = struct {
Fptm_pad1 [3]Uint8_t
F__8 struct{ Fptm_ceiling uint8 }
Fptm_pad2 [3]Uint8_t
_ [4]byte
F__ccgo_pad1 [4]byte
Fptm_owner Pthread_t
Fptm_waiters uintptr
Fptm_recursed uint32
_ [4]byte
F__ccgo_pad2 [4]byte
Fptm_spare2 uintptr
} /* pthread_types.h:66:1 */
type X__pthread_mutexattr_st = struct {
Fptma_magic uint32
_ [4]byte
F__ccgo_pad1 [4]byte
Fptma_private uintptr
} /* pthread_types.h:67:1 */
type X__pthread_cond_st = struct {
Fptc_magic uint32
Fptc_lock X__pthread_spin_t
_ [3]byte
F__ccgo_pad1 [3]byte
Fptc_waiters Pthread_queue_t
Fptc_mutex uintptr
Fptc_private uintptr
@ -1754,43 +1734,43 @@ type X__pthread_cond_st = struct {
type X__pthread_condattr_st = struct {
Fptca_magic uint32
_ [4]byte
F__ccgo_pad1 [4]byte
Fptca_private uintptr
} /* pthread_types.h:69:1 */
type X__pthread_rwlock_st = struct {
Fptr_magic uint32
Fptr_interlock X__pthread_spin_t
_ [3]byte
F__ccgo_pad1 [3]byte
Fptr_rblocked Pthread_queue_t
Fptr_wblocked Pthread_queue_t
Fptr_nreaders uint32
_ [4]byte
F__ccgo_pad2 [4]byte
Fptr_owner Pthread_t
Fptr_private uintptr
} /* pthread_types.h:71:1 */
type X__pthread_rwlockattr_st = struct {
Fptra_magic uint32
_ [4]byte
F__ccgo_pad1 [4]byte
Fptra_private uintptr
} /* pthread_types.h:72:1 */
type X__pthread_barrier_st = struct {
Fptb_magic uint32
Fptb_lock Pthread_spin_t
_ [3]byte
F__ccgo_pad1 [3]byte
Fptb_waiters Pthread_queue_t
Fptb_initcount uint32
Fptb_curcount uint32
Fptb_generation uint32
_ [4]byte
F__ccgo_pad2 [4]byte
Fptb_private uintptr
} /* pthread_types.h:73:1 */
type X__pthread_barrierattr_st = struct {
Fptba_magic uint32
_ [4]byte
F__ccgo_pad1 [4]byte
Fptba_private uintptr
} /* pthread_types.h:74:1 */
@ -1801,17 +1781,17 @@ type Pthread_mutexattr_t = X__pthread_mutexattr_st /* pthread_types.h:79:39 */
type Pthread_cond_t = X__pthread_cond_st /* pthread_types.h:80:34 */
type Pthread_condattr_t = X__pthread_condattr_st /* pthread_types.h:81:38 */
type X__pthread_once_st = struct {
Fpto_mutex Pthread_mutex_t
Fpto_done int32
_ [4]byte
Fpto_mutex Pthread_mutex_t
Fpto_done int32
F__ccgo_pad1 [4]byte
} /* pthread_types.h:82:9 */
type Pthread_once_t = X__pthread_once_st /* pthread_types.h:82:34 */
type X__pthread_spinlock_st = struct {
Fpts_magic uint32
Fpts_spin X__pthread_spin_t
_ [3]byte
Fpts_flags int32
Fpts_magic uint32
Fpts_spin X__pthread_spin_t
F__ccgo_pad1 [3]byte
Fpts_flags int32
} /* pthread_types.h:83:9 */
type Pthread_spinlock_t = X__pthread_spinlock_st /* pthread_types.h:83:38 */

View File

@ -1,4 +1,4 @@
// Code generated by 'ccgo unistd/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o unistd/unistd_windows_386.go -pkgname unistd', DO NOT EDIT.
// Code generated by 'ccgo unistd/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o unistd/unistd_windows_386.go -pkgname unistd', DO NOT EDIT.
package unistd
@ -15,163 +15,163 @@ var _ atomic.Value
var _ unsafe.Pointer
const (
DUMMYSTRUCTNAME = 0
DUMMYSTRUCTNAME1 = 0
DUMMYSTRUCTNAME2 = 0
DUMMYSTRUCTNAME3 = 0
DUMMYSTRUCTNAME4 = 0
DUMMYSTRUCTNAME5 = 0
DUMMYUNIONNAME = 0
DUMMYUNIONNAME1 = 0
DUMMYUNIONNAME2 = 0
DUMMYUNIONNAME3 = 0
DUMMYUNIONNAME4 = 0
DUMMYUNIONNAME5 = 0
DUMMYUNIONNAME6 = 0
DUMMYUNIONNAME7 = 0
DUMMYUNIONNAME8 = 0
DUMMYUNIONNAME9 = 0
FTRUNCATE_DEFINED = 0
F_OK = 0
MINGW_DDK_H = 0
MINGW_DDRAW_VERSION = 7
MINGW_HAS_DDK_H = 1
MINGW_HAS_DDRAW_H = 1
MINGW_HAS_SECURE_API = 1
MINGW_SDK_INIT = 0
OLD_P_OVERLAY = 2
P_DETACH = 4
P_NOWAIT = 1
P_NOWAITO = 3
P_OVERLAY = 2
P_WAIT = 0
R_OK = 4
SEEK_CUR = 1
SEEK_END = 2
SEEK_SET = 0
STDERR_FILENO = 2
STDIN_FILENO = 0
STDOUT_FILENO = 1
UNALIGNED = 0
USE___UUIDOF = 0
WAIT_CHILD = 0
WAIT_GRANDCHILD = 1
WIN32 = 1
WINNT = 1
WIN_PTHREADS_UNISTD_H = 0
W_OK = 2
X_OK = 1
X_AGLOBAL = 0
X_ANONYMOUS_STRUCT = 0
X_ANONYMOUS_UNION = 0
X_ARGMAX = 100
X_A_ARCH = 0x20
X_A_HIDDEN = 0x02
X_A_NORMAL = 0x00
X_A_RDONLY = 0x01
X_A_SUBDIR = 0x10
X_A_SYSTEM = 0x04
X_CONST_RETURN = 0
X_CRTNOALIAS = 0
X_CRTRESTRICT = 0
X_CRT_ALTERNATIVE_IMPORTED = 0
X_CRT_DIRECTORY_DEFINED = 0
X_CRT_GETPID_DEFINED = 0
X_CRT_MANAGED_HEAP_DEPRECATE = 0
X_CRT_MEMORY_DEFINED = 0
X_CRT_PACKING = 8
X_CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES = 0
X_CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES_MEMORY = 0
X_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES = 0
X_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_COUNT = 0
X_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_MEMORY = 0
X_CRT_SWAB_DEFINED = 0
X_CRT_SYSTEM_DEFINED = 0
X_CRT_TERMINATE_DEFINED = 0
X_CRT_WSYSTEM_DEFINED = 0
X_DEV_T_DEFINED = 0
X_DLL = 0
X_ERRCODE_DEFINED = 0
X_FILE_OFFSET_BITS = 64
X_FILE_OFFSET_BITS_SET_FTRUNCATE = 0
X_FILE_OFFSET_BITS_SET_LSEEK = 0
X_FILE_OFFSET_BITS_SET_OFFT = 0
X_FINDDATA_T_DEFINED = 0
X_FSIZE_T_DEFINED = 0
X_INC_CORECRT_STARTUP = 0
X_INC_CRTDEFS = 0
X_INC_CRTDEFS_MACRO = 0
X_INC_MINGW_SECAPI = 0
X_INC_PROCESS = 0
X_INC_STRING = 0
X_INC_STRING_S = 0
X_INC_TYPES = 0
X_INC_VADEFS = 0
X_INC__MINGW_H = 0
X_INO_T_DEFINED = 0
X_INT128_DEFINED = 0
X_INTEGRAL_MAX_BITS = 64
X_INTPTR_T_DEFINED = 0
X_IO_H_ = 0
X_MODE_T_ = 0
X_MT = 0
X_M_IX86 = 600
X_NLSCMPERROR = 2147483647
X_NLSCMP_DEFINED = 0
X_OFF64_T_DEFINED = 0
X_OFF_T_ = 0
X_OFF_T_DEFINED = 0
X_OLD_P_OVERLAY = 2
X_PGLOBAL = 0
X_PID_T_ = 0
X_POSIX_BARRIERS = 200112
X_POSIX_CLOCK_SELECTION = 200112
X_POSIX_READER_WRITER_LOCKS = 200112
X_POSIX_SEMAPHORES = 200112
X_POSIX_SPIN_LOCKS = 200112
X_POSIX_THREADS = 200112
X_POSIX_THREAD_SAFE_FUNCTIONS = 200112
X_POSIX_TIMEOUTS = 200112
X_PTRDIFF_T_ = 0
X_PTRDIFF_T_DEFINED = 0
X_P_DETACH = 4
X_P_NOWAIT = 1
X_P_NOWAITO = 3
X_P_OVERLAY = 2
X_P_WAIT = 0
X_RSIZE_T_DEFINED = 0
X_SECURECRT_FILL_BUFFER_PATTERN = 0xFD
X_SIGSET_T_ = 0
X_SIZE_T_DEFINED = 0
X_SPAWNV_DEFINED = 0
X_SSIZE_T_DEFINED = 0
X_TAGLC_ID_DEFINED = 0
X_THREADLOCALEINFO = 0
X_TIME32_T_DEFINED = 0
X_TIME64_T_DEFINED = 0
X_TIMESPEC_DEFINED = 0
X_TIME_T_DEFINED = 0
X_UINTPTR_T_DEFINED = 0
X_UNISTD_H = 0
X_USE_32BIT_TIME_T = 0
X_VA_LIST_DEFINED = 0
X_W64 = 0
X_WAIT_CHILD = 0
X_WAIT_GRANDCHILD = 1
X_WCHAR_T_DEFINED = 0
X_WCTYPE_T_DEFINED = 0
X_WConst_return = 0
X_WEXEC_DEFINED = 0
X_WFINDDATA_T_DEFINED = 0
X_WIN32 = 1
X_WIN32_WINNT = 0x502
X_WINT_T = 0
X_WIO_DEFINED = 0
X_WSPAWN_DEFINED = 0
X_WSTRING_DEFINED = 0
X_WSTRING_S_DEFINED = 0
X_X86_ = 1
I386 = 1
DUMMYSTRUCTNAME = 0 // _mingw.h:519:1:
DUMMYSTRUCTNAME1 = 0 // _mingw.h:520:1:
DUMMYSTRUCTNAME2 = 0 // _mingw.h:521:1:
DUMMYSTRUCTNAME3 = 0 // _mingw.h:522:1:
DUMMYSTRUCTNAME4 = 0 // _mingw.h:523:1:
DUMMYSTRUCTNAME5 = 0 // _mingw.h:524:1:
DUMMYUNIONNAME = 0 // _mingw.h:497:1:
DUMMYUNIONNAME1 = 0 // _mingw.h:498:1:
DUMMYUNIONNAME2 = 0 // _mingw.h:499:1:
DUMMYUNIONNAME3 = 0 // _mingw.h:500:1:
DUMMYUNIONNAME4 = 0 // _mingw.h:501:1:
DUMMYUNIONNAME5 = 0 // _mingw.h:502:1:
DUMMYUNIONNAME6 = 0 // _mingw.h:503:1:
DUMMYUNIONNAME7 = 0 // _mingw.h:504:1:
DUMMYUNIONNAME8 = 0 // _mingw.h:505:1:
DUMMYUNIONNAME9 = 0 // _mingw.h:506:1:
FTRUNCATE_DEFINED = 0 // unistd.h:56:1:
F_OK = 0 // io.h:182:1:
MINGW_DDK_H = 0 // _mingw_ddk.h:2:1:
MINGW_HAS_DDK_H = 1 // _mingw_ddk.h:4:1:
MINGW_HAS_SECURE_API = 1 // _mingw.h:602:1:
MINGW_SDK_INIT = 0 // _mingw.h:598:1:
OLD_P_OVERLAY = 2 // process.h:149:1:
P_DETACH = 4 // process.h:151:1:
P_NOWAIT = 1 // process.h:147:1:
P_NOWAITO = 3 // process.h:150:1:
P_OVERLAY = 2 // process.h:148:1:
P_WAIT = 0 // process.h:146:1:
R_OK = 4 // io.h:185:1:
SEEK_CUR = 1 // unistd.h:17:1:
SEEK_END = 2 // unistd.h:18:1:
SEEK_SET = 0 // unistd.h:16:1:
STDERR_FILENO = 2 // unistd.h:25:1:
STDIN_FILENO = 0 // unistd.h:23:1:
STDOUT_FILENO = 1 // unistd.h:24:1:
UNALIGNED = 0 // _mingw.h:384:1:
USE___UUIDOF = 0 // _mingw.h:77:1:
WAIT_CHILD = 0 // process.h:152:1:
WAIT_GRANDCHILD = 1 // process.h:153:1:
WIN32 = 1 // <predefined>:258:1:
WINNT = 1 // <predefined>:306:1:
WIN_PTHREADS_UNISTD_H = 0 // pthread_unistd.h:24:1:
W_OK = 2 // io.h:184:1:
X_OK = 1 // io.h:183:1:
X_AGLOBAL = 0 // _mingw.h:346:1:
X_ANONYMOUS_STRUCT = 0 // _mingw.h:474:1:
X_ANONYMOUS_UNION = 0 // _mingw.h:473:1:
X_ARGMAX = 100 // _mingw.h:402:1:
X_A_ARCH = 0x20 // io.h:156:1:
X_A_HIDDEN = 0x02 // io.h:153:1:
X_A_NORMAL = 0x00 // io.h:151:1:
X_A_RDONLY = 0x01 // io.h:152:1:
X_A_SUBDIR = 0x10 // io.h:155:1:
X_A_SYSTEM = 0x04 // io.h:154:1:
X_CONST_RETURN = 0 // _mingw.h:377:1:
X_CRTNOALIAS = 0 // corecrt.h:29:1:
X_CRTRESTRICT = 0 // corecrt.h:33:1:
X_CRT_ALTERNATIVE_IMPORTED = 0 // _mingw.h:313:1:
X_CRT_DIRECTORY_DEFINED = 0 // io.h:214:1:
X_CRT_GETPID_DEFINED = 0 // process.h:157:1:
X_CRT_MANAGED_HEAP_DEPRECATE = 0 // _mingw.h:361:1:
X_CRT_MEMORY_DEFINED = 0 // string.h:44:1:
X_CRT_PACKING = 8 // corecrt.h:14:1:
X_CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES = 0 // _mingw_secapi.h:34:1:
X_CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES_MEMORY = 0 // _mingw_secapi.h:35:1:
X_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES = 0 // _mingw_secapi.h:36:1:
X_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_COUNT = 0 // _mingw_secapi.h:37:1:
X_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_MEMORY = 0 // _mingw_secapi.h:38:1:
X_CRT_SWAB_DEFINED = 0 // unistd.h:92:1:
X_CRT_SYSTEM_DEFINED = 0 // process.h:91:1:
X_CRT_TERMINATE_DEFINED = 0 // process.h:41:1:
X_CRT_USE_WINAPI_FAMILY_DESKTOP_APP = 0 // corecrt.h:501:1:
X_CRT_WSYSTEM_DEFINED = 0 // process.h:120:1:
X_DEV_T_DEFINED = 0 // types.h:50:1:
X_DLL = 0 // _mingw.h:326:1:
X_ERRCODE_DEFINED = 0 // corecrt.h:117:1:
X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
X_FILE_OFFSET_BITS_SET_FTRUNCATE = 0 // unistd.h:85:1:
X_FILE_OFFSET_BITS_SET_LSEEK = 0 // io.h:350:1:
X_FILE_OFFSET_BITS_SET_OFFT = 0 // _mingw_off_t.h:21:1:
X_FINDDATA_T_DEFINED = 0 // io.h:89:1:
X_FSIZE_T_DEFINED = 0 // io.h:30:1:
X_ILP32 = 1 // <predefined>:211:1:
X_INC_CORECRT = 0 // corecrt.h:8:1:
X_INC_CORECRT_STARTUP = 0 // corecrt_startup.h:8:1:
X_INC_CRTDEFS = 0 // crtdefs.h:8:1:
X_INC_CRTDEFS_MACRO = 0 // _mingw_mac.h:8:1:
X_INC_MINGW_SECAPI = 0 // _mingw_secapi.h:8:1:
X_INC_PROCESS = 0 // process.h:7:1:
X_INC_STRING = 0 // string.h:7:1:
X_INC_STRING_S = 0 // string_s.h:7:1:
X_INC_TYPES = 0 // types.h:7:1:
X_INC_VADEFS = 0 // vadefs.h:7:1:
X_INC__MINGW_H = 0 // _mingw.h:8:1:
X_INO_T_DEFINED = 0 // types.h:42:1:
X_INT128_DEFINED = 0 // _mingw.h:237:1:
X_INTEGRAL_MAX_BITS = 64 // <predefined>:320:1:
X_INTPTR_T_DEFINED = 0 // corecrt.h:62:1:
X_IO_H_ = 0 // io.h:7:1:
X_MODE_T_ = 0 // types.h:73:1:
X_MT = 0 // _mingw.h:330:1:
X_M_IX86 = 600 // _mingw_mac.h:54:1:
X_NLSCMPERROR = 2147483647 // string.h:26:1:
X_NLSCMP_DEFINED = 0 // string.h:25:1:
X_OFF64_T_DEFINED = 0 // _mingw_off_t.h:12:1:
X_OFF_T_ = 0 // _mingw_off_t.h:4:1:
X_OFF_T_DEFINED = 0 // _mingw_off_t.h:2:1:
X_OLD_P_OVERLAY = 2 // process.h:23:1:
X_PGLOBAL = 0 // _mingw.h:342:1:
X_PID_T_ = 0 // types.h:58:1:
X_POSIX_BARRIERS = 200112 // pthread_unistd.h:130:1:
X_POSIX_CLOCK_SELECTION = 200112 // pthread_unistd.h:173:1:
X_POSIX_READER_WRITER_LOCKS = 200112 // pthread_unistd.h:101:1:
X_POSIX_SEMAPHORES = 200112 // pthread_unistd.h:190:1:
X_POSIX_SPIN_LOCKS = 200112 // pthread_unistd.h:115:1:
X_POSIX_THREADS = 200112 // pthread_unistd.h:81:1:
X_POSIX_TIMEOUTS = 200112 // pthread_unistd.h:145:1:
X_PTRDIFF_T_ = 0 // corecrt.h:90:1:
X_PTRDIFF_T_DEFINED = 0 // corecrt.h:88:1:
X_P_DETACH = 4 // process.h:25:1:
X_P_NOWAIT = 1 // process.h:22:1:
X_P_NOWAITO = 3 // process.h:24:1:
X_P_OVERLAY = 2 // process.h:26:1:
X_P_WAIT = 0 // process.h:21:1:
X_RSIZE_T_DEFINED = 0 // corecrt.h:58:1:
X_SECURECRT_FILL_BUFFER_PATTERN = 0xFD // _mingw.h:349:1:
X_SIGSET_T_ = 0 // types.h:101:1:
X_SIZE_T_DEFINED = 0 // corecrt.h:37:1:
X_SPAWNV_DEFINED = 0 // process.h:83:1:
X_SSIZE_T_DEFINED = 0 // corecrt.h:47:1:
X_TAGLC_ID_DEFINED = 0 // corecrt.h:447:1:
X_THREADLOCALEINFO = 0 // corecrt.h:456:1:
X_TIME32_T_DEFINED = 0 // corecrt.h:122:1:
X_TIME64_T_DEFINED = 0 // corecrt.h:127:1:
X_TIMESPEC_DEFINED = 0 // types.h:88:1:
X_TIME_T_DEFINED = 0 // corecrt.h:139:1:
X_UINTPTR_T_DEFINED = 0 // corecrt.h:75:1:
X_UNISTD_H = 0 // unistd.h:7:1:
X_USE_32BIT_TIME_T = 0 // _mingw.h:372:1:
X_VA_LIST_DEFINED = 0 // <builtin>:55:1:
X_W64 = 0 // _mingw.h:296:1:
X_WAIT_CHILD = 0 // process.h:28:1:
X_WAIT_GRANDCHILD = 1 // process.h:29:1:
X_WCHAR_T_DEFINED = 0 // corecrt.h:101:1:
X_WCTYPE_T_DEFINED = 0 // corecrt.h:108:1:
X_WConst_return = 0 // string.h:41:1:
X_WEXEC_DEFINED = 0 // process.h:96:1:
X_WFINDDATA_T_DEFINED = 0 // io.h:148:1:
X_WIN32 = 1 // <predefined>:164:1:
X_WIN32_WINNT = 0x502 // _mingw.h:233:1:
X_WINT_T = 0 // corecrt.h:110:1:
X_WIO_DEFINED = 0 // io.h:295:1:
X_WSPAWN_DEFINED = 0 // process.h:108:1:
X_WSTRING_DEFINED = 0 // string.h:129:1:
X_WSTRING_S_DEFINED = 0 // string_s.h:48:1:
X_X86_ = 1 // <predefined>:169:1:
I386 = 1 // <predefined>:171:1:
)
type Ptrdiff_t = int32 /* <builtin>:3:26 */
@ -210,6 +210,11 @@ type Va_list = X__builtin_va_list /* <builtin>:50:27 */
// This file is part of the mingw-w64 runtime package.
// No warranty is given; refer to the file DISCLAIMER.PD within this package.
// *
// This file has no copyright assigned and is placed in the Public Domain.
// This file is part of the mingw-w64 runtime package.
// No warranty is given; refer to the file DISCLAIMER.PD within this package.
// This macro holds an monotonic increasing value, which indicates
// a specific fix/patch is present on trunk. This value isn't related to
// minor/major version-macros. It is increased on demand, if a big
@ -230,6 +235,12 @@ type Va_list = X__builtin_va_list /* <builtin>:50:27 */
// MinGW-w64 has some additional C99 printf/scanf feature support.
// So we add some helper macros to ease recognition of them.
// If _FORTIFY_SOURCE is enabled, some inline functions may use
// __builtin_va_arg_pack(). GCC may report an error if the address
// of such a function is used. Set _FORTIFY_VA_ARG=0 in this case.
// Enable workaround for ABI incompatibility on affected platforms
// *
// This file has no copyright assigned and is placed in the Public Domain.
// This file is part of the mingw-w64 runtime package.
@ -270,26 +281,28 @@ type Va_list = X__builtin_va_list /* <builtin>:50:27 */
// This file is part of the mingw-w64 runtime package.
// No warranty is given; refer to the file DISCLAIMER.PD within this package.
// for backward compatibility
type X__gnuc_va_list = X__builtin_va_list /* vadefs.h:24:29 */
type Ssize_t = int32 /* crtdefs.h:47:13 */
type Ssize_t = int32 /* corecrt.h:52:13 */
type Rsize_t = Size_t /* crtdefs.h:52:16 */
type Rsize_t = Size_t /* corecrt.h:57:16 */
type Intptr_t = int32 /* crtdefs.h:64:13 */
type Intptr_t = int32 /* corecrt.h:69:13 */
type Uintptr_t = uint32 /* crtdefs.h:77:22 */
type Uintptr_t = uint32 /* corecrt.h:82:22 */
type Wint_t = uint16 /* crtdefs.h:106:24 */
type Wctype_t = uint16 /* crtdefs.h:107:24 */
type Wint_t = uint16 /* corecrt.h:111:24 */
type Wctype_t = uint16 /* corecrt.h:112:24 */
type Errno_t = int32 /* crtdefs.h:113:13 */
type Errno_t = int32 /* corecrt.h:118:13 */
type X__time32_t = int32 /* crtdefs.h:118:14 */
type X__time32_t = int32 /* corecrt.h:123:14 */
type X__time64_t = int64 /* crtdefs.h:123:35 */
type X__time64_t = int64 /* corecrt.h:128:35 */
type Time_t = X__time32_t /* crtdefs.h:136:20 */
type Time_t = X__time32_t /* corecrt.h:141:20 */
type Threadlocaleinfostruct = struct {
Frefcount int32
@ -315,29 +328,29 @@ type Threadlocaleinfostruct = struct {
Fpclmap uintptr
Fpcumap uintptr
Flc_time_curr uintptr
} /* crtdefs.h:422:1 */
} /* corecrt.h:435:1 */
type Pthreadlocinfo = uintptr /* crtdefs.h:424:39 */
type Pthreadmbcinfo = uintptr /* crtdefs.h:425:36 */
type Pthreadlocinfo = uintptr /* corecrt.h:437:39 */
type Pthreadmbcinfo = uintptr /* corecrt.h:438:36 */
type Localeinfo_struct = struct {
Flocinfo Pthreadlocinfo
Fmbcinfo Pthreadmbcinfo
} /* crtdefs.h:428:9 */
} /* corecrt.h:441:9 */
type X_locale_tstruct = Localeinfo_struct /* crtdefs.h:431:3 */
type X_locale_t = uintptr /* crtdefs.h:431:19 */
type X_locale_tstruct = Localeinfo_struct /* corecrt.h:444:3 */
type X_locale_t = uintptr /* corecrt.h:444:19 */
type TagLC_ID = struct {
FwLanguage uint16
FwCountry uint16
FwCodePage uint16
} /* crtdefs.h:422:1 */
} /* corecrt.h:435:1 */
type LC_ID = TagLC_ID /* crtdefs.h:439:3 */
type LPLC_ID = uintptr /* crtdefs.h:439:9 */
type LC_ID = TagLC_ID /* corecrt.h:452:3 */
type LPLC_ID = uintptr /* corecrt.h:452:9 */
type Threadlocinfo = Threadlocaleinfostruct /* crtdefs.h:468:3 */
type Threadlocinfo = Threadlocaleinfostruct /* corecrt.h:487:3 */
type X_fsize_t = uint32 /* io.h:29:25 */
type X_finddata32_t = struct {
@ -356,12 +369,12 @@ type X_finddata32i64_t = struct {
Ftime_write X__time32_t
Fsize int64
Fname [260]int8
_ [4]byte
F__ccgo_pad1 [4]byte
} /* io.h:44:3 */
type X_finddata64i32_t = struct {
Fattrib uint32
_ [4]byte
F__ccgo_pad1 [4]byte
Ftime_create X__time64_t
Ftime_access X__time64_t
Ftime_write X__time64_t
@ -371,13 +384,13 @@ type X_finddata64i32_t = struct {
type X__finddata64_t = struct {
Fattrib uint32
_ [4]byte
F__ccgo_pad1 [4]byte
Ftime_create X__time64_t
Ftime_access X__time64_t
Ftime_write X__time64_t
Fsize int64
Fname [260]int8
_ [4]byte
F__ccgo_pad2 [4]byte
} /* io.h:62:3 */
type X_wfinddata32_t = struct {
@ -400,18 +413,18 @@ type X_wfinddata32i64_t = struct {
type X_wfinddata64i32_t = struct {
Fattrib uint32
_ [4]byte
F__ccgo_pad1 [4]byte
Ftime_create X__time64_t
Ftime_access X__time64_t
Ftime_write X__time64_t
Fsize X_fsize_t
Fname [260]Wchar_t
_ [4]byte
F__ccgo_pad2 [4]byte
} /* io.h:112:3 */
type X_wfinddata64_t = struct {
Fattrib uint32
_ [4]byte
F__ccgo_pad1 [4]byte
Ftime_create X__time64_t
Ftime_access X__time64_t
Ftime_write X__time64_t
@ -486,7 +499,10 @@ type Itimerspec = struct {
type X_sigset_t = uint32 /* types.h:106:23 */
type X_tls_callback_type = uintptr /* process.h:58:16 */
type X_beginthread_proc_type = uintptr /* process.h:32:16 */
type X_beginthreadex_proc_type = uintptr /* process.h:33:20 */
type X_tls_callback_type = uintptr /* process.h:61:16 */
//
// Copyright (c) 2011-2016 mingw-w64 project
@ -605,23 +621,6 @@ type X_tls_callback_type = uintptr /* process.h:58:16 */
//
// are present.
// _SC_THREAD_SAFE_FUNCTIONS
// Affected functions are
//
// readdir_r(),
// getgrgid_r(),
// getgrnam_r(),
// getpwnam_r(),
// getpwuid_r(),
// flockfile(),
// ftrylockfile(),
// funlockfile(),
// getc_unlocked(),
// getchar_unlocked(),
// putc_unlocked(),
// putchar_unlocked(),
// strerror_r(),
// _SC_TIMEOUTS
// The functions
//

View File

@ -1,4 +1,4 @@
// Code generated by 'ccgo unistd/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o unistd/unistd_windows_amd64.go -pkgname unistd', DO NOT EDIT.
// Code generated by 'ccgo unistd\gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o unistd\unistd_windows_amd64.go -pkgname unistd', DO NOT EDIT.
package unistd
@ -141,6 +141,7 @@ const (
X_P_NOWAITO = 3
X_P_OVERLAY = 2
X_P_WAIT = 0
X_REENTRANT = 1
X_RSIZE_T_DEFINED = 0
X_SECURECRT_FILL_BUFFER_PATTERN = 0xFD
X_SIGSET_T_ = 0
@ -368,12 +369,12 @@ type X_finddata32i64_t = struct {
Ftime_write X__time32_t
Fsize int64
Fname [260]int8
_ [4]byte
F__ccgo_pad1 [4]byte
} /* io.h:44:3 */
type X_finddata64i32_t = struct {
Fattrib uint32
_ [4]byte
F__ccgo_pad1 [4]byte
Ftime_create X__time64_t
Ftime_access X__time64_t
Ftime_write X__time64_t
@ -383,13 +384,13 @@ type X_finddata64i32_t = struct {
type X__finddata64_t = struct {
Fattrib uint32
_ [4]byte
F__ccgo_pad1 [4]byte
Ftime_create X__time64_t
Ftime_access X__time64_t
Ftime_write X__time64_t
Fsize int64
Fname [260]int8
_ [4]byte
F__ccgo_pad2 [4]byte
} /* io.h:62:3 */
type X_wfinddata32_t = struct {
@ -412,18 +413,18 @@ type X_wfinddata32i64_t = struct {
type X_wfinddata64i32_t = struct {
Fattrib uint32
_ [4]byte
F__ccgo_pad1 [4]byte
Ftime_create X__time64_t
Ftime_access X__time64_t
Ftime_write X__time64_t
Fsize X_fsize_t
Fname [260]Wchar_t
_ [4]byte
F__ccgo_pad2 [4]byte
} /* io.h:112:3 */
type X_wfinddata64_t = struct {
Fattrib uint32
_ [4]byte
F__ccgo_pad1 [4]byte
Ftime_create X__time64_t
Ftime_access X__time64_t
Ftime_write X__time64_t
@ -481,28 +482,26 @@ type Mode_t = X_mode_t /* types.h:77:17 */
type Useconds_t = uint32 /* types.h:84:22 */
type Timespec = struct {
Ftv_sec Time_t
Ftv_nsec int32
_ [4]byte
Ftv_sec Time_t
Ftv_nsec int32
F__ccgo_pad1 [4]byte
} /* types.h:89:1 */
type Itimerspec = struct {
Fit_interval struct {
Ftv_sec Time_t
Ftv_nsec int32
_ [4]byte
Ftv_sec Time_t
Ftv_nsec int32
F__ccgo_pad1 [4]byte
}
Fit_value struct {
Ftv_sec Time_t
Ftv_nsec int32
_ [4]byte
Ftv_sec Time_t
Ftv_nsec int32
F__ccgo_pad1 [4]byte
}
} /* types.h:94:1 */
type X_sigset_t = uint64 /* types.h:104:28 */
type X_tls_callback_type = uintptr /* process.h:58:16 */
//
// Copyright (c) 2011-2016 mingw-w64 project
//