summaryrefslogtreecommitdiffstats
path: root/vendor/modernc.org/libc/fcntl
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/modernc.org/libc/fcntl')
-rw-r--r--vendor/modernc.org/libc/fcntl/capi_darwin_arm64.go2
-rw-r--r--vendor/modernc.org/libc/fcntl/capi_linux_amd64.go2
-rw-r--r--vendor/modernc.org/libc/fcntl/fcntl_darwin_arm64.go494
-rw-r--r--vendor/modernc.org/libc/fcntl/fcntl_linux_amd64.go244
4 files changed, 379 insertions, 363 deletions
diff --git a/vendor/modernc.org/libc/fcntl/capi_darwin_arm64.go b/vendor/modernc.org/libc/fcntl/capi_darwin_arm64.go
index 6bd12e5c..ebab11fb 100644
--- a/vendor/modernc.org/libc/fcntl/capi_darwin_arm64.go
+++ b/vendor/modernc.org/libc/fcntl/capi_darwin_arm64.go
@@ -1,4 +1,4 @@
-// Code generated by 'ccgo fcntl/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o fcntl/fcntl_darwin_arm64.go -pkgname fcntl', DO NOT EDIT.
+// Code generated by 'ccgo fcntl/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o fcntl/fcntl_darwin_arm64.go -pkgname fcntl', DO NOT EDIT.
package fcntl
diff --git a/vendor/modernc.org/libc/fcntl/capi_linux_amd64.go b/vendor/modernc.org/libc/fcntl/capi_linux_amd64.go
index 8b8fafc3..9db297f1 100644
--- a/vendor/modernc.org/libc/fcntl/capi_linux_amd64.go
+++ b/vendor/modernc.org/libc/fcntl/capi_linux_amd64.go
@@ -1,4 +1,4 @@
-// Code generated by 'ccgo fcntl/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o fcntl/fcntl_linux_amd64.go -pkgname fcntl', DO NOT EDIT.
+// Code generated by 'ccgo fcntl/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o fcntl/fcntl_linux_amd64.go -pkgname fcntl', DO NOT EDIT.
package fcntl
diff --git a/vendor/modernc.org/libc/fcntl/fcntl_darwin_arm64.go b/vendor/modernc.org/libc/fcntl/fcntl_darwin_arm64.go
index 0871e5d9..4ddb8819 100644
--- a/vendor/modernc.org/libc/fcntl/fcntl_darwin_arm64.go
+++ b/vendor/modernc.org/libc/fcntl/fcntl_darwin_arm64.go
@@ -1,4 +1,4 @@
-// Code generated by 'ccgo fcntl/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o fcntl/fcntl_darwin_arm64.go -pkgname fcntl', DO NOT EDIT.
+// Code generated by 'ccgo fcntl/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o fcntl/fcntl_darwin_arm64.go -pkgname fcntl', DO NOT EDIT.
package fcntl
@@ -15,223 +15,225 @@ var _ atomic.Value
var _ unsafe.Pointer
const (
- AT_EACCESS = 0x0010
- AT_FDCWD = -2
- AT_FDONLY = 0x0400
- AT_REALDEV = 0x0200
- AT_REMOVEDIR = 0x0080
- AT_SYMLINK_FOLLOW = 0x0040
- AT_SYMLINK_NOFOLLOW = 0x0020
- CPF_IGNORE_MODE = 0x0002
- CPF_MASK = 3
- CPF_OVERWRITE = 0x0001
- FAPPEND = 8
- FASYNC = 64
- FCNTL_FS_SPECIFIC_BASE = 0x00010000
- FD_CLOEXEC = 1
- FFDSYNC = 4194304
- FFSYNC = 128
- FNDELAY = 4
- FNONBLOCK = 4
- FREAD = 0x00000001
- FWRITE = 0x00000002
- F_ADDFILESIGS = 61
- F_ADDFILESIGS_FOR_DYLD_SIM = 83
- F_ADDFILESIGS_INFO = 103
- F_ADDFILESIGS_RETURN = 97
- F_ADDFILESUPPL = 104
- F_ADDSIGS = 59
- F_ALLOCATEALL = 0x00000004
- F_ALLOCATECONTIG = 0x00000002
- F_BARRIERFSYNC = 85
- F_CHECK_LV = 98
- F_CHKCLEAN = 41
- F_DUPFD = 0
- F_DUPFD_CLOEXEC = 67
- F_FINDSIGS = 78
- F_FLUSH_DATA = 40
- F_FREEZE_FS = 53
- F_FULLFSYNC = 51
- F_GETCODEDIR = 72
- F_GETFD = 1
- F_GETFL = 3
- F_GETLK = 7
- F_GETLKPID = 66
- F_GETNOSIGPIPE = 74
- F_GETOWN = 5
- F_GETPATH = 50
- F_GETPATH_MTMINFO = 71
- F_GETPATH_NOFIRMLINK = 102
- F_GETPROTECTIONCLASS = 63
- F_GETPROTECTIONLEVEL = 77
- F_GETSIGSINFO = 105
- F_GLOBAL_NOCACHE = 55
- F_LOG2PHYS = 49
- F_LOG2PHYS_EXT = 65
- F_NOCACHE = 48
- F_NODIRECT = 62
- F_PATHPKG_CHECK = 52
- F_PEOFPOSMODE = 3
- F_PREALLOCATE = 42
- F_PUNCHHOLE = 99
- F_RDADVISE = 44
- F_RDAHEAD = 45
- F_RDLCK = 1
- F_SETBACKINGSTORE = 70
- F_SETFD = 2
- F_SETFL = 4
- F_SETLK = 8
- F_SETLKW = 9
- F_SETLKWTIMEOUT = 10
- F_SETNOSIGPIPE = 73
- F_SETOWN = 6
- F_SETPROTECTIONCLASS = 64
- F_SETSIZE = 43
- F_SINGLE_WRITER = 76
- F_SPECULATIVE_READ = 101
- F_THAW_FS = 54
- F_TRANSCODEKEY = 75
- F_TRIM_ACTIVE_FILE = 100
- F_UNLCK = 2
- F_VOLPOSMODE = 4
- F_WRLCK = 3
- GETSIGSINFO_PLATFORM_BINARY = 1
- LOCK_EX = 0x02
- LOCK_NB = 0x04
- LOCK_SH = 0x01
- LOCK_UN = 0x08
- MAC_OS_VERSION_11_0 = 110000
- MAC_OS_VERSION_12_0 = 120000
- MAC_OS_X_VERSION_10_0 = 1000
- MAC_OS_X_VERSION_10_1 = 1010
- MAC_OS_X_VERSION_10_10 = 101000
- MAC_OS_X_VERSION_10_10_2 = 101002
- MAC_OS_X_VERSION_10_10_3 = 101003
- MAC_OS_X_VERSION_10_11 = 101100
- MAC_OS_X_VERSION_10_11_2 = 101102
- MAC_OS_X_VERSION_10_11_3 = 101103
- MAC_OS_X_VERSION_10_11_4 = 101104
- MAC_OS_X_VERSION_10_12 = 101200
- MAC_OS_X_VERSION_10_12_1 = 101201
- MAC_OS_X_VERSION_10_12_2 = 101202
- MAC_OS_X_VERSION_10_12_4 = 101204
- MAC_OS_X_VERSION_10_13 = 101300
- MAC_OS_X_VERSION_10_13_1 = 101301
- MAC_OS_X_VERSION_10_13_2 = 101302
- MAC_OS_X_VERSION_10_13_4 = 101304
- MAC_OS_X_VERSION_10_14 = 101400
- MAC_OS_X_VERSION_10_14_1 = 101401
- MAC_OS_X_VERSION_10_14_4 = 101404
- MAC_OS_X_VERSION_10_14_6 = 101406
- MAC_OS_X_VERSION_10_15 = 101500
- MAC_OS_X_VERSION_10_15_1 = 101501
- MAC_OS_X_VERSION_10_16 = 101600
- MAC_OS_X_VERSION_10_2 = 1020
- MAC_OS_X_VERSION_10_3 = 1030
- MAC_OS_X_VERSION_10_4 = 1040
- MAC_OS_X_VERSION_10_5 = 1050
- MAC_OS_X_VERSION_10_6 = 1060
- MAC_OS_X_VERSION_10_7 = 1070
- MAC_OS_X_VERSION_10_8 = 1080
- MAC_OS_X_VERSION_10_9 = 1090
- O_ACCMODE = 0x0003
- O_ALERT = 0x20000000
- O_APPEND = 0x00000008
- O_ASYNC = 0x00000040
- O_CLOEXEC = 0x01000000
- O_CREAT = 0x00000200
- O_DIRECTORY = 0x00100000
- O_DP_GETRAWENCRYPTED = 0x0001
- O_DP_GETRAWUNENCRYPTED = 0x0002
- O_DSYNC = 0x400000
- O_EVTONLY = 0x00008000
- O_EXCL = 0x00000800
- O_EXLOCK = 0x00000020
- O_FSYNC = 128
- O_NDELAY = 4
- O_NOCTTY = 0x00020000
- O_NOFOLLOW = 0x00000100
- O_NOFOLLOW_ANY = 0x20000000
- O_NONBLOCK = 0x00000004
- O_POPUP = 0x80000000
- O_RDONLY = 0x0000
- O_RDWR = 0x0002
- O_SHLOCK = 0x00000010
- O_SYMLINK = 0x00200000
- O_SYNC = 0x0080
- O_TRUNC = 0x00000400
- O_WRONLY = 0x0001
- SEEK_CUR = 1
- SEEK_DATA = 4
- SEEK_END = 2
- SEEK_HOLE = 3
- SEEK_SET = 0
- S_IEXEC = 64
- S_IFBLK = 0060000
- S_IFCHR = 0020000
- S_IFDIR = 0040000
- S_IFIFO = 0010000
- S_IFLNK = 0120000
- S_IFMT = 0170000
- S_IFREG = 0100000
- S_IFSOCK = 0140000
- S_IFWHT = 0160000
- S_IREAD = 256
- S_IRGRP = 0000040
- S_IROTH = 0000004
- S_IRUSR = 0000400
- S_IRWXG = 0000070
- S_IRWXO = 0000007
- S_IRWXU = 0000700
- S_ISGID = 0002000
- S_ISTXT = 512
- S_ISUID = 0004000
- S_ISVTX = 0001000
- S_IWGRP = 0000020
- S_IWOTH = 0000002
- S_IWRITE = 128
- S_IWUSR = 0000200
- S_IXGRP = 0000010
- S_IXOTH = 0000001
- S_IXUSR = 0000100
- USER_FSIGNATURES_CDHASH_LEN = 20
- X_ARM_MACHTYPES_H_ = 0
- X_BSD_ARM__TYPES_H_ = 0
- X_BSD_MACHINE_TYPES_H_ = 0
- X_BSD_MACHINE__TYPES_H_ = 0
- X_CDEFS_H_ = 0
- X_DARWIN_FEATURE_64_BIT_INODE = 1
- X_DARWIN_FEATURE_ONLY_64_BIT_INODE = 1
- X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1
- X_DARWIN_FEATURE_ONLY_VERS_1050 = 1
- X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3
- X_FILESEC_T = 0
- X_FILE_OFFSET_BITS = 64
- X_INT16_T = 0
- X_INT32_T = 0
- X_INT64_T = 0
- X_INT8_T = 0
- X_INTPTR_T = 0
- X_LP64 = 1
- X_MACHTYPES_H_ = 0
- X_MODE_T = 0
- X_Nonnull = 0
- X_Null_unspecified = 0
- X_Nullable = 0
- X_OFF_T = 0
- X_PID_T = 0
- X_SIZE_T = 0
- X_SYS_FCNTL_H_ = 0
- X_SYS__PTHREAD_TYPES_H_ = 0
- X_SYS__TYPES_H_ = 0
- X_UINTPTR_T = 0
- X_U_INT16_T = 0
- X_U_INT32_T = 0
- X_U_INT64_T = 0
- X_U_INT8_T = 0
+ AT_EACCESS = 0x0010 // fcntl.h:168:1:
+ AT_FDCWD = -2 // fcntl.h:163:1:
+ AT_FDONLY = 0x0400 // fcntl.h:174:1:
+ AT_REALDEV = 0x0200 // fcntl.h:173:1:
+ AT_REMOVEDIR = 0x0080 // fcntl.h:171:1:
+ AT_SYMLINK_FOLLOW = 0x0040 // fcntl.h:170:1:
+ AT_SYMLINK_NOFOLLOW = 0x0020 // fcntl.h:169:1:
+ AT_SYMLINK_NOFOLLOW_ANY = 0x0800 // fcntl.h:175:1:
+ CPF_IGNORE_MODE = 0x0002 // fcntl.h:208:1:
+ CPF_MASK = 3 // fcntl.h:209:1:
+ CPF_OVERWRITE = 0x0001 // fcntl.h:207:1:
+ FAPPEND = 8 // fcntl.h:193:1:
+ FASYNC = 64 // fcntl.h:194:1:
+ FCNTL_FS_SPECIFIC_BASE = 0x00010000 // fcntl.h:315:1:
+ FD_CLOEXEC = 1 // fcntl.h:324:1:
+ FFDSYNC = 4194304 // fcntl.h:196:1:
+ FFSYNC = 128 // fcntl.h:195:1:
+ FNDELAY = 4 // fcntl.h:198:1:
+ FNONBLOCK = 4 // fcntl.h:197:1:
+ FREAD = 0x00000001 // fcntl.h:110:1:
+ FWRITE = 0x00000002 // fcntl.h:111:1:
+ F_ADDFILESIGS = 61 // fcntl.h:253:1:
+ F_ADDFILESIGS_FOR_DYLD_SIM = 83 // fcntl.h:292:1:
+ F_ADDFILESIGS_INFO = 103 // fcntl.h:309:1:
+ F_ADDFILESIGS_RETURN = 97 // fcntl.h:298:1:
+ F_ADDFILESUPPL = 104 // fcntl.h:310:1:
+ F_ADDSIGS = 59 // fcntl.h:250:1:
+ F_ALLOCATEALL = 0x00000004 // fcntl.h:348:1:
+ F_ALLOCATECONTIG = 0x00000002 // fcntl.h:347:1:
+ F_BARRIERFSYNC = 85 // fcntl.h:295:1:
+ F_CHECK_LV = 98 // fcntl.h:299:1:
+ F_CHKCLEAN = 41 // fcntl.h:232:1:
+ F_DUPFD = 0 // fcntl.h:217:1:
+ F_DUPFD_CLOEXEC = 67 // fcntl.h:320:1:
+ F_FINDSIGS = 78 // fcntl.h:289:1:
+ F_FLUSH_DATA = 40 // fcntl.h:231:1:
+ F_FREEZE_FS = 53 // fcntl.h:245:1:
+ F_FSRESERVED = 106 // fcntl.h:312:1:
+ F_FULLFSYNC = 51 // fcntl.h:243:1:
+ F_GETCODEDIR = 72 // fcntl.h:277:1:
+ F_GETFD = 1 // fcntl.h:218:1:
+ F_GETFL = 3 // fcntl.h:220:1:
+ F_GETLK = 7 // fcntl.h:224:1:
+ F_GETLKPID = 66 // fcntl.h:263:1:
+ F_GETNOSIGPIPE = 74 // fcntl.h:280:1:
+ F_GETOWN = 5 // fcntl.h:222:1:
+ F_GETPATH = 50 // fcntl.h:242:1:
+ F_GETPATH_MTMINFO = 71 // fcntl.h:275:1:
+ F_GETPATH_NOFIRMLINK = 102 // fcntl.h:307:1:
+ F_GETPROTECTIONCLASS = 63 // fcntl.h:258:1:
+ F_GETPROTECTIONLEVEL = 77 // fcntl.h:287:1:
+ F_GETSIGSINFO = 105 // fcntl.h:311:1:
+ F_GLOBAL_NOCACHE = 55 // fcntl.h:247:1:
+ F_LOG2PHYS = 49 // fcntl.h:241:1:
+ F_LOG2PHYS_EXT = 65 // fcntl.h:261:1:
+ F_NOCACHE = 48 // fcntl.h:240:1:
+ F_NODIRECT = 62 // fcntl.h:255:1:
+ F_PATHPKG_CHECK = 52 // fcntl.h:244:1:
+ F_PEOFPOSMODE = 3 // fcntl.h:352:1:
+ F_PREALLOCATE = 42 // fcntl.h:233:1:
+ F_PUNCHHOLE = 99 // fcntl.h:301:1:
+ F_RDADVISE = 44 // fcntl.h:235:1:
+ F_RDAHEAD = 45 // fcntl.h:236:1:
+ F_RDLCK = 1 // fcntl.h:327:1:
+ F_SETBACKINGSTORE = 70 // fcntl.h:274:1:
+ F_SETFD = 2 // fcntl.h:219:1:
+ F_SETFL = 4 // fcntl.h:221:1:
+ F_SETLK = 8 // fcntl.h:225:1:
+ F_SETLKW = 9 // fcntl.h:226:1:
+ F_SETLKWTIMEOUT = 10 // fcntl.h:228:1:
+ F_SETNOSIGPIPE = 73 // fcntl.h:279:1:
+ F_SETOWN = 6 // fcntl.h:223:1:
+ F_SETPROTECTIONCLASS = 64 // fcntl.h:259:1:
+ F_SETSIZE = 43 // fcntl.h:234:1:
+ F_SINGLE_WRITER = 76 // fcntl.h:284:1:
+ F_SPECULATIVE_READ = 101 // fcntl.h:305:1:
+ F_THAW_FS = 54 // fcntl.h:246:1:
+ F_TRANSCODEKEY = 75 // fcntl.h:282:1:
+ F_TRIM_ACTIVE_FILE = 100 // fcntl.h:303:1:
+ F_UNLCK = 2 // fcntl.h:328:1:
+ F_VOLPOSMODE = 4 // fcntl.h:354:1:
+ F_WRLCK = 3 // fcntl.h:329:1:
+ GETSIGSINFO_PLATFORM_BINARY = 1 // fcntl.h:444:1:
+ LOCK_EX = 0x02 // fcntl.h:456:1:
+ LOCK_NB = 0x04 // fcntl.h:457:1:
+ LOCK_SH = 0x01 // fcntl.h:455:1:
+ LOCK_UN = 0x08 // fcntl.h:458:1:
+ MAC_OS_VERSION_11_0 = 110000 // AvailabilityVersions.h:238:1:
+ MAC_OS_VERSION_12_0 = 120000 // AvailabilityVersions.h:239:1:
+ MAC_OS_X_VERSION_10_0 = 1000 // AvailabilityVersions.h:206:1:
+ MAC_OS_X_VERSION_10_1 = 1010 // AvailabilityVersions.h:207:1:
+ MAC_OS_X_VERSION_10_10 = 101000 // AvailabilityVersions.h:216:1:
+ MAC_OS_X_VERSION_10_10_2 = 101002 // AvailabilityVersions.h:217:1:
+ MAC_OS_X_VERSION_10_10_3 = 101003 // AvailabilityVersions.h:218:1:
+ MAC_OS_X_VERSION_10_11 = 101100 // AvailabilityVersions.h:219:1:
+ MAC_OS_X_VERSION_10_11_2 = 101102 // AvailabilityVersions.h:220:1:
+ MAC_OS_X_VERSION_10_11_3 = 101103 // AvailabilityVersions.h:221:1:
+ MAC_OS_X_VERSION_10_11_4 = 101104 // AvailabilityVersions.h:222:1:
+ MAC_OS_X_VERSION_10_12 = 101200 // AvailabilityVersions.h:223:1:
+ MAC_OS_X_VERSION_10_12_1 = 101201 // AvailabilityVersions.h:224:1:
+ MAC_OS_X_VERSION_10_12_2 = 101202 // AvailabilityVersions.h:225:1:
+ MAC_OS_X_VERSION_10_12_4 = 101204 // AvailabilityVersions.h:226:1:
+ MAC_OS_X_VERSION_10_13 = 101300 // AvailabilityVersions.h:227:1:
+ MAC_OS_X_VERSION_10_13_1 = 101301 // AvailabilityVersions.h:228:1:
+ MAC_OS_X_VERSION_10_13_2 = 101302 // AvailabilityVersions.h:229:1:
+ MAC_OS_X_VERSION_10_13_4 = 101304 // AvailabilityVersions.h:230:1:
+ MAC_OS_X_VERSION_10_14 = 101400 // AvailabilityVersions.h:231:1:
+ MAC_OS_X_VERSION_10_14_1 = 101401 // AvailabilityVersions.h:232:1:
+ MAC_OS_X_VERSION_10_14_4 = 101404 // AvailabilityVersions.h:233:1:
+ MAC_OS_X_VERSION_10_14_6 = 101406 // AvailabilityVersions.h:234:1:
+ MAC_OS_X_VERSION_10_15 = 101500 // AvailabilityVersions.h:235:1:
+ MAC_OS_X_VERSION_10_15_1 = 101501 // AvailabilityVersions.h:236:1:
+ MAC_OS_X_VERSION_10_16 = 101600 // AvailabilityVersions.h:237:1:
+ MAC_OS_X_VERSION_10_2 = 1020 // AvailabilityVersions.h:208:1:
+ MAC_OS_X_VERSION_10_3 = 1030 // AvailabilityVersions.h:209:1:
+ MAC_OS_X_VERSION_10_4 = 1040 // AvailabilityVersions.h:210:1:
+ MAC_OS_X_VERSION_10_5 = 1050 // AvailabilityVersions.h:211:1:
+ MAC_OS_X_VERSION_10_6 = 1060 // AvailabilityVersions.h:212:1:
+ MAC_OS_X_VERSION_10_7 = 1070 // AvailabilityVersions.h:213:1:
+ MAC_OS_X_VERSION_10_8 = 1080 // AvailabilityVersions.h:214:1:
+ MAC_OS_X_VERSION_10_9 = 1090 // AvailabilityVersions.h:215:1:
+ O_ACCMODE = 0x0003 // fcntl.h:99:1:
+ O_ALERT = 0x20000000 // fcntl.h:537:1:
+ O_APPEND = 0x00000008 // fcntl.h:114:1:
+ O_ASYNC = 0x00000040 // fcntl.h:121:1:
+ O_CLOEXEC = 0x01000000 // fcntl.h:150:1:
+ O_CREAT = 0x00000200 // fcntl.h:125:1:
+ O_DIRECTORY = 0x00100000 // fcntl.h:138:1:
+ O_DP_GETRAWENCRYPTED = 0x0001 // fcntl.h:181:1:
+ O_DP_GETRAWUNENCRYPTED = 0x0002 // fcntl.h:182:1:
+ O_DSYNC = 0x400000 // _o_dsync.h:29:1:
+ O_EVTONLY = 0x00008000 // fcntl.h:130:1:
+ O_EXCL = 0x00000800 // fcntl.h:127:1:
+ O_EXLOCK = 0x00000020 // fcntl.h:120:1:
+ O_FSYNC = 128 // fcntl.h:122:1:
+ O_NDELAY = 4 // fcntl.h:199:1:
+ O_NOCTTY = 0x00020000 // fcntl.h:134:1:
+ O_NOFOLLOW = 0x00000100 // fcntl.h:123:1:
+ O_NOFOLLOW_ANY = 0x20000000 // fcntl.h:155:1:
+ O_NONBLOCK = 0x00000004 // fcntl.h:113:1:
+ O_POPUP = 0x80000000 // fcntl.h:536:1:
+ O_RDONLY = 0x0000 // fcntl.h:96:1:
+ O_RDWR = 0x0002 // fcntl.h:98:1:
+ O_SHLOCK = 0x00000010 // fcntl.h:119:1:
+ O_SYMLINK = 0x00200000 // fcntl.h:142:1:
+ O_SYNC = 0x0080 // _o_sync.h:29:1:
+ O_TRUNC = 0x00000400 // fcntl.h:126:1:
+ O_WRONLY = 0x0001 // fcntl.h:97:1:
+ SEEK_CUR = 1 // _seek_set.h:34:1:
+ SEEK_DATA = 4 // _seek_set.h:44:1:
+ SEEK_END = 2 // _seek_set.h:35:1:
+ SEEK_HOLE = 3 // _seek_set.h:40:1:
+ SEEK_SET = 0 // _seek_set.h:33:1:
+ S_IEXEC = 64 // _s_ifmt.h:72:1:
+ S_IFBLK = 0060000 // _s_ifmt.h:39:1:
+ S_IFCHR = 0020000 // _s_ifmt.h:37:1:
+ S_IFDIR = 0040000 // _s_ifmt.h:38:1:
+ S_IFIFO = 0010000 // _s_ifmt.h:36:1:
+ S_IFLNK = 0120000 // _s_ifmt.h:41:1:
+ S_IFMT = 0170000 // _s_ifmt.h:35:1:
+ S_IFREG = 0100000 // _s_ifmt.h:40:1:
+ S_IFSOCK = 0140000 // _s_ifmt.h:42:1:
+ S_IFWHT = 0160000 // _s_ifmt.h:44:1:
+ S_IREAD = 256 // _s_ifmt.h:70:1:
+ S_IRGRP = 0000040 // _s_ifmt.h:55:1:
+ S_IROTH = 0000004 // _s_ifmt.h:60:1:
+ S_IRUSR = 0000400 // _s_ifmt.h:50:1:
+ S_IRWXG = 0000070 // _s_ifmt.h:54:1:
+ S_IRWXO = 0000007 // _s_ifmt.h:59:1:
+ S_IRWXU = 0000700 // _s_ifmt.h:49:1:
+ S_ISGID = 0002000 // _s_ifmt.h:65:1:
+ S_ISTXT = 512 // _s_ifmt.h:69:1:
+ S_ISUID = 0004000 // _s_ifmt.h:64:1:
+ S_ISVTX = 0001000 // _s_ifmt.h:66:1:
+ S_IWGRP = 0000020 // _s_ifmt.h:56:1:
+ S_IWOTH = 0000002 // _s_ifmt.h:61:1:
+ S_IWRITE = 128 // _s_ifmt.h:71:1:
+ S_IWUSR = 0000200 // _s_ifmt.h:51:1:
+ S_IXGRP = 0000010 // _s_ifmt.h:57:1:
+ S_IXOTH = 0000001 // _s_ifmt.h:62:1:
+ S_IXUSR = 0000100 // _s_ifmt.h:52:1:
+ USER_FSIGNATURES_CDHASH_LEN = 20 // fcntl.h:401:1:
+ X_ARM_MACHTYPES_H_ = 0 // types.h:43:1:
+ X_BSD_ARM__TYPES_H_ = 0 // _types.h:5:1:
+ X_BSD_MACHINE_TYPES_H_ = 0 // types.h:32:1:
+ X_BSD_MACHINE__TYPES_H_ = 0 // _types.h:29:1:
+ X_CDEFS_H_ = 0 // cdefs.h:68:1:
+ X_DARWIN_FEATURE_64_BIT_INODE = 1 // cdefs.h:774:1:
+ X_DARWIN_FEATURE_ONLY_64_BIT_INODE = 1 // cdefs.h:784:1:
+ X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1 // cdefs.h:800:1:
+ X_DARWIN_FEATURE_ONLY_VERS_1050 = 1 // cdefs.h:792:1:
+ X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3 // cdefs.h:808:1:
+ X_FILESEC_T = 0 // _filesec_t.h:29:1:
+ X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
+ X_INT16_T = 0 // _int16_t.h:29:1:
+ X_INT32_T = 0 // _int32_t.h:29:1:
+ X_INT64_T = 0 // _int64_t.h:29:1:
+ X_INT8_T = 0 // _int8_t.h:29:1:
+ X_INTPTR_T = 0 // _intptr_t.h:29:1:
+ X_LP64 = 1 // <predefined>:1:1:
+ X_MACHTYPES_H_ = 0 // types.h:44:1:
+ X_MODE_T = 0 // _mode_t.h:29:1:
+ X_Nonnull = 0 // cdefs.h:268:1:
+ X_Null_unspecified = 0 // cdefs.h:271:1:
+ X_Nullable = 0 // cdefs.h:265:1:
+ X_OFF_T = 0 // _off_t.h:29:1:
+ X_PID_T = 0 // _pid_t.h:29:1:
+ X_SIZE_T = 0 // _size_t.h:29:1:
+ X_SYS_FCNTL_H_ = 0 // fcntl.h:71:1:
+ X_SYS__PTHREAD_TYPES_H_ = 0 // _pthread_types.h:30:1:
+ X_SYS__TYPES_H_ = 0 // _types.h:30:1:
+ X_UINTPTR_T = 0 // _uintptr_t.h:29:1:
+ X_U_INT16_T = 0 // _u_int16_t.h:29:1:
+ X_U_INT32_T = 0 // _u_int32_t.h:29:1:
+ X_U_INT64_T = 0 // _u_int64_t.h:29:1:
+ X_U_INT8_T = 0 // _u_int8_t.h:29:1:
)
-const ( /* fcntl.h:545:1: */
+const ( /* fcntl.h:547:1: */
FILESEC_OWNER = 1
FILESEC_GROUP = 2
FILESEC_UUID = 3
@@ -741,6 +743,20 @@ var X__darwin_check_fd_set_overflow uintptr /* <builtin>:146:5: */
// __XNU_PRIVATE_EXTERN is a linkage decoration indicating that a symbol can be
// used from other compilation units, but not other libraries or executables.
+// We intentionally define to nothing pointer attributes which do not have an
+// impact on the ABI. __indexable and __bidi_indexable are not defined because
+// of the ABI incompatibility that makes the diagnostic preferable.
+
+// Similarly, we intentionally define to nothing the
+// __ptrcheck_abi_assume_single and __ptrcheck_abi_assume_unsafe_indexable
+// macros because they do not lead to an ABI incompatibility. However, we do not
+// define the indexable and unsafe_indexable ones because the diagnostic is
+// better than the silent ABI break.
+
+// __unsafe_forge intrinsics are defined as regular C casts.
+
+// decay operates normally; attribute is meaningless without pointer checks.
+
// Architecture validation for current SDK
// Similar to OS_ENUM/OS_CLOSED_ENUM/OS_OPTIONS/OS_CLOSED_OPTIONS
@@ -1408,7 +1424,7 @@ type Flock = struct {
Fl_pid Pid_t
Fl_type int16
Fl_whence int16
-} /* fcntl.h:359:1 */
+} /* fcntl.h:361:1 */
// Copyright (c) 2003-2012 Apple Inc. All rights reserved.
//
@@ -1887,7 +1903,7 @@ type Flocktimeout = struct {
Ftv_sec X__darwin_time_t
Ftv_nsec int64
}
-} /* fcntl.h:374:1 */
+} /* fcntl.h:376:1 */
// advisory file read data type -
// information passed by user to system
@@ -1896,7 +1912,7 @@ type Radvisory = struct {
Fra_offset Off_t
Fra_count int32
F__ccgo_pad1 [4]byte
-} /* fcntl.h:387:1 */
+} /* fcntl.h:389:1 */
// detached code signatures data type -
// information passed by user to system used by F_ADDSIGS and F_ADDFILESIGS.
@@ -1909,13 +1925,13 @@ type Fsignatures = struct {
Ffs_fsignatures_size Size_t
Ffs_cdhash [20]int8
Ffs_hash_type int32
-} /* fcntl.h:400:9 */
+} /* fcntl.h:402:9 */
// detached code signatures data type -
// information passed by user to system used by F_ADDSIGS and F_ADDFILESIGS.
// F_ADDFILESIGS is a shortcut for files that contain their own signature and
// doesn't require mapping of the file in order to load the signature.
-type Fsignatures_t = Fsignatures /* fcntl.h:410:3 */
+type Fsignatures_t = Fsignatures /* fcntl.h:412:3 */
type Fsupplement = struct {
Ffs_file_start Off_t
@@ -1923,9 +1939,9 @@ type Fsupplement = struct {
Ffs_blob_size Size_t
Ffs_orig_fd int32
F__ccgo_pad1 [4]byte
-} /* fcntl.h:412:9 */
+} /* fcntl.h:414:9 */
-type Fsupplement_t = Fsupplement /* fcntl.h:417:3 */
+type Fsupplement_t = Fsupplement /* fcntl.h:419:3 */
// DYLD needs to check if the object is allowed to be combined
// into the main binary. This is done between the code signature
@@ -1939,7 +1955,7 @@ type Fchecklv = struct {
Flv_file_start Off_t
Flv_error_message_size Size_t
Flv_error_message uintptr
-} /* fcntl.h:431:9 */
+} /* fcntl.h:433:9 */
// DYLD needs to check if the object is allowed to be combined
// into the main binary. This is done between the code signature
@@ -1949,7 +1965,7 @@ type Fchecklv = struct {
// the MAC module doesn't say no when LV isn't enabled and then that
// is cached on the vnode, and the MAC module never gets change once
// a process that library validation enabled.
-type Fchecklv_t = Fchecklv /* fcntl.h:435:3 */
+type Fchecklv_t = Fchecklv /* fcntl.h:437:3 */
// At this time F_GETSIGSINFO can only indicate platformness.
// As additional requestable information is defined, new keys will be added and the
@@ -1960,14 +1976,14 @@ type Fgetsigsinfo = struct {
Ffg_file_start Off_t
Ffg_info_request int32
Ffg_sig_is_platform int32
-} /* fcntl.h:445:9 */
+} /* fcntl.h:447:9 */
// At this time F_GETSIGSINFO can only indicate platformness.
// As additional requestable information is defined, new keys will be added and the
// fgetsigsinfo_t structure will be lengthened to add space for the additional information
// fgetsigsinfo_t used by F_GETSIGSINFO command
-type Fgetsigsinfo_t = Fgetsigsinfo /* fcntl.h:449:3 */
+type Fgetsigsinfo_t = Fgetsigsinfo /* fcntl.h:451:3 */
// lock operations for flock(2)
@@ -1979,13 +1995,13 @@ type Fstore = struct {
Ffst_offset Off_t
Ffst_length Off_t
Ffst_bytesalloc Off_t
-} /* fcntl.h:460:9 */
+} /* fcntl.h:462:9 */
// lock operations for flock(2)
// fstore_t type used by F_PREALLOCATE command
-type Fstore_t = Fstore /* fcntl.h:466:3 */
+type Fstore_t = Fstore /* fcntl.h:468:3 */
// fpunchhole_t used by F_PUNCHHOLE
type Fpunchhole = struct {
@@ -1993,19 +2009,19 @@ type Fpunchhole = struct {
Freserved uint32
Ffp_offset Off_t
Ffp_length Off_t
-} /* fcntl.h:469:9 */
+} /* fcntl.h:471:9 */
// fpunchhole_t used by F_PUNCHHOLE
-type Fpunchhole_t = Fpunchhole /* fcntl.h:474:3 */
+type Fpunchhole_t = Fpunchhole /* fcntl.h:476:3 */
// factive_file_trim_t used by F_TRIM_ACTIVE_FILE
type Ftrimactivefile = struct {
Ffta_offset Off_t
Ffta_length Off_t
-} /* fcntl.h:477:9 */
+} /* fcntl.h:479:9 */
// factive_file_trim_t used by F_TRIM_ACTIVE_FILE
-type Ftrimactivefile_t = Ftrimactivefile /* fcntl.h:480:3 */
+type Ftrimactivefile_t = Ftrimactivefile /* fcntl.h:482:3 */
// fspecread_t used by F_SPECULATIVE_READ
type Fspecread = struct {
@@ -2013,10 +2029,10 @@ type Fspecread = struct {
Freserved uint32
Ffsr_offset Off_t
Ffsr_length Off_t
-} /* fcntl.h:483:9 */
+} /* fcntl.h:485:9 */
// fspecread_t used by F_SPECULATIVE_READ
-type Fspecread_t = Fspecread /* fcntl.h:488:3 */
+type Fspecread_t = Fspecread /* fcntl.h:490:3 */
// fbootstraptransfer_t used by F_READBOOTSTRAP and F_WRITEBOOTSTRAP commands
@@ -2024,11 +2040,11 @@ type Fbootstraptransfer = struct {
Ffbt_offset Off_t
Ffbt_length Size_t
Ffbt_buffer uintptr
-} /* fcntl.h:492:9 */
+} /* fcntl.h:494:9 */
// fbootstraptransfer_t used by F_READBOOTSTRAP and F_WRITEBOOTSTRAP commands
-type Fbootstraptransfer_t = Fbootstraptransfer /* fcntl.h:496:3 */
+type Fbootstraptransfer_t = Fbootstraptransfer /* fcntl.h:498:3 */
// For F_LOG2PHYS this information is passed back to user
// Currently only devoffset is returned - that is the VOP_BMAP
@@ -2055,10 +2071,10 @@ type Log2phys = struct {
F__ccgo_pad1 [4]byte
Fl2p_contigbytes Off_t
Fl2p_devoffset Off_t
-} /* fcntl.h:522:1 */
+} /* fcntl.h:524:1 */
type Filesec_t = uintptr /* _filesec_t.h:31:25 */
-type Filesec_property_t = uint32 /* fcntl.h:556:3 */
+type Filesec_property_t = uint32 /* fcntl.h:558:3 */
var _ int8 /* gen.c:2:13: */
diff --git a/vendor/modernc.org/libc/fcntl/fcntl_linux_amd64.go b/vendor/modernc.org/libc/fcntl/fcntl_linux_amd64.go
index ff6e090d..e0d177b7 100644
--- a/vendor/modernc.org/libc/fcntl/fcntl_linux_amd64.go
+++ b/vendor/modernc.org/libc/fcntl/fcntl_linux_amd64.go
@@ -1,4 +1,4 @@
-// Code generated by 'ccgo fcntl/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o fcntl/fcntl_linux_amd64.go -pkgname fcntl', DO NOT EDIT.
+// Code generated by 'ccgo fcntl/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o fcntl/fcntl_linux_amd64.go -pkgname fcntl', DO NOT EDIT.
package fcntl
@@ -15,127 +15,127 @@ var _ atomic.Value
var _ unsafe.Pointer
const (
- AT_EACCESS = 0x200
- AT_FDCWD = -100
- AT_REMOVEDIR = 0x200
- AT_SYMLINK_FOLLOW = 0x400
- AT_SYMLINK_NOFOLLOW = 0x100
- FAPPEND = 1024
- FASYNC = 8192
- FD_CLOEXEC = 1
- FFSYNC = 1052672
- FNDELAY = 2048
- FNONBLOCK = 2048
- F_DUPFD = 0
- F_DUPFD_CLOEXEC = 1030
- F_EXLCK = 4
- F_GETFD = 1
- F_GETFL = 3
- F_GETLK = 5
- F_GETLK64 = 5
- F_GETOWN = 9
- F_LOCK = 1
- F_OK = 0
- F_RDLCK = 0
- F_SETFD = 2
- F_SETFL = 4
- F_SETLK = 6
- F_SETLK64 = 6
- F_SETLKW = 7
- F_SETLKW64 = 7
- F_SETOWN = 8
- F_SHLCK = 8
- F_TEST = 3
- F_TLOCK = 2
- F_ULOCK = 0
- F_UNLCK = 2
- F_WRLCK = 1
- LOCK_EX = 2
- LOCK_NB = 4
- LOCK_SH = 1
- LOCK_UN = 8
- O_ACCMODE = 0003
- O_APPEND = 02000
- O_ASYNC = 020000
- O_CLOEXEC = 524288
- O_CREAT = 0100
- O_DIRECTORY = 65536
- O_DSYNC = 4096
- O_EXCL = 0200
- O_FSYNC = 1052672
- O_NDELAY = 2048
- O_NOCTTY = 0400
- O_NOFOLLOW = 131072
- O_NONBLOCK = 04000
- O_RDONLY = 00
- O_RDWR = 02
- O_RSYNC = 1052672
- O_SYNC = 04010000
- O_TRUNC = 01000
- O_WRONLY = 01
- POSIX_FADV_DONTNEED = 4
- POSIX_FADV_NOREUSE = 5
- POSIX_FADV_NORMAL = 0
- POSIX_FADV_RANDOM = 1
- POSIX_FADV_SEQUENTIAL = 2
- POSIX_FADV_WILLNEED = 3
- R_OK = 4
- SEEK_CUR = 1
- SEEK_END = 2
- SEEK_SET = 0
- S_IFBLK = 24576
- S_IFCHR = 8192
- S_IFDIR = 16384
- S_IFIFO = 4096
- S_IFLNK = 40960
- S_IFMT = 61440
- S_IFREG = 32768
- S_IFSOCK = 49152
- S_IRGRP = 32
- S_IROTH = 4
- S_IRUSR = 256
- S_IRWXG = 56
- S_IRWXO = 7
- S_IRWXU = 448
- S_ISGID = 1024
- S_ISUID = 2048
- S_ISVTX = 512
- S_IWGRP = 16
- S_IWOTH = 2
- S_IWUSR = 128
- S_IXGRP = 8
- S_IXOTH = 1
- S_IXUSR = 64
- UTIME_NOW = 1073741823
- UTIME_OMIT = 1073741822
- W_OK = 2
- X_OK = 1
- X_ATFILE_SOURCE = 1
- X_BITS_ENDIANNESS_H = 1
- X_BITS_ENDIAN_H = 1
- X_BITS_STAT_H = 1
- X_BITS_TIME64_H = 1
- X_BITS_TYPESIZES_H = 1
- X_BITS_TYPES_H = 1
- X_DEFAULT_SOURCE = 1
- X_FCNTL_H = 1
- X_FEATURES_H = 1
- X_FILE_OFFSET_BITS = 64
- X_LP64 = 1
- X_MKNOD_VER_LINUX = 0
- X_POSIX_C_SOURCE = 200809
- X_POSIX_SOURCE = 1
- X_STATBUF_ST_BLKSIZE = 0
- X_STATBUF_ST_NSEC = 0
- X_STATBUF_ST_RDEV = 0
- X_STAT_VER = 1
- X_STAT_VER_KERNEL = 0
- X_STAT_VER_LINUX = 1
- X_STDC_PREDEF_H = 1
- X_STRUCT_TIMESPEC = 1
- X_SYS_CDEFS_H = 1
- Linux = 1
- Unix = 1
+ AT_EACCESS = 0x200 // fcntl-linux.h:388:1:
+ AT_FDCWD = -100 // fcntl-linux.h:371:1:
+ AT_REMOVEDIR = 0x200 // fcntl-linux.h:375:1:
+ AT_SYMLINK_FOLLOW = 0x400 // fcntl-linux.h:377:1:
+ AT_SYMLINK_NOFOLLOW = 0x100 // fcntl-linux.h:374:1:
+ FAPPEND = 1024 // fcntl-linux.h:304:1:
+ FASYNC = 8192 // fcntl-linux.h:306:1:
+ FD_CLOEXEC = 1 // fcntl-linux.h:219:1:
+ FFSYNC = 1052672 // fcntl-linux.h:305:1:
+ FNDELAY = 2048 // fcntl-linux.h:308:1:
+ FNONBLOCK = 2048 // fcntl-linux.h:307:1:
+ F_DUPFD = 0 // fcntl-linux.h:167:1:
+ F_DUPFD_CLOEXEC = 1030 // fcntl-linux.h:214:1:
+ F_EXLCK = 4 // fcntl-linux.h:231:1:
+ F_GETFD = 1 // fcntl-linux.h:168:1:
+ F_GETFL = 3 // fcntl-linux.h:170:1:
+ F_GETLK = 5 // fcntl-linux.h:109:1:
+ F_GETLK64 = 5 // fcntl.h:29:1:
+ F_GETOWN = 9 // fcntl-linux.h:180:1:
+ F_LOCK = 1 // fcntl.h:238:1:
+ F_OK = 0 // fcntl.h:131:1:
+ F_RDLCK = 0 // fcntl-linux.h:223:1:
+ F_SETFD = 2 // fcntl-linux.h:169:1:
+ F_SETFL = 4 // fcntl-linux.h:171:1:
+ F_SETLK = 6 // fcntl-linux.h:110:1:
+ F_SETLK64 = 6 // fcntl.h:30:1:
+ F_SETLKW = 7 // fcntl-linux.h:111:1:
+ F_SETLKW64 = 7 // fcntl.h:31:1:
+ F_SETOWN = 8 // fcntl-linux.h:179:1:
+ F_SHLCK = 8 // fcntl-linux.h:232:1:
+ F_TEST = 3 // fcntl.h:240:1:
+ F_TLOCK = 2 // fcntl.h:239:1:
+ F_ULOCK = 0 // fcntl.h:237:1:
+ F_UNLCK = 2 // fcntl-linux.h:225:1:
+ F_WRLCK = 1 // fcntl-linux.h:224:1:
+ LOCK_EX = 2 // fcntl-linux.h:238:1:
+ LOCK_NB = 4 // fcntl-linux.h:239:1:
+ LOCK_SH = 1 // fcntl-linux.h:237:1:
+ LOCK_UN = 8 // fcntl-linux.h:241:1:
+ O_ACCMODE = 0003 // fcntl-linux.h:42:1:
+ O_APPEND = 02000 // fcntl-linux.h:59:1:
+ O_ASYNC = 020000 // fcntl-linux.h:72:1:
+ O_CLOEXEC = 524288 // fcntl-linux.h:144:1:
+ O_CREAT = 0100 // fcntl-linux.h:47:1:
+ O_DIRECTORY = 65536 // fcntl-linux.h:142:1:
+ O_DSYNC = 4096 // fcntl-linux.h:158:1:
+ O_EXCL = 0200 // fcntl-linux.h:50:1:
+ O_FSYNC = 1052672 // fcntl-linux.h:70:1:
+ O_NDELAY = 2048 // fcntl-linux.h:65:1:
+ O_NOCTTY = 0400 // fcntl-linux.h:53:1:
+ O_NOFOLLOW = 131072 // fcntl-linux.h:143:1:
+ O_NONBLOCK = 04000 // fcntl-linux.h:62:1:
+ O_RDONLY = 00 // fcntl-linux.h:43:1:
+ O_RDWR = 02 // fcntl-linux.h:45:1:
+ O_RSYNC = 1052672 // fcntl-linux.h:162:1:
+ O_SYNC = 04010000 // fcntl-linux.h:68:1:
+ O_TRUNC = 01000 // fcntl-linux.h:56:1:
+ O_WRONLY = 01 // fcntl-linux.h:44:1:
+ POSIX_FADV_DONTNEED = 4 // fcntl-linux.h:321:1:
+ POSIX_FADV_NOREUSE = 5 // fcntl-linux.h:322:1:
+ POSIX_FADV_NORMAL = 0 // fcntl-linux.h:317:1:
+ POSIX_FADV_RANDOM = 1 // fcntl-linux.h:318:1:
+ POSIX_FADV_SEQUENTIAL = 2 // fcntl-linux.h:319:1:
+ POSIX_FADV_WILLNEED = 3 // fcntl-linux.h:320:1:
+ R_OK = 4 // fcntl.h:128:1:
+ SEEK_CUR = 1 // fcntl.h:138:1:
+ SEEK_END = 2 // fcntl.h:139:1:
+ SEEK_SET = 0 // fcntl.h:137:1:
+ S_IFBLK = 24576 // fcntl.h:83:1:
+ S_IFCHR = 8192 // fcntl.h:82:1:
+ S_IFDIR = 16384 // fcntl.h:81:1:
+ S_IFIFO = 4096 // fcntl.h:86:1:
+ S_IFLNK = 40960 // fcntl.h:89:1:
+ S_IFMT = 61440 // fcntl.h:80:1:
+ S_IFREG = 32768 // fcntl.h:84:1:
+ S_IFSOCK = 49152 // fcntl.h:92:1:
+ S_IRGRP = 32 // fcntl.h:111:1:
+ S_IROTH = 4 // fcntl.h:117:1:
+ S_IRUSR = 256 // fcntl.h:105:1:
+ S_IRWXG = 56 // fcntl.h:115:1:
+ S_IRWXO = 7 // fcntl.h:121:1:
+ S_IRWXU = 448 // fcntl.h:109:1:
+ S_ISGID = 1024 // fcntl.h:98:1:
+ S_ISUID = 2048 // fcntl.h:97:1:
+ S_ISVTX = 512 // fcntl.h:102:1:
+ S_IWGRP = 16 // fcntl.h:112:1:
+ S_IWOTH = 2 // fcntl.h:118:1:
+ S_IWUSR = 128 // fcntl.h:106:1:
+ S_IXGRP = 8 // fcntl.h:113:1:
+ S_IXOTH = 1 // fcntl.h:119:1:
+ S_IXUSR = 64 // fcntl.h:107:1:
+ UTIME_NOW = 1073741823 // stat.h:206:1:
+ UTIME_OMIT = 1073741822 // stat.h:207:1:
+ W_OK = 2 // fcntl.h:129:1:
+ X_OK = 1 // fcntl.h:130:1:
+ X_ATFILE_SOURCE = 1 // features.h:342:1:
+ X_BITS_ENDIANNESS_H = 1 // endianness.h:2:1:
+ X_BITS_ENDIAN_H = 1 // endian.h:20:1:
+ X_BITS_STAT_H = 1 // stat.h:23:1:
+ X_BITS_TIME64_H = 1 // time64.h:24:1:
+ X_BITS_TYPESIZES_H = 1 // typesizes.h:24:1:
+ X_BITS_TYPES_H = 1 // types.h:24:1:
+ X_DEFAULT_SOURCE = 1 // features.h:227:1:
+ X_FCNTL_H = 1 // fcntl.h:23:1:
+ X_FEATURES_H = 1 // features.h:19:1:
+ X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
+ X_LP64 = 1 // <predefined>:284:1:
+ X_MKNOD_VER_LINUX = 0 // stat.h:41:1:
+ X_POSIX_C_SOURCE = 200809 // features.h:281:1:
+ X_POSIX_SOURCE = 1 // features.h:279:1:
+ X_STATBUF_ST_BLKSIZE = 0 // stat.h:172:1:
+ X_STATBUF_ST_NSEC = 0 // stat.h:175:1:
+ X_STATBUF_ST_RDEV = 0 // stat.h:173:1:
+ X_STAT_VER = 1 // stat.h:44:1:
+ X_STAT_VER_KERNEL = 0 // stat.h:37:1:
+ X_STAT_VER_LINUX = 1 // stat.h:38:1:
+ X_STDC_PREDEF_H = 1 // <predefined>:162:1:
+ X_STRUCT_TIMESPEC = 1 // struct_timespec.h:3:1:
+ X_SYS_CDEFS_H = 1 // cdefs.h:19:1:
+ Linux = 1 // <predefined>:231:1:
+ Unix = 1 // <predefined>:177:1:
)
type Ptrdiff_t = int64 /* <builtin>:3:26 */