diff options
Diffstat (limited to 'vendor/modernc.org/libc/unistd/unistd_linux_amd64.go')
-rw-r--r-- | vendor/modernc.org/libc/unistd/unistd_linux_amd64.go | 260 |
1 files changed, 130 insertions, 130 deletions
diff --git a/vendor/modernc.org/libc/unistd/unistd_linux_amd64.go b/vendor/modernc.org/libc/unistd/unistd_linux_amd64.go index b302d192..3a0058ca 100644 --- a/vendor/modernc.org/libc/unistd/unistd_linux_amd64.go +++ b/vendor/modernc.org/libc/unistd/unistd_linux_amd64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo unistd/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o unistd/unistd_linux_amd64.go -pkgname unistd', DO NOT EDIT. +// Code generated by 'ccgo unistd/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o unistd/unistd_linux_amd64.go -pkgname unistd', DO NOT EDIT. package unistd @@ -15,135 +15,135 @@ var _ atomic.Value var _ unsafe.Pointer const ( - F_LOCK = 1 - F_OK = 0 - F_TEST = 3 - F_TLOCK = 2 - F_ULOCK = 0 - L_INCR = 1 - L_SET = 0 - L_XTND = 2 - R_OK = 4 - SEEK_CUR = 1 - SEEK_END = 2 - SEEK_SET = 0 - STDERR_FILENO = 2 - STDIN_FILENO = 0 - STDOUT_FILENO = 1 - W_OK = 2 - X_OK = 1 - X_ATFILE_SOURCE = 1 - X_BITS_POSIX_OPT_H = 1 - X_BITS_TIME64_H = 1 - X_BITS_TYPESIZES_H = 1 - X_BITS_TYPES_H = 1 - X_BSD_SIZE_T_ = 0 - X_BSD_SIZE_T_DEFINED_ = 0 - X_DEFAULT_SOURCE = 1 - X_FEATURES_H = 1 - X_FILE_OFFSET_BITS = 64 - X_GCC_SIZE_T = 0 - X_GETOPT_CORE_H = 1 - X_GETOPT_POSIX_H = 1 - X_LFS64_ASYNCHRONOUS_IO = 1 - X_LFS64_LARGEFILE = 1 - X_LFS64_STDIO = 1 - X_LFS_ASYNCHRONOUS_IO = 1 - X_LFS_LARGEFILE = 1 - X_LP64 = 1 - X_POSIX2_CHAR_TERM = 200809 - X_POSIX2_C_BIND = 200809 - X_POSIX2_C_DEV = 200809 - X_POSIX2_C_VERSION = 200809 - X_POSIX2_LOCALEDEF = 200809 - X_POSIX2_SW_DEV = 200809 - X_POSIX2_VERSION = 200809 - X_POSIX_ADVISORY_INFO = 200809 - X_POSIX_ASYNCHRONOUS_IO = 200809 - X_POSIX_ASYNC_IO = 1 - X_POSIX_BARRIERS = 200809 - X_POSIX_CHOWN_RESTRICTED = 0 - X_POSIX_CLOCK_SELECTION = 200809 - X_POSIX_CPUTIME = 0 - X_POSIX_C_SOURCE = 200809 - X_POSIX_FSYNC = 200809 - X_POSIX_IPV6 = 200809 - X_POSIX_JOB_CONTROL = 1 - X_POSIX_MAPPED_FILES = 200809 - X_POSIX_MEMLOCK = 200809 - X_POSIX_MEMLOCK_RANGE = 200809 - X_POSIX_MEMORY_PROTECTION = 200809 - X_POSIX_MESSAGE_PASSING = 200809 - X_POSIX_MONOTONIC_CLOCK = 0 - X_POSIX_NO_TRUNC = 1 - X_POSIX_PRIORITIZED_IO = 200809 - X_POSIX_PRIORITY_SCHEDULING = 200809 - X_POSIX_RAW_SOCKETS = 200809 - X_POSIX_READER_WRITER_LOCKS = 200809 - X_POSIX_REALTIME_SIGNALS = 200809 - X_POSIX_REENTRANT_FUNCTIONS = 1 - X_POSIX_REGEXP = 1 - X_POSIX_SAVED_IDS = 1 - X_POSIX_SEMAPHORES = 200809 - X_POSIX_SHARED_MEMORY_OBJECTS = 200809 - X_POSIX_SHELL = 1 - X_POSIX_SOURCE = 1 - X_POSIX_SPAWN = 200809 - X_POSIX_SPIN_LOCKS = 200809 - X_POSIX_SPORADIC_SERVER = -1 - X_POSIX_SYNCHRONIZED_IO = 200809 - X_POSIX_THREADS = 200809 - X_POSIX_THREAD_ATTR_STACKADDR = 200809 - X_POSIX_THREAD_ATTR_STACKSIZE = 200809 - X_POSIX_THREAD_CPUTIME = 0 - X_POSIX_THREAD_PRIORITY_SCHEDULING = 200809 - X_POSIX_THREAD_PRIO_INHERIT = 200809 - X_POSIX_THREAD_PRIO_PROTECT = 200809 - X_POSIX_THREAD_PROCESS_SHARED = 200809 - X_POSIX_THREAD_ROBUST_PRIO_INHERIT = 200809 - X_POSIX_THREAD_ROBUST_PRIO_PROTECT = -1 - X_POSIX_THREAD_SAFE_FUNCTIONS = 200809 - X_POSIX_THREAD_SPORADIC_SERVER = -1 - X_POSIX_TIMEOUTS = 200809 - X_POSIX_TIMERS = 200809 - X_POSIX_TRACE = -1 - X_POSIX_TRACE_EVENT_FILTER = -1 - X_POSIX_TRACE_INHERIT = -1 - X_POSIX_TRACE_LOG = -1 - X_POSIX_TYPED_MEMORY_OBJECTS = -1 - X_POSIX_V6_LP64_OFF64 = 1 - X_POSIX_V6_LPBIG_OFFBIG = -1 - X_POSIX_V7_LP64_OFF64 = 1 - X_POSIX_V7_LPBIG_OFFBIG = -1 - X_POSIX_VDISABLE = 0 - X_POSIX_VERSION = 200809 - X_SIZET_ = 0 - X_SIZE_T = 0 - X_SIZE_T_ = 0 - X_SIZE_T_DECLARED = 0 - X_SIZE_T_DEFINED = 0 - X_SIZE_T_DEFINED_ = 0 - X_STDC_PREDEF_H = 1 - X_SYS_CDEFS_H = 1 - X_SYS_SIZE_T_H = 0 - X_T_SIZE = 0 - X_T_SIZE_ = 0 - X_UNISTD_H = 1 - X_XBS5_LP64_OFF64 = 1 - X_XBS5_LPBIG_OFFBIG = -1 - X_XOPEN_ENH_I18N = 1 - X_XOPEN_LEGACY = 1 - X_XOPEN_REALTIME = 1 - X_XOPEN_REALTIME_THREADS = 1 - X_XOPEN_SHM = 1 - X_XOPEN_UNIX = 1 - X_XOPEN_VERSION = 700 - X_XOPEN_XCU_VERSION = 4 - X_XOPEN_XPG2 = 1 - X_XOPEN_XPG3 = 1 - X_XOPEN_XPG4 = 1 - Linux = 1 - Unix = 1 + F_LOCK = 1 // unistd.h:1074:1: + F_OK = 0 // unistd.h:284:1: + F_TEST = 3 // unistd.h:1076:1: + F_TLOCK = 2 // unistd.h:1075:1: + F_ULOCK = 0 // unistd.h:1073:1: + L_INCR = 1 // unistd.h:323:1: + L_SET = 0 // unistd.h:322:1: + L_XTND = 2 // unistd.h:324:1: + R_OK = 4 // unistd.h:281:1: + SEEK_CUR = 1 // unistd.h:312:1: + SEEK_END = 2 // unistd.h:313:1: + SEEK_SET = 0 // unistd.h:311:1: + STDERR_FILENO = 2 // unistd.h:212:1: + STDIN_FILENO = 0 // unistd.h:210:1: + STDOUT_FILENO = 1 // unistd.h:211:1: + W_OK = 2 // unistd.h:282:1: + X_OK = 1 // unistd.h:283:1: + X_ATFILE_SOURCE = 1 // features.h:342:1: + X_BITS_POSIX_OPT_H = 1 // posix_opt.h:20:1: + X_BITS_TIME64_H = 1 // time64.h:24:1: + X_BITS_TYPESIZES_H = 1 // typesizes.h:24:1: + X_BITS_TYPES_H = 1 // types.h:24:1: + X_BSD_SIZE_T_ = 0 // stddef.h:189:1: + X_BSD_SIZE_T_DEFINED_ = 0 // stddef.h:192:1: + X_DEFAULT_SOURCE = 1 // features.h:227:1: + X_FEATURES_H = 1 // features.h:19:1: + X_FILE_OFFSET_BITS = 64 // <builtin>:25:1: + X_GCC_SIZE_T = 0 // stddef.h:195:1: + X_GETOPT_CORE_H = 1 // getopt_core.h:21:1: + X_GETOPT_POSIX_H = 1 // getopt_posix.h:21:1: + X_LFS64_ASYNCHRONOUS_IO = 1 // posix_opt.h:117:1: + X_LFS64_LARGEFILE = 1 // posix_opt.h:121:1: + X_LFS64_STDIO = 1 // posix_opt.h:122:1: + X_LFS_ASYNCHRONOUS_IO = 1 // posix_opt.h:112:1: + X_LFS_LARGEFILE = 1 // posix_opt.h:120:1: + X_LP64 = 1 // <predefined>:284:1: + X_POSIX2_CHAR_TERM = 200809 // posix_opt.h:179:1: + X_POSIX2_C_BIND = 200809 // unistd.h:74:1: + X_POSIX2_C_DEV = 200809 // unistd.h:78:1: + X_POSIX2_C_VERSION = 200809 // unistd.h:70:1: + X_POSIX2_LOCALEDEF = 200809 // unistd.h:86:1: + X_POSIX2_SW_DEV = 200809 // unistd.h:82:1: + X_POSIX2_VERSION = 200809 // unistd.h:67:1: + X_POSIX_ADVISORY_INFO = 200809 // posix_opt.h:170:1: + X_POSIX_ASYNCHRONOUS_IO = 200809 // posix_opt.h:109:1: + X_POSIX_ASYNC_IO = 1 // posix_opt.h:110:1: + X_POSIX_BARRIERS = 200809 // posix_opt.h:155:1: + X_POSIX_CHOWN_RESTRICTED = 0 // posix_opt.h:53:1: + X_POSIX_CLOCK_SELECTION = 200809 // posix_opt.h:167:1: + X_POSIX_CPUTIME = 0 // posix_opt.h:128:1: + X_POSIX_C_SOURCE = 200809 // features.h:281:1: + X_POSIX_FSYNC = 200809 // posix_opt.h:38:1: + X_POSIX_IPV6 = 200809 // posix_opt.h:173:1: + X_POSIX_JOB_CONTROL = 1 // posix_opt.h:23:1: + X_POSIX_MAPPED_FILES = 200809 // posix_opt.h:41:1: + X_POSIX_MEMLOCK = 200809 // posix_opt.h:44:1: + X_POSIX_MEMLOCK_RANGE = 200809 // posix_opt.h:47:1: + X_POSIX_MEMORY_PROTECTION = 200809 // posix_opt.h:50:1: + X_POSIX_MESSAGE_PASSING = 200809 // posix_opt.h:158:1: + X_POSIX_MONOTONIC_CLOCK = 0 // posix_opt.h:164:1: + X_POSIX_NO_TRUNC = 1 // posix_opt.h:60:1: + X_POSIX_PRIORITIZED_IO = 200809 // posix_opt.h:114:1: + X_POSIX_PRIORITY_SCHEDULING = 200809 // posix_opt.h:32:1: + X_POSIX_RAW_SOCKETS = 200809 // posix_opt.h:176:1: + X_POSIX_READER_WRITER_LOCKS = 200809 // posix_opt.h:137:1: + X_POSIX_REALTIME_SIGNALS = 200809 // posix_opt.h:106:1: + X_POSIX_REENTRANT_FUNCTIONS = 1 // posix_opt.h:75:1: + X_POSIX_REGEXP = 1 // posix_opt.h:134:1: + X_POSIX_SAVED_IDS = 1 // posix_opt.h:26:1: + X_POSIX_SEMAPHORES = 200809 // posix_opt.h:103:1: + X_POSIX_SHARED_MEMORY_OBJECTS = 200809 // posix_opt.h:125:1: + X_POSIX_SHELL = 1 // posix_opt.h:140:1: + X_POSIX_SOURCE = 1 // features.h:279:1: + X_POSIX_SPAWN = 200809 // posix_opt.h:149:1: + X_POSIX_SPIN_LOCKS = 200809 // posix_opt.h:146:1: + X_POSIX_SPORADIC_SERVER = -1 // posix_opt.h:182:1: + X_POSIX_SYNCHRONIZED_IO = 200809 // posix_opt.h:35:1: + X_POSIX_THREADS = 200809 // posix_opt.h:72:1: + X_POSIX_THREAD_ATTR_STACKADDR = 200809 // posix_opt.h:85:1: + X_POSIX_THREAD_ATTR_STACKSIZE = 200809 // posix_opt.h:82:1: + X_POSIX_THREAD_CPUTIME = 0 // posix_opt.h:131:1: + X_POSIX_THREAD_PRIORITY_SCHEDULING = 200809 // posix_opt.h:79:1: + X_POSIX_THREAD_PRIO_INHERIT = 200809 // posix_opt.h:88:1: + X_POSIX_THREAD_PRIO_PROTECT = 200809 // posix_opt.h:92:1: + X_POSIX_THREAD_PROCESS_SHARED = 200809 // posix_opt.h:161:1: + X_POSIX_THREAD_ROBUST_PRIO_INHERIT = 200809 // posix_opt.h:96:1: + X_POSIX_THREAD_ROBUST_PRIO_PROTECT = -1 // posix_opt.h:99:1: + X_POSIX_THREAD_SAFE_FUNCTIONS = 200809 // posix_opt.h:76:1: + X_POSIX_THREAD_SPORADIC_SERVER = -1 // posix_opt.h:183:1: + X_POSIX_TIMEOUTS = 200809 // posix_opt.h:143:1: + X_POSIX_TIMERS = 200809 // posix_opt.h:152:1: + X_POSIX_TRACE = -1 // posix_opt.h:186:1: + X_POSIX_TRACE_EVENT_FILTER = -1 // posix_opt.h:187:1: + X_POSIX_TRACE_INHERIT = -1 // posix_opt.h:188:1: + X_POSIX_TRACE_LOG = -1 // posix_opt.h:189:1: + X_POSIX_TYPED_MEMORY_OBJECTS = -1 // posix_opt.h:192:1: + X_POSIX_V6_LP64_OFF64 = 1 // environments.h:62:1: + X_POSIX_V6_LPBIG_OFFBIG = -1 // environments.h:57:1: + X_POSIX_V7_LP64_OFF64 = 1 // environments.h:61:1: + X_POSIX_V7_LPBIG_OFFBIG = -1 // environments.h:56:1: + X_POSIX_VDISABLE = 0 // posix_opt.h:57:1: + X_POSIX_VERSION = 200809 // unistd.h:34:1: + X_SIZET_ = 0 // stddef.h:196:1: + X_SIZE_T = 0 // stddef.h:183:1: + X_SIZE_T_ = 0 // stddef.h:188:1: + X_SIZE_T_DECLARED = 0 // stddef.h:193:1: + X_SIZE_T_DEFINED = 0 // stddef.h:191:1: + X_SIZE_T_DEFINED_ = 0 // stddef.h:190:1: + X_STDC_PREDEF_H = 1 // <predefined>:162:1: + X_SYS_CDEFS_H = 1 // cdefs.h:19:1: + X_SYS_SIZE_T_H = 0 // stddef.h:184:1: + X_T_SIZE = 0 // stddef.h:186:1: + X_T_SIZE_ = 0 // stddef.h:185:1: + X_UNISTD_H = 1 // unistd.h:23:1: + X_XBS5_LP64_OFF64 = 1 // environments.h:63:1: + X_XBS5_LPBIG_OFFBIG = -1 // environments.h:58:1: + X_XOPEN_ENH_I18N = 1 // unistd.h:112:1: + X_XOPEN_LEGACY = 1 // unistd.h:115:1: + X_XOPEN_REALTIME = 1 // posix_opt.h:63:1: + X_XOPEN_REALTIME_THREADS = 1 // posix_opt.h:66:1: + X_XOPEN_SHM = 1 // posix_opt.h:69:1: + X_XOPEN_UNIX = 1 // unistd.h:108:1: + X_XOPEN_VERSION = 700 // unistd.h:90:1: + X_XOPEN_XCU_VERSION = 4 // unistd.h:100:1: + X_XOPEN_XPG2 = 1 // unistd.h:103:1: + X_XOPEN_XPG3 = 1 // unistd.h:104:1: + X_XOPEN_XPG4 = 1 // unistd.h:105:1: + Linux = 1 // <predefined>:231:1: + Unix = 1 // <predefined>:177:1: ) // Get the `_PC_*' symbols for the NAME argument to `pathconf' and `fpathconf'; |