diff options
author | Wim <wim@42.be> | 2022-11-27 00:42:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-27 00:42:16 +0100 |
commit | 4fd0a7672777f0ed15692ae2ba47838208537558 (patch) | |
tree | b119834a8b9ee78aa8f1b2ad05efa7da50516cbf /vendor/modernc.org/libc/unistd/unistd_freebsd_amd64.go | |
parent | 6da9d567dc9195e9a5211f23a6795a41f56a1bfc (diff) | |
download | matterbridge-msglm-4fd0a7672777f0ed15692ae2ba47838208537558.tar.gz matterbridge-msglm-4fd0a7672777f0ed15692ae2ba47838208537558.tar.bz2 matterbridge-msglm-4fd0a7672777f0ed15692ae2ba47838208537558.zip |
Update dependencies (#1929)
Diffstat (limited to 'vendor/modernc.org/libc/unistd/unistd_freebsd_amd64.go')
-rw-r--r-- | vendor/modernc.org/libc/unistd/unistd_freebsd_amd64.go | 78 |
1 files changed, 24 insertions, 54 deletions
diff --git a/vendor/modernc.org/libc/unistd/unistd_freebsd_amd64.go b/vendor/modernc.org/libc/unistd/unistd_freebsd_amd64.go index 3ca0ef94..1449eb33 100644 --- a/vendor/modernc.org/libc/unistd/unistd_freebsd_amd64.go +++ b/vendor/modernc.org/libc/unistd/unistd_freebsd_amd64.go @@ -15,19 +15,20 @@ var _ atomic.Value var _ unsafe.Pointer const ( - BIG_ENDIAN = 4321 // endian.h:63:1: - BYTE_ORDER = 1234 // endian.h:65:1: + BIG_ENDIAN = 4321 // _endian.h:70:1: + BYTE_ORDER = 1234 // _endian.h:72:1: + CLOSE_RANGE_CLOEXEC = 4 // unistd.h:205:1: FD_SETSIZE = 1024 // select.h:61:1: F_LOCK = 1 // unistd.h:85:1: F_OK = 0 // unistd.h:102:1: F_TEST = 3 // unistd.h:87:1: F_TLOCK = 2 // unistd.h:86:1: F_ULOCK = 0 // unistd.h:84:1: - LITTLE_ENDIAN = 1234 // endian.h:62:1: + LITTLE_ENDIAN = 1234 // _endian.h:69:1: L_INCR = 1 // unistd.h:121:1: L_SET = 0 // unistd.h:120:1: L_XTND = 2 // unistd.h:122:1: - PDP_ENDIAN = 3412 // endian.h:64:1: + PDP_ENDIAN = 3412 // _endian.h:71:1: RFCENVG = 2048 // unistd.h:178:1: RFCFDG = 4096 // unistd.h:179:1: RFCNAMEG = 1024 // unistd.h:177:1: @@ -60,13 +61,14 @@ const ( STDERR_FILENO = 2 // unistd.h:81:1: STDIN_FILENO = 0 // unistd.h:79:1: STDOUT_FILENO = 1 // unistd.h:80:1: + SWAPOFF_FORCE = 0x00000001 // unistd.h:200:1: W_OK = 0x02 // unistd.h:104:1: X_OK = 0x01 // unistd.h:103:1: X_ACCMODE_T_DECLARED = 0 // types.h:166:1: - X_BIG_ENDIAN = 4321 // endian.h:52:1: + X_BIG_ENDIAN = 4321 // _endian.h:47:1: X_BLKCNT_T_DECLARED = 0 // types.h:90:1: X_BLKSIZE_T_DECLARED = 0 // types.h:81:1: - X_BYTE_ORDER = 1234 // endian.h:55:1: + X_BYTE_ORDER = 1234 // _endian.h:40:1: X_CAP_IOCTL_T_DECLARED = 0 // types.h:243:1: X_CAP_RIGHTS_T_DECLARED = 0 // types.h:248:1: X_CLOCKID_T_DECLARED = 0 // types.h:100:1: @@ -103,7 +105,7 @@ const ( X_IN_ADDR_T_DECLARED = 0 // types.h:131:1: X_IN_PORT_T_DECLARED = 0 // types.h:136:1: X_KEY_T_DECLARED = 0 // types.h:151:1: - X_LITTLE_ENDIAN = 1234 // endian.h:51:1: + X_LITTLE_ENDIAN = 1234 // _endian.h:46:1: X_LP64 = 1 // <predefined>:1:1: X_LSEEK_DECLARED = 0 // types.h:421:1: X_LWPID_T_DECLARED = 0 // types.h:156:1: @@ -118,12 +120,12 @@ const ( X_MODE_T_DECLARED = 0 // types.h:161:1: X_MQD_T_DECLARED = 0 // types.h:227:1: X_NLINK_T_DECLARED = 0 // types.h:171:1: - X_Nonnull = 0 // cdefs.h:783:1: - X_Null_unspecified = 0 // cdefs.h:785:1: - X_Nullable = 0 // cdefs.h:784:1: + X_Nonnull = 0 // cdefs.h:790:1: + X_Null_unspecified = 0 // cdefs.h:792:1: + X_Nullable = 0 // cdefs.h:791:1: X_OFF64_T_DECLARED = 0 // types.h:181:1: X_OFF_T_DECLARED = 0 // types.h:176:1: - X_OPTRESET_DECLARED = 0 // unistd.h:591:1: + X_OPTRESET_DECLARED = 0 // unistd.h:592:1: X_PC_ACL_EXTENDED = 59 // unistd.h:153:1: X_PC_ACL_NFS4 = 64 // unistd.h:158:1: X_PC_ACL_PATH_MAX = 60 // unistd.h:154:1: @@ -150,7 +152,7 @@ const ( X_PC_SYMLINK_MAX = 18 // unistd.h:149:1: X_PC_SYNC_IO = 55 // unistd.h:139:1: X_PC_VDISABLE = 9 // unistd.h:134:1: - X_PDP_ENDIAN = 3412 // endian.h:53:1: + X_PDP_ENDIAN = 3412 // _endian.h:48:1: X_PID_T_DECLARED = 0 // types.h:186:1: X_POSIX2_CHAR_TERM = 1 // unistd.h:127:1: X_POSIX2_C_BIND = 200112 // unistd.h:125:1: @@ -216,8 +218,8 @@ const ( X_POSIX_VDISABLE = 0xff // unistd.h:80:1: X_POSIX_VERSION = 200112 // unistd.h:99:1: X_PTHREAD_T_DECLARED = 0 // _pthreadtypes.h:68:1: - X_QUAD_HIGHWORD = 1 // endian.h:44:1: - X_QUAD_LOWWORD = 0 // endian.h:45:1: + X_QUAD_HIGHWORD = 1 // _endian.h:55:1: + X_QUAD_LOWWORD = 0 // _endian.h:56:1: X_RLIM_T_DECLARED = 0 // types.h:193:1: X_SC_2_CHAR_TERM = 20 // unistd.h:184:1: X_SC_2_C_BIND = 18 // unistd.h:182:1: @@ -352,6 +354,7 @@ const ( X_SYS_TIMESPEC_H_ = 0 // timespec.h:37:1: X_SYS_TYPES_H_ = 0 // types.h:41:1: X_SYS_UNISTD_H_ = 0 // unistd.h:36:1: + X_SYS__ENDIAN_H_ = 0 // _endian.h:33:1: X_SYS__PTHREADTYPES_H_ = 0 // _pthreadtypes.h:39:1: X_SYS__SIGSET_H_ = 0 // _sigset.h:41:1: X_SYS__STDINT_H_ = 0 // _stdint.h:33:1: @@ -382,7 +385,7 @@ const ( X_XOPEN_SHM = 1 // unistd.h:83:1: X_XOPEN_STREAMS = -1 // unistd.h:84:1: X_XOPEN_UNIX = -1 // unistd.h:150:1: - Unix = 1 // <predefined>:337:1: + Unix = 1 // <predefined>:340:1: ) type Ptrdiff_t = int64 /* <builtin>:3:26 */ @@ -652,12 +655,15 @@ type X__float128 = float64 /* <builtin>:47:21 */ // Function should not be analyzed. -// Function or variable should not be sanitized, i.e. by AddressSanitizer. +// Function or variable should not be sanitized, e.g., by AddressSanitizer. // GCC has the nosanitize attribute, but as a function attribute only, and // warns on use as a variable attribute. // Guard variables and structure members by lock. +// Alignment builtins for better type checking and improved code generation. +// Provide fallback versions for other compilers (GCC/Clang < 10): + // - // SPDX-License-Identifier: BSD-3-Clause // @@ -771,42 +777,6 @@ type X__float128 = float64 /* <builtin>:47:21 */ // $FreeBSD$ // - -// SPDX-License-Identifier: BSD-3-Clause -// -// Copyright (c) 1991, 1993 -// The Regents of the University of California. All rights reserved. -// -// This code is derived from software contributed to Berkeley by -// Berkeley Software Design, Inc. -// -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions -// are met: -// 1. Redistributions of source code must retain the above copyright -// notice, this list of conditions and the following disclaimer. -// 2. Redistributions in binary form must reproduce the above copyright -// notice, this list of conditions and the following disclaimer in the -// documentation and/or other materials provided with the distribution. -// 3. Neither the name of the University nor the names of its contributors -// may be used to endorse or promote products derived from this software -// without specific prior written permission. -// -// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND -// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE -// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS -// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY -// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -// SUCH DAMAGE. -// -// @(#)cdefs.h 8.8 (Berkeley) 1/9/95 -// $FreeBSD$ - -// - // SPDX-License-Identifier: BSD-2-Clause-FreeBSD // // Copyright (c) 2002 Mike Barcroft <mike@FreeBSD.org> @@ -1048,8 +1018,8 @@ type X__cpusetid_t = int32 /* _types.h:70:14 */ // cpuset identifier. type X__daddr_t = X__int64_t /* _types.h:71:19 */ // bwrite(3), FIOBMAP2, etc // Unusual type definitions. -// rune_t is declared to be an ``int'' instead of the more natural -// ``unsigned long'' or ``long''. Two things are happening here. It is not +// rune_t is declared to be an “int” instead of the more natural +// “unsigned long” or “long”. Two things are happening here. It is not // unsigned so that EOF (-1) can be naturally assigned to it and used. Also, // it looks like 10646 will be a 31 bit standard. This means that if your // ints cannot hold 32 bits, you will be in trouble. The reason an int was |