diff options
Diffstat (limited to 'vendor/modernc.org/libc/stdlib/stdlib_darwin_arm64.go')
-rw-r--r-- | vendor/modernc.org/libc/stdlib/stdlib_darwin_arm64.go | 726 |
1 files changed, 370 insertions, 356 deletions
diff --git a/vendor/modernc.org/libc/stdlib/stdlib_darwin_arm64.go b/vendor/modernc.org/libc/stdlib/stdlib_darwin_arm64.go index 83e44d4e..8ba53c42 100644 --- a/vendor/modernc.org/libc/stdlib/stdlib_darwin_arm64.go +++ b/vendor/modernc.org/libc/stdlib/stdlib_darwin_arm64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo stdlib/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 stdlib/stdlib_darwin_arm64.go -pkgname stdlib', DO NOT EDIT. +// Code generated by 'ccgo stdlib/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 stdlib/stdlib_darwin_arm64.go -pkgname stdlib', DO NOT EDIT. package stdlib @@ -15,353 +15,353 @@ var _ atomic.Value var _ unsafe.Pointer const ( - BIG_ENDIAN = 4321 - BUS_ADRALN = 1 - BUS_ADRERR = 2 - BUS_NOOP = 0 - BUS_OBJERR = 3 - BYTE_ORDER = 1234 - CLD_CONTINUED = 6 - CLD_DUMPED = 3 - CLD_EXITED = 1 - CLD_KILLED = 2 - CLD_NOOP = 0 - CLD_STOPPED = 5 - CLD_TRAPPED = 4 - CPUMON_MAKE_FATAL = 0x1000 - EXIT_FAILURE = 1 - EXIT_SUCCESS = 0 - FOOTPRINT_INTERVAL_RESET = 0x1 - FPE_FLTDIV = 1 - FPE_FLTINV = 5 - FPE_FLTOVF = 2 - FPE_FLTRES = 4 - FPE_FLTSUB = 6 - FPE_FLTUND = 3 - FPE_INTDIV = 7 - FPE_INTOVF = 8 - FPE_NOOP = 0 - ILL_BADSTK = 8 - ILL_COPROC = 7 - ILL_ILLADR = 5 - ILL_ILLOPC = 1 - ILL_ILLOPN = 4 - ILL_ILLTRP = 2 - ILL_NOOP = 0 - ILL_PRVOPC = 3 - ILL_PRVREG = 6 - 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 = 32767 - INT_FAST16_MIN = -32768 - INT_FAST32_MAX = 2147483647 - INT_FAST32_MIN = -2147483648 - INT_FAST64_MAX = 9223372036854775807 - INT_FAST64_MIN = -9223372036854775808 - INT_FAST8_MAX = 127 - INT_FAST8_MIN = -128 - 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 - IOPOL_APPLICATION = 5 - IOPOL_ATIME_UPDATES_DEFAULT = 0 - IOPOL_ATIME_UPDATES_OFF = 1 - IOPOL_DEFAULT = 0 - IOPOL_IMPORTANT = 1 - IOPOL_MATERIALIZE_DATALESS_FILES_DEFAULT = 0 - IOPOL_MATERIALIZE_DATALESS_FILES_OFF = 1 - IOPOL_MATERIALIZE_DATALESS_FILES_ON = 2 - IOPOL_NORMAL = 1 - IOPOL_PASSIVE = 2 - IOPOL_SCOPE_DARWIN_BG = 2 - IOPOL_SCOPE_PROCESS = 0 - IOPOL_SCOPE_THREAD = 1 - IOPOL_STANDARD = 5 - IOPOL_THROTTLE = 3 - IOPOL_TYPE_DISK = 0 - IOPOL_TYPE_VFS_ALLOW_LOW_SPACE_WRITES = 9 - IOPOL_TYPE_VFS_ATIME_UPDATES = 2 - IOPOL_TYPE_VFS_IGNORE_CONTENT_PROTECTION = 6 - IOPOL_TYPE_VFS_IGNORE_PERMISSIONS = 7 - IOPOL_TYPE_VFS_MATERIALIZE_DATALESS_FILES = 3 - IOPOL_TYPE_VFS_SKIP_MTIME_UPDATE = 8 - IOPOL_TYPE_VFS_STATFS_NO_DATA_VOLUME = 4 - IOPOL_TYPE_VFS_TRIGGER_RESOLVE = 5 - IOPOL_UTILITY = 4 - IOPOL_VFS_ALLOW_LOW_SPACE_WRITES_OFF = 0 - IOPOL_VFS_ALLOW_LOW_SPACE_WRITES_ON = 1 - IOPOL_VFS_CONTENT_PROTECTION_DEFAULT = 0 - IOPOL_VFS_CONTENT_PROTECTION_IGNORE = 1 - IOPOL_VFS_IGNORE_PERMISSIONS_OFF = 0 - IOPOL_VFS_IGNORE_PERMISSIONS_ON = 1 - IOPOL_VFS_SKIP_MTIME_UPDATE_OFF = 0 - IOPOL_VFS_SKIP_MTIME_UPDATE_ON = 1 - IOPOL_VFS_STATFS_FORCE_NO_DATA_VOLUME = 1 - IOPOL_VFS_STATFS_NO_DATA_VOLUME_DEFAULT = 0 - IOPOL_VFS_TRIGGER_RESOLVE_DEFAULT = 0 - IOPOL_VFS_TRIGGER_RESOLVE_OFF = 1 - LITTLE_ENDIAN = 1234 - 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 - MINSIGSTKSZ = 32768 - NSIG = 32 - PDP_ENDIAN = 3412 - POLL_ERR = 4 - POLL_HUP = 6 - POLL_IN = 1 - POLL_MSG = 3 - POLL_OUT = 2 - POLL_PRI = 5 - PRIO_DARWIN_BG = 0x1000 - PRIO_DARWIN_NONUI = 0x1001 - PRIO_DARWIN_PROCESS = 4 - PRIO_DARWIN_THREAD = 3 - PRIO_MAX = 20 - PRIO_MIN = -20 - PRIO_PGRP = 1 - PRIO_PROCESS = 0 - PRIO_USER = 2 - PTRDIFF_MAX = 9223372036854775807 - PTRDIFF_MIN = -9223372036854775808 - RAND_MAX = 0x7fffffff - RLIMIT_AS = 5 - RLIMIT_CORE = 4 - RLIMIT_CPU = 0 - RLIMIT_CPU_USAGE_MONITOR = 0x2 - RLIMIT_DATA = 2 - RLIMIT_FOOTPRINT_INTERVAL = 0x4 - RLIMIT_FSIZE = 1 - RLIMIT_MEMLOCK = 6 - RLIMIT_NOFILE = 8 - RLIMIT_NPROC = 7 - RLIMIT_RSS = 5 - RLIMIT_STACK = 3 - RLIMIT_THREAD_CPULIMITS = 0x3 - RLIMIT_WAKEUPS_MONITOR = 0x1 - RLIM_NLIMITS = 9 - RSIZE_MAX = 9223372036854775807 - RUSAGE_CHILDREN = -1 - RUSAGE_INFO_CURRENT = 5 - RUSAGE_INFO_V0 = 0 - RUSAGE_INFO_V1 = 1 - RUSAGE_INFO_V2 = 2 - RUSAGE_INFO_V3 = 3 - RUSAGE_INFO_V4 = 4 - RUSAGE_INFO_V5 = 5 - RUSAGE_SELF = 0 - RU_PROC_RUNS_RESLIDE = 0x00000001 - SA_64REGSET = 0x0200 - SA_NOCLDSTOP = 0x0008 - SA_NOCLDWAIT = 0x0020 - SA_NODEFER = 0x0010 - SA_ONSTACK = 0x0001 - SA_RESETHAND = 0x0004 - SA_RESTART = 0x0002 - SA_SIGINFO = 0x0040 - SA_USERSPACE_MASK = 127 - SA_USERTRAMP = 0x0100 - SEGV_ACCERR = 2 - SEGV_MAPERR = 1 - SEGV_NOOP = 0 - SIGABRT = 6 - SIGALRM = 14 - SIGBUS = 10 - SIGCHLD = 20 - SIGCONT = 19 - SIGEMT = 7 - SIGEV_NONE = 0 - SIGEV_SIGNAL = 1 - SIGEV_THREAD = 3 - SIGFPE = 8 - SIGHUP = 1 - SIGILL = 4 - SIGINFO = 29 - SIGINT = 2 - SIGIO = 23 - SIGIOT = 6 - SIGKILL = 9 - SIGPIPE = 13 - SIGPROF = 27 - SIGQUIT = 3 - SIGSEGV = 11 - SIGSTKSZ = 131072 - SIGSTOP = 17 - SIGSYS = 12 - SIGTERM = 15 - SIGTRAP = 5 - SIGTSTP = 18 - SIGTTIN = 21 - SIGTTOU = 22 - SIGURG = 16 - SIGUSR1 = 30 - SIGUSR2 = 31 - SIGVTALRM = 26 - SIGWINCH = 28 - SIGXCPU = 24 - SIGXFSZ = 25 - SIG_ATOMIC_MAX = 2147483647 - SIG_ATOMIC_MIN = -2147483648 - SIG_BLOCK = 1 - SIG_SETMASK = 3 - SIG_UNBLOCK = 2 - SIZE_MAX = 18446744073709551615 - SI_ASYNCIO = 0x10004 - SI_MESGQ = 0x10005 - SI_QUEUE = 0x10002 - SI_TIMER = 0x10003 - SI_USER = 0x10001 - SS_DISABLE = 0x0004 - SS_ONSTACK = 0x0001 - SV_INTERRUPT = 2 - SV_NOCLDSTOP = 8 - SV_NODEFER = 16 - SV_ONSTACK = 1 - SV_RESETHAND = 4 - SV_SIGINFO = 64 - TRAP_BRKPT = 1 - TRAP_TRACE = 2 - UINT16_MAX = 65535 - UINT32_MAX = 4294967295 - UINT64_MAX = 18446744073709551615 - UINT8_MAX = 255 - UINTMAX_MAX = 18446744073709551615 - UINTPTR_MAX = 18446744073709551615 - UINT_FAST16_MAX = 65535 - UINT_FAST32_MAX = 4294967295 - UINT_FAST64_MAX = 18446744073709551615 - UINT_FAST8_MAX = 255 - UINT_LEAST16_MAX = 65535 - UINT_LEAST32_MAX = 4294967295 - UINT_LEAST64_MAX = 18446744073709551615 - UINT_LEAST8_MAX = 255 - WAIT_ANY = -1 - WAIT_MYPGRP = 0 - WAKEMON_DISABLE = 0x02 - WAKEMON_ENABLE = 0x01 - WAKEMON_GET_PARAMS = 0x04 - WAKEMON_MAKE_FATAL = 0x10 - WAKEMON_SET_DEFAULTS = 0x08 - WCHAR_MAX = 2147483647 - WCHAR_MIN = -2147483648 - WCONTINUED = 0x00000010 - WCOREFLAG = 0200 - WEXITED = 0x00000004 - WINT_MAX = 2147483647 - WINT_MIN = -2147483648 - WNOHANG = 0x00000001 - WNOWAIT = 0x00000020 - WSTOPPED = 0x00000008 - WUNTRACED = 0x00000002 - X_ALLOCA_H_ = 0 - X_ARM_ARCH_H = 0 - X_ARM_MACHTYPES_H_ = 0 - X_ARM_SIGNAL_ = 1 - X_ARM__ENDIAN_H_ = 0 - X_BSD_ARM__TYPES_H_ = 0 - X_BSD_MACHINE_ENDIAN_H_ = 0 - X_BSD_MACHINE_SIGNAL_H_ = 0 - X_BSD_MACHINE_TYPES_H_ = 0 - X_BSD_MACHINE__MCONTEXT_H_ = 0 - X_BSD_MACHINE__TYPES_H_ = 0 - X_CDEFS_H_ = 0 - X_CT_RUNE_T = 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_DEV_T = 0 - X_FILE_OFFSET_BITS = 64 - X_FORTIFY_SOURCE = 2 - X_ID_T = 0 - 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_MACH_ARM__STRUCTS_H_ = 0 - X_MACH_MACHINE__STRUCTS_H_ = 0 - X_MALLOC_UNDERSCORE_MALLOC_H_ = 0 - X_MCONTEXT_T = 0 - X_MODE_T = 0 - X_Nonnull = 0 - X_Null_unspecified = 0 - X_Nullable = 0 - X_OS_OSBYTEORDERARM_H = 0 - X_OS__OSBYTEORDER_H = 0 - X_PID_T = 0 - X_PTHREAD_ATTR_T = 0 - X_QUAD_HIGHWORD = 1 - X_QUAD_LOWWORD = 0 - X_RLIMIT_POSIX_FLAG = 0x1000 - X_RUNE_T = 0 - X_SIGSET_T = 0 - X_SIZE_T = 0 - X_STDLIB_H_ = 0 - X_SYS_RESOURCE_H_ = 0 - X_SYS_SIGNAL_H_ = 0 - X_SYS_WAIT_H_ = 0 - X_SYS__ENDIAN_H_ = 0 - X_SYS__PTHREAD_TYPES_H_ = 0 - X_SYS__TYPES_H_ = 0 - X_UID_T = 0 - X_UINT32_T = 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 - X_WCHAR_T = 0 - X_WSTOPPED = 0177 + BIG_ENDIAN = 4321 // endian.h:72:1: + BUS_ADRALN = 1 // signal.h:241:1: + BUS_ADRERR = 2 // signal.h:242:1: + BUS_NOOP = 0 // signal.h:239:1: + BUS_OBJERR = 3 // signal.h:243:1: + BYTE_ORDER = 1234 // endian.h:75:1: + CLD_CONTINUED = 6 // signal.h:258:1: + CLD_DUMPED = 3 // signal.h:255:1: + CLD_EXITED = 1 // signal.h:253:1: + CLD_KILLED = 2 // signal.h:254:1: + CLD_NOOP = 0 // signal.h:251:1: + CLD_STOPPED = 5 // signal.h:257:1: + CLD_TRAPPED = 4 // signal.h:256:1: + CPUMON_MAKE_FATAL = 0x1000 // resource.h:439:1: + EXIT_FAILURE = 1 // stdlib.h:102:1: + EXIT_SUCCESS = 0 // stdlib.h:103:1: + FOOTPRINT_INTERVAL_RESET = 0x1 // resource.h:444:1: + FPE_FLTDIV = 1 // signal.h:221:1: + FPE_FLTINV = 5 // signal.h:225:1: + FPE_FLTOVF = 2 // signal.h:222:1: + FPE_FLTRES = 4 // signal.h:224:1: + FPE_FLTSUB = 6 // signal.h:226:1: + FPE_FLTUND = 3 // signal.h:223:1: + FPE_INTDIV = 7 // signal.h:227:1: + FPE_INTOVF = 8 // signal.h:228:1: + FPE_NOOP = 0 // signal.h:219:1: + ILL_BADSTK = 8 // signal.h:215:1: + ILL_COPROC = 7 // signal.h:214:1: + ILL_ILLADR = 5 // signal.h:212:1: + ILL_ILLOPC = 1 // signal.h:208:1: + ILL_ILLOPN = 4 // signal.h:211:1: + ILL_ILLTRP = 2 // signal.h:209:1: + ILL_NOOP = 0 // signal.h:206:1: + ILL_PRVOPC = 3 // signal.h:210:1: + ILL_PRVREG = 6 // signal.h:213:1: + INT16_MAX = 32767 // stdint.h:599:1: + INT16_MIN = -32768 // stdint.h:600:1: + INT32_MAX = 2147483647 // stdint.h:555:1: + INT32_MIN = -2147483648 // stdint.h:556:1: + INT64_MAX = 9223372036854775807 // stdint.h:461:1: + INT64_MIN = -9223372036854775808 // stdint.h:462:1: + INT8_MAX = 127 // stdint.h:621:1: + INT8_MIN = -128 // stdint.h:622:1: + INTMAX_MAX = 9223372036854775807 // stdint.h:663:1: + INTMAX_MIN = -9223372036854775808 // stdint.h:662:1: + INTPTR_MAX = 9223372036854775807 // stdint.h:649:1: + INTPTR_MIN = -9223372036854775808 // stdint.h:648:1: + INT_FAST16_MAX = 32767 // stdint.h:615:1: + INT_FAST16_MIN = -32768 // stdint.h:614:1: + INT_FAST32_MAX = 2147483647 // stdint.h:574:1: + INT_FAST32_MIN = -2147483648 // stdint.h:573:1: + INT_FAST64_MAX = 9223372036854775807 // stdint.h:483:1: + INT_FAST64_MIN = -9223372036854775808 // stdint.h:482:1: + INT_FAST8_MAX = 127 // stdint.h:634:1: + INT_FAST8_MIN = -128 // stdint.h:633:1: + INT_LEAST16_MAX = 32767 // stdint.h:612:1: + INT_LEAST16_MIN = -32768 // stdint.h:611:1: + INT_LEAST32_MAX = 2147483647 // stdint.h:571:1: + INT_LEAST32_MIN = -2147483648 // stdint.h:570:1: + INT_LEAST64_MAX = 9223372036854775807 // stdint.h:480:1: + INT_LEAST64_MIN = -9223372036854775808 // stdint.h:479:1: + INT_LEAST8_MAX = 127 // stdint.h:631:1: + INT_LEAST8_MIN = -128 // stdint.h:630:1: + IOPOL_APPLICATION = 5 // resource.h:478:1: + IOPOL_ATIME_UPDATES_DEFAULT = 0 // resource.h:482:1: + IOPOL_ATIME_UPDATES_OFF = 1 // resource.h:483:1: + IOPOL_DEFAULT = 0 // resource.h:470:1: + IOPOL_IMPORTANT = 1 // resource.h:471:1: + IOPOL_MATERIALIZE_DATALESS_FILES_DEFAULT = 0 // resource.h:485:1: + IOPOL_MATERIALIZE_DATALESS_FILES_OFF = 1 // resource.h:486:1: + IOPOL_MATERIALIZE_DATALESS_FILES_ON = 2 // resource.h:487:1: + IOPOL_NORMAL = 1 // resource.h:479:1: + IOPOL_PASSIVE = 2 // resource.h:472:1: + IOPOL_SCOPE_DARWIN_BG = 2 // resource.h:467:1: + IOPOL_SCOPE_PROCESS = 0 // resource.h:465:1: + IOPOL_SCOPE_THREAD = 1 // resource.h:466:1: + IOPOL_STANDARD = 5 // resource.h:475:1: + IOPOL_THROTTLE = 3 // resource.h:473:1: + IOPOL_TYPE_DISK = 0 // resource.h:454:1: + IOPOL_TYPE_VFS_ALLOW_LOW_SPACE_WRITES = 9 // resource.h:462:1: + IOPOL_TYPE_VFS_ATIME_UPDATES = 2 // resource.h:455:1: + IOPOL_TYPE_VFS_IGNORE_CONTENT_PROTECTION = 6 // resource.h:459:1: + IOPOL_TYPE_VFS_IGNORE_PERMISSIONS = 7 // resource.h:460:1: + IOPOL_TYPE_VFS_MATERIALIZE_DATALESS_FILES = 3 // resource.h:456:1: + IOPOL_TYPE_VFS_SKIP_MTIME_UPDATE = 8 // resource.h:461:1: + IOPOL_TYPE_VFS_STATFS_NO_DATA_VOLUME = 4 // resource.h:457:1: + IOPOL_TYPE_VFS_TRIGGER_RESOLVE = 5 // resource.h:458:1: + IOPOL_UTILITY = 4 // resource.h:474:1: + IOPOL_VFS_ALLOW_LOW_SPACE_WRITES_OFF = 0 // resource.h:504:1: + IOPOL_VFS_ALLOW_LOW_SPACE_WRITES_ON = 1 // resource.h:505:1: + IOPOL_VFS_CONTENT_PROTECTION_DEFAULT = 0 // resource.h:495:1: + IOPOL_VFS_CONTENT_PROTECTION_IGNORE = 1 // resource.h:496:1: + IOPOL_VFS_IGNORE_PERMISSIONS_OFF = 0 // resource.h:498:1: + IOPOL_VFS_IGNORE_PERMISSIONS_ON = 1 // resource.h:499:1: + IOPOL_VFS_SKIP_MTIME_UPDATE_OFF = 0 // resource.h:501:1: + IOPOL_VFS_SKIP_MTIME_UPDATE_ON = 1 // resource.h:502:1: + IOPOL_VFS_STATFS_FORCE_NO_DATA_VOLUME = 1 // resource.h:490:1: + IOPOL_VFS_STATFS_NO_DATA_VOLUME_DEFAULT = 0 // resource.h:489:1: + IOPOL_VFS_TRIGGER_RESOLVE_DEFAULT = 0 // resource.h:492:1: + IOPOL_VFS_TRIGGER_RESOLVE_OFF = 1 // resource.h:493:1: + LITTLE_ENDIAN = 1234 // endian.h:71: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: + MINSIGSTKSZ = 32768 // signal.h:340:1: + NSIG = 32 // signal.h:79:1: + PDP_ENDIAN = 3412 // endian.h:73:1: + POLL_ERR = 4 // signal.h:264:1: + POLL_HUP = 6 // signal.h:266:1: + POLL_IN = 1 // signal.h:261:1: + POLL_MSG = 3 // signal.h:263:1: + POLL_OUT = 2 // signal.h:262:1: + POLL_PRI = 5 // signal.h:265:1: + PRIO_DARWIN_BG = 0x1000 // resource.h:120:1: + PRIO_DARWIN_NONUI = 0x1001 // resource.h:126:1: + PRIO_DARWIN_PROCESS = 4 // resource.h:106:1: + PRIO_DARWIN_THREAD = 3 // resource.h:105:1: + PRIO_MAX = 20 // resource.h:113:1: + PRIO_MIN = -20 // resource.h:112:1: + PRIO_PGRP = 1 // resource.h:101:1: + PRIO_PROCESS = 0 // resource.h:100:1: + PRIO_USER = 2 // resource.h:102:1: + PTRDIFF_MAX = 9223372036854775807 // stdint.h:652:1: + PTRDIFF_MIN = -9223372036854775808 // stdint.h:651:1: + RAND_MAX = 0x7fffffff // stdlib.h:105:1: + RLIMIT_AS = 5 // resource.h:395:1: + RLIMIT_CORE = 4 // resource.h:394:1: + RLIMIT_CPU = 0 // resource.h:390:1: + RLIMIT_CPU_USAGE_MONITOR = 0x2 // resource.h:423:1: + RLIMIT_DATA = 2 // resource.h:392:1: + RLIMIT_FOOTPRINT_INTERVAL = 0x4 // resource.h:425:1: + RLIMIT_FSIZE = 1 // resource.h:391:1: + RLIMIT_MEMLOCK = 6 // resource.h:398:1: + RLIMIT_NOFILE = 8 // resource.h:401:1: + RLIMIT_NPROC = 7 // resource.h:399:1: + RLIMIT_RSS = 5 // resource.h:397:1: + RLIMIT_STACK = 3 // resource.h:393:1: + RLIMIT_THREAD_CPULIMITS = 0x3 // resource.h:424:1: + RLIMIT_WAKEUPS_MONITOR = 0x1 // resource.h:422:1: + RLIM_NLIMITS = 9 // resource.h:403:1: + RSIZE_MAX = 9223372036854775807 // stdint.h:658:1: + RUSAGE_CHILDREN = -1 // resource.h:141:1: + RUSAGE_INFO_CURRENT = 5 // resource.h:192:1: + RUSAGE_INFO_V0 = 0 // resource.h:186:1: + RUSAGE_INFO_V1 = 1 // resource.h:187:1: + RUSAGE_INFO_V2 = 2 // resource.h:188:1: + RUSAGE_INFO_V3 = 3 // resource.h:189:1: + RUSAGE_INFO_V4 = 4 // resource.h:190:1: + RUSAGE_INFO_V5 = 5 // resource.h:191:1: + RUSAGE_SELF = 0 // resource.h:140:1: + RU_PROC_RUNS_RESLIDE = 0x00000001 // resource.h:197:1: + SA_64REGSET = 0x0200 // signal.h:308:1: + SA_NOCLDSTOP = 0x0008 // signal.h:301:1: + SA_NOCLDWAIT = 0x0020 // signal.h:303:1: + SA_NODEFER = 0x0010 // signal.h:302:1: + SA_ONSTACK = 0x0001 // signal.h:298:1: + SA_RESETHAND = 0x0004 // signal.h:300:1: + SA_RESTART = 0x0002 // signal.h:299:1: + SA_SIGINFO = 0x0040 // signal.h:304:1: + SA_USERSPACE_MASK = 127 // signal.h:314:1: + SA_USERTRAMP = 0x0100 // signal.h:306:1: + SEGV_ACCERR = 2 // signal.h:235:1: + SEGV_MAPERR = 1 // signal.h:234:1: + SEGV_NOOP = 0 // signal.h:232:1: + SIGABRT = 6 // signal.h:89:1: + SIGALRM = 14 // signal.h:102:1: + SIGBUS = 10 // signal.h:98:1: + SIGCHLD = 20 // signal.h:108:1: + SIGCONT = 19 // signal.h:107:1: + SIGEMT = 7 // signal.h:94:1: + SIGEV_NONE = 0 // signal.h:164:1: + SIGEV_SIGNAL = 1 // signal.h:165:1: + SIGEV_THREAD = 3 // signal.h:166:1: + SIGFPE = 8 // signal.h:96:1: + SIGHUP = 1 // signal.h:84:1: + SIGILL = 4 // signal.h:87:1: + SIGINFO = 29 // signal.h:120:1: + SIGINT = 2 // signal.h:85:1: + SIGIO = 23 // signal.h:112:1: + SIGIOT = 6 // signal.h:93:1: + SIGKILL = 9 // signal.h:97:1: + SIGPIPE = 13 // signal.h:101:1: + SIGPROF = 27 // signal.h:117:1: + SIGQUIT = 3 // signal.h:86:1: + SIGSEGV = 11 // signal.h:99:1: + SIGSTKSZ = 131072 // signal.h:341:1: + SIGSTOP = 17 // signal.h:105:1: + SIGSYS = 12 // signal.h:100:1: + SIGTERM = 15 // signal.h:103:1: + SIGTRAP = 5 // signal.h:88:1: + SIGTSTP = 18 // signal.h:106:1: + SIGTTIN = 21 // signal.h:109:1: + SIGTTOU = 22 // signal.h:110:1: + SIGURG = 16 // signal.h:104:1: + SIGUSR1 = 30 // signal.h:122:1: + SIGUSR2 = 31 // signal.h:123:1: + SIGVTALRM = 26 // signal.h:116:1: + SIGWINCH = 28 // signal.h:119:1: + SIGXCPU = 24 // signal.h:114:1: + SIGXFSZ = 25 // signal.h:115:1: + SIG_ATOMIC_MAX = 2147483647 // stdint.h:668:1: + SIG_ATOMIC_MIN = -2147483648 // stdint.h:667:1: + SIG_BLOCK = 1 // signal.h:319:1: + SIG_SETMASK = 3 // signal.h:321:1: + SIG_UNBLOCK = 2 // signal.h:320:1: + SIZE_MAX = 18446744073709551615 // stdint.h:653:1: + SI_ASYNCIO = 0x10004 // signal.h:327:1: + SI_MESGQ = 0x10005 // signal.h:328:1: + SI_QUEUE = 0x10002 // signal.h:325:1: + SI_TIMER = 0x10003 // signal.h:326:1: + SI_USER = 0x10001 // signal.h:324:1: + SS_DISABLE = 0x0004 // signal.h:339:1: + SS_ONSTACK = 0x0001 // signal.h:338:1: + SV_INTERRUPT = 2 // signal.h:355:1: + SV_NOCLDSTOP = 8 // signal.h:358:1: + SV_NODEFER = 16 // signal.h:357:1: + SV_ONSTACK = 1 // signal.h:354:1: + SV_RESETHAND = 4 // signal.h:356:1: + SV_SIGINFO = 64 // signal.h:359:1: + TRAP_BRKPT = 1 // signal.h:246:1: + TRAP_TRACE = 2 // signal.h:247:1: + UINT16_MAX = 65535 // stdint.h:601:1: + UINT32_MAX = 4294967295 // stdint.h:557:1: + UINT64_MAX = 18446744073709551615 // stdint.h:463:1: + UINT8_MAX = 255 // stdint.h:623:1: + UINTMAX_MAX = 18446744073709551615 // stdint.h:664:1: + UINTPTR_MAX = 18446744073709551615 // stdint.h:650:1: + UINT_FAST16_MAX = 65535 // stdint.h:616:1: + UINT_FAST32_MAX = 4294967295 // stdint.h:575:1: + UINT_FAST64_MAX = 18446744073709551615 // stdint.h:484:1: + UINT_FAST8_MAX = 255 // stdint.h:635:1: + UINT_LEAST16_MAX = 65535 // stdint.h:613:1: + UINT_LEAST32_MAX = 4294967295 // stdint.h:572:1: + UINT_LEAST64_MAX = 18446744073709551615 // stdint.h:481:1: + UINT_LEAST8_MAX = 255 // stdint.h:632:1: + WAIT_ANY = -1 // wait.h:183:1: + WAIT_MYPGRP = 0 // wait.h:184:1: + WAKEMON_DISABLE = 0x02 // resource.h:431:1: + WAKEMON_ENABLE = 0x01 // resource.h:430:1: + WAKEMON_GET_PARAMS = 0x04 // resource.h:432:1: + WAKEMON_MAKE_FATAL = 0x10 // resource.h:434:1: + WAKEMON_SET_DEFAULTS = 0x08 // resource.h:433:1: + WCHAR_MAX = 2147483647 // stdint.h:678:1: + WCHAR_MIN = -2147483648 // stdint.h:682:1: + WCONTINUED = 0x00000010 // wait.h:173:1: + WCOREFLAG = 0200 // wait.h:132:1: + WEXITED = 0x00000004 // wait.h:168:1: + WINT_MAX = 2147483647 // stdint.h:674:1: + WINT_MIN = -2147483648 // stdint.h:673:1: + WNOHANG = 0x00000001 // wait.h:121:1: + WNOWAIT = 0x00000020 // wait.h:174:1: + WSTOPPED = 0x00000008 // wait.h:171:1: + WUNTRACED = 0x00000002 // wait.h:122:1: + X_ALLOCA_H_ = 0 // alloca.h:25:1: + X_ARM_ARCH_H = 0 // arch.h:29:1: + X_ARM_MACHTYPES_H_ = 0 // types.h:43:1: + X_ARM_SIGNAL_ = 1 // signal.h:10:1: + X_ARM__ENDIAN_H_ = 0 // endian.h:43:1: + X_BSD_ARM__TYPES_H_ = 0 // _types.h:5:1: + X_BSD_MACHINE_ENDIAN_H_ = 0 // endian.h:32:1: + X_BSD_MACHINE_SIGNAL_H_ = 0 // signal.h:29:1: + X_BSD_MACHINE_TYPES_H_ = 0 // types.h:32:1: + X_BSD_MACHINE__MCONTEXT_H_ = 0 // _mcontext.h:29:1: + X_BSD_MACHINE__TYPES_H_ = 0 // _types.h:29:1: + X_CDEFS_H_ = 0 // cdefs.h:68:1: + X_CT_RUNE_T = 0 // _ct_rune_t.h:30: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_DEV_T = 0 // _dev_t.h:29:1: + X_FILE_OFFSET_BITS = 64 // <builtin>:25:1: + X_FORTIFY_SOURCE = 2 // _types.h:65:1: + X_ID_T = 0 // _id_t.h:29: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_MACH_ARM__STRUCTS_H_ = 0 // _structs.h:32:1: + X_MACH_MACHINE__STRUCTS_H_ = 0 // _structs.h:30:1: + X_MALLOC_UNDERSCORE_MALLOC_H_ = 0 // _malloc.h:25:1: + X_MCONTEXT_T = 0 // _mcontext.h:83: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_OS_OSBYTEORDERARM_H = 0 // OSByteOrder.h:6:1: + X_OS__OSBYTEORDER_H = 0 // _OSByteOrder.h:30:1: + X_PID_T = 0 // _pid_t.h:29:1: + X_PTHREAD_ATTR_T = 0 // _pthread_attr_t.h:29:1: + X_QUAD_HIGHWORD = 1 // endian.h:56:1: + X_QUAD_LOWWORD = 0 // endian.h:57:1: + X_RLIMIT_POSIX_FLAG = 0x1000 // resource.h:405:1: + X_RUNE_T = 0 // _rune_t.h:29:1: + X_SIGSET_T = 0 // _sigset_t.h:29:1: + X_SIZE_T = 0 // _size_t.h:29:1: + X_STDLIB_H_ = 0 // stdlib.h:59:1: + X_SYS_RESOURCE_H_ = 0 // resource.h:65:1: + X_SYS_SIGNAL_H_ = 0 // signal.h:70:1: + X_SYS_WAIT_H_ = 0 // wait.h:65:1: + X_SYS__ENDIAN_H_ = 0 // _endian.h:91:1: + X_SYS__PTHREAD_TYPES_H_ = 0 // _pthread_types.h:30:1: + X_SYS__TYPES_H_ = 0 // _types.h:30:1: + X_UID_T = 0 // _uid_t.h:29:1: + X_UINT32_T = 0 // _uint32_t.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: + X_WCHAR_T = 0 // _wchar_t.h:32:1: + X_WSTOPPED = 0177 // wait.h:137:1: ) // Copyright (c) 2000 Apple Computer, Inc. All rights reserved. @@ -1190,6 +1190,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 @@ -2913,21 +2927,21 @@ type X__darwin_arm_thread_state64 = struct { type X__darwin_arm_vfp_state = struct { F__r [64]X__uint32_t F__fpscr X__uint32_t -} /* _structs.h:424:1 */ +} /* _structs.h:433:1 */ type X__darwin_arm_neon_state64 = struct { F__v [32]X__uint128_t F__fpsr X__uint32_t F__fpcr X__uint32_t -} /* _structs.h:443:1 */ +} /* _structs.h:452:1 */ type X__darwin_arm_neon_state = struct { F__v [16]X__uint128_t F__fpsr X__uint32_t F__fpcr X__uint32_t -} /* _structs.h:450:1 */ +} /* _structs.h:459:1 */ -type X__arm_pagein_state = struct{ F__pagein_error int32 } /* _structs.h:514:1 */ +type X__arm_pagein_state = struct{ F__pagein_error int32 } /* _structs.h:523:1 */ // Debug State @@ -2938,7 +2952,7 @@ type X__arm_legacy_debug_state = struct { F__bcr [16]X__uint32_t F__wvr [16]X__uint32_t F__wcr [16]X__uint32_t -} /* _structs.h:551:1 */ +} /* _structs.h:560:1 */ type X__darwin_arm_debug_state32 = struct { F__bvr [16]X__uint32_t @@ -2946,7 +2960,7 @@ type X__darwin_arm_debug_state32 = struct { F__wvr [16]X__uint32_t F__wcr [16]X__uint32_t F__mdscr_el1 X__uint64_t -} /* _structs.h:574:1 */ +} /* _structs.h:583:1 */ type X__darwin_arm_debug_state64 = struct { F__bvr [16]X__uint64_t @@ -2954,9 +2968,9 @@ type X__darwin_arm_debug_state64 = struct { F__wvr [16]X__uint64_t F__wcr [16]X__uint64_t F__mdscr_el1 X__uint64_t -} /* _structs.h:584:1 */ +} /* _structs.h:593:1 */ -type X__darwin_arm_cpmu_state64 = struct{ F__ctrs [16]X__uint64_t } /* _structs.h:616:1 */ +type X__darwin_arm_cpmu_state64 = struct{ F__ctrs [16]X__uint64_t } /* _structs.h:625:1 */ type X__darwin_mcontext32 = struct { F__es struct { |