summaryrefslogtreecommitdiff
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_freebsd_386.go2
-rw-r--r--vendor/modernc.org/libc/fcntl/capi_freebsd_amd64.go2
-rw-r--r--vendor/modernc.org/libc/fcntl/capi_netbsd_amd64.go2
-rw-r--r--vendor/modernc.org/libc/fcntl/capi_openbsd_amd64.go2
-rw-r--r--vendor/modernc.org/libc/fcntl/fcntl_freebsd_386.go208
-rw-r--r--vendor/modernc.org/libc/fcntl/fcntl_freebsd_amd64.go198
-rw-r--r--vendor/modernc.org/libc/fcntl/fcntl_netbsd_amd64.go384
-rw-r--r--vendor/modernc.org/libc/fcntl/fcntl_openbsd_amd64.go190
8 files changed, 494 insertions, 494 deletions
diff --git a/vendor/modernc.org/libc/fcntl/capi_freebsd_386.go b/vendor/modernc.org/libc/fcntl/capi_freebsd_386.go
index 6a5872218..aa9d9c02a 100644
--- a/vendor/modernc.org/libc/fcntl/capi_freebsd_386.go
+++ b/vendor/modernc.org/libc/fcntl/capi_freebsd_386.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_freebsd_386.go -pkgname fcntl', DO NOT EDIT.
+// Code generated by 'ccgo fcntl/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o fcntl/fcntl_freebsd_386.go -pkgname fcntl', DO NOT EDIT.
package fcntl
diff --git a/vendor/modernc.org/libc/fcntl/capi_freebsd_amd64.go b/vendor/modernc.org/libc/fcntl/capi_freebsd_amd64.go
index d29a45579..53ad6eeab 100644
--- a/vendor/modernc.org/libc/fcntl/capi_freebsd_amd64.go
+++ b/vendor/modernc.org/libc/fcntl/capi_freebsd_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_freebsd_amd64.go -pkgname fcntl', DO NOT EDIT.
+// Code generated by 'ccgo fcntl/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o fcntl/fcntl_freebsd_amd64.go -pkgname fcntl', DO NOT EDIT.
package fcntl
diff --git a/vendor/modernc.org/libc/fcntl/capi_netbsd_amd64.go b/vendor/modernc.org/libc/fcntl/capi_netbsd_amd64.go
index db75e28c0..0f8868560 100644
--- a/vendor/modernc.org/libc/fcntl/capi_netbsd_amd64.go
+++ b/vendor/modernc.org/libc/fcntl/capi_netbsd_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_netbsd_amd64.go -pkgname fcntl', DO NOT EDIT.
+// Code generated by 'ccgo fcntl/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o fcntl/fcntl_netbsd_amd64.go -pkgname fcntl', DO NOT EDIT.
package fcntl
diff --git a/vendor/modernc.org/libc/fcntl/capi_openbsd_amd64.go b/vendor/modernc.org/libc/fcntl/capi_openbsd_amd64.go
index 50534c3e3..d6bfbd70d 100644
--- a/vendor/modernc.org/libc/fcntl/capi_openbsd_amd64.go
+++ b/vendor/modernc.org/libc/fcntl/capi_openbsd_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_openbsd_amd64.go -pkgname fcntl', DO NOT EDIT.
+// Code generated by 'ccgo fcntl/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o fcntl/fcntl_openbsd_amd64.go -pkgname fcntl', DO NOT EDIT.
package fcntl
diff --git a/vendor/modernc.org/libc/fcntl/fcntl_freebsd_386.go b/vendor/modernc.org/libc/fcntl/fcntl_freebsd_386.go
index b49f8e76e..24eff390b 100644
--- a/vendor/modernc.org/libc/fcntl/fcntl_freebsd_386.go
+++ b/vendor/modernc.org/libc/fcntl/fcntl_freebsd_386.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_freebsd_386.go -pkgname fcntl', DO NOT EDIT.
+// Code generated by 'ccgo fcntl/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o fcntl/fcntl_freebsd_386.go -pkgname fcntl', DO NOT EDIT.
package fcntl
@@ -15,109 +15,109 @@ var _ atomic.Value
var _ unsafe.Pointer
const (
- AT_EACCESS = 0x0100
- AT_EMPTY_PATH = 0x4000
- AT_FDCWD = -100
- AT_REMOVEDIR = 0x0800
- AT_RESOLVE_BENEATH = 0x2000
- AT_SYMLINK_FOLLOW = 0x0400
- AT_SYMLINK_NOFOLLOW = 0x0200
- FAPPEND = 8
- FASYNC = 64
- FDSYNC = 16777216
- FD_CLOEXEC = 1
- FD_NONE = -200
- FFSYNC = 128
- FNDELAY = 4
- FNONBLOCK = 4
- FRDAHEAD = 512
- FREAD = 0x0001
- FWRITE = 0x0002
- F_ADD_SEALS = 19
- F_CANCEL = 5
- F_DUP2FD = 10
- F_DUP2FD_CLOEXEC = 18
- F_DUPFD = 0
- F_DUPFD_CLOEXEC = 17
- F_GETFD = 1
- F_GETFL = 3
- F_GETLK = 11
- F_GETOWN = 5
- F_GET_SEALS = 20
- F_ISUNIONSTACK = 21
- F_KINFO = 22
- F_OGETLK = 7
- F_OSETLK = 8
- F_OSETLKW = 9
- F_RDAHEAD = 16
- F_RDLCK = 1
- F_READAHEAD = 15
- F_SEAL_GROW = 0x0004
- F_SEAL_SEAL = 0x0001
- F_SEAL_SHRINK = 0x0002
- F_SEAL_WRITE = 0x0008
- F_SETFD = 2
- F_SETFL = 4
- F_SETLK = 12
- F_SETLKW = 13
- F_SETLK_REMOTE = 14
- F_SETOWN = 6
- F_UNLCK = 2
- F_UNLCKSYS = 4
- F_WRLCK = 3
- LOCK_EX = 0x02
- LOCK_NB = 0x04
- LOCK_SH = 0x01
- LOCK_UN = 0x08
- O_ACCMODE = 0x0003
- O_APPEND = 0x0008
- O_ASYNC = 0x0040
- O_CLOEXEC = 0x00100000
- O_CREAT = 0x0200
- O_DIRECT = 0x00010000
- O_DIRECTORY = 0x00020000
- O_DSYNC = 0x01000000
- O_EMPTY_PATH = 0x02000000
- O_EXCL = 0x0800
- O_EXEC = 0x00040000
- O_EXLOCK = 0x0020
- O_FSYNC = 0x0080
- O_NDELAY = 4
- O_NOCTTY = 0x8000
- O_NOFOLLOW = 0x0100
- O_NONBLOCK = 0x0004
- O_PATH = 0x00400000
- O_RDONLY = 0x0000
- O_RDWR = 0x0002
- O_RESOLVE_BENEATH = 0x00800000
- O_SEARCH = 262144
- O_SHLOCK = 0x0010
- O_SYNC = 0x0080
- O_TRUNC = 0x0400
- O_TTY_INIT = 0x00080000
- O_VERIFY = 0x00200000
- O_WRONLY = 0x0001
- POSIX_FADV_DONTNEED = 4
- POSIX_FADV_NOREUSE = 5
- POSIX_FADV_NORMAL = 0
- POSIX_FADV_RANDOM = 1
- POSIX_FADV_SEQUENTIAL = 2
- POSIX_FADV_WILLNEED = 3
- X_FILE_OFFSET_BITS = 64
- X_ILP32 = 1
- X_MACHINE__LIMITS_H_ = 0
- X_MACHINE__TYPES_H_ = 0
- X_MODE_T_DECLARED = 0
- X_Nonnull = 0
- X_Null_unspecified = 0
- X_Nullable = 0
- X_OFF_T_DECLARED = 0
- X_PID_T_DECLARED = 0
- X_SYS_CDEFS_H_ = 0
- X_SYS_FCNTL_H_ = 0
- X_SYS__TYPES_H_ = 0
- I386 = 1
- Unix = 1
+ AT_EACCESS = 0x0100 // fcntl.h:224:1:
+ AT_EMPTY_PATH = 0x4000 // fcntl.h:234:1:
+ AT_FDCWD = -100 // fcntl.h:219:1:
+ AT_REMOVEDIR = 0x0800 // fcntl.h:228:1:
+ AT_RESOLVE_BENEATH = 0x2000 // fcntl.h:232:1:
+ AT_SYMLINK_FOLLOW = 0x0400 // fcntl.h:227:1:
+ AT_SYMLINK_NOFOLLOW = 0x0200 // fcntl.h:226:1:
+ FAPPEND = 8 // fcntl.h:193:1:
+ FASYNC = 64 // fcntl.h:194:1:
+ FDSYNC = 16777216 // fcntl.h:196:1:
+ FD_CLOEXEC = 1 // fcntl.h:283:1:
+ FD_NONE = -200 // fcntl.h:355:1:
+ FFSYNC = 128 // fcntl.h:195:1:
+ FNDELAY = 4 // fcntl.h:198:1:
+ FNONBLOCK = 4 // fcntl.h:197:1:
+ FRDAHEAD = 512 // fcntl.h:210:1:
+ FREAD = 0x0001 // fcntl.h:89:1:
+ FWRITE = 0x0002 // fcntl.h:90:1:
+ F_ADD_SEALS = 19 // fcntl.h:270:1:
+ F_CANCEL = 5 // fcntl.h:291:1:
+ F_DUP2FD = 10 // fcntl.h:255:1:
+ F_DUP2FD_CLOEXEC = 18 // fcntl.h:269:1:
+ F_DUPFD = 0 // fcntl.h:242:1:
+ F_DUPFD_CLOEXEC = 17 // fcntl.h:266:1:
+ F_GETFD = 1 // fcntl.h:243:1:
+ F_GETFL = 3 // fcntl.h:245:1:
+ F_GETLK = 11 // fcntl.h:257:1:
+ F_GETOWN = 5 // fcntl.h:248:1:
+ F_GET_SEALS = 20 // fcntl.h:271:1:
+ F_ISUNIONSTACK = 21 // fcntl.h:272:1:
+ F_KINFO = 22 // fcntl.h:273:1:
+ F_OGETLK = 7 // fcntl.h:252:1:
+ F_OSETLK = 8 // fcntl.h:253:1:
+ F_OSETLKW = 9 // fcntl.h:254:1:
+ F_RDAHEAD = 16 // fcntl.h:263:1:
+ F_RDLCK = 1 // fcntl.h:286:1:
+ F_READAHEAD = 15 // fcntl.h:262:1:
+ F_SEAL_GROW = 0x0004 // fcntl.h:278:1:
+ F_SEAL_SEAL = 0x0001 // fcntl.h:276:1:
+ F_SEAL_SHRINK = 0x0002 // fcntl.h:277:1:
+ F_SEAL_WRITE = 0x0008 // fcntl.h:279:1:
+ F_SETFD = 2 // fcntl.h:244:1:
+ F_SETFL = 4 // fcntl.h:246:1:
+ F_SETLK = 12 // fcntl.h:258:1:
+ F_SETLKW = 13 // fcntl.h:259:1:
+ F_SETLK_REMOTE = 14 // fcntl.h:261:1:
+ F_SETOWN = 6 // fcntl.h:249:1:
+ F_UNLCK = 2 // fcntl.h:287:1:
+ F_UNLCKSYS = 4 // fcntl.h:290:1:
+ F_WRLCK = 3 // fcntl.h:288:1:
+ LOCK_EX = 0x02 // fcntl.h:332:1:
+ LOCK_NB = 0x04 // fcntl.h:333:1:
+ LOCK_SH = 0x01 // fcntl.h:331:1:
+ LOCK_UN = 0x08 // fcntl.h:334:1:
+ O_ACCMODE = 0x0003 // fcntl.h:78:1:
+ O_APPEND = 0x0008 // fcntl.h:93:1:
+ O_ASYNC = 0x0040 // fcntl.h:97:1:
+ O_CLOEXEC = 0x00100000 // fcntl.h:133:1:
+ O_CREAT = 0x0200 // fcntl.h:104:1:
+ O_DIRECT = 0x00010000 // fcntl.h:116:1:
+ O_DIRECTORY = 0x00020000 // fcntl.h:120:1:
+ O_DSYNC = 0x01000000 // fcntl.h:143:1:
+ O_EMPTY_PATH = 0x02000000 // fcntl.h:145:1:
+ O_EXCL = 0x0800 // fcntl.h:106:1:
+ O_EXEC = 0x00040000 // fcntl.h:121:1:
+ O_EXLOCK = 0x0020 // fcntl.h:96:1:
+ O_FSYNC = 0x0080 // fcntl.h:98:1:
+ O_NDELAY = 4 // fcntl.h:199:1:
+ O_NOCTTY = 0x8000 // fcntl.h:112:1:
+ O_NOFOLLOW = 0x0100 // fcntl.h:102:1:
+ O_NONBLOCK = 0x0004 // fcntl.h:92:1:
+ O_PATH = 0x00400000 // fcntl.h:138:1:
+ O_RDONLY = 0x0000 // fcntl.h:75:1:
+ O_RDWR = 0x0002 // fcntl.h:77:1:
+ O_RESOLVE_BENEATH = 0x00800000 // fcntl.h:139:1:
+ O_SEARCH = 262144 // fcntl.h:122:1:
+ O_SHLOCK = 0x0010 // fcntl.h:95:1:
+ O_SYNC = 0x0080 // fcntl.h:100:1:
+ O_TRUNC = 0x0400 // fcntl.h:105:1:
+ O_TTY_INIT = 0x00080000 // fcntl.h:131:1:
+ O_VERIFY = 0x00200000 // fcntl.h:137:1:
+ O_WRONLY = 0x0001 // fcntl.h:76:1:
+ POSIX_FADV_DONTNEED = 4 // fcntl.h:345:1:
+ POSIX_FADV_NOREUSE = 5 // fcntl.h:346:1:
+ POSIX_FADV_NORMAL = 0 // fcntl.h:341:1:
+ POSIX_FADV_RANDOM = 1 // fcntl.h:342:1:
+ POSIX_FADV_SEQUENTIAL = 2 // fcntl.h:343:1:
+ POSIX_FADV_WILLNEED = 3 // fcntl.h:344:1:
+ X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
+ X_ILP32 = 1 // <predefined>:1:1:
+ X_MACHINE__LIMITS_H_ = 0 // _limits.h:36:1:
+ X_MACHINE__TYPES_H_ = 0 // _types.h:42:1:
+ X_MODE_T_DECLARED = 0 // fcntl.h:54:1:
+ X_Nonnull = 0 // cdefs.h:790:1:
+ X_Null_unspecified = 0 // cdefs.h:792:1:
+ X_Nullable = 0 // cdefs.h:791:1:
+ X_OFF_T_DECLARED = 0 // fcntl.h:59:1:
+ X_PID_T_DECLARED = 0 // fcntl.h:64:1:
+ X_SYS_CDEFS_H_ = 0 // cdefs.h:39:1:
+ X_SYS_FCNTL_H_ = 0 // fcntl.h:41:1:
+ X_SYS__TYPES_H_ = 0 // _types.h:32:1:
+ I386 = 1 // <predefined>:335:1:
+ Unix = 1 // <predefined>:336:1:
)
type Ptrdiff_t = int32 /* <builtin>:3:26 */
diff --git a/vendor/modernc.org/libc/fcntl/fcntl_freebsd_amd64.go b/vendor/modernc.org/libc/fcntl/fcntl_freebsd_amd64.go
index 4afbfb69e..35bf5102d 100644
--- a/vendor/modernc.org/libc/fcntl/fcntl_freebsd_amd64.go
+++ b/vendor/modernc.org/libc/fcntl/fcntl_freebsd_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_freebsd_amd64.go -pkgname fcntl', DO NOT EDIT.
+// Code generated by 'ccgo fcntl/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o fcntl/fcntl_freebsd_amd64.go -pkgname fcntl', DO NOT EDIT.
package fcntl
@@ -15,104 +15,104 @@ var _ atomic.Value
var _ unsafe.Pointer
const (
- AT_EACCESS = 0x0100
- AT_FDCWD = -100
- AT_REMOVEDIR = 0x0800
- AT_RESOLVE_BENEATH = 0x2000
- AT_SYMLINK_FOLLOW = 0x0400
- AT_SYMLINK_NOFOLLOW = 0x0200
- FAPPEND = 8
- FASYNC = 64
- FDSYNC = 16777216
- FD_CLOEXEC = 1
- FD_NONE = -200
- FFSYNC = 128
- FNDELAY = 4
- FNONBLOCK = 4
- FRDAHEAD = 512
- FREAD = 0x0001
- FWRITE = 0x0002
- F_ADD_SEALS = 19
- F_CANCEL = 5
- F_DUP2FD = 10
- F_DUP2FD_CLOEXEC = 18
- F_DUPFD = 0
- F_DUPFD_CLOEXEC = 17
- F_GETFD = 1
- F_GETFL = 3
- F_GETLK = 11
- F_GETOWN = 5
- F_GET_SEALS = 20
- F_ISUNIONSTACK = 21
- F_OGETLK = 7
- F_OSETLK = 8
- F_OSETLKW = 9
- F_RDAHEAD = 16
- F_RDLCK = 1
- F_READAHEAD = 15
- F_SEAL_GROW = 0x0004
- F_SEAL_SEAL = 0x0001
- F_SEAL_SHRINK = 0x0002
- F_SEAL_WRITE = 0x0008
- F_SETFD = 2
- F_SETFL = 4
- F_SETLK = 12
- F_SETLKW = 13
- F_SETLK_REMOTE = 14
- F_SETOWN = 6
- F_UNLCK = 2
- F_UNLCKSYS = 4
- F_WRLCK = 3
- LOCK_EX = 0x02
- LOCK_NB = 0x04
- LOCK_SH = 0x01
- LOCK_UN = 0x08
- O_ACCMODE = 0x0003
- O_APPEND = 0x0008
- O_ASYNC = 0x0040
- O_CLOEXEC = 0x00100000
- O_CREAT = 0x0200
- O_DIRECT = 0x00010000
- O_DIRECTORY = 0x00020000
- O_DSYNC = 0x01000000
- O_EXCL = 0x0800
- O_EXEC = 0x00040000
- O_EXLOCK = 0x0020
- O_FSYNC = 0x0080
- O_NDELAY = 4
- O_NOCTTY = 0x8000
- O_NOFOLLOW = 0x0100
- O_NONBLOCK = 0x0004
- O_RDONLY = 0x0000
- O_RDWR = 0x0002
- O_RESOLVE_BENEATH = 0x00800000
- O_SEARCH = 262144
- O_SHLOCK = 0x0010
- O_SYNC = 0x0080
- O_TRUNC = 0x0400
- O_TTY_INIT = 0x00080000
- O_VERIFY = 0x00200000
- O_WRONLY = 0x0001
- POSIX_FADV_DONTNEED = 4
- POSIX_FADV_NOREUSE = 5
- POSIX_FADV_NORMAL = 0
- POSIX_FADV_RANDOM = 1
- POSIX_FADV_SEQUENTIAL = 2
- POSIX_FADV_WILLNEED = 3
- X_FILE_OFFSET_BITS = 64
- X_LP64 = 1
- X_MACHINE__LIMITS_H_ = 0
- X_MACHINE__TYPES_H_ = 0
- X_MODE_T_DECLARED = 0
- X_Nonnull = 0
- X_Null_unspecified = 0
- X_Nullable = 0
- X_OFF_T_DECLARED = 0
- X_PID_T_DECLARED = 0
- X_SYS_CDEFS_H_ = 0
- X_SYS_FCNTL_H_ = 0
- X_SYS__TYPES_H_ = 0
- Unix = 1
+ AT_EACCESS = 0x0100 // fcntl.h:217:1:
+ AT_FDCWD = -100 // fcntl.h:212:1:
+ AT_REMOVEDIR = 0x0800 // fcntl.h:221:1:
+ AT_RESOLVE_BENEATH = 0x2000 // fcntl.h:223:1:
+ AT_SYMLINK_FOLLOW = 0x0400 // fcntl.h:220:1:
+ AT_SYMLINK_NOFOLLOW = 0x0200 // fcntl.h:219:1:
+ FAPPEND = 8 // fcntl.h:186:1:
+ FASYNC = 64 // fcntl.h:187:1:
+ FDSYNC = 16777216 // fcntl.h:189:1:
+ FD_CLOEXEC = 1 // fcntl.h:272:1:
+ FD_NONE = -200 // fcntl.h:343:1:
+ FFSYNC = 128 // fcntl.h:188:1:
+ FNDELAY = 4 // fcntl.h:191:1:
+ FNONBLOCK = 4 // fcntl.h:190:1:
+ FRDAHEAD = 512 // fcntl.h:203:1:
+ FREAD = 0x0001 // fcntl.h:89:1:
+ FWRITE = 0x0002 // fcntl.h:90:1:
+ F_ADD_SEALS = 19 // fcntl.h:260:1:
+ F_CANCEL = 5 // fcntl.h:280:1:
+ F_DUP2FD = 10 // fcntl.h:245:1:
+ F_DUP2FD_CLOEXEC = 18 // fcntl.h:259:1:
+ F_DUPFD = 0 // fcntl.h:232:1:
+ F_DUPFD_CLOEXEC = 17 // fcntl.h:256:1:
+ F_GETFD = 1 // fcntl.h:233:1:
+ F_GETFL = 3 // fcntl.h:235:1:
+ F_GETLK = 11 // fcntl.h:247:1:
+ F_GETOWN = 5 // fcntl.h:238:1:
+ F_GET_SEALS = 20 // fcntl.h:261:1:
+ F_ISUNIONSTACK = 21 // fcntl.h:262:1:
+ F_OGETLK = 7 // fcntl.h:242:1:
+ F_OSETLK = 8 // fcntl.h:243:1:
+ F_OSETLKW = 9 // fcntl.h:244:1:
+ F_RDAHEAD = 16 // fcntl.h:253:1:
+ F_RDLCK = 1 // fcntl.h:275:1:
+ F_READAHEAD = 15 // fcntl.h:252:1:
+ F_SEAL_GROW = 0x0004 // fcntl.h:267:1:
+ F_SEAL_SEAL = 0x0001 // fcntl.h:265:1:
+ F_SEAL_SHRINK = 0x0002 // fcntl.h:266:1:
+ F_SEAL_WRITE = 0x0008 // fcntl.h:268:1:
+ F_SETFD = 2 // fcntl.h:234:1:
+ F_SETFL = 4 // fcntl.h:236:1:
+ F_SETLK = 12 // fcntl.h:248:1:
+ F_SETLKW = 13 // fcntl.h:249:1:
+ F_SETLK_REMOTE = 14 // fcntl.h:251:1:
+ F_SETOWN = 6 // fcntl.h:239:1:
+ F_UNLCK = 2 // fcntl.h:276:1:
+ F_UNLCKSYS = 4 // fcntl.h:279:1:
+ F_WRLCK = 3 // fcntl.h:277:1:
+ LOCK_EX = 0x02 // fcntl.h:320:1:
+ LOCK_NB = 0x04 // fcntl.h:321:1:
+ LOCK_SH = 0x01 // fcntl.h:319:1:
+ LOCK_UN = 0x08 // fcntl.h:322:1:
+ O_ACCMODE = 0x0003 // fcntl.h:78:1:
+ O_APPEND = 0x0008 // fcntl.h:93:1:
+ O_ASYNC = 0x0040 // fcntl.h:97:1:
+ O_CLOEXEC = 0x00100000 // fcntl.h:133:1:
+ O_CREAT = 0x0200 // fcntl.h:104:1:
+ O_DIRECT = 0x00010000 // fcntl.h:116:1:
+ O_DIRECTORY = 0x00020000 // fcntl.h:120:1:
+ O_DSYNC = 0x01000000 // fcntl.h:143:1:
+ O_EXCL = 0x0800 // fcntl.h:106:1:
+ O_EXEC = 0x00040000 // fcntl.h:121:1:
+ O_EXLOCK = 0x0020 // fcntl.h:96:1:
+ O_FSYNC = 0x0080 // fcntl.h:98:1:
+ O_NDELAY = 4 // fcntl.h:192:1:
+ O_NOCTTY = 0x8000 // fcntl.h:112:1:
+ O_NOFOLLOW = 0x0100 // fcntl.h:102:1:
+ O_NONBLOCK = 0x0004 // fcntl.h:92:1:
+ O_RDONLY = 0x0000 // fcntl.h:75:1:
+ O_RDWR = 0x0002 // fcntl.h:77:1:
+ O_RESOLVE_BENEATH = 0x00800000 // fcntl.h:139:1:
+ O_SEARCH = 262144 // fcntl.h:122:1:
+ O_SHLOCK = 0x0010 // fcntl.h:95:1:
+ O_SYNC = 0x0080 // fcntl.h:100:1:
+ O_TRUNC = 0x0400 // fcntl.h:105:1:
+ O_TTY_INIT = 0x00080000 // fcntl.h:131:1:
+ O_VERIFY = 0x00200000 // fcntl.h:137:1:
+ O_WRONLY = 0x0001 // fcntl.h:76:1:
+ POSIX_FADV_DONTNEED = 4 // fcntl.h:333:1:
+ POSIX_FADV_NOREUSE = 5 // fcntl.h:334:1:
+ POSIX_FADV_NORMAL = 0 // fcntl.h:329:1:
+ POSIX_FADV_RANDOM = 1 // fcntl.h:330:1:
+ POSIX_FADV_SEQUENTIAL = 2 // fcntl.h:331:1:
+ POSIX_FADV_WILLNEED = 3 // fcntl.h:332:1:
+ X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
+ X_LP64 = 1 // <predefined>:1:1:
+ X_MACHINE__LIMITS_H_ = 0 // _limits.h:36:1:
+ X_MACHINE__TYPES_H_ = 0 // _types.h:42:1:
+ X_MODE_T_DECLARED = 0 // fcntl.h:54:1:
+ X_Nonnull = 0 // cdefs.h:783:1:
+ X_Null_unspecified = 0 // cdefs.h:785:1:
+ X_Nullable = 0 // cdefs.h:784:1:
+ X_OFF_T_DECLARED = 0 // fcntl.h:59:1:
+ X_PID_T_DECLARED = 0 // fcntl.h:64:1:
+ X_SYS_CDEFS_H_ = 0 // cdefs.h:39:1:
+ X_SYS_FCNTL_H_ = 0 // fcntl.h:41:1:
+ X_SYS__TYPES_H_ = 0 // _types.h:32:1:
+ Unix = 1 // <predefined>:337:1:
)
type Ptrdiff_t = int64 /* <builtin>:3:26 */
diff --git a/vendor/modernc.org/libc/fcntl/fcntl_netbsd_amd64.go b/vendor/modernc.org/libc/fcntl/fcntl_netbsd_amd64.go
index 37ef6e16c..327095e27 100644
--- a/vendor/modernc.org/libc/fcntl/fcntl_netbsd_amd64.go
+++ b/vendor/modernc.org/libc/fcntl/fcntl_netbsd_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_netbsd_amd64.go -pkgname fcntl', DO NOT EDIT.
+// Code generated by 'ccgo fcntl/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o fcntl/fcntl_netbsd_amd64.go -pkgname fcntl', DO NOT EDIT.
package fcntl
@@ -15,197 +15,197 @@ var _ atomic.Value
var _ unsafe.Pointer
const (
- AT_EACCESS = 0x100
- AT_FDCWD = -100
- AT_REMOVEDIR = 0x800
- AT_SYMLINK_FOLLOW = 0x400
- AT_SYMLINK_NOFOLLOW = 0x200
- BIG_ENDIAN = 4321
- BYTE_ORDER = 1234
- FAPPEND = 8
- FASYNC = 64
- FD_CLOEXEC = 1
- FD_SETSIZE = 256
- FNDELAY = 4
- FREAD = 0x00000001
- FWRITE = 0x00000002
- F_CLOSEM = 10
- F_DUPFD = 0
- F_DUPFD_CLOEXEC = 12
- F_GETFD = 1
- F_GETFL = 3
- F_GETLK = 7
- F_GETNOSIGPIPE = 13
- F_GETOWN = 5
- F_MAXFD = 11
- F_PARAM_MASK = 0xfff
- F_PARAM_MAX = 4095
- F_RDLCK = 1
- F_SETFD = 2
- F_SETFL = 4
- F_SETLK = 8
- F_SETLKW = 9
- F_SETNOSIGPIPE = 14
- F_SETOWN = 6
- F_UNLCK = 2
- F_WRLCK = 3
- INT16_MAX = 32767
- INT16_MIN = -32768
- INT32_MAX = 2147483647
- INT32_MIN = -2147483648
- INT64_MAX = 9223372036854775807
- INT64_MIN = -9223372036854775808
- INT8_MAX = 127
- INT8_MIN = -128
- INTMAX_MAX = 9223372036854775807
- INTMAX_MIN = -9223372036854775808
- INTPTR_MAX = 9223372036854775807
- INTPTR_MIN = -9223372036854775808
- INT_FAST16_MAX = 2147483647
- INT_FAST16_MIN = -2147483648
- INT_FAST32_MAX = 2147483647
- INT_FAST32_MIN = -2147483648
- INT_FAST64_MAX = 9223372036854775807
- INT_FAST64_MIN = -9223372036854775808
- INT_FAST8_MAX = 2147483647
- INT_FAST8_MIN = -2147483648
- INT_LEAST16_MAX = 32767
- INT_LEAST16_MIN = -32768
- INT_LEAST32_MAX = 2147483647
- INT_LEAST32_MIN = -2147483648
- INT_LEAST64_MAX = 9223372036854775807
- INT_LEAST64_MIN = -9223372036854775808
- INT_LEAST8_MAX = 127
- INT_LEAST8_MIN = -128
- LITTLE_ENDIAN = 1234
- LOCK_EX = 0x02
- LOCK_NB = 0x04
- LOCK_SH = 0x01
- LOCK_UN = 0x08
- NBBY = 8
- NFDBITS = 32
- NODEVMAJOR = -1
- O_ACCMODE = 0x00000003
- O_ALT_IO = 0x00040000
- O_APPEND = 0x00000008
- O_ASYNC = 0x00000040
- O_CLOEXEC = 0x00400000
- O_CREAT = 0x00000200
- O_DIRECT = 0x00080000
- O_DIRECTORY = 0x00200000
- O_DSYNC = 0x00010000
- O_EXCL = 0x00000800
- O_EXLOCK = 0x00000020
- O_FSYNC = 128
- O_NDELAY = 4
- O_NOCTTY = 0x00008000
- O_NOFOLLOW = 0x00000100
- O_NONBLOCK = 0x00000004
- O_NOSIGPIPE = 0x01000000
- O_RDONLY = 0x00000000
- O_RDWR = 0x00000002
- O_REGULAR = 0x02000000
- O_RSYNC = 0x00020000
- O_SEARCH = 0x00800000
- O_SHLOCK = 0x00000010
- O_SYNC = 0x00000080
- O_TRUNC = 0x00000400
- O_WRONLY = 0x00000001
- PDP_ENDIAN = 3412
- POSIX_FADV_DONTNEED = 4
- POSIX_FADV_NOREUSE = 5
- POSIX_FADV_NORMAL = 0
- POSIX_FADV_RANDOM = 1
- POSIX_FADV_SEQUENTIAL = 2
- POSIX_FADV_WILLNEED = 3
- PTRDIFF_MAX = 9223372036854775807
- PTRDIFF_MIN = -9223372036854775808
- SEEK_CUR = 1
- SEEK_END = 2
- SEEK_SET = 0
- SIG_ATOMIC_MAX = 2147483647
- SIG_ATOMIC_MIN = -2147483648
- SIZE_MAX = 18446744073709551615
- UINT16_MAX = 65535
- UINT32_MAX = 4294967295
- UINT64_MAX = 18446744073709551615
- UINT8_MAX = 255
- UINTMAX_MAX = 18446744073709551615
- UINTPTR_MAX = 18446744073709551615
- UINT_FAST16_MAX = 4294967295
- UINT_FAST32_MAX = 4294967295
- UINT_FAST64_MAX = 18446744073709551615
- UINT_FAST8_MAX = 4294967295
- UINT_LEAST16_MAX = 65535
- UINT_LEAST32_MAX = 4294967295
- UINT_LEAST64_MAX = 18446744073709551615
- UINT_LEAST8_MAX = 255
- WCHAR_MAX = 0x7fffffff
- WCHAR_MIN = -2147483648
- WINT_MAX = 0x7fffffff
- WINT_MIN = -2147483648
- X_AMD64_BYTE_SWAP_H_ = 0
- X_AMD64_INT_CONST_H_ = 0
- X_AMD64_INT_LIMITS_H_ = 0
- X_AMD64_INT_MWGWTYPES_H_ = 0
- X_AMD64_INT_TYPES_H_ = 0
- X_AMD64_WCHAR_LIMITS_H_ = 0
- X_BIG_ENDIAN = 4321
- X_BSD_INT16_T_ = 0
- X_BSD_INT32_T_ = 0
- X_BSD_INT64_T_ = 0
- X_BSD_INT8_T_ = 0
- X_BSD_INTPTR_T_ = 0
- X_BSD_UINT16_T_ = 0
- X_BSD_UINT32_T_ = 0
- X_BSD_UINT64_T_ = 0
- X_BSD_UINT8_T_ = 0
- X_BSD_UINTPTR_T_ = 0
- X_BYTE_ORDER = 1234
- X_FILE_OFFSET_BITS = 64
- X_LIB_PTHREAD_TYPES_H = 0
- X_LITTLE_ENDIAN = 1234
- X_LP64 = 1
- X_NETBSD_SOURCE = 1
- X_PDP_ENDIAN = 3412
- X_PT_BARRIERATTR_DEAD = 0xDEAD0808
- X_PT_BARRIERATTR_MAGIC = 0x88880808
- X_PT_BARRIER_DEAD = 0xDEAD0008
- X_PT_BARRIER_MAGIC = 0x88880008
- X_PT_CONDATTR_DEAD = 0xDEAD0006
- X_PT_CONDATTR_MAGIC = 0x66660006
- X_PT_COND_DEAD = 0xDEAD0005
- X_PT_COND_MAGIC = 0x55550005
- X_PT_MUTEXATTR_DEAD = 0xDEAD0004
- X_PT_MUTEXATTR_MAGIC = 0x44440004
- X_PT_MUTEX_DEAD = 0xDEAD0003
- X_PT_MUTEX_MAGIC = 0x33330003
- X_PT_RWLOCKATTR_DEAD = 0xDEAD0909
- X_PT_RWLOCKATTR_MAGIC = 0x99990909
- X_PT_RWLOCK_DEAD = 0xDEAD0009
- X_PT_RWLOCK_MAGIC = 0x99990009
- X_PT_SPINLOCK_DEAD = 0xDEAD0007
- X_PT_SPINLOCK_MAGIC = 0x77770007
- X_PT_SPINLOCK_PSHARED = 0x00000001
- X_QUAD_HIGHWORD = 1
- X_QUAD_LOWWORD = 0
- X_SIZE_T = 0
- X_SYS_ANSI_H_ = 0
- X_SYS_BSWAP_H_ = 0
- X_SYS_CDEFS_ELF_H_ = 0
- X_SYS_CDEFS_H_ = 0
- X_SYS_COMMON_ANSI_H_ = 0
- X_SYS_COMMON_INT_LIMITS_H_ = 0
- X_SYS_COMMON_INT_MWGWTYPES_H_ = 0
- X_SYS_COMMON_INT_TYPES_H_ = 0
- X_SYS_ENDIAN_H_ = 0
- X_SYS_FCNTL_H_ = 0
- X_SYS_FD_SET_H_ = 0
- X_SYS_STDINT_H_ = 0
- X_SYS_TYPES_H_ = 0
- X_X86_64_BSWAP_H_ = 0
- X_X86_64_CDEFS_H_ = 0
- X_X86_64_TYPES_H_ = 0
+ AT_EACCESS = 0x100 // fcntl.h:297:1:
+ AT_FDCWD = -100 // fcntl.h:296:1:
+ AT_REMOVEDIR = 0x800 // fcntl.h:300:1:
+ AT_SYMLINK_FOLLOW = 0x400 // fcntl.h:299:1:
+ AT_SYMLINK_NOFOLLOW = 0x200 // fcntl.h:298:1:
+ BIG_ENDIAN = 4321 // endian.h:101:1:
+ BYTE_ORDER = 1234 // endian.h:103:1:
+ FAPPEND = 8 // fcntl.h:156:1:
+ FASYNC = 64 // fcntl.h:157:1:
+ FD_CLOEXEC = 1 // fcntl.h:199:1:
+ FD_SETSIZE = 256 // fd_set.h:59:1:
+ FNDELAY = 4 // fcntl.h:159:1:
+ FREAD = 0x00000001 // fcntl.h:78:1:
+ FWRITE = 0x00000002 // fcntl.h:79:1:
+ F_CLOSEM = 10 // fcntl.h:191:1:
+ F_DUPFD = 0 // fcntl.h:177:1:
+ F_DUPFD_CLOEXEC = 12 // fcntl.h:193:1:
+ F_GETFD = 1 // fcntl.h:178:1:
+ F_GETFL = 3 // fcntl.h:180:1:
+ F_GETLK = 7 // fcntl.h:187:1:
+ F_GETNOSIGPIPE = 13 // fcntl.h:194:1:
+ F_GETOWN = 5 // fcntl.h:184:1:
+ F_MAXFD = 11 // fcntl.h:192:1:
+ F_PARAM_MASK = 0xfff // fcntl.h:213:1:
+ F_PARAM_MAX = 4095 // fcntl.h:215:1:
+ F_RDLCK = 1 // fcntl.h:202:1:
+ F_SETFD = 2 // fcntl.h:179:1:
+ F_SETFL = 4 // fcntl.h:181:1:
+ F_SETLK = 8 // fcntl.h:188:1:
+ F_SETLKW = 9 // fcntl.h:189:1:
+ F_SETNOSIGPIPE = 14 // fcntl.h:195:1:
+ F_SETOWN = 6 // fcntl.h:185:1:
+ F_UNLCK = 2 // fcntl.h:203:1:
+ F_WRLCK = 3 // fcntl.h:204:1:
+ INT16_MAX = 32767 // common_int_limits.h:53:1:
+ INT16_MIN = -32768 // common_int_limits.h:47:1:
+ INT32_MAX = 2147483647 // common_int_limits.h:54:1:
+ INT32_MIN = -2147483648 // common_int_limits.h:48:1:
+ INT64_MAX = 9223372036854775807 // common_int_limits.h:55:1:
+ INT64_MIN = -9223372036854775808 // common_int_limits.h:49:1:
+ INT8_MAX = 127 // common_int_limits.h:52:1:
+ INT8_MIN = -128 // common_int_limits.h:46:1:
+ INTMAX_MAX = 9223372036854775807 // common_int_limits.h:111:1:
+ INTMAX_MIN = -9223372036854775808 // common_int_limits.h:110:1:
+ INTPTR_MAX = 9223372036854775807 // common_int_limits.h:105:1:
+ INTPTR_MIN = -9223372036854775808 // common_int_limits.h:104:1:
+ INT_FAST16_MAX = 2147483647 // common_int_limits.h:93:1:
+ INT_FAST16_MIN = -2147483648 // common_int_limits.h:87:1:
+ INT_FAST32_MAX = 2147483647 // common_int_limits.h:94:1:
+ INT_FAST32_MIN = -2147483648 // common_int_limits.h:88:1:
+ INT_FAST64_MAX = 9223372036854775807 // common_int_limits.h:95:1:
+ INT_FAST64_MIN = -9223372036854775808 // common_int_limits.h:89:1:
+ INT_FAST8_MAX = 2147483647 // common_int_limits.h:92:1:
+ INT_FAST8_MIN = -2147483648 // common_int_limits.h:86:1:
+ INT_LEAST16_MAX = 32767 // common_int_limits.h:73:1:
+ INT_LEAST16_MIN = -32768 // common_int_limits.h:67:1:
+ INT_LEAST32_MAX = 2147483647 // common_int_limits.h:74:1:
+ INT_LEAST32_MIN = -2147483648 // common_int_limits.h:68:1:
+ INT_LEAST64_MAX = 9223372036854775807 // common_int_limits.h:75:1:
+ INT_LEAST64_MIN = -9223372036854775808 // common_int_limits.h:69:1:
+ INT_LEAST8_MAX = 127 // common_int_limits.h:72:1:
+ INT_LEAST8_MIN = -128 // common_int_limits.h:66:1:
+ LITTLE_ENDIAN = 1234 // endian.h:100:1:
+ LOCK_EX = 0x02 // fcntl.h:264:1:
+ LOCK_NB = 0x04 // fcntl.h:265:1:
+ LOCK_SH = 0x01 // fcntl.h:263:1:
+ LOCK_UN = 0x08 // fcntl.h:266:1:
+ NBBY = 8 // types.h:316:1:
+ NFDBITS = 32 // fd_set.h:93:1:
+ NODEVMAJOR = -1 // types.h:258:1:
+ O_ACCMODE = 0x00000003 // fcntl.h:67:1:
+ O_ALT_IO = 0x00040000 // fcntl.h:111:1:
+ O_APPEND = 0x00000008 // fcntl.h:82:1:
+ O_ASYNC = 0x00000040 // fcntl.h:86:1:
+ O_CLOEXEC = 0x00400000 // fcntl.h:116:1:
+ O_CREAT = 0x00000200 // fcntl.h:97:1:
+ O_DIRECT = 0x00080000 // fcntl.h:112:1:
+ O_DIRECTORY = 0x00200000 // fcntl.h:115:1:
+ O_DSYNC = 0x00010000 // fcntl.h:106:1:
+ O_EXCL = 0x00000800 // fcntl.h:99:1:
+ O_EXLOCK = 0x00000020 // fcntl.h:85:1:
+ O_FSYNC = 128 // fcntl.h:158:1:
+ O_NDELAY = 4 // fcntl.h:160:1:
+ O_NOCTTY = 0x00008000 // fcntl.h:102:1:
+ O_NOFOLLOW = 0x00000100 // fcntl.h:94:1:
+ O_NONBLOCK = 0x00000004 // fcntl.h:81:1:
+ O_NOSIGPIPE = 0x01000000 // fcntl.h:122:1:
+ O_RDONLY = 0x00000000 // fcntl.h:64:1:
+ O_RDWR = 0x00000002 // fcntl.h:66:1:
+ O_REGULAR = 0x02000000 // fcntl.h:123:1:
+ O_RSYNC = 0x00020000 // fcntl.h:107:1:
+ O_SEARCH = 0x00800000 // fcntl.h:119:1:
+ O_SHLOCK = 0x00000010 // fcntl.h:84:1:
+ O_SYNC = 0x00000080 // fcntl.h:91:1:
+ O_TRUNC = 0x00000400 // fcntl.h:98:1:
+ O_WRONLY = 0x00000001 // fcntl.h:65:1:
+ PDP_ENDIAN = 3412 // endian.h:102:1:
+ POSIX_FADV_DONTNEED = 4 // fcntl.h:288:1:
+ POSIX_FADV_NOREUSE = 5 // fcntl.h:289:1:
+ POSIX_FADV_NORMAL = 0 // fcntl.h:284:1:
+ POSIX_FADV_RANDOM = 1 // fcntl.h:285:1:
+ POSIX_FADV_SEQUENTIAL = 2 // fcntl.h:286:1:
+ POSIX_FADV_WILLNEED = 3 // fcntl.h:287:1:
+ PTRDIFF_MAX = 9223372036854775807 // common_int_limits.h:121:1:
+ PTRDIFF_MIN = -9223372036854775808 // common_int_limits.h:120:1:
+ SEEK_CUR = 1 // fcntl.h:274:1:
+ SEEK_END = 2 // fcntl.h:277:1:
+ SEEK_SET = 0 // fcntl.h:271:1:
+ SIG_ATOMIC_MAX = 2147483647 // common_int_limits.h:125:1:
+ SIG_ATOMIC_MIN = -2147483648 // common_int_limits.h:124:1:
+ SIZE_MAX = 18446744073709551615 // common_int_limits.h:128:1:
+ UINT16_MAX = 65535 // common_int_limits.h:59:1:
+ UINT32_MAX = 4294967295 // common_int_limits.h:60:1:
+ UINT64_MAX = 18446744073709551615 // common_int_limits.h:61:1:
+ UINT8_MAX = 255 // common_int_limits.h:58:1:
+ UINTMAX_MAX = 18446744073709551615 // common_int_limits.h:112:1:
+ UINTPTR_MAX = 18446744073709551615 // common_int_limits.h:106:1:
+ UINT_FAST16_MAX = 4294967295 // common_int_limits.h:99:1:
+ UINT_FAST32_MAX = 4294967295 // common_int_limits.h:100:1:
+ UINT_FAST64_MAX = 18446744073709551615 // common_int_limits.h:101:1:
+ UINT_FAST8_MAX = 4294967295 // common_int_limits.h:98:1:
+ UINT_LEAST16_MAX = 65535 // common_int_limits.h:79:1:
+ UINT_LEAST32_MAX = 4294967295 // common_int_limits.h:80:1:
+ UINT_LEAST64_MAX = 18446744073709551615 // common_int_limits.h:81:1:
+ UINT_LEAST8_MAX = 255 // common_int_limits.h:78:1:
+ WCHAR_MAX = 0x7fffffff // wchar_limits.h:41:1:
+ WCHAR_MIN = -2147483648 // wchar_limits.h:40:1:
+ WINT_MAX = 0x7fffffff // wchar_limits.h:45:1:
+ WINT_MIN = -2147483648 // wchar_limits.h:44:1:
+ X_AMD64_BYTE_SWAP_H_ = 0 // byte_swap.h:37:1:
+ X_AMD64_INT_CONST_H_ = 0 // int_const.h:33:1:
+ X_AMD64_INT_LIMITS_H_ = 0 // int_limits.h:33:1:
+ X_AMD64_INT_MWGWTYPES_H_ = 0 // int_mwgwtypes.h:33:1:
+ X_AMD64_INT_TYPES_H_ = 0 // int_types.h:35:1:
+ X_AMD64_WCHAR_LIMITS_H_ = 0 // wchar_limits.h:33:1:
+ X_BIG_ENDIAN = 4321 // endian.h:44:1:
+ X_BSD_INT16_T_ = 0 // types.h:65:1:
+ X_BSD_INT32_T_ = 0 // types.h:75:1:
+ X_BSD_INT64_T_ = 0 // types.h:85:1:
+ X_BSD_INT8_T_ = 0 // types.h:55:1:
+ X_BSD_INTPTR_T_ = 0 // stdint.h:80:1:
+ X_BSD_UINT16_T_ = 0 // types.h:70:1:
+ X_BSD_UINT32_T_ = 0 // types.h:80:1:
+ X_BSD_UINT64_T_ = 0 // types.h:90:1:
+ X_BSD_UINT8_T_ = 0 // types.h:60:1:
+ X_BSD_UINTPTR_T_ = 0 // stdint.h:85:1:
+ X_BYTE_ORDER = 1234 // endian_machdep.h:3:1:
+ X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
+ X_LIB_PTHREAD_TYPES_H = 0 // pthread_types.h:33:1:
+ X_LITTLE_ENDIAN = 1234 // endian.h:43:1:
+ X_LP64 = 1 // <predefined>:268:1:
+ X_NETBSD_SOURCE = 1 // featuretest.h:70:1:
+ X_PDP_ENDIAN = 3412 // endian.h:45:1:
+ X_PT_BARRIERATTR_DEAD = 0xDEAD0808 // pthread_types.h:278:1:
+ X_PT_BARRIERATTR_MAGIC = 0x88880808 // pthread_types.h:277:1:
+ X_PT_BARRIER_DEAD = 0xDEAD0008 // pthread_types.h:270:1:
+ X_PT_BARRIER_MAGIC = 0x88880008 // pthread_types.h:269:1:
+ X_PT_CONDATTR_DEAD = 0xDEAD0006 // pthread_types.h:197:1:
+ X_PT_CONDATTR_MAGIC = 0x66660006 // pthread_types.h:196:1:
+ X_PT_COND_DEAD = 0xDEAD0005 // pthread_types.h:182:1:
+ X_PT_COND_MAGIC = 0x55550005 // pthread_types.h:181:1:
+ X_PT_MUTEXATTR_DEAD = 0xDEAD0004 // pthread_types.h:167:1:
+ X_PT_MUTEXATTR_MAGIC = 0x44440004 // pthread_types.h:166:1:
+ X_PT_MUTEX_DEAD = 0xDEAD0003 // pthread_types.h:139:1:
+ X_PT_MUTEX_MAGIC = 0x33330003 // pthread_types.h:138:1:
+ X_PT_RWLOCKATTR_DEAD = 0xDEAD0909 // pthread_types.h:253:1:
+ X_PT_RWLOCKATTR_MAGIC = 0x99990909 // pthread_types.h:252:1:
+ X_PT_RWLOCK_DEAD = 0xDEAD0009 // pthread_types.h:236:1:
+ X_PT_RWLOCK_MAGIC = 0x99990009 // pthread_types.h:235:1:
+ X_PT_SPINLOCK_DEAD = 0xDEAD0007 // pthread_types.h:213:1:
+ X_PT_SPINLOCK_MAGIC = 0x77770007 // pthread_types.h:212:1:
+ X_PT_SPINLOCK_PSHARED = 0x00000001 // pthread_types.h:214:1:
+ X_QUAD_HIGHWORD = 1 // endian.h:84:1:
+ X_QUAD_LOWWORD = 0 // endian.h:85:1:
+ X_SIZE_T = 0 // types.h:279:1:
+ X_SYS_ANSI_H_ = 0 // ansi.h:33:1:
+ X_SYS_BSWAP_H_ = 0 // bswap.h:6:1:
+ X_SYS_CDEFS_ELF_H_ = 0 // cdefs_elf.h:31:1:
+ X_SYS_CDEFS_H_ = 0 // cdefs.h:37:1:
+ X_SYS_COMMON_ANSI_H_ = 0 // common_ansi.h:33:1:
+ X_SYS_COMMON_INT_LIMITS_H_ = 0 // common_int_limits.h:33:1:
+ X_SYS_COMMON_INT_MWGWTYPES_H_ = 0 // common_int_mwgwtypes.h:33:1:
+ X_SYS_COMMON_INT_TYPES_H_ = 0 // common_int_types.h:33:1:
+ X_SYS_ENDIAN_H_ = 0 // endian.h:35:1:
+ X_SYS_FCNTL_H_ = 0 // fcntl.h:40:1:
+ X_SYS_FD_SET_H_ = 0 // fd_set.h:35:1:
+ X_SYS_STDINT_H_ = 0 // stdint.h:33:1:
+ X_SYS_TYPES_H_ = 0 // types.h:40:1:
+ X_X86_64_BSWAP_H_ = 0 // bswap.h:6:1:
+ X_X86_64_CDEFS_H_ = 0 // cdefs.h:4:1:
+ X_X86_64_TYPES_H_ = 0 // types.h:35:1:
)
type Ptrdiff_t = int64 /* <builtin>:3:26 */
diff --git a/vendor/modernc.org/libc/fcntl/fcntl_openbsd_amd64.go b/vendor/modernc.org/libc/fcntl/fcntl_openbsd_amd64.go
index f1b5b336b..47b82df8c 100644
--- a/vendor/modernc.org/libc/fcntl/fcntl_openbsd_amd64.go
+++ b/vendor/modernc.org/libc/fcntl/fcntl_openbsd_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_openbsd_amd64.go -pkgname fcntl', DO NOT EDIT.
+// Code generated by 'ccgo fcntl/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o fcntl/fcntl_openbsd_amd64.go -pkgname fcntl', DO NOT EDIT.
package fcntl
@@ -15,100 +15,100 @@ var _ atomic.Value
var _ unsafe.Pointer
const (
- AT_EACCESS = 0x01
- AT_FDCWD = -100
- AT_REMOVEDIR = 0x08
- AT_SYMLINK_FOLLOW = 0x04
- AT_SYMLINK_NOFOLLOW = 0x02
- BIG_ENDIAN = 4321
- BYTE_ORDER = 1234
- FAPPEND = 8
- FASYNC = 64
- FD_CLOEXEC = 1
- FFSYNC = 128
- FNDELAY = 4
- FNONBLOCK = 4
- FREAD = 0x0001
- FWRITE = 0x0002
- F_DUPFD = 0
- F_DUPFD_CLOEXEC = 10
- F_GETFD = 1
- F_GETFL = 3
- F_GETLK = 7
- F_GETOWN = 5
- F_ISATTY = 11
- F_RDLCK = 1
- F_SETFD = 2
- F_SETFL = 4
- F_SETLK = 8
- F_SETLKW = 9
- F_SETOWN = 6
- F_UNLCK = 2
- F_WRLCK = 3
- LITTLE_ENDIAN = 1234
- LOCK_EX = 0x02
- LOCK_NB = 0x04
- LOCK_SH = 0x01
- LOCK_UN = 0x08
- O_ACCMODE = 0x0003
- O_APPEND = 0x0008
- O_ASYNC = 0x0040
- O_CLOEXEC = 0x10000
- O_CREAT = 0x0200
- O_DIRECTORY = 0x20000
- O_DSYNC = 128
- O_EXCL = 0x0800
- O_EXLOCK = 0x0020
- O_FSYNC = 0x0080
- O_NDELAY = 4
- O_NOCTTY = 0x8000
- O_NOFOLLOW = 0x0100
- O_NONBLOCK = 0x0004
- O_RDONLY = 0x0000
- O_RDWR = 0x0002
- O_RSYNC = 128
- O_SHLOCK = 0x0010
- O_SYNC = 0x0080
- O_TRUNC = 0x0400
- O_WRONLY = 0x0001
- PDP_ENDIAN = 3412
- X_BIG_ENDIAN = 4321
- X_BYTE_ORDER = 1234
- X_CLOCKID_T_DEFINED_ = 0
- X_CLOCK_T_DEFINED_ = 0
- X_FILE_OFFSET_BITS = 64
- X_INT16_T_DEFINED_ = 0
- X_INT32_T_DEFINED_ = 0
- X_INT64_T_DEFINED_ = 0
- X_INT8_T_DEFINED_ = 0
- X_LITTLE_ENDIAN = 1234
- X_LP64 = 1
- X_MACHINE_CDEFS_H_ = 0
- X_MACHINE_ENDIAN_H_ = 0
- X_MACHINE__TYPES_H_ = 0
- X_MAX_PAGE_SHIFT = 12
- X_OFF_T_DEFINED_ = 0
- X_PDP_ENDIAN = 3412
- X_PID_T_DEFINED_ = 0
- X_QUAD_HIGHWORD = 1
- X_QUAD_LOWWORD = 0
- X_RET_PROTECTOR = 1
- X_SIZE_T_DEFINED_ = 0
- X_SSIZE_T_DEFINED_ = 0
- X_STACKALIGNBYTES = 15
- X_SYS_CDEFS_H_ = 0
- X_SYS_ENDIAN_H_ = 0
- X_SYS_FCNTL_H_ = 0
- X_SYS_TYPES_H_ = 0
- X_SYS__ENDIAN_H_ = 0
- X_SYS__TYPES_H_ = 0
- X_TIMER_T_DEFINED_ = 0
- X_TIME_T_DEFINED_ = 0
- X_UINT16_T_DEFINED_ = 0
- X_UINT32_T_DEFINED_ = 0
- X_UINT64_T_DEFINED_ = 0
- X_UINT8_T_DEFINED_ = 0
- Unix = 1
+ AT_EACCESS = 0x01 // fcntl.h:200:1:
+ AT_FDCWD = -100 // fcntl.h:198:1:
+ AT_REMOVEDIR = 0x08 // fcntl.h:203:1:
+ AT_SYMLINK_FOLLOW = 0x04 // fcntl.h:202:1:
+ AT_SYMLINK_NOFOLLOW = 0x02 // fcntl.h:201:1:
+ BIG_ENDIAN = 4321 // endian.h:45:1:
+ BYTE_ORDER = 1234 // endian.h:47:1:
+ FAPPEND = 8 // fcntl.h:130:1:
+ FASYNC = 64 // fcntl.h:131:1:
+ FD_CLOEXEC = 1 // fcntl.h:163:1:
+ FFSYNC = 128 // fcntl.h:132:1:
+ FNDELAY = 4 // fcntl.h:134:1:
+ FNONBLOCK = 4 // fcntl.h:133:1:
+ FREAD = 0x0001 // fcntl.h:76:1:
+ FWRITE = 0x0002 // fcntl.h:77:1:
+ F_DUPFD = 0 // fcntl.h:143:1:
+ F_DUPFD_CLOEXEC = 10 // fcntl.h:156:1:
+ F_GETFD = 1 // fcntl.h:144:1:
+ F_GETFL = 3 // fcntl.h:146:1:
+ F_GETLK = 7 // fcntl.h:152:1:
+ F_GETOWN = 5 // fcntl.h:149:1:
+ F_ISATTY = 11 // fcntl.h:159:1:
+ F_RDLCK = 1 // fcntl.h:166:1:
+ F_SETFD = 2 // fcntl.h:145:1:
+ F_SETFL = 4 // fcntl.h:147:1:
+ F_SETLK = 8 // fcntl.h:153:1:
+ F_SETLKW = 9 // fcntl.h:154:1:
+ F_SETOWN = 6 // fcntl.h:150:1:
+ F_UNLCK = 2 // fcntl.h:167:1:
+ F_WRLCK = 3 // fcntl.h:168:1:
+ LITTLE_ENDIAN = 1234 // endian.h:44:1:
+ LOCK_EX = 0x02 // fcntl.h:192:1:
+ LOCK_NB = 0x04 // fcntl.h:193:1:
+ LOCK_SH = 0x01 // fcntl.h:191:1:
+ LOCK_UN = 0x08 // fcntl.h:194:1:
+ O_ACCMODE = 0x0003 // fcntl.h:65:1:
+ O_APPEND = 0x0008 // fcntl.h:80:1:
+ O_ASYNC = 0x0040 // fcntl.h:84:1:
+ O_CLOEXEC = 0x10000 // fcntl.h:107:1:
+ O_CREAT = 0x0200 // fcntl.h:91:1:
+ O_DIRECTORY = 0x20000 // fcntl.h:108:1:
+ O_DSYNC = 128 // fcntl.h:100:1:
+ O_EXCL = 0x0800 // fcntl.h:93:1:
+ O_EXLOCK = 0x0020 // fcntl.h:83:1:
+ O_FSYNC = 0x0080 // fcntl.h:85:1:
+ O_NDELAY = 4 // fcntl.h:135:1:
+ O_NOCTTY = 0x8000 // fcntl.h:104:1:
+ O_NOFOLLOW = 0x0100 // fcntl.h:86:1:
+ O_NONBLOCK = 0x0004 // fcntl.h:79:1:
+ O_RDONLY = 0x0000 // fcntl.h:62:1:
+ O_RDWR = 0x0002 // fcntl.h:64:1:
+ O_RSYNC = 128 // fcntl.h:101:1:
+ O_SHLOCK = 0x0010 // fcntl.h:82:1:
+ O_SYNC = 0x0080 // fcntl.h:89:1:
+ O_TRUNC = 0x0400 // fcntl.h:92:1:
+ O_WRONLY = 0x0001 // fcntl.h:63:1:
+ PDP_ENDIAN = 3412 // endian.h:46:1:
+ X_BIG_ENDIAN = 4321 // _endian.h:43:1:
+ X_BYTE_ORDER = 1234 // endian.h:58:1:
+ X_CLOCKID_T_DEFINED_ = 0 // types.h:163:1:
+ X_CLOCK_T_DEFINED_ = 0 // types.h:158:1:
+ X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
+ X_INT16_T_DEFINED_ = 0 // types.h:84:1:
+ X_INT32_T_DEFINED_ = 0 // types.h:94:1:
+ X_INT64_T_DEFINED_ = 0 // types.h:104:1:
+ X_INT8_T_DEFINED_ = 0 // types.h:74:1:
+ X_LITTLE_ENDIAN = 1234 // _endian.h:42:1:
+ X_LP64 = 1 // <predefined>:1:1:
+ X_MACHINE_CDEFS_H_ = 0 // cdefs.h:9:1:
+ X_MACHINE_ENDIAN_H_ = 0 // endian.h:28:1:
+ X_MACHINE__TYPES_H_ = 0 // _types.h:36:1:
+ X_MAX_PAGE_SHIFT = 12 // _types.h:52:1:
+ X_OFF_T_DEFINED_ = 0 // types.h:193:1:
+ X_PDP_ENDIAN = 3412 // _endian.h:44:1:
+ X_PID_T_DEFINED_ = 0 // types.h:168:1:
+ X_QUAD_HIGHWORD = 1 // _endian.h:95:1:
+ X_QUAD_LOWWORD = 0 // _endian.h:96:1:
+ X_RET_PROTECTOR = 1 // <predefined>:2:1:
+ X_SIZE_T_DEFINED_ = 0 // types.h:173:1:
+ X_SSIZE_T_DEFINED_ = 0 // types.h:178:1:
+ X_STACKALIGNBYTES = 15 // _types.h:49:1:
+ X_SYS_CDEFS_H_ = 0 // cdefs.h:39:1:
+ X_SYS_ENDIAN_H_ = 0 // endian.h:38:1:
+ X_SYS_FCNTL_H_ = 0 // fcntl.h:41:1:
+ X_SYS_TYPES_H_ = 0 // types.h:41:1:
+ X_SYS__ENDIAN_H_ = 0 // _endian.h:34:1:
+ X_SYS__TYPES_H_ = 0 // _types.h:35:1:
+ X_TIMER_T_DEFINED_ = 0 // types.h:188:1:
+ X_TIME_T_DEFINED_ = 0 // types.h:183:1:
+ X_UINT16_T_DEFINED_ = 0 // types.h:89:1:
+ X_UINT32_T_DEFINED_ = 0 // types.h:99:1:
+ X_UINT64_T_DEFINED_ = 0 // types.h:109:1:
+ X_UINT8_T_DEFINED_ = 0 // types.h:79:1:
+ Unix = 1 // <predefined>:340:1:
)
type Ptrdiff_t = int64 /* <builtin>:3:26 */