summaryrefslogtreecommitdiffstats
path: root/vendor/modernc.org/libc/fcntl/fcntl_darwin_amd64.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/modernc.org/libc/fcntl/fcntl_darwin_amd64.go')
-rw-r--r--vendor/modernc.org/libc/fcntl/fcntl_darwin_amd64.go348
1 files changed, 174 insertions, 174 deletions
diff --git a/vendor/modernc.org/libc/fcntl/fcntl_darwin_amd64.go b/vendor/modernc.org/libc/fcntl/fcntl_darwin_amd64.go
index 64e9d719..5221b828 100644
--- a/vendor/modernc.org/libc/fcntl/fcntl_darwin_amd64.go
+++ b/vendor/modernc.org/libc/fcntl/fcntl_darwin_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_darwin_amd64.go -pkgname fcntl', DO NOT EDIT.
+// Code generated by 'ccgo fcntl/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o fcntl/fcntl_darwin_amd64.go -pkgname fcntl', DO NOT EDIT.
package fcntl
@@ -15,177 +15,177 @@ var _ atomic.Value
var _ unsafe.Pointer
const (
- AT_EACCESS = 0x0010
- AT_FDCWD = -2
- AT_FDONLY = 0x0400
- AT_REALDEV = 0x0200
- AT_REMOVEDIR = 0x0080
- AT_SYMLINK_FOLLOW = 0x0040
- AT_SYMLINK_NOFOLLOW = 0x0020
- CPF_IGNORE_MODE = 0x0002
- CPF_MASK = 3
- CPF_OVERWRITE = 0x0001
- FAPPEND = 8
- FASYNC = 64
- FCNTL_FS_SPECIFIC_BASE = 0x00010000
- FD_CLOEXEC = 1
- FFDSYNC = 4194304
- FFSYNC = 128
- FNDELAY = 4
- FNONBLOCK = 4
- FREAD = 0x0001
- FWRITE = 0x0002
- F_ADDFILESIGS = 61
- F_ADDFILESIGS_FOR_DYLD_SIM = 83
- F_ADDFILESIGS_RETURN = 97
- F_ADDSIGS = 59
- F_ALLOCATEALL = 0x00000004
- F_ALLOCATECONTIG = 0x00000002
- F_BARRIERFSYNC = 85
- F_CHECK_LV = 98
- F_CHKCLEAN = 41
- F_DUPFD = 0
- F_DUPFD_CLOEXEC = 67
- F_FINDSIGS = 78
- F_FLUSH_DATA = 40
- F_FREEZE_FS = 53
- F_FULLFSYNC = 51
- F_GETCODEDIR = 72
- F_GETFD = 1
- F_GETFL = 3
- F_GETLK = 7
- F_GETLKPID = 66
- F_GETNOSIGPIPE = 74
- F_GETOWN = 5
- F_GETPATH = 50
- F_GETPATH_MTMINFO = 71
- F_GETPATH_NOFIRMLINK = 102
- F_GETPROTECTIONCLASS = 63
- F_GETPROTECTIONLEVEL = 77
- F_GLOBAL_NOCACHE = 55
- F_LOG2PHYS = 49
- F_LOG2PHYS_EXT = 65
- F_NOCACHE = 48
- F_NODIRECT = 62
- F_PATHPKG_CHECK = 52
- F_PEOFPOSMODE = 3
- F_PREALLOCATE = 42
- F_PUNCHHOLE = 99
- F_RDADVISE = 44
- F_RDAHEAD = 45
- F_RDLCK = 1
- F_SETBACKINGSTORE = 70
- F_SETFD = 2
- F_SETFL = 4
- F_SETLK = 8
- F_SETLKW = 9
- F_SETLKWTIMEOUT = 10
- F_SETNOSIGPIPE = 73
- F_SETOWN = 6
- F_SETPROTECTIONCLASS = 64
- F_SETSIZE = 43
- F_SINGLE_WRITER = 76
- F_SPECULATIVE_READ = 101
- F_THAW_FS = 54
- F_TRANSCODEKEY = 75
- F_TRIM_ACTIVE_FILE = 100
- F_UNLCK = 2
- F_VOLPOSMODE = 4
- F_WRLCK = 3
- LOCK_EX = 0x02
- LOCK_NB = 0x04
- LOCK_SH = 0x01
- LOCK_UN = 0x08
- O_ACCMODE = 0x0003
- O_ALERT = 0x20000000
- O_APPEND = 0x0008
- O_ASYNC = 0x0040
- O_CLOEXEC = 0x1000000
- O_CREAT = 0x0200
- O_DIRECTORY = 0x100000
- O_DP_GETRAWENCRYPTED = 0x0001
- O_DP_GETRAWUNENCRYPTED = 0x0002
- O_DSYNC = 0x400000
- O_EVTONLY = 0x8000
- O_EXCL = 0x0800
- O_EXLOCK = 0x0020
- O_FSYNC = 128
- O_NDELAY = 4
- O_NOCTTY = 0x20000
- O_NOFOLLOW = 0x0100
- O_NONBLOCK = 0x0004
- O_POPUP = 0x80000000
- O_RDONLY = 0x0000
- O_RDWR = 0x0002
- O_SHLOCK = 0x0010
- O_SYMLINK = 0x200000
- O_SYNC = 0x0080
- O_TRUNC = 0x0400
- O_WRONLY = 0x0001
- SEEK_CUR = 1
- SEEK_DATA = 4
- SEEK_END = 2
- SEEK_HOLE = 3
- SEEK_SET = 0
- S_IEXEC = 64
- S_IFBLK = 0060000
- S_IFCHR = 0020000
- S_IFDIR = 0040000
- S_IFIFO = 0010000
- S_IFLNK = 0120000
- S_IFMT = 0170000
- S_IFREG = 0100000
- S_IFSOCK = 0140000
- S_IFWHT = 0160000
- S_IREAD = 256
- S_IRGRP = 0000040
- S_IROTH = 0000004
- S_IRUSR = 0000400
- S_IRWXG = 0000070
- S_IRWXO = 0000007
- S_IRWXU = 0000700
- S_ISGID = 0002000
- S_ISTXT = 512
- S_ISUID = 0004000
- S_ISVTX = 0001000
- S_IWGRP = 0000020
- S_IWOTH = 0000002
- S_IWRITE = 128
- S_IWUSR = 0000200
- S_IXGRP = 0000010
- S_IXOTH = 0000001
- S_IXUSR = 0000100
- X_BSD_I386__TYPES_H_ = 0
- X_BSD_MACHINE_TYPES_H_ = 0
- X_BSD_MACHINE__TYPES_H_ = 0
- X_CDEFS_H_ = 0
- X_DARWIN_FEATURE_64_BIT_INODE = 1
- X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1
- X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3
- X_FILESEC_T = 0
- X_FILE_OFFSET_BITS = 64
- X_INT16_T = 0
- X_INT32_T = 0
- X_INT64_T = 0
- X_INT8_T = 0
- X_INTPTR_T = 0
- X_LP64 = 1
- X_MACHTYPES_H_ = 0
- X_MODE_T = 0
- X_Nonnull = 0
- X_Null_unspecified = 0
- X_Nullable = 0
- X_OFF_T = 0
- X_PID_T = 0
- X_SIZE_T = 0
- X_SYS_FCNTL_H_ = 0
- X_SYS__PTHREAD_TYPES_H_ = 0
- X_SYS__TYPES_H_ = 0
- X_UINTPTR_T = 0
- X_U_INT16_T = 0
- X_U_INT32_T = 0
- X_U_INT64_T = 0
- X_U_INT8_T = 0
+ AT_EACCESS = 0x0010 // fcntl.h:138:1:
+ AT_FDCWD = -2 // fcntl.h:133:1:
+ AT_FDONLY = 0x0400 // fcntl.h:144:1:
+ AT_REALDEV = 0x0200 // fcntl.h:143:1:
+ AT_REMOVEDIR = 0x0080 // fcntl.h:141:1:
+ AT_SYMLINK_FOLLOW = 0x0040 // fcntl.h:140:1:
+ AT_SYMLINK_NOFOLLOW = 0x0020 // fcntl.h:139:1:
+ CPF_IGNORE_MODE = 0x0002 // fcntl.h:201:1:
+ CPF_MASK = 3 // fcntl.h:202:1:
+ CPF_OVERWRITE = 0x0001 // fcntl.h:200:1:
+ FAPPEND = 8 // fcntl.h:186:1:
+ FASYNC = 64 // fcntl.h:187:1:
+ FCNTL_FS_SPECIFIC_BASE = 0x00010000 // fcntl.h:297:1:
+ FD_CLOEXEC = 1 // fcntl.h:306:1:
+ FFDSYNC = 4194304 // fcntl.h:189:1:
+ FFSYNC = 128 // fcntl.h:188:1:
+ FNDELAY = 4 // fcntl.h:191:1:
+ FNONBLOCK = 4 // fcntl.h:190:1:
+ FREAD = 0x0001 // fcntl.h:110:1:
+ FWRITE = 0x0002 // fcntl.h:111:1:
+ F_ADDFILESIGS = 61 // fcntl.h:246:1:
+ F_ADDFILESIGS_FOR_DYLD_SIM = 83 // fcntl.h:279:1:
+ F_ADDFILESIGS_RETURN = 97 // fcntl.h:285:1:
+ F_ADDSIGS = 59 // fcntl.h:243:1:
+ F_ALLOCATEALL = 0x00000004 // fcntl.h:330:1:
+ F_ALLOCATECONTIG = 0x00000002 // fcntl.h:329:1:
+ F_BARRIERFSYNC = 85 // fcntl.h:282:1:
+ F_CHECK_LV = 98 // fcntl.h:286:1:
+ F_CHKCLEAN = 41 // fcntl.h:225:1:
+ F_DUPFD = 0 // fcntl.h:210:1:
+ F_DUPFD_CLOEXEC = 67 // fcntl.h:302:1:
+ F_FINDSIGS = 78 // fcntl.h:276:1:
+ F_FLUSH_DATA = 40 // fcntl.h:224:1:
+ F_FREEZE_FS = 53 // fcntl.h:238:1:
+ F_FULLFSYNC = 51 // fcntl.h:236:1:
+ F_GETCODEDIR = 72 // fcntl.h:264:1:
+ F_GETFD = 1 // fcntl.h:211:1:
+ F_GETFL = 3 // fcntl.h:213:1:
+ F_GETLK = 7 // fcntl.h:217:1:
+ F_GETLKPID = 66 // fcntl.h:256:1:
+ F_GETNOSIGPIPE = 74 // fcntl.h:267:1:
+ F_GETOWN = 5 // fcntl.h:215:1:
+ F_GETPATH = 50 // fcntl.h:235:1:
+ F_GETPATH_MTMINFO = 71 // fcntl.h:262:1:
+ F_GETPATH_NOFIRMLINK = 102 // fcntl.h:294:1:
+ F_GETPROTECTIONCLASS = 63 // fcntl.h:251:1:
+ F_GETPROTECTIONLEVEL = 77 // fcntl.h:274:1:
+ F_GLOBAL_NOCACHE = 55 // fcntl.h:240:1:
+ F_LOG2PHYS = 49 // fcntl.h:234:1:
+ F_LOG2PHYS_EXT = 65 // fcntl.h:254:1:
+ F_NOCACHE = 48 // fcntl.h:233:1:
+ F_NODIRECT = 62 // fcntl.h:248:1:
+ F_PATHPKG_CHECK = 52 // fcntl.h:237:1:
+ F_PEOFPOSMODE = 3 // fcntl.h:334:1:
+ F_PREALLOCATE = 42 // fcntl.h:226:1:
+ F_PUNCHHOLE = 99 // fcntl.h:288:1:
+ F_RDADVISE = 44 // fcntl.h:228:1:
+ F_RDAHEAD = 45 // fcntl.h:229:1:
+ F_RDLCK = 1 // fcntl.h:309:1:
+ F_SETBACKINGSTORE = 70 // fcntl.h:261:1:
+ F_SETFD = 2 // fcntl.h:212:1:
+ F_SETFL = 4 // fcntl.h:214:1:
+ F_SETLK = 8 // fcntl.h:218:1:
+ F_SETLKW = 9 // fcntl.h:219:1:
+ F_SETLKWTIMEOUT = 10 // fcntl.h:221:1:
+ F_SETNOSIGPIPE = 73 // fcntl.h:266:1:
+ F_SETOWN = 6 // fcntl.h:216:1:
+ F_SETPROTECTIONCLASS = 64 // fcntl.h:252:1:
+ F_SETSIZE = 43 // fcntl.h:227:1:
+ F_SINGLE_WRITER = 76 // fcntl.h:271:1:
+ F_SPECULATIVE_READ = 101 // fcntl.h:292:1:
+ F_THAW_FS = 54 // fcntl.h:239:1:
+ F_TRANSCODEKEY = 75 // fcntl.h:269:1:
+ F_TRIM_ACTIVE_FILE = 100 // fcntl.h:290:1:
+ F_UNLCK = 2 // fcntl.h:310:1:
+ F_VOLPOSMODE = 4 // fcntl.h:336:1:
+ F_WRLCK = 3 // fcntl.h:311:1:
+ LOCK_EX = 0x02 // fcntl.h:421:1:
+ LOCK_NB = 0x04 // fcntl.h:422:1:
+ LOCK_SH = 0x01 // fcntl.h:420:1:
+ LOCK_UN = 0x08 // fcntl.h:423:1:
+ O_ACCMODE = 0x0003 // fcntl.h:99:1:
+ O_ALERT = 0x20000000 // fcntl.h:502:1:
+ O_APPEND = 0x0008 // fcntl.h:114:1:
+ O_ASYNC = 0x0040 // fcntl.h:121:1:
+ O_CLOEXEC = 0x1000000 // fcntl.h:165:1:
+ O_CREAT = 0x0200 // fcntl.h:125:1:
+ O_DIRECTORY = 0x100000 // fcntl.h:157:1:
+ O_DP_GETRAWENCRYPTED = 0x0001 // fcntl.h:174:1:
+ O_DP_GETRAWUNENCRYPTED = 0x0002 // fcntl.h:175:1:
+ O_DSYNC = 0x400000 // _o_dsync.h:29:1:
+ O_EVTONLY = 0x8000 // fcntl.h:149:1:
+ O_EXCL = 0x0800 // fcntl.h:127:1:
+ O_EXLOCK = 0x0020 // fcntl.h:120:1:
+ O_FSYNC = 128 // fcntl.h:122:1:
+ O_NDELAY = 4 // fcntl.h:192:1:
+ O_NOCTTY = 0x20000 // fcntl.h:153:1:
+ O_NOFOLLOW = 0x0100 // fcntl.h:123:1:
+ O_NONBLOCK = 0x0004 // fcntl.h:113:1:
+ O_POPUP = 0x80000000 // fcntl.h:501:1:
+ O_RDONLY = 0x0000 // fcntl.h:96:1:
+ O_RDWR = 0x0002 // fcntl.h:98:1:
+ O_SHLOCK = 0x0010 // fcntl.h:119:1:
+ O_SYMLINK = 0x200000 // fcntl.h:158:1:
+ O_SYNC = 0x0080 // _o_sync.h:29:1:
+ O_TRUNC = 0x0400 // fcntl.h:126:1:
+ O_WRONLY = 0x0001 // fcntl.h:97:1:
+ SEEK_CUR = 1 // _seek_set.h:34:1:
+ SEEK_DATA = 4 // _seek_set.h:44:1:
+ SEEK_END = 2 // _seek_set.h:35:1:
+ SEEK_HOLE = 3 // _seek_set.h:40:1:
+ SEEK_SET = 0 // _seek_set.h:33:1:
+ S_IEXEC = 64 // _s_ifmt.h:72:1:
+ S_IFBLK = 0060000 // _s_ifmt.h:39:1:
+ S_IFCHR = 0020000 // _s_ifmt.h:37:1:
+ S_IFDIR = 0040000 // _s_ifmt.h:38:1:
+ S_IFIFO = 0010000 // _s_ifmt.h:36:1:
+ S_IFLNK = 0120000 // _s_ifmt.h:41:1:
+ S_IFMT = 0170000 // _s_ifmt.h:35:1:
+ S_IFREG = 0100000 // _s_ifmt.h:40:1:
+ S_IFSOCK = 0140000 // _s_ifmt.h:42:1:
+ S_IFWHT = 0160000 // _s_ifmt.h:44:1:
+ S_IREAD = 256 // _s_ifmt.h:70:1:
+ S_IRGRP = 0000040 // _s_ifmt.h:55:1:
+ S_IROTH = 0000004 // _s_ifmt.h:60:1:
+ S_IRUSR = 0000400 // _s_ifmt.h:50:1:
+ S_IRWXG = 0000070 // _s_ifmt.h:54:1:
+ S_IRWXO = 0000007 // _s_ifmt.h:59:1:
+ S_IRWXU = 0000700 // _s_ifmt.h:49:1:
+ S_ISGID = 0002000 // _s_ifmt.h:65:1:
+ S_ISTXT = 512 // _s_ifmt.h:69:1:
+ S_ISUID = 0004000 // _s_ifmt.h:64:1:
+ S_ISVTX = 0001000 // _s_ifmt.h:66:1:
+ S_IWGRP = 0000020 // _s_ifmt.h:56:1:
+ S_IWOTH = 0000002 // _s_ifmt.h:61:1:
+ S_IWRITE = 128 // _s_ifmt.h:71:1:
+ S_IWUSR = 0000200 // _s_ifmt.h:51:1:
+ S_IXGRP = 0000010 // _s_ifmt.h:57:1:
+ S_IXOTH = 0000001 // _s_ifmt.h:62:1:
+ S_IXUSR = 0000100 // _s_ifmt.h:52:1:
+ X_BSD_I386__TYPES_H_ = 0 // _types.h:29:1:
+ X_BSD_MACHINE_TYPES_H_ = 0 // types.h:32:1:
+ X_BSD_MACHINE__TYPES_H_ = 0 // _types.h:29:1:
+ X_CDEFS_H_ = 0 // cdefs.h:68:1:
+ X_DARWIN_FEATURE_64_BIT_INODE = 1 // cdefs.h:745:1:
+ X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1 // cdefs.h:771:1:
+ X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3 // cdefs.h:779:1:
+ X_FILESEC_T = 0 // _filesec_t.h:29:1:
+ X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
+ X_INT16_T = 0 // _int16_t.h:29:1:
+ X_INT32_T = 0 // _int32_t.h:29:1:
+ X_INT64_T = 0 // _int64_t.h:29:1:
+ X_INT8_T = 0 // _int8_t.h:29:1:
+ X_INTPTR_T = 0 // _intptr_t.h:29:1:
+ X_LP64 = 1 // <predefined>:1:1:
+ X_MACHTYPES_H_ = 0 // types.h:67:1:
+ X_MODE_T = 0 // _mode_t.h:29:1:
+ X_Nonnull = 0 // cdefs.h:243:1:
+ X_Null_unspecified = 0 // cdefs.h:246:1:
+ X_Nullable = 0 // cdefs.h:240:1:
+ X_OFF_T = 0 // _off_t.h:29:1:
+ X_PID_T = 0 // _pid_t.h:29:1:
+ X_SIZE_T = 0 // _size_t.h:29:1:
+ X_SYS_FCNTL_H_ = 0 // fcntl.h:71:1:
+ X_SYS__PTHREAD_TYPES_H_ = 0 // _pthread_types.h:30:1:
+ X_SYS__TYPES_H_ = 0 // _types.h:30:1:
+ X_UINTPTR_T = 0 // _uintptr_t.h:29:1:
+ X_U_INT16_T = 0 // _u_int16_t.h:29:1:
+ X_U_INT32_T = 0 // _u_int32_t.h:29:1:
+ X_U_INT64_T = 0 // _u_int64_t.h:29:1:
+ X_U_INT8_T = 0 // _u_int8_t.h:29:1:
)
const ( /* fcntl.h:512:1: */
@@ -1915,7 +1915,7 @@ type Radvisory = struct {
F__ccgo_pad1 [4]byte
} /* fcntl.h:371:1 */
-//* Information the user passes in to get the codeblobs out of the kernel
+// * Information the user passes in to get the codeblobs out of the kernel
type Fcodeblobs = struct {
Ff_cd_hash uintptr
Ff_hash_size Size_t
@@ -1926,7 +1926,7 @@ type Fcodeblobs = struct {
F__padding int32
} /* fcntl.h:378:9 */
-//* Information the user passes in to get the codeblobs out of the kernel
+// * Information the user passes in to get the codeblobs out of the kernel
type Fcodeblobs_t = Fcodeblobs /* fcntl.h:386:3 */
// detached code signatures data type -