diff --git a/libc/assert.h b/libc/assert.h index f9469f78c..8bbb05f95 100644 --- a/libc/assert.h +++ b/libc/assert.h @@ -4,7 +4,7 @@ COSMOPOLITAN_C_START_ extern bool __assert_disable; -void __assert_fail(const char *, const char *, int) hidden relegated; +void __assert_fail(const char *, const char *, int) _Hide relegated; #ifdef NDEBUG #define assert(x) ((void)0) diff --git a/libc/calls/clock_gettime.c b/libc/calls/clock_gettime.c index 6c19dd221..d8e518468 100644 --- a/libc/calls/clock_gettime.c +++ b/libc/calls/clock_gettime.c @@ -119,7 +119,7 @@ clock_gettime_f *__clock_gettime_get(bool *opt_out_isfast) { return res; } -hidden int __clock_gettime_init(int clockid, struct timespec *ts) { +_Hide int __clock_gettime_init(int clockid, struct timespec *ts) { clock_gettime_f *gettime; __clock_gettime = gettime = __clock_gettime_get(0); return gettime(clockid, ts); diff --git a/libc/calls/clock_gettime.internal.h b/libc/calls/clock_gettime.internal.h index 1e2ec68ed..277899fc4 100644 --- a/libc/calls/clock_gettime.internal.h +++ b/libc/calls/clock_gettime.internal.h @@ -7,9 +7,9 @@ COSMOPOLITAN_C_START_ typedef int clock_gettime_f(int, struct timespec *); extern clock_gettime_f *__clock_gettime; -clock_gettime_f *__clock_gettime_get(bool *) hidden; -int __clock_gettime_init(int, struct timespec *) hidden; -int sys_clock_gettime_mono(struct timespec *) hidden; +clock_gettime_f *__clock_gettime_get(bool *) _Hide; +int __clock_gettime_init(int, struct timespec *) _Hide; +int sys_clock_gettime_mono(struct timespec *) _Hide; COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ diff --git a/libc/calls/close-nt.c b/libc/calls/close-nt.c index af398658d..e63eeb179 100644 --- a/libc/calls/close-nt.c +++ b/libc/calls/close-nt.c @@ -24,7 +24,7 @@ #include "libc/nt/runtime.h" #include "libc/sysv/consts/o.h" -void sys_fcntl_nt_lock_cleanup(int) hidden; +void sys_fcntl_nt_lock_cleanup(int) _Hide; textwindows int sys_close_nt(struct Fd *fd, int fildes) { int e; diff --git a/libc/calls/fcntl-nt.c b/libc/calls/fcntl-nt.c index 0553798fc..d24fb433d 100644 --- a/libc/calls/fcntl-nt.c +++ b/libc/calls/fcntl-nt.c @@ -98,7 +98,7 @@ static textwindows bool EqualsFileLock(struct FileLock *fl, int64_t off, return fl->off == off && off + len == fl->off + fl->len; } -hidden textwindows void sys_fcntl_nt_lock_cleanup(int fd) { +_Hide textwindows void sys_fcntl_nt_lock_cleanup(int fd) { struct FileLock *fl, *ft, **flp; pthread_mutex_lock(&g_locks.mu); for (flp = &g_locks.list, fl = *flp; fl;) { diff --git a/libc/calls/gettimeofday.c b/libc/calls/gettimeofday.c index 2b29751e3..e834f8a96 100644 --- a/libc/calls/gettimeofday.c +++ b/libc/calls/gettimeofday.c @@ -97,7 +97,7 @@ gettimeofday_f *__gettimeofday_get(bool *opt_out_isfast) { return res; } -hidden int __gettimeofday_init(struct timeval *tv, struct timezone *tz) { +_Hide int __gettimeofday_init(struct timeval *tv, struct timezone *tz) { gettimeofday_f *gettime; __gettimeofday = gettime = __gettimeofday_get(0); return gettime(tv, tz, 0).ax; diff --git a/libc/calls/internal.h b/libc/calls/internal.h index 0b43a4a56..871cc3007 100644 --- a/libc/calls/internal.h +++ b/libc/calls/internal.h @@ -12,15 +12,15 @@ COSMOPOLITAN_C_START_ #define kIoMotion ((const int8_t[3]){1, 0, 0}) -hidden extern struct Fds g_fds; -hidden extern const struct Fd kEmptyFd; +_Hide extern struct Fds g_fds; +_Hide extern const struct Fd kEmptyFd; -int __reservefd(int) hidden; -int __reservefd_unlocked(int) hidden; -void __releasefd(int) hidden; -int __ensurefds(int) hidden; -int __ensurefds_unlocked(int) hidden; -void __printfds(void) hidden; +int __reservefd(int) _Hide; +int __reservefd_unlocked(int) _Hide; +void __releasefd(int) _Hide; +int __ensurefds(int) _Hide; +int __ensurefds_unlocked(int) _Hide; +void __printfds(void) _Hide; forceinline int64_t __getfdhandleactual(int fd) { return g_fds.p[fd].handle; @@ -42,8 +42,8 @@ forceinline size_t _clampio(size_t size) { } } -int sys_close_nt(struct Fd *, int) hidden; -int _check_interrupts(bool, struct Fd *) hidden; +int sys_close_nt(struct Fd *, int) _Hide; +int _check_interrupts(bool, struct Fd *) _Hide; int sys_openat_metal(int, const char *, int, unsigned); COSMOPOLITAN_C_END_ diff --git a/libc/calls/ioctl_siocgifconf.c b/libc/calls/ioctl_siocgifconf.c index d227956dc..d54acd1ba 100644 --- a/libc/calls/ioctl_siocgifconf.c +++ b/libc/calls/ioctl_siocgifconf.c @@ -43,11 +43,11 @@ * The ifc_len is an input/output parameter: set it to the total size of * the ifcu_buf (ifcu_req) buffer on input. */ -int ioctl_siocgifconf_nt(int, struct ifconf *) hidden; -int ioctl_siocgifaddr_nt(int, struct ifreq *) hidden; -int ioctl_siocgifflags_nt(int, struct ifreq *) hidden; -int ioctl_siocgifnetmask_nt(int, struct ifreq *) hidden; -int ioctl_siocgifbrdaddr_nt(int, struct ifreq *) hidden; +int ioctl_siocgifconf_nt(int, struct ifconf *) _Hide; +int ioctl_siocgifaddr_nt(int, struct ifreq *) _Hide; +int ioctl_siocgifflags_nt(int, struct ifreq *) _Hide; +int ioctl_siocgifnetmask_nt(int, struct ifreq *) _Hide; +int ioctl_siocgifbrdaddr_nt(int, struct ifreq *) _Hide; static int ioctl_siocgifconf_sysv(int fd, struct ifconf *ifc) { /* diff --git a/libc/calls/ioctl_tcgets.c b/libc/calls/ioctl_tcgets.c index 07ac72cd7..5dbf2a68c 100644 --- a/libc/calls/ioctl_tcgets.c +++ b/libc/calls/ioctl_tcgets.c @@ -18,18 +18,18 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/calls/internal.h" #include "libc/calls/ioctl.h" -#include "libc/intrin/strace.internal.h" #include "libc/calls/struct/metatermios.internal.h" #include "libc/calls/syscall-sysv.internal.h" #include "libc/calls/termios.internal.h" #include "libc/calls/ttydefaults.h" #include "libc/dce.h" #include "libc/intrin/asan.internal.h" +#include "libc/intrin/strace.internal.h" #include "libc/str/str.h" #include "libc/sysv/consts/termios.h" #include "libc/sysv/errfuns.h" -int ioctl_tcgets_nt(int, struct termios *) hidden; +int ioctl_tcgets_nt(int, struct termios *) _Hide; static int ioctl_tcgets_metal(int fd, struct termios *tio) { bzero(tio, sizeof(*tio)); diff --git a/libc/calls/kemptyfd.c b/libc/calls/kemptyfd.c index 01ce8bef0..69f227ca9 100644 --- a/libc/calls/kemptyfd.c +++ b/libc/calls/kemptyfd.c @@ -19,4 +19,4 @@ #include "libc/calls/internal.h" #include "libc/calls/struct/fd.internal.h" -hidden const struct Fd kEmptyFd; +_Hide const struct Fd kEmptyFd; diff --git a/libc/calls/ntmagicpaths.c b/libc/calls/ntmagicpaths.c index a12cc1507..fd9218889 100644 --- a/libc/calls/ntmagicpaths.c +++ b/libc/calls/ntmagicpaths.c @@ -18,7 +18,7 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/calls/ntmagicpaths.internal.h" -hidden const struct NtMagicPaths kNtMagicPaths = { +_Hide const struct NtMagicPaths kNtMagicPaths = { #define TAB(NAME, STRING) STRING, #include "libc/calls/ntmagicpaths.inc" #undef TAB diff --git a/libc/calls/ntmagicpaths.internal.h b/libc/calls/ntmagicpaths.internal.h index c441843ff..18624e918 100644 --- a/libc/calls/ntmagicpaths.internal.h +++ b/libc/calls/ntmagicpaths.internal.h @@ -9,7 +9,7 @@ struct NtMagicPaths { #undef TAB }; -hidden extern const struct NtMagicPaths kNtMagicPaths; +_Hide extern const struct NtMagicPaths kNtMagicPaths; COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ diff --git a/libc/calls/ntspawn.h b/libc/calls/ntspawn.h index 167b431f1..57ef5b02c 100644 --- a/libc/calls/ntspawn.h +++ b/libc/calls/ntspawn.h @@ -6,13 +6,13 @@ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ -int mkntcmdline(char16_t[ARG_MAX / 2], const char *, char *const[]) hidden; +int mkntcmdline(char16_t[ARG_MAX / 2], const char *, char *const[]) _Hide; int mkntenvblock(char16_t[ARG_MAX / 2], char *const[], const char *, - char[ARG_MAX]) hidden; + char[ARG_MAX]) _Hide; int ntspawn(const char *, char *const[], char *const[], const char *, struct NtSecurityAttributes *, struct NtSecurityAttributes *, bool32, uint32_t, const char16_t *, const struct NtStartupInfo *, - struct NtProcessInformation *) hidden; + struct NtProcessInformation *) _Hide; COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ diff --git a/libc/calls/pledge.internal.h b/libc/calls/pledge.internal.h index cbaacadc3..182963ab2 100644 --- a/libc/calls/pledge.internal.h +++ b/libc/calls/pledge.internal.h @@ -11,10 +11,10 @@ struct Pledges { const size_t len; }; -hidden extern const struct Pledges kPledge[PROMISE_LEN_]; +_Hide extern const struct Pledges kPledge[PROMISE_LEN_]; -int sys_pledge_linux(unsigned long, int) hidden; -int ParsePromises(const char *, unsigned long *) hidden; +int sys_pledge_linux(unsigned long, int) _Hide; +int ParsePromises(const char *, unsigned long *) _Hide; COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ diff --git a/libc/calls/sched-sysv.internal.h b/libc/calls/sched-sysv.internal.h index e3c45c57a..145df5fde 100644 --- a/libc/calls/sched-sysv.internal.h +++ b/libc/calls/sched-sysv.internal.h @@ -18,11 +18,11 @@ int sys_sched_get_priority_max(int); int sys_sched_get_priority_min(int); int sys_sched_getparam(int, struct sched_param *); int sys_sched_getscheduler(int); -int sys_sched_setaffinity(int, uint64_t, const void *) hidden; +int sys_sched_setaffinity(int, uint64_t, const void *) _Hide; int sys_sched_setparam(int, const struct sched_param *); int sys_sched_setscheduler(int, int, const struct sched_param *); -int sys_sched_yield(void) hidden; -int64_t sys_sched_getaffinity(int, uint64_t, void *) hidden; +int sys_sched_yield(void) _Hide; +int64_t sys_sched_getaffinity(int, uint64_t, void *) _Hide; int sys_sched_getscheduler_netbsd(int, struct sched_param *); int sys_sched_setparam_netbsd(int, int, int, const struct sched_param *) // diff --git a/libc/calls/sched_rr_get_interval.c b/libc/calls/sched_rr_get_interval.c index fce06a0b6..4b7fcf234 100644 --- a/libc/calls/sched_rr_get_interval.c +++ b/libc/calls/sched_rr_get_interval.c @@ -17,11 +17,11 @@ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/calls/calls.h" -#include "libc/intrin/strace.internal.h" #include "libc/calls/struct/timespec.internal.h" #include "libc/intrin/describeflags.internal.h" +#include "libc/intrin/strace.internal.h" -int sys_sched_rr_get_interval(int, struct timespec *) hidden; +int sys_sched_rr_get_interval(int, struct timespec *) _Hide; /** * Returns round-robin `SCHED_RR` quantum for `pid`. diff --git a/libc/calls/setrlimit.c b/libc/calls/setrlimit.c index 4ed2f38e4..c1b082dd3 100644 --- a/libc/calls/setrlimit.c +++ b/libc/calls/setrlimit.c @@ -1,2677 +1,3 @@ -#ifndef COSMOPOLITAN_NT_ERRORS_H_ -#define COSMOPOLITAN_NT_ERRORS_H_ - -#define kNtNoError 0 - -#define kNtErrorInsufficientBuffer 122 - -#define kNtErrorSuccess 0 -#define kNtErrorInvalidFunction 1 /* ENOSYS */ -#define kNtErrorFileNotFound 2 /* ENOENT */ -#define kNtErrorPathNotFound 3 /* ENOTDIR */ -#define kNtErrorTooManyOpenFiles 4 /* EMFILE */ -#define kNtErrorAccessDenied 5 /* EACCES */ -#define kNtErrorInvalidHandle 6 /* EBADF */ -#define kNtErrorArenaTrashed 7 -#define kNtErrorNotEnoughMemory 8 -#define kNtErrorInvalidBlock 9 -#define kNtErrorBadEnvironment 10 -#define kNtErrorBadFormat 11 -#define kNtErrorInvalidAccess 12 /* EPERM */ -#define kNtErrorInvalidData 13 -#define kNtErrorOutofmemory 14 /* ENOMEM */ -#define kNtErrorInvalidDrive 15 -#define kNtErrorCurrentDirectory 16 -#define kNtErrorNotSameDevice 17 -#define kNtErrorNoMoreFiles 18 -#define kNtErrorWriteProtect 19 -#define kNtErrorBadUnit 20 -#define kNtErrorNotReady 21 -#define kNtErrorBadCommand 22 -#define kNtErrorCrc 23 -#define kNtErrorBadLength 24 -#define kNtErrorSeek 25 /* ESPIPE */ -#define kNtErrorNotDosDisk 26 /* ENOTBLK */ -#define kNtErrorSectorNotFound 27 -#define kNtErrorOutOfPaper 28 -#define kNtErrorWriteFault 29 -#define kNtErrorReadFault 30 -#define kNtErrorGenFailure 31 -#define kNtErrorSharingViolation 32 -#define kNtErrorLockViolation 33 -#define kNtErrorWrongDisk 34 -#define kNtErrorSharingBufferExceeded 36 -#define kNtErrorHandleEof 38 /* w/ GetOverlappedResult() */ -#define kNtErrorHandleDiskFull 39 -#define kNtErrorNotSupported 50 -#define kNtErrorRemNotList 51 -#define kNtErrorDupName 52 -#define kNtErrorBadNetpath 53 -#define kNtErrorNetworkBusy 54 -#define kNtErrorDevNotExist 55 -#define kNtErrorTooManyCmds 56 -#define kNtErrorAdapHdwErr 57 -#define kNtErrorBadNetResp 58 -#define kNtErrorUnexpNetErr 59 -#define kNtErrorBadRemAdap 60 -#define kNtErrorPrintqFull 61 -#define kNtErrorNoSpoolSpace 62 -#define kNtErrorPrintCancelled 63 -#define kNtErrorNetnameDeleted 64 -#define kNtErrorNetworkAccessDenied 65 -#define kNtErrorBadDevType 66 -#define kNtErrorBadNetName 67 -#define kNtErrorTooManyNames 68 -#define kNtErrorTooManySess 69 -#define kNtErrorSharingPaused 70 -#define kNtErrorReqNotAccep 71 -#define kNtErrorRedirPaused 72 -#define kNtErrorFileExists 80 /* EEXIST */ -#define kNtErrorCannotMake 82 -#define kNtErrorFailI24 83 -#define kNtErrorOutOfStructures 84 -#define kNtErrorAlreadyAssigned 85 -#define kNtErrorInvalidPassword 86 -#define kNtErrorInvalidParameter 87 /* EINVAL */ -#define kNtErrorNetWriteFault 88 -#define kNtErrorNoProcSlots 89 -#define kNtErrorTooManySemaphores 100 -#define kNtErrorExclSemAlreadyOwned 101 -#define kNtErrorSemIsSet 102 -#define kNtErrorTooManySemRequests 103 -#define kNtErrorInvalidAtInterruptTime 104 -#define kNtErrorSemOwnerDied 105 /* EOWNERDEAD */ -#define kNtErrorSemUserLimit 106 -#define kNtErrorDiskChange 107 -#define kNtErrorDriveLocked 108 -#define kNtErrorBrokenPipe 109 /* EPIPE; happens on ReadFile() too */ -#define kNtErrorOpenFailed 110 -#define kNtErrorBufferOverflow 111 -#define kNtErrorDiskFull 112 /* ENOSPC */ -#define kNtErrorNoMoreSearchHandles 113 -#define kNtErrorInvalidTargetHandle 114 /* EBADF */ -#define kNtErrorInvalidCategory 117 -#define kNtErrorInvalidVerifySwitch 118 -#define kNtErrorBadDriverLevel 119 -#define kNtErrorCallNotImplemented 120 -#define kNtErrorSemTimeout 121 -#define kNtErrorInsufficientBuffer 122 -#define kNtErrorInvalidName 123 -#define kNtErrorInvalidLevel 124 -#define kNtErrorNoVolumeLabel 125 -#define kNtErrorModNotFound 126 -#define kNtErrorProcNotFound 127 -#define kNtErrorWaitNoChildren 128 /* ECHILD */ -#define kNtErrorChildNotComplete 129 -#define kNtErrorDirectAccessHandle 130 /* EBADF */ -#define kNtErrorNegativeSeek 131 -#define kNtErrorSeekOnDevice 132 -#define kNtErrorIsJoinTarget 133 -#define kNtErrorIsJoined 134 -#define kNtErrorIsSubsted 135 -#define kNtErrorNotJoined 136 -#define kNtErrorNotSubsted 137 -#define kNtErrorJoinToJoin 138 -#define kNtErrorSubstToSubst 139 -#define kNtErrorJoinToSubst 140 -#define kNtErrorSubstToJoin 141 -#define kNtErrorBusyDrive 142 -#define kNtErrorSameDrive 143 -#define kNtErrorDirNotRoot 144 -#define kNtErrorDirNotEmpty 145 -#define kNtErrorIsSubstPath 146 -#define kNtErrorIsJoinPath 147 -#define kNtErrorPathBusy 148 /* ETXTBSY */ -#define kNtErrorIsSubstTarget 149 -#define kNtErrorSystemTrace 150 -#define kNtErrorInvalidEventCount 151 -#define kNtErrorTooManyMuxwaiters 152 -#define kNtErrorInvalidListFormat 153 -#define kNtErrorLabelTooLong 154 -#define kNtErrorTooManyTcbs 155 -#define kNtErrorSignalRefused 156 -#define kNtErrorDiscarded 157 -#define kNtErrorNotLocked 158 /* ENOLCK */ -#define kNtErrorBadThreadidAddr 159 -#define kNtErrorBadArguments 160 -#define kNtErrorBadPathname 161 -#define kNtErrorSignalPending 162 -#define kNtErrorMaxThrdsReached 164 -#define kNtErrorLockFailed 167 -#define kNtErrorBusy 170 /* EBUSY */ -#define kNtErrorDeviceSupportInProgress 171 -#define kNtErrorCancelViolation 173 -#define kNtErrorAtomicLocksNotSupported 174 -#define kNtErrorInvalidSegmentNumber 180 -#define kNtErrorInvalidOrdinal 182 -#define kNtErrorAlreadyExists 183 /* EEXIST */ -#define kNtErrorInvalidFlagNumber 186 -#define kNtErrorSemNotFound 187 -#define kNtErrorInvalidStartingCodeseg 188 -#define kNtErrorInvalidStackseg 189 -#define kNtErrorInvalidModuletype 190 -#define kNtErrorInvalidExeSignature 191 -#define kNtErrorExeMarkedInvalid 192 -#define kNtErrorBadExeFormat 193 /* ENOEXEC */ -#define kNtErrorIteratedDataExceeds_64k 194 -#define kNtErrorInvalidMinallocsize 195 -#define kNtErrorDynlinkFromInvalidRing 196 -#define kNtErrorIoplNotEnabled 197 -#define kNtErrorInvalidSegdpl 198 -#define kNtErrorAutodatasegExceeds_64k 199 -#define kNtErrorRing2segMustBeMovable 200 -#define kNtErrorRelocChainXeedsSeglim 201 -#define kNtErrorInfloopInRelocChain 202 -#define kNtErrorEnvvarNotFound 203 -#define kNtErrorNoSignalSent 205 -#define kNtErrorFilenameExcedRange 206 /* ENAMETOOLONG */ -#define kNtErrorRing2StackInUse 207 -#define kNtErrorMetaExpansionTooLong 208 -#define kNtErrorInvalidSignalNumber 209 -#define kNtErrorThread_1Inactive 210 -#define kNtErrorLocked 212 -#define kNtErrorTooManyModules 214 -#define kNtErrorNestingNotAllowed 215 -#define kNtErrorExeMachineTypeMismatch 216 -#define kNtErrorExeCannotModifySignedBinary 217 -#define kNtErrorExeCannotModifyStrongSignedBinary 218 -#define kNtErrorFileCheckedOut 220 -#define kNtErrorCheckoutRequired 221 -#define kNtErrorBadFileType 222 -#define kNtErrorFileTooLarge 223 /* EFBIG */ -#define kNtErrorFormsAuthRequired 224 -#define kNtErrorVirusInfected 225 -#define kNtErrorVirusDeleted 226 -#define kNtErrorPipeLocal 229 -#define kNtErrorBadPipe 230 -#define kNtErrorPipeBusy 231 -#define kNtErrorNoData 232 -#define kNtErrorPipeNotConnected 233 -#define kNtErrorMoreData 234 -#define kNtErrorNoWorkDone 235 -#define kNtErrorVcDisconnected 240 -#define kNtErrorInvalidEaName 254 -#define kNtErrorEaListInconsistent 255 -#define kNtErrorNoMoreItems 259 -#define kNtErrorCannotCopy 266 -#define kNtErrorDirectory 267 /* EISDIR */ -#define kNtErrorEasDidntFit 275 -#define kNtErrorEaFileCorrupt 276 -#define kNtErrorEaTableFull 277 -#define kNtErrorInvalidEaHandle 278 -#define kNtErrorEasNotSupported 282 -#define kNtErrorNotOwner 288 -#define kNtErrorTooManyPosts 298 -#define kNtErrorPartialCopy 299 -#define kNtErrorOplockNotGranted 300 -#define kNtErrorInvalidOplockProtocol 301 -#define kNtErrorDiskTooFragmented 302 -#define kNtErrorDeletePending 303 -#define kNtErrorIncompatibleWithGlobalShortNameRegistrySetting 304 -#define kNtErrorShortNamesNotEnabledOnVolume 305 -#define kNtErrorSecurityStreamIsInconsistent 306 -#define kNtErrorInvalidLockRange 307 -#define kNtErrorImageSubsystemNotPresent 308 -#define kNtErrorNotificationGuidAlreadyDefined 309 -#define kNtErrorInvalidExceptionHandler 310 -#define kNtErrorDuplicatePrivileges 311 -#define kNtErrorNoRangesProcessed 312 -#define kNtErrorNotAllowedOnSystemFile 313 -#define kNtErrorDiskResourcesExhausted 314 -#define kNtErrorInvalidToken 315 -#define kNtErrorDeviceFeatureNotSupported 316 -#define kNtErrorMrMidNotFound 317 -#define kNtErrorScopeNotFound 318 -#define kNtErrorUndefinedScope 319 -#define kNtErrorInvalidCap 320 -#define kNtErrorDeviceUnreachable 321 -#define kNtErrorDeviceNoResources 322 -#define kNtErrorDataChecksumError 323 -#define kNtErrorIntermixedKernelEaOperation 324 -#define kNtErrorFileLevelTrimNotSupported 326 -#define kNtErrorOffsetAlignmentViolation 327 -#define kNtErrorInvalidFieldInParameterList 328 -#define kNtErrorOperationInProgress 329 -#define kNtErrorBadDevicePath 330 -#define kNtErrorTooManyDescriptors 331 /* ENFILE */ -#define kNtErrorScrubDataDisabled 332 -#define kNtErrorNotRedundantStorage 333 -#define kNtErrorResidentFileNotSupported 334 -#define kNtErrorCompressedFileNotSupported 335 -#define kNtErrorDirectoryNotSupported 336 -#define kNtErrorNotReadFromCopy 337 -#define kNtErrorFtWriteFailure 338 -#define kNtErrorFtDiScanRequired 339 -#define kNtErrorInvalidKernelInfoVersion 340 -#define kNtErrorInvalidPepInfoVersion 341 -#define kNtErrorObjectNotExternallyBacked 342 -#define kNtErrorExternalBackingProviderUnknown 343 -#define kNtErrorCompressionNotBeneficial 344 -#define kNtErrorStorageTopologyIdMismatch 345 -#define kNtErrorBlockedByParentalControls 346 -#define kNtErrorBlockTooManyReferences 347 -#define kNtErrorMarkedToDisallowWrites 348 -#define kNtErrorEnclaveFailure 349 -#define kNtErrorFailNoactionReboot 350 -#define kNtErrorFailShutdown 351 -#define kNtErrorFailRestart 352 -#define kNtErrorMaxSessionsReached 353 -#define kNtErrorNetworkAccessDeniedEdp 354 -#define kNtErrorDeviceHintNameBufferTooSmall 355 -#define kNtErrorEdpPolicyDeniesOperation 356 -#define kNtErrorEdpDplPolicyCantBeSatisfied 357 -#define kNtErrorCloudFileSyncRootMetadataCorrupt 358 -#define kNtErrorDeviceInMaintenance 359 -#define kNtErrorNotSupportedOnDax 360 -#define kNtErrorDaxMappingExists 361 -#define kNtErrorCloudFileProviderNotRunning 362 -#define kNtErrorCloudFileMetadataCorrupt 363 -#define kNtErrorCloudFileMetadataTooLarge 364 -#define kNtErrorCloudFilePropertyBlobTooLarge 365 -#define kNtErrorCloudFilePropertyBlobChecksumMismatch 366 -#define kNtErrorChildProcessBlocked 367 -#define kNtErrorStorageLostDataPersistence 368 -#define kNtErrorFileSystemVirtualizationUnavailable 369 -#define kNtErrorFileSystemVirtualizationMetadataCorrupt 370 -#define kNtErrorFileSystemVirtualizationBusy 371 -#define kNtErrorFileSystemVirtualizationProviderUnknown 372 -#define kNtErrorGdiHandleLeak 373 -#define kNtErrorCloudFileTooManyPropertyBlobs 374 -#define kNtErrorCloudFilePropertyVersionNotSupported 375 -#define kNtErrorNotACloudFile 376 -#define kNtErrorCloudFileNotInSync 377 -#define kNtErrorCloudFileAlreadyConnected 378 -#define kNtErrorCloudFileNotSupported 379 -#define kNtErrorCloudFileInvalidRequest 380 -#define kNtErrorCloudFileReadOnlyVolume 381 -#define kNtErrorCloudFileConnectedProviderOnly 382 -#define kNtErrorCloudFileValidationFailed 383 -#define kNtErrorSmb1NotAvailable 384 -#define kNtErrorFileSystemVirtualizationInvalidOperation 385 -#define kNtErrorCloudFileAuthenticationFailed 386 -#define kNtErrorCloudFileInsufficientResources 387 -#define kNtErrorCloudFileNetworkUnavailable 388 -#define kNtErrorCloudFileUnsuccessful 389 -#define kNtErrorCloudFileNotUnderSyncRoot 390 -#define kNtErrorCloudFileInUse 391 -#define kNtErrorCloudFilePinned 392 -#define kNtErrorCloudFileRequestAborted 393 -#define kNtErrorCloudFilePropertyCorrupt 394 -#define kNtErrorCloudFileAccessDenied 395 -#define kNtErrorCloudFileIncompatibleHardlinks 396 -#define kNtErrorCloudFilePropertyLockConflict 397 -#define kNtErrorCloudFileRequestCanceled 398 -#define kNtErrorExternalSyskeyNotSupported 399 -#define kNtErrorThreadModeAlreadyBackground 400 -#define kNtErrorThreadModeNotBackground 401 -#define kNtErrorProcessModeAlreadyBackground 402 -#define kNtErrorProcessModeNotBackground 403 -#define kNtErrorCloudFileProviderTerminated 404 -#define kNtErrorNotACloudSyncRoot 405 -#define kNtErrorFileProtectedUnderDpl 406 -#define kNtErrorVolumeNotClusterAligned 407 -#define kNtErrorNoPhysicallyAlignedFreeSpaceFound 408 -#define kNtErrorAppxFileNotEncrypted 409 -#define kNtErrorRwrawEncryptedFileNotEncrypted 410 -#define kNtErrorRwrawEncryptedInvalidEdatainfoFileoffset 411 -#define kNtErrorRwrawEncryptedInvalidEdatainfoFilerange 412 -#define kNtErrorRwrawEncryptedInvalidEdatainfoParameter 413 -#define kNtErrorLinuxSubsystemNotPresent 414 -#define kNtErrorCapauthzNotDevunlocked 450 -#define kNtErrorCapauthzChangeType 451 -#define kNtErrorCapauthzNotProvisioned 452 -#define kNtErrorCapauthzNotAuthorized 453 -#define kNtErrorCapauthzNoPolicy 454 -#define kNtErrorCapauthzDbCorrupted 455 -#define kNtErrorCapauthzSccdInvalidCatalog 456 -#define kNtErrorCapauthzSccdNoAuthEntity 457 -#define kNtErrorCapauthzSccdParseError 458 -#define kNtErrorCapauthzSccdDevModeRequired 459 -#define kNtErrorCapauthzSccdNoCapabilityMatch 460 -#define kNtErrorPnpQueryRemoveDeviceTimeout 480 -#define kNtErrorPnpQueryRemoveRelatedDeviceTimeout 481 -#define kNtErrorPnpQueryRemoveUnrelatedDeviceTimeout 482 -#define kNtErrorDeviceHardwareError 483 -#define kNtErrorInvalidAddress 487 /* EFAULT */ -#define kNtErrorVrfCfgEnabled 1183 -#define kNtErrorPartitionTerminating 1184 -#define kNtErrorUserProfileLoad 500 -#define kNtErrorArithmeticOverflow 534 /* EOVERFLOW */ -#define kNtErrorPipeConnected 535 -#define kNtErrorPipeListening 536 -#define kNtErrorVerifierStop 537 -#define kNtErrorAbiosError 538 -#define kNtErrorWx86Warning 539 -#define kNtErrorWx86Error 540 -#define kNtErrorTimerNotCanceled 541 -#define kNtErrorUnwind 542 -#define kNtErrorBadStack 543 -#define kNtErrorInvalidUnwindTarget 544 -#define kNtErrorInvalidPortAttributes 545 -#define kNtErrorPortMessageTooLong 546 -#define kNtErrorInvalidQuotaLower 547 -#define kNtErrorDeviceAlreadyAttached 548 -#define kNtErrorInstructionMisalignment 549 -#define kNtErrorProfilingNotStarted 550 -#define kNtErrorProfilingNotStopped 551 -#define kNtErrorCouldNotInterpret 552 -#define kNtErrorProfilingAtLimit 553 -#define kNtErrorCantWait 554 -#define kNtErrorCantTerminateSelf 555 -#define kNtErrorUnexpectedMmCreateErr 556 -#define kNtErrorUnexpectedMmMapError 557 -#define kNtErrorUnexpectedMmExtendErr 558 -#define kNtErrorBadFunctionTable 559 -#define kNtErrorNoGuidTranslation 560 -#define kNtErrorInvalidLdtSize 561 -#define kNtErrorInvalidLdtOffset 563 -#define kNtErrorInvalidLdtDescriptor 564 -#define kNtErrorTooManyThreads 565 -#define kNtErrorThreadNotInProcess 566 /* ESRCH */ -#define kNtErrorPagefileQuotaExceeded 567 -#define kNtErrorLogonServerConflict 568 -#define kNtErrorSynchronizationRequired 569 -#define kNtErrorNetOpenFailed 570 -#define kNtErrorIoPrivilegeFailed 571 -#define kNtErrorControlCExit 572 -#define kNtErrorMissingSystemfile 573 -#define kNtErrorUnhandledException 574 -#define kNtErrorAppInitFailure 575 -#define kNtErrorPagefileCreateFailed 576 -#define kNtErrorInvalidImageHash 577 -#define kNtErrorNoPagefile 578 -#define kNtErrorIllegalFloatContext 579 -#define kNtErrorNoEventPair 580 -#define kNtErrorDomainCtrlrConfigError 581 -#define kNtErrorIllegalCharacter 582 /* EILSEQ */ -#define kNtErrorUndefinedCharacter 583 -#define kNtErrorFloppyVolume 584 -#define kNtErrorBiosFailedToConnectInterrupt 585 -#define kNtErrorBackupController 586 -#define kNtErrorMutantLimitExceeded 587 -#define kNtErrorFsDriverRequired 588 -#define kNtErrorCannotLoadRegistryFile 589 -#define kNtErrorDebugAttachFailed 590 -#define kNtErrorSystemProcessTerminated 591 -#define kNtErrorDataNotAccepted 592 -#define kNtErrorVdmHardError 593 -#define kNtErrorDriverCancelTimeout 594 -#define kNtErrorReplyMessageMismatch 595 -#define kNtErrorLostWritebehindData 596 -#define kNtErrorClientServerParametersInvalid 597 -#define kNtErrorNotTinyStream 598 -#define kNtErrorStackOverflowRead 599 -#define kNtErrorConvertToLarge 600 -#define kNtErrorFoundOutOfScope 601 -#define kNtErrorAllocateBucket 602 -#define kNtErrorMarshallOverflow 603 -#define kNtErrorInvalidVariant 604 -#define kNtErrorBadCompressionBuffer 605 -#define kNtErrorAuditFailed 606 -#define kNtErrorTimerResolutionNotSet 607 -#define kNtErrorInsufficientLogonInfo 608 -#define kNtErrorBadDllEntrypoint 609 -#define kNtErrorBadServiceEntrypoint 610 -#define kNtErrorIpAddressConflict1 611 -#define kNtErrorIpAddressConflict2 612 -#define kNtErrorRegistryQuotaLimit 613 -#define kNtErrorNoCallbackActive 614 -#define kNtErrorPwdTooShort 615 -#define kNtErrorPwdTooRecent 616 -#define kNtErrorPwdHistoryConflict 617 -#define kNtErrorUnsupportedCompression 618 -#define kNtErrorInvalidHwProfile 619 -#define kNtErrorInvalidPlugplayDevicePath 620 -#define kNtErrorQuotaListInconsistent 621 -#define kNtErrorEvaluationExpiration 622 -#define kNtErrorIllegalDllRelocation 623 -#define kNtErrorDllInitFailedLogoff 624 -#define kNtErrorValidateContinue 625 -#define kNtErrorNoMoreMatches 626 -#define kNtErrorRangeListConflict 627 -#define kNtErrorServerSidMismatch 628 -#define kNtErrorCantEnableDenyOnly 629 -#define kNtErrorFloatMultipleFaults 630 -#define kNtErrorFloatMultipleTraps 631 -#define kNtErrorNointerface 632 -#define kNtErrorDriverFailedSleep 633 -#define kNtErrorCorruptSystemFile 634 -#define kNtErrorCommitmentMinimum 635 -#define kNtErrorPnpRestartEnumeration 636 -#define kNtErrorSystemImageBadSignature 637 -#define kNtErrorPnpRebootRequired 638 -#define kNtErrorInsufficientPower 639 -#define kNtErrorMultipleFaultViolation 640 -#define kNtErrorSystemShutdown 641 -#define kNtErrorPortNotSet 642 -#define kNtErrorDsVersionCheckFailure 643 -#define kNtErrorRangeNotFound 644 -#define kNtErrorNotSafeModeDriver 646 -#define kNtErrorFailedDriverEntry 647 -#define kNtErrorDeviceEnumerationError 648 -#define kNtErrorMountPointNotResolved 649 -#define kNtErrorInvalidDeviceObjectParameter 650 -#define kNtErrorMcaOccured 651 -#define kNtErrorDriverDatabaseError 652 -#define kNtErrorSystemHiveTooLarge 653 -#define kNtErrorDriverFailedPriorUnload 654 -#define kNtErrorVolsnapPrepareHibernate 655 -#define kNtErrorHibernationFailure 656 -#define kNtErrorPwdTooLong 657 -#define kNtErrorFileSystemLimitation 665 -#define kNtErrorAssertionFailure 668 -#define kNtErrorAcpiError 669 -#define kNtErrorWowAssertion 670 -#define kNtErrorPnpBadMpsTable 671 -#define kNtErrorPnpTranslationFailed 672 -#define kNtErrorPnpIrqTranslationFailed 673 -#define kNtErrorPnpInvalidId 674 -#define kNtErrorWakeSystemDebugger 675 -#define kNtErrorHandlesClosed 676 -#define kNtErrorExtraneousInformation 677 -#define kNtErrorRxactCommitNecessary 678 -#define kNtErrorMediaCheck 679 -#define kNtErrorGuidSubstitutionMade 680 -#define kNtErrorStoppedOnSymlink 681 -#define kNtErrorLongjump 682 -#define kNtErrorPlugplayQueryVetoed 683 -#define kNtErrorUnwindConsolidate 684 -#define kNtErrorRegistryHiveRecovered 685 -#define kNtErrorDllMightBeInsecure 686 -#define kNtErrorDllMightBeIncompatible 687 -#define kNtErrorDbgExceptionNotHandled 688 -#define kNtErrorDbgReplyLater 689 -#define kNtErrorDbgUnableToProvideHandle 690 -#define kNtErrorDbgTerminateThread 691 -#define kNtErrorDbgTerminateProcess 692 -#define kNtErrorDbgControlC 693 -#define kNtErrorDbgPrintexceptionC 694 -#define kNtErrorDbgRipexception 695 -#define kNtErrorDbgControlBreak 696 -#define kNtErrorDbgCommandException 697 -#define kNtErrorObjectNameExists 698 -#define kNtErrorThreadWasSuspended 699 -#define kNtErrorImageNotAtBase 700 -#define kNtErrorRxactStateCreated 701 -#define kNtErrorSegmentNotification 702 -#define kNtErrorBadCurrentDirectory 703 -#define kNtErrorFtReadRecoveryFromBackup 704 -#define kNtErrorFtWriteRecovery 705 -#define kNtErrorImageMachineTypeMismatch 706 -#define kNtErrorReceivePartial 707 -#define kNtErrorReceiveExpedited 708 -#define kNtErrorReceivePartialExpedited 709 -#define kNtErrorEventDone 710 -#define kNtErrorEventPending 711 -#define kNtErrorCheckingFileSystem 712 -#define kNtErrorFatalAppExit 713 -#define kNtErrorPredefinedHandle 714 -#define kNtErrorWasUnlocked 715 -#define kNtErrorServiceNotification 716 -#define kNtErrorWasLocked 717 -#define kNtErrorLogHardError 718 -#define kNtErrorAlreadyWin32 719 -#define kNtErrorImageMachineTypeMismatchExe 720 -#define kNtErrorNoYieldPerformed 721 -#define kNtErrorTimerResumeIgnored 722 -#define kNtErrorArbitrationUnhandled 723 -#define kNtErrorCardbusNotSupported 724 -#define kNtErrorMpProcessorMismatch 725 -#define kNtErrorHibernated 726 -#define kNtErrorResumeHibernation 727 -#define kNtErrorFirmwareUpdated 728 -#define kNtErrorDriversLeakingLockedPages 729 -#define kNtErrorWakeSystem 730 -#define kNtErrorWait_1 731 -#define kNtErrorWait_2 732 -#define kNtErrorWait_3 733 -#define kNtErrorWait_63 734 -#define kNtErrorAbandonedWait_0 735 -#define kNtErrorAbandonedWait_63 736 -#define kNtErrorUserApc 737 -#define kNtErrorKernelApc 738 -#define kNtErrorAlerted 739 -#define kNtErrorElevationRequired 740 -#define kNtErrorReparse 741 -#define kNtErrorOplockBreakInProgress 742 -#define kNtErrorVolumeMounted 743 -#define kNtErrorRxactCommitted 744 -#define kNtErrorNotifyCleanup 745 -#define kNtErrorPrimaryTransportConnectFailed 746 -#define kNtErrorPageFaultTransition 747 -#define kNtErrorPageFaultDemandZero 748 -#define kNtErrorPageFaultCopyOnWrite 749 -#define kNtErrorPageFaultGuardPage 750 -#define kNtErrorPageFaultPagingFile 751 -#define kNtErrorCachePageLocked 752 -#define kNtErrorCrashDump 753 -#define kNtErrorBufferAllZeros 754 -#define kNtErrorReparseObject 755 -#define kNtErrorResourceRequirementsChanged 756 -#define kNtErrorTranslationComplete 757 -#define kNtErrorNothingToTerminate 758 -#define kNtErrorProcessNotInJob 759 -#define kNtErrorProcessInJob 760 -#define kNtErrorVolsnapHibernateReady 761 -#define kNtErrorFsfilterOpCompletedSuccessfully 762 -#define kNtErrorInterruptVectorAlreadyConnected 763 -#define kNtErrorInterruptStillConnected 764 -#define kNtErrorWaitForOplock 765 -#define kNtErrorDbgExceptionHandled 766 -#define kNtErrorDbgContinue 767 -#define kNtErrorCallbackPopStack 768 -#define kNtErrorCompressionDisabled 769 -#define kNtErrorCantfetchbackwards 770 -#define kNtErrorCantscrollbackwards 771 -#define kNtErrorRowsnotreleased 772 -#define kNtErrorBadAccessorFlags 773 -#define kNtErrorErrorsEncountered 774 -#define kNtErrorNotCapable 775 -#define kNtErrorRequestOutOfSequence 776 -#define kNtErrorVersionParseError 777 -#define kNtErrorBadstartposition 778 -#define kNtErrorMemoryHardware 779 -#define kNtErrorDiskRepairDisabled 780 -#define kNtErrorInsufficientResourceForSpecifiedSharedSectionSize 781 -#define kNtErrorSystemPowerstateTransition 782 -#define kNtErrorSystemPowerstateComplexTransition 783 -#define kNtErrorMcaException 784 -#define kNtErrorAccessAuditByPolicy 785 -#define kNtErrorAccessDisabledNoSaferUiByPolicy 786 -#define kNtErrorAbandonHiberfile 787 -#define kNtErrorLostWritebehindDataNetworkDisconnected 788 -#define kNtErrorLostWritebehindDataNetworkServerError 789 -#define kNtErrorLostWritebehindDataLocalDiskError 790 -#define kNtErrorBadMcfgTable 791 -#define kNtErrorDiskRepairRedirected 792 -#define kNtErrorDiskRepairUnsuccessful 793 -#define kNtErrorCorruptLogOverfull 794 -#define kNtErrorCorruptLogCorrupted 795 -#define kNtErrorCorruptLogUnavailable 796 -#define kNtErrorCorruptLogDeletedFull 797 -#define kNtErrorCorruptLogCleared 798 -#define kNtErrorOrphanNameExhausted 799 -#define kNtErrorOplockSwitchedToNewHandle 800 -#define kNtErrorCannotGrantRequestedOplock 801 -#define kNtErrorCannotBreakOplock 802 -#define kNtErrorOplockHandleClosed 803 -#define kNtErrorNoAceCondition 804 -#define kNtErrorInvalidAceCondition 805 -#define kNtErrorFileHandleRevoked 806 -#define kNtErrorImageAtDifferentBase 807 -#define kNtErrorEncryptedIoNotPossible 808 -#define kNtErrorFileMetadataOptimizationInProgress 809 -#define kNtErrorQuotaActivity 810 -#define kNtErrorHandleRevoked 811 -#define kNtErrorCallbackInvokeInline 812 -#define kNtErrorCpuSetInvalid 813 -#define kNtErrorEnclaveNotTerminated 814 -#define kNtErrorEnclaveViolation 815 -#define kNtErrorEaAccessDenied 994 -#define kNtErrorOperationAborted 995 -#define kNtErrorIoIncomplete 996 -#define kNtErrorIoPending 997 -#define kNtErrorNoaccess 998 -#define kNtErrorSwaperror 999 -#define kNtErrorStackOverflow 1001 -#define kNtErrorInvalidMessage 1002 -#define kNtErrorCanNotComplete 1003 -#define kNtErrorInvalidFlags 1004 -#define kNtErrorUnrecognizedVolume 1005 -#define kNtErrorFileInvalid 1006 -#define kNtErrorFullscreenMode 1007 -#define kNtErrorNoToken 1008 -#define kNtErrorBaddb 1009 -#define kNtErrorBadkey 1010 -#define kNtErrorCantopen 1011 -#define kNtErrorCantread 1012 -#define kNtErrorCantwrite 1013 -#define kNtErrorRegistryRecovered 1014 -#define kNtErrorRegistryCorrupt 1015 -#define kNtErrorRegistryIoFailed 1016 -#define kNtErrorNotRegistryFile 1017 -#define kNtErrorKeyDeleted 1018 -#define kNtErrorNoLogSpace 1019 -#define kNtErrorKeyHasChildren 1020 -#define kNtErrorChildMustBeVolatile 1021 -#define kNtErrorNotifyEnumDir 1022 -#define kNtErrorDependentServicesRunning 1051 -#define kNtErrorInvalidServiceControl 1052 -#define kNtErrorServiceRequestTimeout 1053 -#define kNtErrorServiceNoThread 1054 -#define kNtErrorServiceDatabaseLocked 1055 -#define kNtErrorServiceAlreadyRunning 1056 -#define kNtErrorInvalidServiceAccount 1057 -#define kNtErrorServiceDisabled 1058 -#define kNtErrorCircularDependency 1059 -#define kNtErrorServiceDoesNotExist 1060 -#define kNtErrorServiceCannotAcceptCtrl 1061 -#define kNtErrorServiceNotActive 1062 -#define kNtErrorFailedServiceControllerConnect 1063 -#define kNtErrorExceptionInService 1064 -#define kNtErrorDatabaseDoesNotExist 1065 -#define kNtErrorServiceSpecificError 1066 -#define kNtErrorProcessAborted 1067 -#define kNtErrorServiceDependencyFail 1068 -#define kNtErrorServiceLogonFailed 1069 -#define kNtErrorServiceStartHang 1070 -#define kNtErrorInvalidServiceLock 1071 -#define kNtErrorServiceMarkedForDelete 1072 -#define kNtErrorServiceExists 1073 -#define kNtErrorAlreadyRunningLkg 1074 -#define kNtErrorServiceDependencyDeleted 1075 -#define kNtErrorBootAlreadyAccepted 1076 -#define kNtErrorServiceNeverStarted 1077 -#define kNtErrorDuplicateServiceName 1078 -#define kNtErrorDifferentServiceAccount 1079 -#define kNtErrorCannotDetectDriverFailure 1080 -#define kNtErrorCannotDetectProcessAbort 1081 -#define kNtErrorNoRecoveryProgram 1082 -#define kNtErrorServiceNotInExe 1083 -#define kNtErrorNotSafebootService 1084 -#define kNtErrorEndOfMedia 1100 -#define kNtErrorFilemarkDetected 1101 -#define kNtErrorBeginningOfMedia 1102 -#define kNtErrorSetmarkDetected 1103 -#define kNtErrorNoDataDetected 1104 -#define kNtErrorPartitionFailure 1105 -#define kNtErrorInvalidBlockLength 1106 -#define kNtErrorDeviceNotPartitioned 1107 -#define kNtErrorUnableToLockMedia 1108 -#define kNtErrorUnableToUnloadMedia 1109 -#define kNtErrorMediaChanged 1110 -#define kNtErrorBusReset 1111 -#define kNtErrorNoMediaInDrive 1112 /* ENXIO */ -#define kNtErrorNoUnicodeTranslation 1113 -#define kNtErrorDllInitFailed 1114 -#define kNtErrorShutdownInProgress 1115 -#define kNtErrorNoShutdownInProgress 1116 -#define kNtErrorIoDevice 1117 /* EIO */ -#define kNtErrorSerialNoDevice 1118 /* ENOTTY */ -#define kNtErrorIrqBusy 1119 -#define kNtErrorMoreWrites 1120 -#define kNtErrorCounterTimeout 1121 -#define kNtErrorFloppyIdMarkNotFound 1122 -#define kNtErrorFloppyWrongCylinder 1123 -#define kNtErrorFloppyUnknownError 1124 -#define kNtErrorFloppyBadRegisters 1125 -#define kNtErrorDiskRecalibrateFailed 1126 -#define kNtErrorDiskOperationFailed 1127 -#define kNtErrorDiskResetFailed 1128 -#define kNtErrorEomOverflow 1129 -#define kNtErrorNotEnoughServerMemory 1130 -#define kNtErrorPossibleDeadlock 1131 /* EDEADLK */ -#define kNtErrorMappedAlignment 1132 -#define kNtErrorSetPowerStateVetoed 1140 -#define kNtErrorSetPowerStateFailed 1141 -#define kNtErrorTooManyLinks 1142 -#define kNtErrorOldWinVersion 1150 -#define kNtErrorAppWrongOs 1151 -#define kNtErrorSingleInstanceApp 1152 -#define kNtErrorRmodeApp 1153 -#define kNtErrorInvalidDll 1154 -#define kNtErrorNoAssociation 1155 -#define kNtErrorDdeFail 1156 -#define kNtErrorDllNotFound 1157 -#define kNtErrorNoMoreUserHandles 1158 -#define kNtErrorMessageSyncOnly 1159 -#define kNtErrorSourceElementEmpty 1160 -#define kNtErrorDestinationElementFull 1161 -#define kNtErrorIllegalElementAddress 1162 -#define kNtErrorMagazineNotPresent 1163 -#define kNtErrorDeviceReinitializationNeeded 1164 -#define kNtErrorDeviceRequiresCleaning 1165 -#define kNtErrorDeviceDoorOpen 1166 -#define kNtErrorDeviceNotConnected 1167 -#define kNtErrorNotFound 1168 -#define kNtErrorNoMatch 1169 -#define kNtErrorSetNotFound 1170 -#define kNtErrorPointNotFound 1171 -#define kNtErrorNoTrackingService 1172 -#define kNtErrorNoVolumeId 1173 -#define kNtErrorUnableToRemoveReplaced 1175 -#define kNtErrorUnableToMoveReplacement 1176 -#define kNtErrorUnableToMoveReplacement_2 1177 -#define kNtErrorJournalDeleteInProgress 1178 -#define kNtErrorJournalNotActive 1179 -#define kNtErrorPotentialFileFound 1180 -#define kNtErrorJournalEntryDeleted 1181 -#define kNtErrorShutdownIsScheduled 1190 -#define kNtErrorShutdownUsersLoggedOn 1191 -#define kNtErrorBadDevice 1200 /* ENODEV */ -#define kNtErrorConnectionUnavail 1201 -#define kNtErrorDeviceAlreadyRemembered 1202 -#define kNtErrorNoNetOrBadPath 1203 -#define kNtErrorBadProvider 1204 -#define kNtErrorCannotOpenProfile 1205 -#define kNtErrorBadProfile 1206 -#define kNtErrorNotContainer 1207 -#define kNtErrorExtendedError 1208 -#define kNtErrorInvalidGroupname 1209 -#define kNtErrorInvalidComputername 1210 -#define kNtErrorInvalidEventname 1211 -#define kNtErrorInvalidDomainname 1212 -#define kNtErrorInvalidServicename 1213 -#define kNtErrorInvalidNetname 1214 -#define kNtErrorInvalidSharename 1215 -#define kNtErrorInvalidPasswordname 1216 -#define kNtErrorInvalidMessagename 1217 -#define kNtErrorInvalidMessagedest 1218 -#define kNtErrorSessionCredentialConflict 1219 -#define kNtErrorRemoteSessionLimitExceeded 1220 -#define kNtErrorDupDomainname 1221 -#define kNtErrorNoNetwork 1222 -#define kNtErrorCancelled 1223 /* ECANCELED */ -#define kNtErrorUserMappedFile 1224 -#define kNtErrorConnectionRefused 1225 -#define kNtErrorGracefulDisconnect 1226 -#define kNtErrorAddressAlreadyAssociated 1227 -#define kNtErrorAddressNotAssociated 1228 -#define kNtErrorConnectionInvalid 1229 -#define kNtErrorConnectionActive 1230 -#define kNtErrorNetworkUnreachable 1231 -#define kNtErrorHostUnreachable 1232 -#define kNtErrorProtocolUnreachable 1233 /* EPROTO */ -#define kNtErrorPortUnreachable 1234 -#define kNtErrorRequestAborted 1235 -#define kNtErrorConnectionAborted 1236 -#define kNtErrorRetry 1237 -#define kNtErrorConnectionCountLimit 1238 -#define kNtErrorLoginTimeRestriction 1239 -#define kNtErrorLoginWkstaRestriction 1240 -#define kNtErrorIncorrectAddress 1241 -#define kNtErrorAlreadyRegistered 1242 -#define kNtErrorServiceNotFound 1243 -#define kNtErrorNotAuthenticated 1244 -#define kNtErrorNotLoggedOn 1245 -#define kNtErrorContinue 1246 -#define kNtErrorAlreadyInitialized 1247 -#define kNtErrorNoMoreDevices 1248 -#define kNtErrorNoSuchSite 1249 -#define kNtErrorDomainControllerExists 1250 -#define kNtErrorOnlyIfConnected 1251 -#define kNtErrorOverrideNochanges 1252 -#define kNtErrorBadUserProfile 1253 -#define kNtErrorNotSupportedOnSbs 1254 -#define kNtErrorServerShutdownInProgress 1255 -#define kNtErrorHostDown 1256 -#define kNtErrorNonAccountSid 1257 -#define kNtErrorNonDomainSid 1258 -#define kNtErrorApphelpBlock 1259 -#define kNtErrorAccessDisabledByPolicy 1260 -#define kNtErrorRegNatConsumption 1261 -#define kNtErrorCscshareOffline 1262 -#define kNtErrorPkinitFailure 1263 -#define kNtErrorSmartcardSubsystemFailure 1264 -#define kNtErrorDowngradeDetected 1265 -#define kNtErrorMachineLocked 1271 -#define kNtErrorSmbGuestLogonBlocked 1272 -#define kNtErrorCallbackSuppliedInvalidData 1273 -#define kNtErrorSyncForegroundRefreshRequired 1274 -#define kNtErrorDriverBlocked 1275 -#define kNtErrorInvalidImportOfNonDll 1276 -#define kNtErrorAccessDisabledWebblade 1277 -#define kNtErrorAccessDisabledWebbladeTamper 1278 -#define kNtErrorRecoveryFailure 1279 -#define kNtErrorAlreadyFiber 1280 -#define kNtErrorAlreadyThread 1281 -#define kNtErrorStackBufferOverrun 1282 -#define kNtErrorParameterQuotaExceeded 1283 -#define kNtErrorDebuggerInactive 1284 -#define kNtErrorDelayLoadFailed 1285 -#define kNtErrorVdmDisallowed 1286 -#define kNtErrorUnidentifiedError 1287 /* EIDRM */ -#define kNtErrorInvalidCruntimeParameter 1288 -#define kNtErrorBeyondVdl 1289 -#define kNtErrorIncompatibleServiceSidType 1290 -#define kNtErrorDriverProcessTerminated 1291 -#define kNtErrorImplementationLimit 1292 -#define kNtErrorProcessIsProtected 1293 -#define kNtErrorServiceNotifyClientLagging 1294 -#define kNtErrorDiskQuotaExceeded 1295 -#define kNtErrorContentBlocked 1296 -#define kNtErrorIncompatibleServicePrivilege 1297 -#define kNtErrorAppHang 1298 -#define kNtErrorInvalidLabel 1299 -#define kNtErrorNotAllAssigned 1300 -#define kNtErrorSomeNotMapped 1301 -#define kNtErrorNoQuotasForAccount 1302 -#define kNtErrorLocalUserSessionKey 1303 -#define kNtErrorNullLmPassword 1304 -#define kNtErrorUnknownRevision 1305 -#define kNtErrorRevisionMismatch 1306 -#define kNtErrorInvalidOwner 1307 -#define kNtErrorInvalidPrimaryGroup 1308 -#define kNtErrorNoImpersonationToken 1309 -#define kNtErrorCantDisableMandatory 1310 -#define kNtErrorNoLogonServers 1311 -#define kNtErrorNoSuchLogonSession 1312 -#define kNtErrorNoSuchPrivilege 1313 -#define kNtErrorPrivilegeNotHeld 1314 -#define kNtErrorInvalidAccountName 1315 -#define kNtErrorUserExists 1316 -#define kNtErrorNoSuchUser 1317 -#define kNtErrorGroupExists 1318 -#define kNtErrorNoSuchGroup 1319 -#define kNtErrorMemberInGroup 1320 -#define kNtErrorMemberNotInGroup 1321 -#define kNtErrorLastAdmin 1322 -#define kNtErrorWrongPassword 1323 -#define kNtErrorIllFormedPassword 1324 -#define kNtErrorPasswordRestriction 1325 -#define kNtErrorLogonFailure 1326 -#define kNtErrorAccountRestriction 1327 -#define kNtErrorInvalidLogonHours 1328 -#define kNtErrorInvalidWorkstation 1329 -#define kNtErrorPasswordExpired 1330 -#define kNtErrorAccountDisabled 1331 -#define kNtErrorNoneMapped 1332 -#define kNtErrorTooManyLuidsRequested 1333 -#define kNtErrorLuidsExhausted 1334 -#define kNtErrorInvalidSubAuthority 1335 -#define kNtErrorInvalidAcl 1336 -#define kNtErrorInvalidSid 1337 -#define kNtErrorInvalidSecurityDescr 1338 -#define kNtErrorBadInheritanceAcl 1340 -#define kNtErrorServerDisabled 1341 -#define kNtErrorServerNotDisabled 1342 -#define kNtErrorInvalidIdAuthority 1343 -#define kNtErrorAllottedSpaceExceeded 1344 -#define kNtErrorInvalidGroupAttributes 1345 -#define kNtErrorBadImpersonationLevel 1346 -#define kNtErrorCantOpenAnonymous 1347 -#define kNtErrorBadValidationClass 1348 -#define kNtErrorBadTokenType 1349 -#define kNtErrorNoSecurityOnObject 1350 -#define kNtErrorCantAccessDomainInfo 1351 -#define kNtErrorInvalidServerState 1352 -#define kNtErrorInvalidDomainState 1353 -#define kNtErrorInvalidDomainRole 1354 -#define kNtErrorNoSuchDomain 1355 -#define kNtErrorDomainExists 1356 -#define kNtErrorDomainLimitExceeded 1357 -#define kNtErrorInternalDbCorruption 1358 -#define kNtErrorInternalError 1359 -#define kNtErrorGenericNotMapped 1360 -#define kNtErrorBadDescriptorFormat 1361 -#define kNtErrorNotLogonProcess 1362 -#define kNtErrorLogonSessionExists 1363 -#define kNtErrorNoSuchPackage 1364 -#define kNtErrorBadLogonSessionState 1365 -#define kNtErrorLogonSessionCollision 1366 -#define kNtErrorInvalidLogonType 1367 -#define kNtErrorCannotImpersonate 1368 -#define kNtErrorRxactInvalidState 1369 -#define kNtErrorRxactCommitFailure 1370 -#define kNtErrorSpecialAccount 1371 -#define kNtErrorSpecialGroup 1372 -#define kNtErrorSpecialUser 1373 -#define kNtErrorMembersPrimaryGroup 1374 -#define kNtErrorTokenAlreadyInUse 1375 -#define kNtErrorNoSuchAlias 1376 -#define kNtErrorMemberNotInAlias 1377 -#define kNtErrorMemberInAlias 1378 -#define kNtErrorAliasExists 1379 -#define kNtErrorLogonNotGranted 1380 -#define kNtErrorTooManySecrets 1381 -#define kNtErrorSecretTooLong 1382 -#define kNtErrorInternalDbError 1383 -#define kNtErrorTooManyContextIds 1384 -#define kNtErrorLogonTypeNotGranted 1385 -#define kNtErrorNtCrossEncryptionRequired 1386 -#define kNtErrorNoSuchMember 1387 -#define kNtErrorInvalidMember 1388 -#define kNtErrorTooManySids 1389 -#define kNtErrorLmCrossEncryptionRequired 1390 -#define kNtErrorNoInheritance 1391 -#define kNtErrorFileCorrupt 1392 -#define kNtErrorDiskCorrupt 1393 -#define kNtErrorNoUserSessionKey 1394 -#define kNtErrorLicenseQuotaExceeded 1395 -#define kNtErrorWrongTargetName 1396 -#define kNtErrorMutualAuthFailed 1397 -#define kNtErrorTimeSkew 1398 -#define kNtErrorCurrentDomainNotAllowed 1399 -#define kNtErrorInvalidWindowHandle 1400 -#define kNtErrorInvalidMenuHandle 1401 -#define kNtErrorInvalidCursorHandle 1402 -#define kNtErrorInvalidAccelHandle 1403 -#define kNtErrorInvalidHookHandle 1404 -#define kNtErrorInvalidDwpHandle 1405 -#define kNtErrorTlwWithWschild 1406 -#define kNtErrorCannotFindWndClass 1407 -#define kNtErrorWindowOfOtherThread 1408 -#define kNtErrorHotkeyAlreadyRegistered 1409 -#define kNtErrorClassAlreadyExists 1410 -#define kNtErrorClassDoesNotExist 1411 -#define kNtErrorClassHasWindows 1412 -#define kNtErrorInvalidIndex 1413 -#define kNtErrorInvalidIconHandle 1414 -#define kNtErrorPrivateDialogIndex 1415 -#define kNtErrorListboxIdNotFound 1416 -#define kNtErrorNoWildcardCharacters 1417 -#define kNtErrorClipboardNotOpen 1418 -#define kNtErrorHotkeyNotRegistered 1419 -#define kNtErrorWindowNotDialog 1420 -#define kNtErrorControlIdNotFound 1421 -#define kNtErrorInvalidComboboxMessage 1422 -#define kNtErrorWindowNotCombobox 1423 -#define kNtErrorInvalidEditHeight 1424 -#define kNtErrorDcNotFound 1425 -#define kNtErrorInvalidHookFilter 1426 -#define kNtErrorInvalidFilterProc 1427 -#define kNtErrorHookNeedsHmod 1428 -#define kNtErrorGlobalOnlyHook 1429 -#define kNtErrorJournalHookSet 1430 -#define kNtErrorHookNotInstalled 1431 -#define kNtErrorInvalidLbMessage 1432 -#define kNtErrorSetcountOnBadLb 1433 -#define kNtErrorLbWithoutTabstops 1434 -#define kNtErrorDestroyObjectOfOtherThread 1435 -#define kNtErrorChildWindowMenu 1436 -#define kNtErrorNoSystemMenu 1437 -#define kNtErrorInvalidMsgboxStyle 1438 -#define kNtErrorInvalidSpiValue 1439 -#define kNtErrorScreenAlreadyLocked 1440 -#define kNtErrorHwndsHaveDiffParent 1441 -#define kNtErrorNotChildWindow 1442 -#define kNtErrorInvalidGwCommand 1443 -#define kNtErrorInvalidThreadId 1444 -#define kNtErrorNonMdichildWindow 1445 -#define kNtErrorPopupAlreadyActive 1446 -#define kNtErrorNoScrollbars 1447 -#define kNtErrorInvalidScrollbarRange 1448 -#define kNtErrorInvalidShowwinCommand 1449 -#define kNtErrorNoSystemResources 1450 -#define kNtErrorNonpagedSystemResources 1451 -#define kNtErrorPagedSystemResources 1452 -#define kNtErrorWorkingSetQuota 1453 -#define kNtErrorPagefileQuota 1454 -#define kNtErrorCommitmentLimit 1455 -#define kNtErrorMenuItemNotFound 1456 -#define kNtErrorInvalidKeyboardHandle 1457 -#define kNtErrorHookTypeNotAllowed 1458 -#define kNtErrorRequiresInteractiveWindowstation 1459 -#define kNtErrorTimeout 1460 /* ETIMEDOUT */ -#define kNtErrorInvalidMonitorHandle 1461 -#define kNtErrorIncorrectSize 1462 -#define kNtErrorSymlinkClassDisabled 1463 -#define kNtErrorSymlinkNotSupported 1464 -#define kNtErrorXmlParseError 1465 -#define kNtErrorXmldsigError 1466 -#define kNtErrorRestartApplication 1467 -#define kNtErrorWrongCompartment 1468 -#define kNtErrorAuthipFailure 1469 -#define kNtErrorNoNvramResources 1470 -#define kNtErrorNotGuiProcess 1471 -#define kNtErrorEventlogFileCorrupt 1500 -#define kNtErrorEventlogCantStart 1501 -#define kNtErrorLogFileFull 1502 -#define kNtErrorEventlogFileChanged 1503 -#define kNtErrorContainerAssigned 1504 -#define kNtErrorJobNoContainer 1505 -#define kNtErrorInvalidTaskName 1550 -#define kNtErrorInvalidTaskIndex 1551 -#define kNtErrorThreadAlreadyInTask 1552 -#define kNtErrorInstallServiceFailure 1601 -#define kNtErrorInstallUserexit 1602 -#define kNtErrorInstallFailure 1603 -#define kNtErrorInstallSuspend 1604 -#define kNtErrorUnknownProduct 1605 -#define kNtErrorUnknownFeature 1606 -#define kNtErrorUnknownComponent 1607 -#define kNtErrorUnknownProperty 1608 -#define kNtErrorInvalidHandleState 1609 -#define kNtErrorBadConfiguration 1610 -#define kNtErrorIndexAbsent 1611 -#define kNtErrorInstallSourceAbsent 1612 -#define kNtErrorInstallPackageVersion 1613 -#define kNtErrorProductUninstalled 1614 -#define kNtErrorBadQuerySyntax 1615 -#define kNtErrorInvalidField 1616 -#define kNtErrorDeviceRemoved 1617 -#define kNtErrorInstallAlreadyRunning 1618 -#define kNtErrorInstallPackageOpenFailed 1619 -#define kNtErrorInstallPackageInvalid 1620 -#define kNtErrorInstallUiFailure 1621 -#define kNtErrorInstallLogFailure 1622 -#define kNtErrorInstallLanguageUnsupported 1623 -#define kNtErrorInstallTransformFailure 1624 -#define kNtErrorInstallPackageRejected 1625 -#define kNtErrorFunctionNotCalled 1626 -#define kNtErrorFunctionFailed 1627 -#define kNtErrorInvalidTable 1628 -#define kNtErrorDatatypeMismatch 1629 -#define kNtErrorUnsupportedType 1630 -#define kNtErrorCreateFailed 1631 -#define kNtErrorInstallTempUnwritable 1632 -#define kNtErrorInstallPlatformUnsupported 1633 -#define kNtErrorInstallNotused 1634 -#define kNtErrorPatchPackageOpenFailed 1635 -#define kNtErrorPatchPackageInvalid 1636 -#define kNtErrorPatchPackageUnsupported 1637 -#define kNtErrorProductVersion 1638 -#define kNtErrorInvalidCommandLine 1639 /* E2BIG */ -#define kNtErrorInstallRemoteDisallowed 1640 -#define kNtErrorSuccessRebootInitiated 1641 -#define kNtErrorPatchTargetNotFound 1642 -#define kNtErrorPatchPackageRejected 1643 -#define kNtErrorInstallTransformRejected 1644 -#define kNtErrorInstallRemoteProhibited 1645 -#define kNtErrorPatchRemovalUnsupported 1646 -#define kNtErrorUnknownPatch 1647 -#define kNtErrorPatchNoSequence 1648 -#define kNtErrorPatchRemovalDisallowed 1649 -#define kNtErrorInvalidPatchXml 1650 -#define kNtErrorPatchManagedAdvertisedProduct 1651 -#define kNtErrorInstallServiceSafeboot 1652 -#define kNtErrorFailFastException 1653 -#define kNtErrorInstallRejected 1654 -#define kNtErrorDynamicCodeBlocked 1655 -#define kNtErrorNotSameObject 1656 -#define kNtErrorStrictCfgViolation 1657 -#define kNtErrorSetContextDenied 1660 -#define kNtErrorCrossPartitionViolation 1661 -#define kNtErrorInvalidUserBuffer 1784 -#define kNtErrorUnrecognizedMedia 1785 -#define kNtErrorNoTrustLsaSecret 1786 -#define kNtErrorNoTrustSamAccount 1787 -#define kNtErrorTrustedDomainFailure 1788 -#define kNtErrorTrustedRelationshipFailure 1789 -#define kNtErrorTrustFailure 1790 -#define kNtErrorNetlogonNotStarted 1792 -#define kNtErrorAccountExpired 1793 -#define kNtErrorRedirectorHasOpenHandles 1794 -#define kNtErrorPrinterDriverAlreadyInstalled 1795 -#define kNtErrorUnknownPort 1796 -#define kNtErrorUnknownPrinterDriver 1797 -#define kNtErrorUnknownPrintprocessor 1798 -#define kNtErrorInvalidSeparatorFile 1799 -#define kNtErrorInvalidPriority 1800 -#define kNtErrorInvalidPrinterName 1801 -#define kNtErrorPrinterAlreadyExists 1802 -#define kNtErrorInvalidPrinterCommand 1803 -#define kNtErrorInvalidDatatype 1804 -#define kNtErrorInvalidEnvironment 1805 -#define kNtErrorNologonInterdomainTrustAccount 1807 -#define kNtErrorNologonWorkstationTrustAccount 1808 -#define kNtErrorNologonServerTrustAccount 1809 -#define kNtErrorDomainTrustInconsistent 1810 -#define kNtErrorServerHasOpenHandles 1811 -#define kNtErrorResourceDataNotFound 1812 -#define kNtErrorResourceTypeNotFound 1813 -#define kNtErrorResourceNameNotFound 1814 -#define kNtErrorResourceLangNotFound 1815 -#define kNtErrorNotEnoughQuota 1816 /* EDQUOT */ -#define kNtErrorInvalidTime 1901 -#define kNtErrorInvalidFormName 1902 -#define kNtErrorInvalidFormSize 1903 -#define kNtErrorAlreadyWaiting 1904 -#define kNtErrorPrinterDeleted 1905 -#define kNtErrorInvalidPrinterState 1906 -#define kNtErrorPasswordMustChange 1907 -#define kNtErrorDomainControllerNotFound 1908 -#define kNtErrorAccountLockedOut 1909 -#define kNtErrorNoSitename 1919 -#define kNtErrorCantAccessFile 1920 -#define kNtErrorCantResolveFilename 1921 -#define kNtErrorKmDriverBlocked 1930 -#define kNtErrorContextExpired 1931 -#define kNtErrorPerUserTrustQuotaExceeded 1932 -#define kNtErrorAllUserTrustQuotaExceeded 1933 -#define kNtErrorUserDeleteTrustQuotaExceeded 1934 -#define kNtErrorAuthenticationFirewallFailed 1935 -#define kNtErrorRemotePrintConnectionsBlocked 1936 -#define kNtErrorNtlmBlocked 1937 -#define kNtErrorPasswordChangeRequired 1938 -#define kNtErrorLostModeLogonRestriction 1939 -#define kNtErrorInvalidPixelFormat 2000 -#define kNtErrorBadDriver 2001 -#define kNtErrorInvalidWindowStyle 2002 -#define kNtErrorMetafileNotSupported 2003 -#define kNtErrorTransformNotSupported 2004 -#define kNtErrorClippingNotSupported 2005 -#define kNtErrorInvalidCmm 2010 -#define kNtErrorInvalidProfile 2011 -#define kNtErrorTagNotFound 2012 -#define kNtErrorTagNotPresent 2013 -#define kNtErrorDuplicateTag 2014 -#define kNtErrorProfileNotAssociatedWithDevice 2015 -#define kNtErrorProfileNotFound 2016 -#define kNtErrorInvalidColorspace 2017 -#define kNtErrorIcmNotEnabled 2018 -#define kNtErrorDeletingIcmXform 2019 -#define kNtErrorInvalidTransform 2020 -#define kNtErrorColorspaceMismatch 2021 -#define kNtErrorInvalidColorindex 2022 -#define kNtErrorProfileDoesNotMatchDevice 2023 -#define kNtErrorConnectedOtherPassword 2108 -#define kNtErrorConnectedOtherPasswordDefault 2109 -#define kNtErrorBadUsername 2202 -#define kNtErrorNotConnected 2250 -#define kNtErrorOpenFiles 2401 -#define kNtErrorActiveConnections 2402 -#define kNtErrorDeviceInUse 2404 -#define kNtErrorUnknownPrintMonitor 3000 -#define kNtErrorPrinterDriverInUse 3001 -#define kNtErrorSpoolFileNotFound 3002 -#define kNtErrorSplNoStartdoc 3003 -#define kNtErrorSplNoAddjob 3004 -#define kNtErrorPrintProcessorAlreadyInstalled 3005 -#define kNtErrorPrintMonitorAlreadyInstalled 3006 -#define kNtErrorInvalidPrintMonitor 3007 -#define kNtErrorPrintMonitorInUse 3008 -#define kNtErrorPrinterHasJobsQueued 3009 -#define kNtErrorSuccessRebootRequired 3010 -#define kNtErrorSuccessRestartRequired 3011 -#define kNtErrorPrinterNotFound 3012 -#define kNtErrorPrinterDriverWarned 3013 -#define kNtErrorPrinterDriverBlocked 3014 -#define kNtErrorPrinterDriverPackageInUse 3015 -#define kNtErrorCoreDriverPackageNotFound 3016 -#define kNtErrorFailRebootRequired 3017 -#define kNtErrorFailRebootInitiated 3018 -#define kNtErrorPrinterDriverDownloadNeeded 3019 -#define kNtErrorPrintJobRestartRequired 3020 -#define kNtErrorInvalidPrinterDriverManifest 3021 -#define kNtErrorPrinterNotShareable 3022 -#define kNtErrorRequestPaused 3050 -#define kNtErrorAppexecConditionNotSatisfied 3060 -#define kNtErrorAppexecHandleInvalidated 3061 -#define kNtErrorAppexecInvalidHostGeneration 3062 -#define kNtErrorAppexecUnexpectedProcessRegistration 3063 -#define kNtErrorAppexecInvalidHostState 3064 -#define kNtErrorAppexecNoDonor 3065 -#define kNtErrorAppexecHostIdMismatch 3066 -#define kNtErrorIoReissueAsCached 3950 -#define kNtErrorWinsInternal 4000 -#define kNtErrorCanNotDelLocalWins 4001 -#define kNtErrorStaticInit 4002 -#define kNtErrorIncBackup 4003 -#define kNtErrorFullBackup 4004 -#define kNtErrorRecNonExistent 4005 -#define kNtErrorRplNotAllowed 4006 -#define kNtErrorDhcpAddressConflict 4100 -#define kNtErrorWmiGuidNotFound 4200 -#define kNtErrorWmiInstanceNotFound 4201 -#define kNtErrorWmiItemidNotFound 4202 -#define kNtErrorWmiTryAgain 4203 -#define kNtErrorWmiDpNotFound 4204 -#define kNtErrorWmiUnresolvedInstanceRef 4205 -#define kNtErrorWmiAlreadyEnabled 4206 -#define kNtErrorWmiGuidDisconnected 4207 -#define kNtErrorWmiServerUnavailable 4208 -#define kNtErrorWmiDpFailed 4209 -#define kNtErrorWmiInvalidMof 4210 -#define kNtErrorWmiInvalidReginfo 4211 -#define kNtErrorWmiAlreadyDisabled 4212 -#define kNtErrorWmiReadOnly 4213 -#define kNtErrorWmiSetFailure 4214 -#define kNtErrorNotAppcontainer 4250 -#define kNtErrorAppcontainerRequired 4251 -#define kNtErrorNotSupportedInAppcontainer 4252 -#define kNtErrorInvalidPackageSidLength 4253 -#define kNtErrorInvalidMedia 4300 -#define kNtErrorInvalidLibrary 4301 -#define kNtErrorInvalidMediaPool 4302 -#define kNtErrorDriveMediaMismatch 4303 -#define kNtErrorMediaOffline 4304 -#define kNtErrorLibraryOffline 4305 -#define kNtErrorEmpty 4306 /* ENOMSG */ -#define kNtErrorNotEmpty 4307 -#define kNtErrorMediaUnavailable 4308 -#define kNtErrorResourceDisabled 4309 -#define kNtErrorInvalidCleaner 4310 -#define kNtErrorUnableToClean 4311 -#define kNtErrorObjectNotFound 4312 -#define kNtErrorDatabaseFailure 4313 -#define kNtErrorDatabaseFull 4314 -#define kNtErrorMediaIncompatible 4315 -#define kNtErrorResourceNotPresent 4316 -#define kNtErrorInvalidOperation 4317 -#define kNtErrorMediaNotAvailable 4318 -#define kNtErrorDeviceNotAvailable 4319 -#define kNtErrorRequestRefused 4320 -#define kNtErrorInvalidDriveObject 4321 -#define kNtErrorLibraryFull 4322 -#define kNtErrorMediumNotAccessible 4323 -#define kNtErrorUnableToLoadMedium 4324 -#define kNtErrorUnableToInventoryDrive 4325 -#define kNtErrorUnableToInventorySlot 4326 -#define kNtErrorUnableToInventoryTransport 4327 -#define kNtErrorTransportFull 4328 -#define kNtErrorControllingIeport 4329 -#define kNtErrorUnableToEjectMountedMedia 4330 -#define kNtErrorCleanerSlotSet 4331 -#define kNtErrorCleanerSlotNotSet 4332 -#define kNtErrorCleanerCartridgeSpent 4333 -#define kNtErrorUnexpectedOmid 4334 -#define kNtErrorCantDeleteLastItem 4335 -#define kNtErrorMessageExceedsMaxSize 4336 -#define kNtErrorVolumeContainsSysFiles 4337 -#define kNtErrorIndigenousType 4338 -#define kNtErrorNoSupportingDrives 4339 -#define kNtErrorCleanerCartridgeInstalled 4340 -#define kNtErrorIeportFull 4341 -#define kNtErrorFileOffline 4350 -#define kNtErrorRemoteStorageNotActive 4351 -#define kNtErrorRemoteStorageMediaError 4352 -#define kNtErrorNotAReparsePoint 4390 -#define kNtErrorReparseAttributeConflict 4391 -#define kNtErrorInvalidReparseData 4392 -#define kNtErrorReparseTagInvalid 4393 -#define kNtErrorReparseTagMismatch 4394 -#define kNtErrorReparsePointEncountered 4395 -#define kNtErrorAppDataNotFound 4400 -#define kNtErrorAppDataExpired 4401 -#define kNtErrorAppDataCorrupt 4402 -#define kNtErrorAppDataLimitExceeded 4403 -#define kNtErrorAppDataRebootRequired 4404 -#define kNtErrorSecurebootRollbackDetected 4420 -#define kNtErrorSecurebootPolicyViolation 4421 -#define kNtErrorSecurebootInvalidPolicy 4422 -#define kNtErrorSecurebootPolicyPublisherNotFound 4423 -#define kNtErrorSecurebootPolicyNotSigned 4424 -#define kNtErrorSecurebootNotEnabled 4425 -#define kNtErrorSecurebootFileReplaced 4426 -#define kNtErrorSecurebootPolicyNotAuthorized 4427 -#define kNtErrorSecurebootPolicyUnknown 4428 -#define kNtErrorSecurebootPolicyMissingAntirollbackversion 4429 -#define kNtErrorSecurebootPlatformIdMismatch 4430 -#define kNtErrorSecurebootPolicyRollbackDetected 4431 -#define kNtErrorSecurebootPolicyUpgradeMismatch 4432 -#define kNtErrorSecurebootRequiredPolicyFileMissing 4433 -#define kNtErrorSecurebootNotBasePolicy 4434 -#define kNtErrorSecurebootNotSupplementalPolicy 4435 -#define kNtErrorOffloadReadFltNotSupported 4440 -#define kNtErrorOffloadWriteFltNotSupported 4441 -#define kNtErrorOffloadReadFileNotSupported 4442 -#define kNtErrorOffloadWriteFileNotSupported 4443 -#define kNtErrorAlreadyHasStreamId 4444 -#define kNtErrorSmrGarbageCollectionRequired 4445 -#define kNtErrorWofWimHeaderCorrupt 4446 -#define kNtErrorWofWimResourceTableCorrupt 4447 -#define kNtErrorWofFileResourceTableCorrupt 4448 -#define kNtErrorVolumeNotSisEnabled 4500 -#define kNtErrorSystemIntegrityRollbackDetected 4550 -#define kNtErrorSystemIntegrityPolicyViolation 4551 -#define kNtErrorSystemIntegrityInvalidPolicy 4552 -#define kNtErrorSystemIntegrityPolicyNotSigned 4553 -#define kNtErrorVsmNotInitialized 4560 -#define kNtErrorVsmDmaProtectionNotInUse 4561 -#define kNtErrorPlatformManifestNotAuthorized 4570 -#define kNtErrorPlatformManifestInvalid 4571 -#define kNtErrorPlatformManifestFileNotAuthorized 4572 -#define kNtErrorPlatformManifestCatalogNotAuthorized 4573 -#define kNtErrorPlatformManifestBinaryIdNotFound 4574 -#define kNtErrorPlatformManifestNotActive 4575 -#define kNtErrorPlatformManifestNotSigned 4576 -#define kNtErrorDependentResourceExists 5001 -#define kNtErrorDependencyNotFound 5002 -#define kNtErrorDependencyAlreadyExists 5003 -#define kNtErrorResourceNotOnline 5004 -#define kNtErrorHostNodeNotAvailable 5005 -#define kNtErrorResourceNotAvailable 5006 -#define kNtErrorResourceNotFound 5007 -#define kNtErrorShutdownCluster 5008 -#define kNtErrorCantEvictActiveNode 5009 -#define kNtErrorObjectAlreadyExists 5010 -#define kNtErrorObjectInList 5011 -#define kNtErrorGroupNotAvailable 5012 -#define kNtErrorGroupNotFound 5013 -#define kNtErrorGroupNotOnline 5014 -#define kNtErrorHostNodeNotResourceOwner 5015 -#define kNtErrorHostNodeNotGroupOwner 5016 -#define kNtErrorResmonCreateFailed 5017 -#define kNtErrorResmonOnlineFailed 5018 -#define kNtErrorResourceOnline 5019 -#define kNtErrorQuorumResource 5020 -#define kNtErrorNotQuorumCapable 5021 -#define kNtErrorClusterShuttingDown 5022 -#define kNtErrorInvalidState 5023 -#define kNtErrorResourcePropertiesStored 5024 -#define kNtErrorNotQuorumClass 5025 -#define kNtErrorCoreResource 5026 -#define kNtErrorQuorumResourceOnlineFailed 5027 -#define kNtErrorQuorumlogOpenFailed 5028 -#define kNtErrorClusterlogCorrupt 5029 -#define kNtErrorClusterlogRecordExceedsMaxsize 5030 -#define kNtErrorClusterlogExceedsMaxsize 5031 -#define kNtErrorClusterlogChkpointNotFound 5032 -#define kNtErrorClusterlogNotEnoughSpace 5033 -#define kNtErrorQuorumOwnerAlive 5034 -#define kNtErrorNetworkNotAvailable 5035 -#define kNtErrorNodeNotAvailable 5036 -#define kNtErrorAllNodesNotAvailable 5037 -#define kNtErrorResourceFailed 5038 -#define kNtErrorClusterInvalidNode 5039 -#define kNtErrorClusterNodeExists 5040 -#define kNtErrorClusterJoinInProgress 5041 -#define kNtErrorClusterNodeNotFound 5042 -#define kNtErrorClusterLocalNodeNotFound 5043 -#define kNtErrorClusterNetworkExists 5044 -#define kNtErrorClusterNetworkNotFound 5045 -#define kNtErrorClusterNetinterfaceExists 5046 -#define kNtErrorClusterNetinterfaceNotFound 5047 -#define kNtErrorClusterInvalidRequest 5048 -#define kNtErrorClusterInvalidNetworkProvider 5049 -#define kNtErrorClusterNodeDown 5050 -#define kNtErrorClusterNodeUnreachable 5051 -#define kNtErrorClusterNodeNotMember 5052 -#define kNtErrorClusterJoinNotInProgress 5053 -#define kNtErrorClusterInvalidNetwork 5054 -#define kNtErrorClusterNodeUp 5056 -#define kNtErrorClusterIpaddrInUse 5057 -#define kNtErrorClusterNodeNotPaused 5058 -#define kNtErrorClusterNoSecurityContext 5059 -#define kNtErrorClusterNetworkNotInternal 5060 -#define kNtErrorClusterNodeAlreadyUp 5061 -#define kNtErrorClusterNodeAlreadyDown 5062 -#define kNtErrorClusterNetworkAlreadyOnline 5063 -#define kNtErrorClusterNetworkAlreadyOffline 5064 -#define kNtErrorClusterNodeAlreadyMember 5065 -#define kNtErrorClusterLastInternalNetwork 5066 -#define kNtErrorClusterNetworkHasDependents 5067 -#define kNtErrorInvalidOperationOnQuorum 5068 -#define kNtErrorDependencyNotAllowed 5069 -#define kNtErrorClusterNodePaused 5070 -#define kNtErrorNodeCantHostResource 5071 -#define kNtErrorClusterNodeNotReady 5072 -#define kNtErrorClusterNodeShuttingDown 5073 -#define kNtErrorClusterJoinAborted 5074 -#define kNtErrorClusterIncompatibleVersions 5075 -#define kNtErrorClusterMaxnumOfResourcesExceeded 5076 -#define kNtErrorClusterSystemConfigChanged 5077 -#define kNtErrorClusterResourceTypeNotFound 5078 -#define kNtErrorClusterRestypeNotSupported 5079 -#define kNtErrorClusterResnameNotFound 5080 -#define kNtErrorClusterNoRpcPackagesRegistered 5081 -#define kNtErrorClusterOwnerNotInPreflist 5082 -#define kNtErrorClusterDatabaseSeqmismatch 5083 -#define kNtErrorResmonInvalidState 5084 -#define kNtErrorClusterGumNotLocker 5085 -#define kNtErrorQuorumDiskNotFound 5086 -#define kNtErrorDatabaseBackupCorrupt 5087 -#define kNtErrorClusterNodeAlreadyHasDfsRoot 5088 -#define kNtErrorResourcePropertyUnchangeable 5089 -#define kNtErrorNoAdminAccessPoint 5090 -#define kNtErrorClusterMembershipInvalidState 5890 -#define kNtErrorClusterQuorumlogNotFound 5891 -#define kNtErrorClusterMembershipHalt 5892 -#define kNtErrorClusterInstanceIdMismatch 5893 -#define kNtErrorClusterNetworkNotFoundForIp 5894 -#define kNtErrorClusterPropertyDataTypeMismatch 5895 -#define kNtErrorClusterEvictWithoutCleanup 5896 -#define kNtErrorClusterParameterMismatch 5897 -#define kNtErrorNodeCannotBeClustered 5898 -#define kNtErrorClusterWrongOsVersion 5899 -#define kNtErrorClusterCantCreateDupClusterName 5900 -#define kNtErrorCluscfgAlreadyCommitted 5901 -#define kNtErrorCluscfgRollbackFailed 5902 -#define kNtErrorCluscfgSystemDiskDriveLetterConflict 5903 -#define kNtErrorClusterOldVersion 5904 -#define kNtErrorClusterMismatchedComputerAcctName 5905 -#define kNtErrorClusterNoNetAdapters 5906 -#define kNtErrorClusterPoisoned 5907 -#define kNtErrorClusterGroupMoving 5908 -#define kNtErrorClusterResourceTypeBusy 5909 -#define kNtErrorResourceCallTimedOut 5910 -#define kNtErrorInvalidClusterIpv6Address 5911 -#define kNtErrorClusterInternalInvalidFunction 5912 -#define kNtErrorClusterParameterOutOfBounds 5913 -#define kNtErrorClusterPartialSend 5914 -#define kNtErrorClusterRegistryInvalidFunction 5915 -#define kNtErrorClusterInvalidStringTermination 5916 -#define kNtErrorClusterInvalidStringFormat 5917 -#define kNtErrorClusterDatabaseTransactionInProgress 5918 -#define kNtErrorClusterDatabaseTransactionNotInProgress 5919 -#define kNtErrorClusterNullData 5920 -#define kNtErrorClusterPartialRead 5921 -#define kNtErrorClusterPartialWrite 5922 -#define kNtErrorClusterCantDeserializeData 5923 -#define kNtErrorDependentResourcePropertyConflict 5924 -#define kNtErrorClusterNoQuorum 5925 -#define kNtErrorClusterInvalidIpv6Network 5926 -#define kNtErrorClusterInvalidIpv6TunnelNetwork 5927 -#define kNtErrorQuorumNotAllowedInThisGroup 5928 -#define kNtErrorDependencyTreeTooComplex 5929 -#define kNtErrorExceptionInResourceCall 5930 -#define kNtErrorClusterRhsFailedInitialization 5931 -#define kNtErrorClusterNotInstalled 5932 -#define kNtErrorClusterResourcesMustBeOnlineOnTheSameNode 5933 -#define kNtErrorClusterMaxNodesInCluster 5934 -#define kNtErrorClusterTooManyNodes 5935 -#define kNtErrorClusterObjectAlreadyUsed 5936 -#define kNtErrorNoncoreGroupsFound 5937 -#define kNtErrorFileShareResourceConflict 5938 -#define kNtErrorClusterEvictInvalidRequest 5939 -#define kNtErrorClusterSingletonResource 5940 -#define kNtErrorClusterGroupSingletonResource 5941 -#define kNtErrorClusterResourceProviderFailed 5942 -#define kNtErrorClusterResourceConfigurationError 5943 -#define kNtErrorClusterGroupBusy 5944 -#define kNtErrorClusterNotSharedVolume 5945 -#define kNtErrorClusterInvalidSecurityDescriptor 5946 -#define kNtErrorClusterSharedVolumesInUse 5947 -#define kNtErrorClusterUseSharedVolumesApi 5948 -#define kNtErrorClusterBackupInProgress 5949 -#define kNtErrorNonCsvPath 5950 -#define kNtErrorCsvVolumeNotLocal 5951 -#define kNtErrorClusterWatchdogTerminating 5952 -#define kNtErrorClusterResourceVetoedMoveIncompatibleNodes 5953 -#define kNtErrorClusterInvalidNodeWeight 5954 -#define kNtErrorClusterResourceVetoedCall 5955 -#define kNtErrorResmonSystemResourcesLacking 5956 -#define kNtErrorClusterResourceVetoedMoveNotEnoughResourcesOnSource 5958 -#define kNtErrorClusterGroupQueued 5959 -#define kNtErrorClusterResourceLockedStatus 5960 -#define kNtErrorClusterSharedVolumeFailoverNotAllowed 5961 -#define kNtErrorClusterNodeDrainInProgress 5962 -#define kNtErrorClusterDiskNotConnected 5963 -#define kNtErrorDiskNotCsvCapable 5964 -#define kNtErrorResourceNotInAvailableStorage 5965 -#define kNtErrorClusterSharedVolumeRedirected 5966 -#define kNtErrorClusterSharedVolumeNotRedirected 5967 -#define kNtErrorClusterCannotReturnProperties 5968 -#define kNtErrorClusterResourceIsInMaintenanceMode 5970 -#define kNtErrorClusterAffinityConflict 5971 -#define kNtErrorClusterResourceIsReplicaVirtualMachine 5972 -#define kNtErrorClusterUpgradeIncompatibleVersions 5973 -#define kNtErrorClusterUpgradeFixQuorumNotSupported 5974 -#define kNtErrorClusterUpgradeRestartRequired 5975 -#define kNtErrorClusterUpgradeInProgress 5976 -#define kNtErrorClusterUpgradeIncomplete 5977 -#define kNtErrorClusterNodeInGracePeriod 5978 -#define kNtErrorClusterCsvIoPauseTimeout 5979 -#define kNtErrorNodeNotActiveClusterMember 5980 -#define kNtErrorClusterResourceNotMonitored 5981 -#define kNtErrorClusterResourceDoesNotSupportUnmonitored 5982 -#define kNtErrorClusterResourceIsReplicated 5983 -#define kNtErrorClusterNodeIsolated 5984 -#define kNtErrorClusterNodeQuarantined 5985 -#define kNtErrorClusterDatabaseUpdateConditionFailed 5986 -#define kNtErrorClusterSpaceDegraded 5987 -#define kNtErrorClusterTokenDelegationNotSupported 5988 -#define kNtErrorClusterCsvInvalidHandle 5989 -#define kNtErrorClusterCsvSupportedOnlyOnCoordinator 5990 -#define kNtErrorGroupsetNotAvailable 5991 -#define kNtErrorGroupsetNotFound 5992 -#define kNtErrorGroupsetCantProvide 5993 -#define kNtErrorClusterFaultDomainParentNotFound 5994 -#define kNtErrorClusterFaultDomainInvalidHierarchy 5995 -#define kNtErrorClusterFaultDomainFailedS2dValidation 5996 -#define kNtErrorClusterFaultDomainS2dConnectivityLoss 5997 -#define kNtErrorClusterInvalidInfrastructureFileserverName 5998 -#define kNtErrorClustersetManagementClusterUnreachable 5999 -#define kNtErrorEncryptionFailed 6000 -#define kNtErrorDecryptionFailed 6001 -#define kNtErrorFileEncrypted 6002 -#define kNtErrorNoRecoveryPolicy 6003 -#define kNtErrorNoEfs 6004 -#define kNtErrorWrongEfs 6005 -#define kNtErrorNoUserKeys 6006 -#define kNtErrorFileNotEncrypted 6007 -#define kNtErrorNotExportFormat 6008 -#define kNtErrorFileReadOnly 6009 /* EROFS */ -#define kNtErrorDirEfsDisallowed 6010 -#define kNtErrorEfsServerNotTrusted 6011 -#define kNtErrorBadRecoveryPolicy 6012 -#define kNtErrorEfsAlgBlobTooBig 6013 -#define kNtErrorVolumeNotSupportEfs 6014 -#define kNtErrorEfsDisabled 6015 -#define kNtErrorEfsVersionNotSupport 6016 -#define kNtErrorCsEncryptionInvalidServerResponse 6017 -#define kNtErrorCsEncryptionUnsupportedServer 6018 -#define kNtErrorCsEncryptionExistingEncryptedFile 6019 -#define kNtErrorCsEncryptionNewEncryptedFile 6020 -#define kNtErrorCsEncryptionFileNotCse 6021 -#define kNtErrorEncryptionPolicyDeniesOperation 6022 -#define kNtErrorNoBrowserServersFound 6118 -#define kNtErrorLogSectorInvalid 6600 -#define kNtErrorLogSectorParityInvalid 6601 -#define kNtErrorLogSectorRemapped 6602 -#define kNtErrorLogBlockIncomplete 6603 -#define kNtErrorLogInvalidRange 6604 /* ERANGE */ -#define kNtErrorLogBlocksExhausted 6605 -#define kNtErrorLogReadContextInvalid 6606 -#define kNtErrorLogRestartInvalid 6607 -#define kNtErrorLogBlockVersion 6608 -#define kNtErrorLogBlockInvalid 6609 -#define kNtErrorLogReadModeInvalid 6610 -#define kNtErrorLogNoRestart 6611 -#define kNtErrorLogMetadataCorrupt 6612 -#define kNtErrorLogMetadataInvalid 6613 -#define kNtErrorLogMetadataInconsistent 6614 -#define kNtErrorLogReservationInvalid 6615 -#define kNtErrorLogCantDelete 6616 -#define kNtErrorLogContainerLimitExceeded 6617 -#define kNtErrorLogStartOfLog 6618 -#define kNtErrorLogPolicyAlreadyInstalled 6619 -#define kNtErrorLogPolicyNotInstalled 6620 -#define kNtErrorLogPolicyInvalid 6621 -#define kNtErrorLogPolicyConflict 6622 -#define kNtErrorLogPinnedArchiveTail 6623 -#define kNtErrorLogRecordNonexistent 6624 -#define kNtErrorLogRecordsReservedInvalid 6625 -#define kNtErrorLogSpaceReservedInvalid 6626 -#define kNtErrorLogTailInvalid 6627 -#define kNtErrorLogFull 6628 -#define kNtErrorCouldNotResizeLog 6629 -#define kNtErrorLogMultiplexed 6630 -#define kNtErrorLogDedicated 6631 -#define kNtErrorLogArchiveNotInProgress 6632 -#define kNtErrorLogArchiveInProgress 6633 -#define kNtErrorLogEphemeral 6634 -#define kNtErrorLogNotEnoughContainers 6635 -#define kNtErrorLogClientAlreadyRegistered 6636 -#define kNtErrorLogClientNotRegistered 6637 -#define kNtErrorLogFullHandlerInProgress 6638 -#define kNtErrorLogContainerReadFailed 6639 -#define kNtErrorLogContainerWriteFailed 6640 -#define kNtErrorLogContainerOpenFailed 6641 -#define kNtErrorLogContainerStateInvalid 6642 -#define kNtErrorLogStateInvalid 6643 -#define kNtErrorLogPinned 6644 -#define kNtErrorLogMetadataFlushFailed 6645 -#define kNtErrorLogInconsistentSecurity 6646 -#define kNtErrorLogAppendedFlushFailed 6647 -#define kNtErrorLogPinnedReservation 6648 -#define kNtErrorInvalidTransaction 6700 -#define kNtErrorTransactionNotActive 6701 -#define kNtErrorTransactionRequestNotValid 6702 -#define kNtErrorTransactionNotRequested 6703 -#define kNtErrorTransactionAlreadyAborted 6704 -#define kNtErrorTransactionAlreadyCommitted 6705 -#define kNtErrorTmInitializationFailed 6706 -#define kNtErrorResourcemanagerReadOnly 6707 -#define kNtErrorTransactionNotJoined 6708 -#define kNtErrorTransactionSuperiorExists 6709 -#define kNtErrorCrmProtocolAlreadyExists 6710 -#define kNtErrorTransactionPropagationFailed 6711 -#define kNtErrorCrmProtocolNotFound 6712 -#define kNtErrorTransactionInvalidMarshallBuffer 6713 -#define kNtErrorCurrentTransactionNotValid 6714 -#define kNtErrorTransactionNotFound 6715 -#define kNtErrorResourcemanagerNotFound 6716 -#define kNtErrorEnlistmentNotFound 6717 -#define kNtErrorTransactionmanagerNotFound 6718 -#define kNtErrorTransactionmanagerNotOnline 6719 -#define kNtErrorTransactionmanagerRecoveryNameCollision 6720 -#define kNtErrorTransactionNotRoot 6721 -#define kNtErrorTransactionObjectExpired 6722 -#define kNtErrorTransactionResponseNotEnlisted 6723 -#define kNtErrorTransactionRecordTooLong 6724 -#define kNtErrorImplicitTransactionNotSupported 6725 -#define kNtErrorTransactionIntegrityViolated 6726 -#define kNtErrorTransactionmanagerIdentityMismatch 6727 -#define kNtErrorRmCannotBeFrozenForSnapshot 6728 -#define kNtErrorTransactionMustWritethrough 6729 -#define kNtErrorTransactionNoSuperior 6730 -#define kNtErrorHeuristicDamagePossible 6731 -#define kNtErrorTransactionalConflict 6800 -#define kNtErrorRmNotActive 6801 -#define kNtErrorRmMetadataCorrupt 6802 -#define kNtErrorDirectoryNotRm 6803 -#define kNtErrorTransactionsUnsupportedRemote 6805 -#define kNtErrorLogResizeInvalidSize 6806 -#define kNtErrorObjectNoLongerExists 6807 -#define kNtErrorStreamMiniversionNotFound 6808 -#define kNtErrorStreamMiniversionNotValid 6809 -#define kNtErrorMiniversionInaccessibleFromSpecifiedTransaction 6810 -#define kNtErrorCantOpenMiniversionWithModifyIntent 6811 -#define kNtErrorCantCreateMoreStreamMiniversions 6812 -#define kNtErrorRemoteFileVersionMismatch 6814 -#define kNtErrorHandleNoLongerValid 6815 -#define kNtErrorNoTxfMetadata 6816 -#define kNtErrorLogCorruptionDetected 6817 -#define kNtErrorCantRecoverWithHandleOpen 6818 -#define kNtErrorRmDisconnected 6819 -#define kNtErrorEnlistmentNotSuperior 6820 -#define kNtErrorRecoveryNotNeeded 6821 -#define kNtErrorRmAlreadyStarted 6822 -#define kNtErrorFileIdentityNotPersistent 6823 -#define kNtErrorCantBreakTransactionalDependency 6824 -#define kNtErrorCantCrossRmBoundary 6825 -#define kNtErrorTxfDirNotEmpty 6826 -#define kNtErrorIndoubtTransactionsExist 6827 -#define kNtErrorTmVolatile 6828 -#define kNtErrorRollbackTimerExpired 6829 -#define kNtErrorTxfAttributeCorrupt 6830 -#define kNtErrorEfsNotAllowedInTransaction 6831 -#define kNtErrorTransactionalOpenNotAllowed 6832 -#define kNtErrorLogGrowthFailed 6833 -#define kNtErrorTransactedMappingUnsupportedRemote 6834 -#define kNtErrorTxfMetadataAlreadyPresent 6835 -#define kNtErrorTransactionScopeCallbacksNotSet 6836 -#define kNtErrorTransactionRequiredPromotion 6837 -#define kNtErrorCannotExecuteFileInTransaction 6838 -#define kNtErrorTransactionsNotFrozen 6839 -#define kNtErrorTransactionFreezeInProgress 6840 -#define kNtErrorNotSnapshotVolume 6841 -#define kNtErrorNoSavepointWithOpenFiles 6842 -#define kNtErrorDataLostRepair 6843 -#define kNtErrorSparseNotAllowedInTransaction 6844 -#define kNtErrorTmIdentityMismatch 6845 -#define kNtErrorFloatedSection 6846 -#define kNtErrorCannotAcceptTransactedWork 6847 -#define kNtErrorCannotAbortTransactions 6848 -#define kNtErrorBadClusters 6849 -#define kNtErrorCompressionNotAllowedInTransaction 6850 -#define kNtErrorVolumeDirty 6851 -#define kNtErrorNoLinkTrackingInTransaction 6852 -#define kNtErrorOperationNotSupportedInTransaction 6853 -#define kNtErrorExpiredHandle 6854 -#define kNtErrorTransactionNotEnlisted 6855 -#define kNtErrorCtxWinstationNameInvalid 7001 -#define kNtErrorCtxInvalidPd 7002 -#define kNtErrorCtxPdNotFound 7003 -#define kNtErrorCtxWdNotFound 7004 -#define kNtErrorCtxCannotMakeEventlogEntry 7005 -#define kNtErrorCtxServiceNameCollision 7006 -#define kNtErrorCtxClosePending 7007 -#define kNtErrorCtxNoOutbuf 7008 -#define kNtErrorCtxModemInfNotFound 7009 -#define kNtErrorCtxInvalidModemname 7010 -#define kNtErrorCtxModemResponseError 7011 -#define kNtErrorCtxModemResponseTimeout 7012 -#define kNtErrorCtxModemResponseNoCarrier 7013 -#define kNtErrorCtxModemResponseNoDialtone 7014 -#define kNtErrorCtxModemResponseBusy 7015 -#define kNtErrorCtxModemResponseVoice 7016 -#define kNtErrorCtxTdError 7017 -#define kNtErrorCtxWinstationNotFound 7022 -#define kNtErrorCtxWinstationAlreadyExists 7023 -#define kNtErrorCtxWinstationBusy 7024 -#define kNtErrorCtxBadVideoMode 7025 -#define kNtErrorCtxGraphicsInvalid 7035 -#define kNtErrorCtxLogonDisabled 7037 -#define kNtErrorCtxNotConsole 7038 -#define kNtErrorCtxClientQueryTimeout 7040 -#define kNtErrorCtxConsoleDisconnect 7041 -#define kNtErrorCtxConsoleConnect 7042 -#define kNtErrorCtxShadowDenied 7044 -#define kNtErrorCtxWinstationAccessDenied 7045 -#define kNtErrorCtxInvalidWd 7049 -#define kNtErrorCtxShadowInvalid 7050 -#define kNtErrorCtxShadowDisabled 7051 -#define kNtErrorCtxClientLicenseInUse 7052 -#define kNtErrorCtxClientLicenseNotSet 7053 -#define kNtErrorCtxLicenseNotAvailable 7054 -#define kNtErrorCtxLicenseClientInvalid 7055 -#define kNtErrorCtxLicenseExpired 7056 -#define kNtErrorCtxShadowNotRunning 7057 -#define kNtErrorCtxShadowEndedByModeChange 7058 -#define kNtErrorActivationCountExceeded 7059 -#define kNtErrorCtxWinstationsDisabled 7060 -#define kNtErrorCtxEncryptionLevelRequired 7061 -#define kNtErrorCtxSessionInUse 7062 -#define kNtErrorCtxNoForceLogoff 7063 -#define kNtErrorCtxAccountRestriction 7064 -#define kNtErrorRdpProtocolError 7065 -#define kNtErrorCtxCdmConnect 7066 -#define kNtErrorCtxCdmDisconnect 7067 -#define kNtErrorCtxSecurityLayerError 7068 -#define kNtErrorTsIncompatibleSessions 7069 -#define kNtErrorTsVideoSubsystemError 7070 -#define kNtErrorDsNotInstalled 8200 -#define kNtErrorDsMembershipEvaluatedLocally 8201 -#define kNtErrorDsNoAttributeOrValue 8202 -#define kNtErrorDsInvalidAttributeSyntax 8203 -#define kNtErrorDsAttributeTypeUndefined 8204 -#define kNtErrorDsAttributeOrValueExists 8205 -#define kNtErrorDsBusy 8206 -#define kNtErrorDsUnavailable 8207 -#define kNtErrorDsNoRidsAllocated 8208 -#define kNtErrorDsNoMoreRids 8209 -#define kNtErrorDsIncorrectRoleOwner 8210 -#define kNtErrorDsRidmgrInitError 8211 -#define kNtErrorDsObjClassViolation 8212 -#define kNtErrorDsCantOnNonLeaf 8213 -#define kNtErrorDsCantOnRdn 8214 -#define kNtErrorDsCantModObjClass 8215 -#define kNtErrorDsCrossDomMoveError 8216 -#define kNtErrorDsGcNotAvailable 8217 -#define kNtErrorSharedPolicy 8218 -#define kNtErrorPolicyObjectNotFound 8219 -#define kNtErrorPolicyOnlyInDs 8220 -#define kNtErrorPromotionActive 8221 -#define kNtErrorNoPromotionActive 8222 -#define kNtErrorDsOperationsError 8224 -#define kNtErrorDsProtocolError 8225 -#define kNtErrorDsTimelimitExceeded 8226 -#define kNtErrorDsSizelimitExceeded 8227 -#define kNtErrorDsAdminLimitExceeded 8228 -#define kNtErrorDsCompareFalse 8229 -#define kNtErrorDsCompareTrue 8230 -#define kNtErrorDsAuthMethodNotSupported 8231 -#define kNtErrorDsStrongAuthRequired 8232 -#define kNtErrorDsInappropriateAuth 8233 -#define kNtErrorDsAuthUnknown 8234 -#define kNtErrorDsReferral 8235 -#define kNtErrorDsUnavailableCritExtension 8236 -#define kNtErrorDsConfidentialityRequired 8237 -#define kNtErrorDsInappropriateMatching 8238 -#define kNtErrorDsConstraintViolation 8239 -#define kNtErrorDsNoSuchObject 8240 -#define kNtErrorDsAliasProblem 8241 -#define kNtErrorDsInvalidDnSyntax 8242 -#define kNtErrorDsIsLeaf 8243 -#define kNtErrorDsAliasDerefProblem 8244 -#define kNtErrorDsUnwillingToPerform 8245 -#define kNtErrorDsLoopDetect 8246 -#define kNtErrorDsNamingViolation 8247 -#define kNtErrorDsObjectResultsTooLarge 8248 -#define kNtErrorDsAffectsMultipleDsas 8249 -#define kNtErrorDsServerDown 8250 -#define kNtErrorDsLocalError 8251 -#define kNtErrorDsEncodingError 8252 -#define kNtErrorDsDecodingError 8253 -#define kNtErrorDsFilterUnknown 8254 -#define kNtErrorDsParamError 8255 -#define kNtErrorDsNotSupported 8256 -#define kNtErrorDsNoResultsReturned 8257 -#define kNtErrorDsControlNotFound 8258 -#define kNtErrorDsClientLoop 8259 -#define kNtErrorDsReferralLimitExceeded 8260 -#define kNtErrorDsSortControlMissing 8261 -#define kNtErrorDsOffsetRangeError 8262 -#define kNtErrorDsRidmgrDisabled 8263 -#define kNtErrorDsRootMustBeNc 8301 -#define kNtErrorDsAddReplicaInhibited 8302 -#define kNtErrorDsAttNotDefInSchema 8303 -#define kNtErrorDsMaxObjSizeExceeded 8304 -#define kNtErrorDsObjStringNameExists 8305 -#define kNtErrorDsNoRdnDefinedInSchema 8306 -#define kNtErrorDsRdnDoesntMatchSchema 8307 -#define kNtErrorDsNoRequestedAttsFound 8308 -#define kNtErrorDsUserBufferToSmall 8309 -#define kNtErrorDsAttIsNotOnObj 8310 -#define kNtErrorDsIllegalModOperation 8311 -#define kNtErrorDsObjTooLarge 8312 -#define kNtErrorDsBadInstanceType 8313 -#define kNtErrorDsMasterdsaRequired 8314 -#define kNtErrorDsObjectClassRequired 8315 -#define kNtErrorDsMissingRequiredAtt 8316 -#define kNtErrorDsAttNotDefForClass 8317 -#define kNtErrorDsAttAlreadyExists 8318 -#define kNtErrorDsCantAddAttValues 8320 -#define kNtErrorDsSingleValueConstraint 8321 -#define kNtErrorDsRangeConstraint 8322 -#define kNtErrorDsAttValAlreadyExists 8323 -#define kNtErrorDsCantRemMissingAtt 8324 -#define kNtErrorDsCantRemMissingAttVal 8325 -#define kNtErrorDsRootCantBeSubref 8326 -#define kNtErrorDsNoChaining 8327 -#define kNtErrorDsNoChainedEval 8328 -#define kNtErrorDsNoParentObject 8329 -#define kNtErrorDsParentIsAnAlias 8330 -#define kNtErrorDsCantMixMasterAndReps 8331 -#define kNtErrorDsChildrenExist 8332 -#define kNtErrorDsObjNotFound 8333 -#define kNtErrorDsAliasedObjMissing 8334 -#define kNtErrorDsBadNameSyntax 8335 -#define kNtErrorDsAliasPointsToAlias 8336 -#define kNtErrorDsCantDerefAlias 8337 -#define kNtErrorDsOutOfScope 8338 -#define kNtErrorDsObjectBeingRemoved 8339 -#define kNtErrorDsCantDeleteDsaObj 8340 -#define kNtErrorDsGenericError 8341 -#define kNtErrorDsDsaMustBeIntMaster 8342 -#define kNtErrorDsClassNotDsa 8343 -#define kNtErrorDsInsuffAccessRights 8344 -#define kNtErrorDsIllegalSuperior 8345 -#define kNtErrorDsAttributeOwnedBySam 8346 -#define kNtErrorDsNameTooManyParts 8347 -#define kNtErrorDsNameTooLong 8348 -#define kNtErrorDsNameValueTooLong 8349 -#define kNtErrorDsNameUnparseable 8350 -#define kNtErrorDsNameTypeUnknown 8351 -#define kNtErrorDsNotAnObject 8352 -#define kNtErrorDsSecDescTooShort 8353 -#define kNtErrorDsSecDescInvalid 8354 -#define kNtErrorDsNoDeletedName 8355 -#define kNtErrorDsSubrefMustHaveParent 8356 -#define kNtErrorDsNcnameMustBeNc 8357 -#define kNtErrorDsCantAddSystemOnly 8358 -#define kNtErrorDsClassMustBeConcrete 8359 -#define kNtErrorDsInvalidDmd 8360 -#define kNtErrorDsObjGuidExists 8361 -#define kNtErrorDsNotOnBacklink 8362 -#define kNtErrorDsNoCrossrefForNc 8363 -#define kNtErrorDsShuttingDown 8364 -#define kNtErrorDsUnknownOperation 8365 -#define kNtErrorDsInvalidRoleOwner 8366 -#define kNtErrorDsCouldntContactFsmo 8367 -#define kNtErrorDsCrossNcDnRename 8368 -#define kNtErrorDsCantModSystemOnly 8369 -#define kNtErrorDsReplicatorOnly 8370 -#define kNtErrorDsObjClassNotDefined 8371 -#define kNtErrorDsObjClassNotSubclass 8372 -#define kNtErrorDsNameReferenceInvalid 8373 -#define kNtErrorDsCrossRefExists 8374 -#define kNtErrorDsCantDelMasterCrossref 8375 -#define kNtErrorDsSubtreeNotifyNotNcHead 8376 -#define kNtErrorDsNotifyFilterTooComplex 8377 -#define kNtErrorDsDupRdn 8378 -#define kNtErrorDsDupOid 8379 -#define kNtErrorDsDupMapiId 8380 -#define kNtErrorDsDupSchemaIdGuid 8381 -#define kNtErrorDsDupLdapDisplayName 8382 -#define kNtErrorDsSemanticAttTest 8383 -#define kNtErrorDsSyntaxMismatch 8384 -#define kNtErrorDsExistsInMustHave 8385 -#define kNtErrorDsExistsInMayHave 8386 -#define kNtErrorDsNonexistentMayHave 8387 -#define kNtErrorDsNonexistentMustHave 8388 -#define kNtErrorDsAuxClsTestFail 8389 -#define kNtErrorDsNonexistentPossSup 8390 -#define kNtErrorDsSubClsTestFail 8391 -#define kNtErrorDsBadRdnAttIdSyntax 8392 -#define kNtErrorDsExistsInAuxCls 8393 -#define kNtErrorDsExistsInSubCls 8394 -#define kNtErrorDsExistsInPossSup 8395 -#define kNtErrorDsRecalcschemaFailed 8396 -#define kNtErrorDsTreeDeleteNotFinished 8397 -#define kNtErrorDsCantDelete 8398 -#define kNtErrorDsAttSchemaReqId 8399 -#define kNtErrorDsBadAttSchemaSyntax 8400 -#define kNtErrorDsCantCacheAtt 8401 -#define kNtErrorDsCantCacheClass 8402 -#define kNtErrorDsCantRemoveAttCache 8403 -#define kNtErrorDsCantRemoveClassCache 8404 -#define kNtErrorDsCantRetrieveDn 8405 -#define kNtErrorDsMissingSupref 8406 -#define kNtErrorDsCantRetrieveInstance 8407 -#define kNtErrorDsCodeInconsistency 8408 -#define kNtErrorDsDatabaseError 8409 -#define kNtErrorDsGovernsidMissing 8410 -#define kNtErrorDsMissingExpectedAtt 8411 -#define kNtErrorDsNcnameMissingCrRef 8412 -#define kNtErrorDsSecurityCheckingError 8413 -#define kNtErrorDsSchemaNotLoaded 8414 -#define kNtErrorDsSchemaAllocFailed 8415 -#define kNtErrorDsAttSchemaReqSyntax 8416 -#define kNtErrorDsGcverifyError 8417 -#define kNtErrorDsDraSchemaMismatch 8418 -#define kNtErrorDsCantFindDsaObj 8419 -#define kNtErrorDsCantFindExpectedNc 8420 -#define kNtErrorDsCantFindNcInCache 8421 -#define kNtErrorDsCantRetrieveChild 8422 -#define kNtErrorDsSecurityIllegalModify 8423 -#define kNtErrorDsCantReplaceHiddenRec 8424 -#define kNtErrorDsBadHierarchyFile 8425 -#define kNtErrorDsBuildHierarchyTableFailed 8426 -#define kNtErrorDsConfigParamMissing 8427 -#define kNtErrorDsCountingAbIndicesFailed 8428 -#define kNtErrorDsHierarchyTableMallocFailed 8429 -#define kNtErrorDsInternalFailure 8430 -#define kNtErrorDsUnknownError 8431 -#define kNtErrorDsRootRequiresClassTop 8432 -#define kNtErrorDsRefusingFsmoRoles 8433 -#define kNtErrorDsMissingFsmoSettings 8434 -#define kNtErrorDsUnableToSurrenderRoles 8435 -#define kNtErrorDsDraGeneric 8436 -#define kNtErrorDsDraInvalidParameter 8437 -#define kNtErrorDsDraBusy 8438 -#define kNtErrorDsDraBadDn 8439 -#define kNtErrorDsDraBadNc 8440 -#define kNtErrorDsDraDnExists 8441 -#define kNtErrorDsDraInternalError 8442 -#define kNtErrorDsDraInconsistentDit 8443 -#define kNtErrorDsDraConnectionFailed 8444 -#define kNtErrorDsDraBadInstanceType 8445 -#define kNtErrorDsDraOutOfMem 8446 -#define kNtErrorDsDraMailProblem 8447 -#define kNtErrorDsDraRefAlreadyExists 8448 -#define kNtErrorDsDraRefNotFound 8449 -#define kNtErrorDsDraObjIsRepSource 8450 -#define kNtErrorDsDraDbError 8451 -#define kNtErrorDsDraNoReplica 8452 -#define kNtErrorDsDraAccessDenied 8453 -#define kNtErrorDsDraNotSupported 8454 -#define kNtErrorDsDraRpcCancelled 8455 -#define kNtErrorDsDraSourceDisabled 8456 -#define kNtErrorDsDraSinkDisabled 8457 -#define kNtErrorDsDraNameCollision 8458 -#define kNtErrorDsDraSourceReinstalled 8459 -#define kNtErrorDsDraMissingParent 8460 -#define kNtErrorDsDraPreempted 8461 -#define kNtErrorDsDraAbandonSync 8462 -#define kNtErrorDsDraShutdown 8463 -#define kNtErrorDsDraIncompatiblePartialSet 8464 -#define kNtErrorDsDraSourceIsPartialReplica 8465 -#define kNtErrorDsDraExtnConnectionFailed 8466 -#define kNtErrorDsInstallSchemaMismatch 8467 -#define kNtErrorDsDupLinkId 8468 -#define kNtErrorDsNameErrorResolving 8469 -#define kNtErrorDsNameErrorNotFound 8470 -#define kNtErrorDsNameErrorNotUnique 8471 -#define kNtErrorDsNameErrorNoMapping 8472 -#define kNtErrorDsNameErrorDomainOnly 8473 -#define kNtErrorDsNameErrorNoSyntacticalMapping 8474 -#define kNtErrorDsConstructedAttMod 8475 -#define kNtErrorDsWrongOmObjClass 8476 -#define kNtErrorDsDraReplPending 8477 -#define kNtErrorDsDsRequired 8478 -#define kNtErrorDsInvalidLdapDisplayName 8479 -#define kNtErrorDsNonBaseSearch 8480 -#define kNtErrorDsCantRetrieveAtts 8481 -#define kNtErrorDsBacklinkWithoutLink 8482 -#define kNtErrorDsEpochMismatch 8483 -#define kNtErrorDsSrcNameMismatch 8484 -#define kNtErrorDsSrcAndDstNcIdentical 8485 -#define kNtErrorDsDstNcMismatch 8486 -#define kNtErrorDsNotAuthoritiveForDstNc 8487 -#define kNtErrorDsSrcGuidMismatch 8488 -#define kNtErrorDsCantMoveDeletedObject 8489 -#define kNtErrorDsPdcOperationInProgress 8490 -#define kNtErrorDsCrossDomainCleanupReqd 8491 -#define kNtErrorDsIllegalXdomMoveOperation 8492 -#define kNtErrorDsCantWithAcctGroupMembershps 8493 -#define kNtErrorDsNcMustHaveNcParent 8494 -#define kNtErrorDsCrImpossibleToValidate 8495 -#define kNtErrorDsDstDomainNotNative 8496 -#define kNtErrorDsMissingInfrastructureContainer 8497 -#define kNtErrorDsCantMoveAccountGroup 8498 -#define kNtErrorDsCantMoveResourceGroup 8499 -#define kNtErrorDsInvalidSearchFlag 8500 -#define kNtErrorDsNoTreeDeleteAboveNc 8501 -#define kNtErrorDsCouldntLockTreeForDelete 8502 -#define kNtErrorDsCouldntIdentifyObjectsForTreeDelete 8503 -#define kNtErrorDsSamInitFailure 8504 -#define kNtErrorDsSensitiveGroupViolation 8505 -#define kNtErrorDsCantModPrimarygroupid 8506 -#define kNtErrorDsIllegalBaseSchemaMod 8507 -#define kNtErrorDsNonsafeSchemaChange 8508 -#define kNtErrorDsSchemaUpdateDisallowed 8509 -#define kNtErrorDsCantCreateUnderSchema 8510 -#define kNtErrorDsInstallNoSrcSchVersion 8511 -#define kNtErrorDsInstallNoSchVersionInInifile 8512 -#define kNtErrorDsInvalidGroupType 8513 -#define kNtErrorDsNoNestGlobalgroupInMixeddomain 8514 -#define kNtErrorDsNoNestLocalgroupInMixeddomain 8515 -#define kNtErrorDsGlobalCantHaveLocalMember 8516 -#define kNtErrorDsGlobalCantHaveUniversalMember 8517 -#define kNtErrorDsUniversalCantHaveLocalMember 8518 -#define kNtErrorDsGlobalCantHaveCrossdomainMember 8519 -#define kNtErrorDsLocalCantHaveCrossdomainLocalMember 8520 -#define kNtErrorDsHavePrimaryMembers 8521 -#define kNtErrorDsStringSdConversionFailed 8522 -#define kNtErrorDsNamingMasterGc 8523 -#define kNtErrorDsDnsLookupFailure 8524 -#define kNtErrorDsCouldntUpdateSpns 8525 -#define kNtErrorDsCantRetrieveSd 8526 -#define kNtErrorDsKeyNotUnique 8527 -#define kNtErrorDsWrongLinkedAttSyntax 8528 -#define kNtErrorDsSamNeedBootkeyPassword 8529 -#define kNtErrorDsSamNeedBootkeyFloppy 8530 -#define kNtErrorDsCantStart 8531 -#define kNtErrorDsInitFailure 8532 -#define kNtErrorDsNoPktPrivacyOnConnection 8533 -#define kNtErrorDsSourceDomainInForest 8534 -#define kNtErrorDsDestinationDomainNotInForest 8535 -#define kNtErrorDsDestinationAuditingNotEnabled 8536 -#define kNtErrorDsCantFindDcForSrcDomain 8537 -#define kNtErrorDsSrcObjNotGroupOrUser 8538 -#define kNtErrorDsSrcSidExistsInForest 8539 -#define kNtErrorDsSrcAndDstObjectClassMismatch 8540 -#define kNtErrorSamInitFailure 8541 -#define kNtErrorDsDraSchemaInfoShip 8542 -#define kNtErrorDsDraSchemaConflict 8543 -#define kNtErrorDsDraEarlierSchemaConflict 8544 -#define kNtErrorDsDraObjNcMismatch 8545 -#define kNtErrorDsNcStillHasDsas 8546 -#define kNtErrorDsGcRequired 8547 -#define kNtErrorDsLocalMemberOfLocalOnly 8548 -#define kNtErrorDsNoFpoInUniversalGroups 8549 -#define kNtErrorDsCantAddToGc 8550 -#define kNtErrorDsNoCheckpointWithPdc 8551 -#define kNtErrorDsSourceAuditingNotEnabled 8552 -#define kNtErrorDsCantCreateInNondomainNc 8553 -#define kNtErrorDsInvalidNameForSpn 8554 -#define kNtErrorDsFilterUsesContructedAttrs 8555 -#define kNtErrorDsUnicodepwdNotInQuotes 8556 -#define kNtErrorDsMachineAccountQuotaExceeded 8557 -#define kNtErrorDsMustBeRunOnDstDc 8558 -#define kNtErrorDsSrcDcMustBeSp4OrGreater 8559 -#define kNtErrorDsCantTreeDeleteCriticalObj 8560 -#define kNtErrorDsInitFailureConsole 8561 -#define kNtErrorDsSamInitFailureConsole 8562 -#define kNtErrorDsForestVersionTooHigh 8563 -#define kNtErrorDsDomainVersionTooHigh 8564 -#define kNtErrorDsForestVersionTooLow 8565 -#define kNtErrorDsDomainVersionTooLow 8566 -#define kNtErrorDsIncompatibleVersion 8567 -#define kNtErrorDsLowDsaVersion 8568 -#define kNtErrorDsNoBehaviorVersionInMixeddomain 8569 -#define kNtErrorDsNotSupportedSortOrder 8570 -#define kNtErrorDsNameNotUnique 8571 -#define kNtErrorDsMachineAccountCreatedPrent4 8572 -#define kNtErrorDsOutOfVersionStore 8573 -#define kNtErrorDsIncompatibleControlsUsed 8574 -#define kNtErrorDsNoRefDomain 8575 -#define kNtErrorDsReservedLinkId 8576 -#define kNtErrorDsLinkIdNotAvailable 8577 -#define kNtErrorDsAgCantHaveUniversalMember 8578 -#define kNtErrorDsModifydnDisallowedByInstanceType 8579 -#define kNtErrorDsNoObjectMoveInSchemaNc 8580 -#define kNtErrorDsModifydnDisallowedByFlag 8581 -#define kNtErrorDsModifydnWrongGrandparent 8582 -#define kNtErrorDsNameErrorTrustReferral 8583 -#define kNtErrorNotSupportedOnStandardServer 8584 -#define kNtErrorDsCantAccessRemotePartOfAd 8585 -#define kNtErrorDsCrImpossibleToValidateV2 8586 -#define kNtErrorDsThreadLimitExceeded 8587 -#define kNtErrorDsNotClosest 8588 -#define kNtErrorDsCantDeriveSpnWithoutServerRef 8589 -#define kNtErrorDsSingleUserModeFailed 8590 -#define kNtErrorDsNtdscriptSyntaxError 8591 -#define kNtErrorDsNtdscriptProcessError 8592 -#define kNtErrorDsDifferentReplEpochs 8593 -#define kNtErrorDsDrsExtensionsChanged 8594 -#define kNtErrorDsReplicaSetChangeNotAllowedOnDisabledCr 8595 -#define kNtErrorDsNoMsdsIntid 8596 -#define kNtErrorDsDupMsdsIntid 8597 -#define kNtErrorDsExistsInRdnattid 8598 -#define kNtErrorDsAuthorizationFailed 8599 -#define kNtErrorDsInvalidScript 8600 -#define kNtErrorDsRemoteCrossrefOpFailed 8601 -#define kNtErrorDsCrossRefBusy 8602 -#define kNtErrorDsCantDeriveSpnForDeletedDomain 8603 -#define kNtErrorDsCantDemoteWithWriteableNc 8604 -#define kNtErrorDsDuplicateIdFound 8605 -#define kNtErrorDsInsufficientAttrToCreateObject 8606 -#define kNtErrorDsGroupConversionError 8607 -#define kNtErrorDsCantMoveAppBasicGroup 8608 -#define kNtErrorDsCantMoveAppQueryGroup 8609 -#define kNtErrorDsRoleNotVerified 8610 -#define kNtErrorDsWkoContainerCannotBeSpecial 8611 -#define kNtErrorDsDomainRenameInProgress 8612 -#define kNtErrorDsExistingAdChildNc 8613 -#define kNtErrorDsReplLifetimeExceeded 8614 -#define kNtErrorDsDisallowedInSystemContainer 8615 -#define kNtErrorDsLdapSendQueueFull 8616 -#define kNtErrorDsDraOutScheduleWindow 8617 -#define kNtErrorDsPolicyNotKnown 8618 -#define kNtErrorNoSiteSettingsObject 8619 -#define kNtErrorNoSecrets 8620 -#define kNtErrorNoWritableDcFound 8621 -#define kNtErrorDsNoServerObject 8622 -#define kNtErrorDsNoNtdsaObject 8623 -#define kNtErrorDsNonAsqSearch 8624 -#define kNtErrorDsAuditFailure 8625 -#define kNtErrorDsInvalidSearchFlagSubtree 8626 -#define kNtErrorDsInvalidSearchFlagTuple 8627 -#define kNtErrorDsHierarchyTableTooDeep 8628 -#define kNtErrorDsDraCorruptUtdVector 8629 -#define kNtErrorDsDraSecretsDenied 8630 -#define kNtErrorDsReservedMapiId 8631 -#define kNtErrorDsMapiIdNotAvailable 8632 -#define kNtErrorDsDraMissingKrbtgtSecret 8633 -#define kNtErrorDsDomainNameExistsInForest 8634 -#define kNtErrorDsFlatNameExistsInForest 8635 -#define kNtErrorInvalidUserPrincipalName 8636 -#define kNtErrorDsOidMappedGroupCantHaveMembers 8637 -#define kNtErrorDsOidNotFound 8638 -#define kNtErrorDsDraRecycledTarget 8639 -#define kNtErrorDsDisallowedNcRedirect 8640 -#define kNtErrorDsHighAdldsFfl 8641 -#define kNtErrorDsHighDsaVersion 8642 -#define kNtErrorDsLowAdldsFfl 8643 -#define kNtErrorDomainSidSameAsLocalWorkstation 8644 -#define kNtErrorDsUndeleteSamValidationFailed 8645 -#define kNtErrorIncorrectAccountType 8646 -#define kNtErrorDsSpnValueNotUniqueInForest 8647 -#define kNtErrorDsUpnValueNotUniqueInForest 8648 -#define kNtErrorDsMissingForestTrust 8649 -#define kNtErrorDsValueKeyNotUnique 8650 -#define kNtErrorIpsecQmPolicyExists 13000 -#define kNtErrorIpsecQmPolicyNotFound 13001 -#define kNtErrorIpsecQmPolicyInUse 13002 -#define kNtErrorIpsecMmPolicyExists 13003 -#define kNtErrorIpsecMmPolicyNotFound 13004 -#define kNtErrorIpsecMmPolicyInUse 13005 -#define kNtErrorIpsecMmFilterExists 13006 -#define kNtErrorIpsecMmFilterNotFound 13007 -#define kNtErrorIpsecTransportFilterExists 13008 -#define kNtErrorIpsecTransportFilterNotFound 13009 -#define kNtErrorIpsecMmAuthExists 13010 -#define kNtErrorIpsecMmAuthNotFound 13011 -#define kNtErrorIpsecMmAuthInUse 13012 -#define kNtErrorIpsecDefaultMmPolicyNotFound 13013 -#define kNtErrorIpsecDefaultMmAuthNotFound 13014 -#define kNtErrorIpsecDefaultQmPolicyNotFound 13015 -#define kNtErrorIpsecTunnelFilterExists 13016 -#define kNtErrorIpsecTunnelFilterNotFound 13017 -#define kNtErrorIpsecMmFilterPendingDeletion 13018 -#define kNtErrorIpsecTransportFilterPendingDeletion 13019 -#define kNtErrorIpsecTunnelFilterPendingDeletion 13020 -#define kNtErrorIpsecMmPolicyPendingDeletion 13021 -#define kNtErrorIpsecMmAuthPendingDeletion 13022 -#define kNtErrorIpsecQmPolicyPendingDeletion 13023 -#define kNtErrorIpsecIkeNegStatusBegin 13800 -#define kNtErrorIpsecIkeAuthFail 13801 -#define kNtErrorIpsecIkeAttribFail 13802 -#define kNtErrorIpsecIkeNegotiationPending 13803 -#define kNtErrorIpsecIkeGeneralProcessingError 13804 -#define kNtErrorIpsecIkeTimedOut 13805 -#define kNtErrorIpsecIkeNoCert 13806 -#define kNtErrorIpsecIkeSaDeleted 13807 -#define kNtErrorIpsecIkeSaReaped 13808 -#define kNtErrorIpsecIkeMmAcquireDrop 13809 -#define kNtErrorIpsecIkeQmAcquireDrop 13810 -#define kNtErrorIpsecIkeQueueDropMm 13811 -#define kNtErrorIpsecIkeQueueDropNoMm 13812 -#define kNtErrorIpsecIkeDropNoResponse 13813 -#define kNtErrorIpsecIkeMmDelayDrop 13814 -#define kNtErrorIpsecIkeQmDelayDrop 13815 -#define kNtErrorIpsecIkeError 13816 -#define kNtErrorIpsecIkeCrlFailed 13817 -#define kNtErrorIpsecIkeInvalidKeyUsage 13818 -#define kNtErrorIpsecIkeInvalidCertType 13819 -#define kNtErrorIpsecIkeNoPrivateKey 13820 -#define kNtErrorIpsecIkeSimultaneousRekey 13821 -#define kNtErrorIpsecIkeDhFail 13822 -#define kNtErrorIpsecIkeCriticalPayloadNotRecognized 13823 -#define kNtErrorIpsecIkeInvalidHeader 13824 -#define kNtErrorIpsecIkeNoPolicy 13825 -#define kNtErrorIpsecIkeInvalidSignature 13826 -#define kNtErrorIpsecIkeKerberosError 13827 -#define kNtErrorIpsecIkeNoPublicKey 13828 -#define kNtErrorIpsecIkeProcessErr 13829 -#define kNtErrorIpsecIkeProcessErrSa 13830 -#define kNtErrorIpsecIkeProcessErrProp 13831 -#define kNtErrorIpsecIkeProcessErrTrans 13832 -#define kNtErrorIpsecIkeProcessErrKe 13833 -#define kNtErrorIpsecIkeProcessErrId 13834 -#define kNtErrorIpsecIkeProcessErrCert 13835 -#define kNtErrorIpsecIkeProcessErrCertReq 13836 -#define kNtErrorIpsecIkeProcessErrHash 13837 -#define kNtErrorIpsecIkeProcessErrSig 13838 -#define kNtErrorIpsecIkeProcessErrNonce 13839 -#define kNtErrorIpsecIkeProcessErrNotify 13840 -#define kNtErrorIpsecIkeProcessErrDelete 13841 -#define kNtErrorIpsecIkeProcessErrVendor 13842 -#define kNtErrorIpsecIkeInvalidPayload 13843 -#define kNtErrorIpsecIkeLoadSoftSa 13844 -#define kNtErrorIpsecIkeSoftSaTornDown 13845 -#define kNtErrorIpsecIkeInvalidCookie 13846 -#define kNtErrorIpsecIkeNoPeerCert 13847 -#define kNtErrorIpsecIkePeerCrlFailed 13848 -#define kNtErrorIpsecIkePolicyChange 13849 -#define kNtErrorIpsecIkeNoMmPolicy 13850 -#define kNtErrorIpsecIkeNotcbpriv 13851 -#define kNtErrorIpsecIkeSecloadfail 13852 -#define kNtErrorIpsecIkeFailsspinit 13853 -#define kNtErrorIpsecIkeFailqueryssp 13854 -#define kNtErrorIpsecIkeSrvacqfail 13855 -#define kNtErrorIpsecIkeSrvquerycred 13856 -#define kNtErrorIpsecIkeGetspifail 13857 -#define kNtErrorIpsecIkeInvalidFilter 13858 -#define kNtErrorIpsecIkeOutOfMemory 13859 -#define kNtErrorIpsecIkeAddUpdateKeyFailed 13860 -#define kNtErrorIpsecIkeInvalidPolicy 13861 -#define kNtErrorIpsecIkeUnknownDoi 13862 -#define kNtErrorIpsecIkeInvalidSituation 13863 -#define kNtErrorIpsecIkeDhFailure 13864 -#define kNtErrorIpsecIkeInvalidGroup 13865 -#define kNtErrorIpsecIkeEncrypt 13866 -#define kNtErrorIpsecIkeDecrypt 13867 -#define kNtErrorIpsecIkePolicyMatch 13868 -#define kNtErrorIpsecIkeUnsupportedId 13869 -#define kNtErrorIpsecIkeInvalidHash 13870 -#define kNtErrorIpsecIkeInvalidHashAlg 13871 -#define kNtErrorIpsecIkeInvalidHashSize 13872 -#define kNtErrorIpsecIkeInvalidEncryptAlg 13873 -#define kNtErrorIpsecIkeInvalidAuthAlg 13874 -#define kNtErrorIpsecIkeInvalidSig 13875 -#define kNtErrorIpsecIkeLoadFailed 13876 -#define kNtErrorIpsecIkeRpcDelete 13877 -#define kNtErrorIpsecIkeBenignReinit 13878 -#define kNtErrorIpsecIkeInvalidResponderLifetimeNotify 13879 -#define kNtErrorIpsecIkeInvalidMajorVersion 13880 -#define kNtErrorIpsecIkeInvalidCertKeylen 13881 -#define kNtErrorIpsecIkeMmLimit 13882 -#define kNtErrorIpsecIkeNegotiationDisabled 13883 -#define kNtErrorIpsecIkeQmLimit 13884 -#define kNtErrorIpsecIkeMmExpired 13885 -#define kNtErrorIpsecIkePeerMmAssumedInvalid 13886 -#define kNtErrorIpsecIkeCertChainPolicyMismatch 13887 -#define kNtErrorIpsecIkeUnexpectedMessageId 13888 -#define kNtErrorIpsecIkeInvalidAuthPayload 13889 -#define kNtErrorIpsecIkeDosCookieSent 13890 -#define kNtErrorIpsecIkeShuttingDown 13891 -#define kNtErrorIpsecIkeCgaAuthFailed 13892 -#define kNtErrorIpsecIkeProcessErrNatoa 13893 -#define kNtErrorIpsecIkeInvalidMmForQm 13894 -#define kNtErrorIpsecIkeQmExpired 13895 -#define kNtErrorIpsecIkeTooManyFilters 13896 -#define kNtErrorIpsecIkeNegStatusEnd 13897 -#define kNtErrorIpsecIkeKillDummyNapTunnel 13898 -#define kNtErrorIpsecIkeInnerIpAssignmentFailure 13899 -#define kNtErrorIpsecIkeRequireCpPayloadMissing 13900 -#define kNtErrorIpsecKeyModuleImpersonationNegotiationPending 13901 -#define kNtErrorIpsecIkeCoexistenceSuppress 13902 -#define kNtErrorIpsecIkeRatelimitDrop 13903 -#define kNtErrorIpsecIkePeerDoesntSupportMobike 13904 -#define kNtErrorIpsecIkeAuthorizationFailure 13905 -#define kNtErrorIpsecIkeStrongCredAuthorizationFailure 13906 -#define kNtErrorIpsecIkeAuthorizationFailureWithOptionalRetry 13907 -#define kNtErrorIpsecIkeStrongCredAuthorizationAndCertmapFailure 13908 -#define kNtErrorIpsecIkeNegStatusExtendedEnd 13909 -#define kNtErrorIpsecBadSpi 13910 -#define kNtErrorIpsecSaLifetimeExpired 13911 -#define kNtErrorIpsecWrongSa 13912 -#define kNtErrorIpsecReplayCheckFailed 13913 -#define kNtErrorIpsecInvalidPacket 13914 -#define kNtErrorIpsecIntegrityCheckFailed 13915 -#define kNtErrorIpsecClearTextDrop 13916 -#define kNtErrorIpsecAuthFirewallDrop 13917 -#define kNtErrorIpsecThrottleDrop 13918 -#define kNtErrorIpsecDospBlock 13925 -#define kNtErrorIpsecDospReceivedMulticast 13926 -#define kNtErrorIpsecDospInvalidPacket 13927 -#define kNtErrorIpsecDospStateLookupFailed 13928 -#define kNtErrorIpsecDospMaxEntries 13929 -#define kNtErrorIpsecDospKeymodNotAllowed 13930 -#define kNtErrorIpsecDospNotInstalled 13931 -#define kNtErrorIpsecDospMaxPerIpRatelimitQueues 13932 -#define kNtErrorSxsSectionNotFound 14000 -#define kNtErrorSxsCantGenActctx 14001 -#define kNtErrorSxsInvalidActctxdataFormat 14002 -#define kNtErrorSxsAssemblyNotFound 14003 -#define kNtErrorSxsManifestFormatError 14004 -#define kNtErrorSxsManifestParseError 14005 -#define kNtErrorSxsActivationContextDisabled 14006 -#define kNtErrorSxsKeyNotFound 14007 -#define kNtErrorSxsVersionConflict 14008 -#define kNtErrorSxsWrongSectionType 14009 -#define kNtErrorSxsThreadQueriesDisabled 14010 -#define kNtErrorSxsProcessDefaultAlreadySet 14011 -#define kNtErrorSxsUnknownEncodingGroup 14012 -#define kNtErrorSxsUnknownEncoding 14013 -#define kNtErrorSxsInvalidXmlNamespaceUri 14014 -#define kNtErrorSxsRootManifestDependencyNotInstalled 14015 -#define kNtErrorSxsLeafManifestDependencyNotInstalled 14016 -#define kNtErrorSxsInvalidAssemblyIdentityAttribute 14017 -#define kNtErrorSxsManifestMissingRequiredDefaultNamespace 14018 -#define kNtErrorSxsManifestInvalidRequiredDefaultNamespace 14019 -#define kNtErrorSxsPrivateManifestCrossPathWithReparsePoint 14020 -#define kNtErrorSxsDuplicateDllName 14021 -#define kNtErrorSxsDuplicateWindowclassName 14022 -#define kNtErrorSxsDuplicateClsid 14023 -#define kNtErrorSxsDuplicateIid 14024 -#define kNtErrorSxsDuplicateTlbid 14025 -#define kNtErrorSxsDuplicateProgid 14026 -#define kNtErrorSxsDuplicateAssemblyName 14027 -#define kNtErrorSxsFileHashMismatch 14028 -#define kNtErrorSxsPolicyParseError 14029 -#define kNtErrorSxsXmlEMissingquote 14030 -#define kNtErrorSxsXmlECommentsyntax 14031 -#define kNtErrorSxsXmlEBadstartnamechar 14032 -#define kNtErrorSxsXmlEBadnamechar 14033 -#define kNtErrorSxsXmlEBadcharinstring 14034 -#define kNtErrorSxsXmlEXmldeclsyntax 14035 -#define kNtErrorSxsXmlEBadchardata 14036 -#define kNtErrorSxsXmlEMissingwhitespace 14037 -#define kNtErrorSxsXmlEExpectingtagend 14038 -#define kNtErrorSxsXmlEMissingsemicolon 14039 -#define kNtErrorSxsXmlEUnbalancedparen 14040 -#define kNtErrorSxsXmlEInternalerror 14041 -#define kNtErrorSxsXmlEUnexpectedWhitespace 14042 -#define kNtErrorSxsXmlEIncompleteEncoding 14043 -#define kNtErrorSxsXmlEMissingParen 14044 -#define kNtErrorSxsXmlEExpectingclosequote 14045 -#define kNtErrorSxsXmlEMultipleColons 14046 -#define kNtErrorSxsXmlEInvalidDecimal 14047 -#define kNtErrorSxsXmlEInvalidHexidecimal 14048 -#define kNtErrorSxsXmlEInvalidUnicode 14049 -#define kNtErrorSxsXmlEWhitespaceorquestionmark 14050 -#define kNtErrorSxsXmlEUnexpectedendtag 14051 -#define kNtErrorSxsXmlEUnclosedtag 14052 -#define kNtErrorSxsXmlEDuplicateattribute 14053 -#define kNtErrorSxsXmlEMultipleroots 14054 -#define kNtErrorSxsXmlEInvalidatrootlevel 14055 -#define kNtErrorSxsXmlEBadxmldecl 14056 -#define kNtErrorSxsXmlEMissingroot 14057 -#define kNtErrorSxsXmlEUnexpectedeof 14058 -#define kNtErrorSxsXmlEBadperefinsubset 14059 -#define kNtErrorSxsXmlEUnclosedstarttag 14060 -#define kNtErrorSxsXmlEUnclosedendtag 14061 -#define kNtErrorSxsXmlEUnclosedstring 14062 -#define kNtErrorSxsXmlEUnclosedcomment 14063 -#define kNtErrorSxsXmlEUncloseddecl 14064 -#define kNtErrorSxsXmlEUnclosedcdata 14065 -#define kNtErrorSxsXmlEReservednamespace 14066 -#define kNtErrorSxsXmlEInvalidencoding 14067 -#define kNtErrorSxsXmlEInvalidswitch 14068 -#define kNtErrorSxsXmlEBadxmlcase 14069 -#define kNtErrorSxsXmlEInvalidStandalone 14070 -#define kNtErrorSxsXmlEUnexpectedStandalone 14071 -#define kNtErrorSxsXmlEInvalidVersion 14072 -#define kNtErrorSxsXmlEMissingequals 14073 -#define kNtErrorSxsProtectionRecoveryFailed 14074 -#define kNtErrorSxsProtectionPublicKeyTooShort 14075 -#define kNtErrorSxsProtectionCatalogNotValid 14076 -#define kNtErrorSxsUntranslatableHresult 14077 -#define kNtErrorSxsProtectionCatalogFileMissing 14078 -#define kNtErrorSxsMissingAssemblyIdentityAttribute 14079 -#define kNtErrorSxsInvalidAssemblyIdentityAttributeName 14080 -#define kNtErrorSxsAssemblyMissing 14081 -#define kNtErrorSxsCorruptActivationStack 14082 -#define kNtErrorSxsCorruption 14083 -#define kNtErrorSxsEarlyDeactivation 14084 -#define kNtErrorSxsInvalidDeactivation 14085 -#define kNtErrorSxsMultipleDeactivation 14086 -#define kNtErrorSxsProcessTerminationRequested 14087 -#define kNtErrorSxsReleaseActivationContext 14088 -#define kNtErrorSxsSystemDefaultActivationContextEmpty 14089 -#define kNtErrorSxsInvalidIdentityAttributeValue 14090 -#define kNtErrorSxsInvalidIdentityAttributeName 14091 -#define kNtErrorSxsIdentityDuplicateAttribute 14092 -#define kNtErrorSxsIdentityParseError 14093 -#define kNtErrorMalformedSubstitutionString 14094 -#define kNtErrorSxsIncorrectPublicKeyToken 14095 -#define kNtErrorUnmappedSubstitutionString 14096 -#define kNtErrorSxsAssemblyNotLocked 14097 -#define kNtErrorSxsComponentStoreCorrupt 14098 -#define kNtErrorAdvancedInstallerFailed 14099 -#define kNtErrorXmlEncodingMismatch 14100 -#define kNtErrorSxsManifestIdentitySameButContentsDifferent 14101 -#define kNtErrorSxsIdentitiesDifferent 14102 -#define kNtErrorSxsAssemblyIsNotADeployment 14103 -#define kNtErrorSxsFileNotPartOfAssembly 14104 -#define kNtErrorSxsManifestTooBig 14105 -#define kNtErrorSxsSettingNotRegistered 14106 -#define kNtErrorSxsTransactionClosureIncomplete 14107 -#define kNtErrorSmiPrimitiveInstallerFailed 14108 -#define kNtErrorGenericCommandFailed 14109 -#define kNtErrorSxsFileHashMissing 14110 -#define kNtErrorEvtInvalidChannelPath 15000 -#define kNtErrorEvtInvalidQuery 15001 -#define kNtErrorEvtPublisherMetadataNotFound 15002 -#define kNtErrorEvtEventTemplateNotFound 15003 -#define kNtErrorEvtInvalidPublisherName 15004 -#define kNtErrorEvtInvalidEventData 15005 -#define kNtErrorEvtChannelNotFound 15007 -#define kNtErrorEvtMalformedXmlText 15008 -#define kNtErrorEvtSubscriptionToDirectChannel 15009 -#define kNtErrorEvtConfigurationError 15010 -#define kNtErrorEvtQueryResultStale 15011 -#define kNtErrorEvtQueryResultInvalidPosition 15012 -#define kNtErrorEvtNonValidatingMsxml 15013 -#define kNtErrorEvtFilterAlreadyscoped 15014 -#define kNtErrorEvtFilterNoteltset 15015 -#define kNtErrorEvtFilterInvarg 15016 -#define kNtErrorEvtFilterInvtest 15017 -#define kNtErrorEvtFilterInvtype 15018 -#define kNtErrorEvtFilterParseerr 15019 -#define kNtErrorEvtFilterUnsupportedop 15020 -#define kNtErrorEvtFilterUnexpectedtoken 15021 -#define kNtErrorEvtInvalidOperationOverEnabledDirectChannel 15022 -#define kNtErrorEvtInvalidChannelPropertyValue 15023 -#define kNtErrorEvtInvalidPublisherPropertyValue 15024 -#define kNtErrorEvtChannelCannotActivate 15025 -#define kNtErrorEvtFilterTooComplex 15026 -#define kNtErrorEvtMessageNotFound 15027 -#define kNtErrorEvtMessageIdNotFound 15028 -#define kNtErrorEvtUnresolvedValueInsert 15029 -#define kNtErrorEvtUnresolvedParameterInsert 15030 -#define kNtErrorEvtMaxInsertsReached 15031 -#define kNtErrorEvtEventDefinitionNotFound 15032 -#define kNtErrorEvtMessageLocaleNotFound 15033 -#define kNtErrorEvtVersionTooOld 15034 -#define kNtErrorEvtVersionTooNew 15035 -#define kNtErrorEvtCannotOpenChannelOfQuery 15036 -#define kNtErrorEvtPublisherDisabled 15037 -#define kNtErrorEvtFilterOutOfRange 15038 -#define kNtErrorEcSubscriptionCannotActivate 15080 -#define kNtErrorEcLogDisabled 15081 -#define kNtErrorEcCircularForwarding 15082 -#define kNtErrorEcCredstoreFull 15083 -#define kNtErrorEcCredNotFound 15084 -#define kNtErrorEcNoActiveChannel 15085 -#define kNtErrorMuiFileNotFound 15100 -#define kNtErrorMuiInvalidFile 15101 -#define kNtErrorMuiInvalidRcConfig 15102 -#define kNtErrorMuiInvalidLocaleName 15103 -#define kNtErrorMuiInvalidUltimatefallbackName 15104 -#define kNtErrorMuiFileNotLoaded 15105 -#define kNtErrorResourceEnumUserStop 15106 -#define kNtErrorMuiIntlsettingsUilangNotInstalled 15107 -#define kNtErrorMuiIntlsettingsInvalidLocaleName 15108 -#define kNtErrorMrmRuntimeNoDefaultOrNeutralResource 15110 -#define kNtErrorMrmInvalidPriconfig 15111 -#define kNtErrorMrmInvalidFileType 15112 -#define kNtErrorMrmUnknownQualifier 15113 -#define kNtErrorMrmInvalidQualifierValue 15114 -#define kNtErrorMrmNoCandidate 15115 -#define kNtErrorMrmNoMatchOrDefaultCandidate 15116 -#define kNtErrorMrmResourceTypeMismatch 15117 -#define kNtErrorMrmDuplicateMapName 15118 -#define kNtErrorMrmDuplicateEntry 15119 -#define kNtErrorMrmInvalidResourceIdentifier 15120 -#define kNtErrorMrmFilepathTooLong 15121 -#define kNtErrorMrmUnsupportedDirectoryType 15122 -#define kNtErrorMrmInvalidPriFile 15126 -#define kNtErrorMrmNamedResourceNotFound 15127 -#define kNtErrorMrmMapNotFound 15135 -#define kNtErrorMrmUnsupportedProfileType 15136 -#define kNtErrorMrmInvalidQualifierOperator 15137 -#define kNtErrorMrmIndeterminateQualifierValue 15138 -#define kNtErrorMrmAutomergeEnabled 15139 -#define kNtErrorMrmTooManyResources 15140 -#define kNtErrorMrmUnsupportedFileTypeForMerge 15141 -#define kNtErrorMrmUnsupportedFileTypeForLoadUnloadPriFile 15142 -#define kNtErrorMrmNoCurrentViewOnThread 15143 -#define kNtErrorDifferentProfileResourceManagerExist 15144 -#define kNtErrorOperationNotAllowedFromSystemComponent 15145 -#define kNtErrorMrmDirectRefToNonDefaultResource 15146 -#define kNtErrorMrmGenerationCountMismatch 15147 -#define kNtErrorPriMergeVersionMismatch 15148 -#define kNtErrorPriMergeMissingSchema 15149 -#define kNtErrorPriMergeLoadFileFailed 15150 -#define kNtErrorPriMergeAddFileFailed 15151 -#define kNtErrorPriMergeWriteFileFailed 15152 -#define kNtErrorPriMergeMultiplePackageFamiliesNotAllowed 15153 -#define kNtErrorPriMergeMultipleMainPackagesNotAllowed 15154 -#define kNtErrorPriMergeBundlePackagesNotAllowed 15155 -#define kNtErrorPriMergeMainPackageRequired 15156 -#define kNtErrorPriMergeResourcePackageRequired 15157 -#define kNtErrorPriMergeInvalidFileName 15158 -#define kNtErrorMcaInvalidCapabilitiesString 15200 -#define kNtErrorMcaInvalidVcpVersion 15201 -#define kNtErrorMcaMonitorViolatesMccsSpecification 15202 -#define kNtErrorMcaMccsVersionMismatch 15203 -#define kNtErrorMcaUnsupportedMccsVersion 15204 -#define kNtErrorMcaInternalError 15205 -#define kNtErrorMcaInvalidTechnologyTypeReturned 15206 -#define kNtErrorMcaUnsupportedColorTemperature 15207 -#define kNtErrorAmbiguousSystemDevice 15250 -#define kNtErrorSystemDeviceNotFound 15299 -#define kNtErrorHashNotSupported 15300 -#define kNtErrorHashNotPresent 15301 -#define kNtErrorSecondaryIcProviderNotRegistered 15321 -#define kNtErrorGpioClientInformationInvalid 15322 -#define kNtErrorGpioVersionNotSupported 15323 -#define kNtErrorGpioInvalidRegistrationPacket 15324 -#define kNtErrorGpioOperationDenied 15325 -#define kNtErrorGpioIncompatibleConnectMode 15326 -#define kNtErrorGpioInterruptAlreadyUnmasked 15327 -#define kNtErrorCannotSwitchRunlevel 15400 -#define kNtErrorInvalidRunlevelSetting 15401 -#define kNtErrorRunlevelSwitchTimeout 15402 -#define kNtErrorRunlevelSwitchAgentTimeout 15403 -#define kNtErrorRunlevelSwitchInProgress 15404 -#define kNtErrorServicesFailedAutostart 15405 -#define kNtErrorComTaskStopPending 15501 -#define kNtErrorInstallOpenPackageFailed 15600 -#define kNtErrorInstallPackageNotFound 15601 -#define kNtErrorInstallInvalidPackage 15602 -#define kNtErrorInstallResolveDependencyFailed 15603 -#define kNtErrorInstallOutOfDiskSpace 15604 -#define kNtErrorInstallNetworkFailure 15605 -#define kNtErrorInstallRegistrationFailure 15606 -#define kNtErrorInstallDeregistrationFailure 15607 -#define kNtErrorInstallCancel 15608 -#define kNtErrorInstallFailed 15609 -#define kNtErrorRemoveFailed 15610 -#define kNtErrorPackageAlreadyExists 15611 -#define kNtErrorNeedsRemediation 15612 -#define kNtErrorInstallPrerequisiteFailed 15613 -#define kNtErrorPackageRepositoryCorrupted 15614 -#define kNtErrorInstallPolicyFailure 15615 -#define kNtErrorPackageUpdating 15616 -#define kNtErrorDeploymentBlockedByPolicy 15617 -#define kNtErrorPackagesInUse 15618 -#define kNtErrorRecoveryFileCorrupt 15619 -#define kNtErrorInvalidStagedSignature 15620 -#define kNtErrorDeletingExistingApplicationdataStoreFailed 15621 -#define kNtErrorInstallPackageDowngrade 15622 -#define kNtErrorSystemNeedsRemediation 15623 -#define kNtErrorAppxIntegrityFailureClrNgen 15624 -#define kNtErrorResiliencyFileCorrupt 15625 -#define kNtErrorInstallFirewallServiceNotRunning 15626 -#define kNtErrorPackageMoveFailed 15627 -#define kNtErrorInstallVolumeNotEmpty 15628 -#define kNtErrorInstallVolumeOffline 15629 -#define kNtErrorInstallVolumeCorrupt 15630 -#define kNtErrorNeedsRegistration 15631 -#define kNtErrorInstallWrongProcessorArchitecture 15632 -#define kNtErrorDevSideloadLimitExceeded 15633 -#define kNtErrorInstallOptionalPackageRequiresMainPackage 15634 -#define kNtErrorPackageNotSupportedOnFilesystem 15635 -#define kNtErrorPackageMoveBlockedByStreaming 15636 -#define kNtErrorInstallOptionalPackageApplicationidNotUnique 15637 -#define kNtErrorPackageStagingOnhold 15638 -#define kNtErrorInstallInvalidRelatedSetUpdate 15639 -#define kNtErrorPackagesReputationCheckFailed 15643 -#define kNtErrorPackagesReputationCheckTimedout 15644 -#define kNtErrorStateLoadStoreFailed 15800 -#define kNtErrorStateGetVersionFailed 15801 -#define kNtErrorStateSetVersionFailed 15802 -#define kNtErrorStateStructuredResetFailed 15803 -#define kNtErrorStateOpenContainerFailed 15804 -#define kNtErrorStateCreateContainerFailed 15805 -#define kNtErrorStateDeleteContainerFailed 15806 -#define kNtErrorStateReadSettingFailed 15807 -#define kNtErrorStateWriteSettingFailed 15808 -#define kNtErrorStateDeleteSettingFailed 15809 -#define kNtErrorStateQuerySettingFailed 15810 -#define kNtErrorStateReadCompositeSettingFailed 15811 -#define kNtErrorStateWriteCompositeSettingFailed 15812 -#define kNtErrorStateEnumerateContainerFailed 15813 -#define kNtErrorStateEnumerateSettingsFailed 15814 -#define kNtErrorStateCompositeSettingValueSizeLimitExceeded 15815 -#define kNtErrorStateSettingValueSizeLimitExceeded 15816 -#define kNtErrorStateSettingNameSizeLimitExceeded 15817 -#define kNtErrorStateContainerNameSizeLimitExceeded 15818 -#define kNtErrorApiUnavailable 15841 - -#define kNtWaitIoCompletion 0xc0 - -/* WinSock Error Codes: 10000-11999 */ -#define WSABASEERR 10000 -#define WSAEINTR 10004 -#define WSAEBADF 10009 -#define WSAEACCES 10013 -#define WSAEFAULT 10014 -#define WSAEINVAL 10022 -#define WSAEMFILE 10024 -#define WSAEWOULDBLOCK 10035 -#define WSAEINPROGRESS 10036 -#define WSAEALREADY 10037 -#define WSAENOTSOCK 10038 -#define WSAEDESTADDRREQ 10039 -#define WSAEMSGSIZE 10040 -#define WSAEPROTOTYPE 10041 -#define WSAENOPROTOOPT 10042 -#define WSAEPROTONOSUPPORT 10043 -#define WSAESOCKTNOSUPPORT 10044 -#define WSAEOPNOTSUPP 10045 -#define WSAEPFNOSUPPORT 10046 -#define WSAEAFNOSUPPORT 10047 -#define WSAEADDRINUSE 10048 -#define WSAEADDRNOTAVAIL 10049 -#define WSAENETDOWN 10050 -#define WSAENETUNREACH 10051 -#define WSAENETRESET 10052 -#define WSAECONNABORTED 10053 -#define WSAECONNRESET 10054 -#define WSAENOBUFS 10055 -#define WSAEISCONN 10056 -#define WSAENOTCONN 10057 -#define WSAESHUTDOWN 10058 -#define WSAETOOMANYREFS 10059 -#define WSAETIMEDOUT 10060 -#define WSAECONNREFUSED 10061 -#define WSAELOOP 10062 -#define WSAENAMETOOLONG 10063 -#define WSAEHOSTDOWN 10064 -#define WSAEHOSTUNREACH 10065 -#define WSAENOTEMPTY 10066 -#define WSAEPROCLIM 10067 -#define WSAEUSERS 10068 -#define WSAEDQUOT 10069 -#define WSAESTALE 10070 -#define WSAEREMOTE 10071 -#define WSASYSNOTREADY 10091 -#define WSAVERNOTSUPPORTED 10092 -#define WSANOTINITIALISED 10093 -#define WSAEDISCON 10101 -#define WSAENOMORE 10102 -#define WSAECANCELLED 10103 -#define WSAEINVALIDPROCTABLE 10104 -#define WSAEINVALIDPROVIDER 10105 -#define WSAEPROVIDERFAILEDINIT 10106 -#define WSASYSCALLFAILURE 10107 -#define WSASERVICE_NOT_FOUND 10108 -#define WSATYPE_NOT_FOUND 10109 -#define WSA_E_NO_MORE 10110 -#define WSA_E_CANCELLED 10111 -#define WSAEREFUSED 10112 -#define WSAHOST_NOT_FOUND 11001 -#define WSATRY_AGAIN 11002 -#define WSANO_RECOVERY 11003 -#define WSANO_DATA 11004 -#define WSA_QOS_RECEIVERS 11005 -#define WSA_QOS_SENDERS 11006 -#define WSA_QOS_NO_SENDERS 11007 -#define WSA_QOS_NO_RECEIVERS 11008 -#define WSA_QOS_REQUEST_CONFIRMED 11009 -#define WSA_QOS_ADMISSION_FAILURE 11010 -#define WSA_QOS_POLICY_FAILURE 11011 -#define WSA_QOS_BAD_STYLE 11012 -#define WSA_QOS_BAD_OBJECT 11013 -#define WSA_QOS_TRAFFIC_CTRL_ERROR 11014 -#define WSA_QOS_GENERIC_ERROR 11015 -#define WSA_QOS_ESERVICETYPE 11016 -#define WSA_QOS_EFLOWSPEC 11017 -#define WSA_QOS_EPROVSPECBUF 11018 -#define WSA_QOS_EFILTERSTYLE 11019 -#define WSA_QOS_EFILTERTYPE 11020 -#define WSA_QOS_EFILTERCOUNT 11021 -#define WSA_QOS_EOBJLENGTH 11022 -#define WSA_QOS_EFLOWCOUNT 11023 -#define WSA_QOS_EUNKOWNPSOBJ 11024 -#define WSA_QOS_EPOLICYOBJ 11025 -#define WSA_QOS_EFLOWDESC 11026 -#define WSA_QOS_EPSFLOWSPEC 11027 -#define WSA_QOS_EPSFILTERSPEC 11028 -#define WSA_QOS_ESDMODEOBJ 11029 -#define WSA_QOS_ESHAPERATEOBJ 11030 -#define WSA_QOS_RESERVED_PETYPE 11031 -#define WSA_SECURE_HOST_NOT_FOUND 11032 -#define WSA_IPSEC_NAME_POLICY_ERROR 11033 - -#define WSA_WAIT_FAILED -1u -#define WSA_WAIT_EVENT_0 0 -#define WSA_WAIT_IO_COMPLETION 0xc0 -#define WSA_WAIT_TIMEOUT 258 -#define WSA_MAXIMUM_WAIT_EVENTS 64 -#define WSA_IO_PENDING 997 - -#endif /* COSMOPOLITAN_NT_ERRORS_H_ */ /*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞══════════════════════════════════════════════════════════════════════════════╡ diff --git a/libc/calls/sig.internal.h b/libc/calls/sig.internal.h index 1d0712221..f680772aa 100644 --- a/libc/calls/sig.internal.h +++ b/libc/calls/sig.internal.h @@ -28,14 +28,14 @@ struct Signals { extern struct Signals __sig; extern atomic_long __sig_count; -bool __sig_check(bool) hidden; -bool __sig_handle(bool, int, int, ucontext_t *) hidden; -int __sig_add(int, int, int) hidden; -int __sig_mask(int, const sigset_t *, sigset_t *) hidden; -int __sig_raise(int, int) hidden; -void __sig_check_ignore(const int, const unsigned) hidden; -void __sig_pending(sigset_t *) hidden; -int __sig_is_applicable(struct Signal *) hidden; +bool __sig_check(bool) _Hide; +bool __sig_handle(bool, int, int, ucontext_t *) _Hide; +int __sig_add(int, int, int) _Hide; +int __sig_mask(int, const sigset_t *, sigset_t *) _Hide; +int __sig_raise(int, int) _Hide; +void __sig_check_ignore(const int, const unsigned) _Hide; +void __sig_pending(sigset_t *) _Hide; +int __sig_is_applicable(struct Signal *) _Hide; COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ diff --git a/libc/calls/sigtimedwait.internal.h b/libc/calls/sigtimedwait.internal.h index fa6e8bd8e..e9db2f4f8 100644 --- a/libc/calls/sigtimedwait.internal.h +++ b/libc/calls/sigtimedwait.internal.h @@ -7,7 +7,7 @@ COSMOPOLITAN_C_START_ int sys_sigtimedwait(const sigset_t *, union siginfo_meta *, - const struct timespec *, size_t) hidden; + const struct timespec *, size_t) _Hide; COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ diff --git a/libc/calls/state.internal.h b/libc/calls/state.internal.h index 909b529e5..0c5be6f63 100644 --- a/libc/calls/state.internal.h +++ b/libc/calls/state.internal.h @@ -6,13 +6,13 @@ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ -hidden extern int __vforked; -hidden extern bool __time_critical; -hidden extern unsigned __sighandrvas[NSIG]; -hidden extern unsigned __sighandflags[NSIG]; -hidden extern pthread_mutex_t __fds_lock_obj; -hidden extern pthread_mutex_t __sig_lock_obj; -hidden extern const struct NtSecurityAttributes kNtIsInheritable; +_Hide extern int __vforked; +_Hide extern bool __time_critical; +_Hide extern unsigned __sighandrvas[NSIG]; +_Hide extern unsigned __sighandflags[NSIG]; +_Hide extern pthread_mutex_t __fds_lock_obj; +_Hide extern pthread_mutex_t __sig_lock_obj; +_Hide extern const struct NtSecurityAttributes kNtIsInheritable; void __fds_lock(void); void __fds_unlock(void); diff --git a/libc/calls/struct/iovec.internal.h b/libc/calls/struct/iovec.internal.h index 2f4c4c4ef..bbec95b22 100644 --- a/libc/calls/struct/iovec.internal.h +++ b/libc/calls/struct/iovec.internal.h @@ -6,24 +6,24 @@ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ -int64_t sys_preadv(int, struct iovec *, int, int64_t, int64_t) hidden; -int64_t sys_pwritev(int, const struct iovec *, int, int64_t, int64_t) hidden; -int64_t sys_readv(int32_t, const struct iovec *, int32_t) hidden; -int64_t sys_vmsplice(int, const struct iovec *, int64_t, uint32_t) hidden; -int64_t sys_writev(int32_t, const struct iovec *, int32_t) hidden; -size_t __iovec_size(const struct iovec *, size_t) hidden; +int64_t sys_preadv(int, struct iovec *, int, int64_t, int64_t) _Hide; +int64_t sys_pwritev(int, const struct iovec *, int, int64_t, int64_t) _Hide; +int64_t sys_readv(int32_t, const struct iovec *, int32_t) _Hide; +int64_t sys_vmsplice(int, const struct iovec *, int64_t, uint32_t) _Hide; +int64_t sys_writev(int32_t, const struct iovec *, int32_t) _Hide; +size_t __iovec_size(const struct iovec *, size_t) _Hide; ssize_t WritevUninterruptible(int, struct iovec *, int); -ssize_t sys_read_nt(struct Fd *, const struct iovec *, size_t, ssize_t) hidden; -ssize_t sys_readv_metal(struct Fd *, const struct iovec *, int) hidden; -ssize_t sys_readv_nt(struct Fd *, const struct iovec *, int) hidden; -ssize_t sys_readv_serial(struct Fd *, const struct iovec *, int) hidden; -ssize_t sys_write_nt(int, const struct iovec *, size_t, ssize_t) hidden; -ssize_t sys_writev_metal(struct Fd *, const struct iovec *, int) hidden; -ssize_t sys_writev_nt(int, const struct iovec *, int) hidden; -ssize_t sys_writev_serial(struct Fd *, const struct iovec *, int) hidden; -ssize_t sys_send_nt(int, const struct iovec *, size_t, uint32_t) hidden; +ssize_t sys_read_nt(struct Fd *, const struct iovec *, size_t, ssize_t) _Hide; +ssize_t sys_readv_metal(struct Fd *, const struct iovec *, int) _Hide; +ssize_t sys_readv_nt(struct Fd *, const struct iovec *, int) _Hide; +ssize_t sys_readv_serial(struct Fd *, const struct iovec *, int) _Hide; +ssize_t sys_write_nt(int, const struct iovec *, size_t, ssize_t) _Hide; +ssize_t sys_writev_metal(struct Fd *, const struct iovec *, int) _Hide; +ssize_t sys_writev_nt(int, const struct iovec *, int) _Hide; +ssize_t sys_writev_serial(struct Fd *, const struct iovec *, int) _Hide; +ssize_t sys_send_nt(int, const struct iovec *, size_t, uint32_t) _Hide; ssize_t sys_sendto_nt(int, const struct iovec *, size_t, uint32_t, void *, - uint32_t) hidden; + uint32_t) _Hide; const char *DescribeIovec(char[300], ssize_t, const struct iovec *, int); #define DescribeIovec(x, y, z) DescribeIovec(alloca(300), x, y, z) diff --git a/libc/calls/struct/itimerval.internal.h b/libc/calls/struct/itimerval.internal.h index 002124fb0..3a1437a20 100644 --- a/libc/calls/struct/itimerval.internal.h +++ b/libc/calls/struct/itimerval.internal.h @@ -5,9 +5,9 @@ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ -int sys_getitimer(int, struct itimerval *) hidden; -int sys_setitimer(int, const struct itimerval *, struct itimerval *) hidden; -int sys_setitimer_nt(int, const struct itimerval *, struct itimerval *) hidden; +int sys_getitimer(int, struct itimerval *) _Hide; +int sys_setitimer(int, const struct itimerval *, struct itimerval *) _Hide; +int sys_setitimer_nt(int, const struct itimerval *, struct itimerval *) _Hide; const char *DescribeTimeval(char[45], int, const struct timeval *); #define DescribeTimeval(rc, ts) DescribeTimeval(alloca(45), rc, ts) diff --git a/libc/calls/struct/metastat.internal.h b/libc/calls/struct/metastat.internal.h index 2e2f71965..5184e5043 100644 --- a/libc/calls/struct/metastat.internal.h +++ b/libc/calls/struct/metastat.internal.h @@ -94,7 +94,7 @@ union metastat { struct stat_netbsd netbsd; }; -void __stat2cosmo(struct stat *restrict, const union metastat *) hidden; +void __stat2cosmo(struct stat *restrict, const union metastat *) _Hide; COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ diff --git a/libc/calls/struct/rlimit.internal.h b/libc/calls/struct/rlimit.internal.h index 047cd6ddb..895c717db 100644 --- a/libc/calls/struct/rlimit.internal.h +++ b/libc/calls/struct/rlimit.internal.h @@ -5,9 +5,9 @@ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ -int sys_getrlimit(int, struct rlimit *) hidden; -int sys_setrlimit(int, const struct rlimit *) hidden; -int sys_setrlimit_nt(int, const struct rlimit *) hidden; +int sys_getrlimit(int, struct rlimit *) _Hide; +int sys_setrlimit(int, const struct rlimit *) _Hide; +int sys_setrlimit_nt(int, const struct rlimit *) _Hide; const char *DescribeRlimit(char[64], int, const struct rlimit *); #define DescribeRlimit(rc, rl) DescribeRlimit(alloca(64), rc, rl) diff --git a/libc/calls/struct/rusage.internal.h b/libc/calls/struct/rusage.internal.h index 50e7394d5..7038721d3 100644 --- a/libc/calls/struct/rusage.internal.h +++ b/libc/calls/struct/rusage.internal.h @@ -4,12 +4,12 @@ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ -int __sys_getrusage(int, struct rusage *) hidden; -int __sys_wait4(int, int *, int, struct rusage *) hidden; -int sys_getrusage(int, struct rusage *) hidden; -int sys_wait4(int, int *, int, struct rusage *) hidden; -void __rusage2linux(struct rusage *) hidden; -int sys_getrusage_nt(int, struct rusage *) hidden; +int __sys_getrusage(int, struct rusage *) _Hide; +int __sys_wait4(int, int *, int, struct rusage *) _Hide; +int sys_getrusage(int, struct rusage *) _Hide; +int sys_wait4(int, int *, int, struct rusage *) _Hide; +void __rusage2linux(struct rusage *) _Hide; +int sys_getrusage_nt(int, struct rusage *) _Hide; COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ diff --git a/libc/calls/struct/sigaction.internal.h b/libc/calls/struct/sigaction.internal.h index e033a4f3f..fbb10c14e 100644 --- a/libc/calls/struct/sigaction.internal.h +++ b/libc/calls/struct/sigaction.internal.h @@ -54,11 +54,11 @@ union metasigaction { struct sigaction_xnu_out xnu_out; }; -void __sigenter_xnu(int, struct siginfo *, void *) hidden; -void __sigenter_wsl(int, struct siginfo *, void *) hidden; -void __sigenter_netbsd(int, struct siginfo *, void *) hidden; -void __sigenter_freebsd(int, struct siginfo *, void *) hidden; -void __sigenter_openbsd(int, struct siginfo *, void *) hidden; +void __sigenter_xnu(int, struct siginfo *, void *) _Hide; +void __sigenter_wsl(int, struct siginfo *, void *) _Hide; +void __sigenter_netbsd(int, struct siginfo *, void *) _Hide; +void __sigenter_freebsd(int, struct siginfo *, void *) _Hide; +void __sigenter_openbsd(int, struct siginfo *, void *) _Hide; const char *DescribeSigaction(char[256], int, const struct sigaction *); #define DescribeSigaction(rc, sa) DescribeSigaction(alloca(256), rc, sa) diff --git a/libc/calls/struct/siginfo-meta.internal.h b/libc/calls/struct/siginfo-meta.internal.h index af991303b..9ae0a9fc7 100644 --- a/libc/calls/struct/siginfo-meta.internal.h +++ b/libc/calls/struct/siginfo-meta.internal.h @@ -16,7 +16,7 @@ union siginfo_meta { struct siginfo_netbsd netbsd; }; -void __siginfo2cosmo(struct siginfo *, const union siginfo_meta *) hidden; +void __siginfo2cosmo(struct siginfo *, const union siginfo_meta *) _Hide; COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ diff --git a/libc/calls/struct/siginfo.internal.h b/libc/calls/struct/siginfo.internal.h index 83d1509ee..931a8cfce 100644 --- a/libc/calls/struct/siginfo.internal.h +++ b/libc/calls/struct/siginfo.internal.h @@ -5,7 +5,7 @@ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ -int sys_sigqueueinfo(int, const siginfo_t *) hidden; +int sys_sigqueueinfo(int, const siginfo_t *) _Hide; const char *DescribeSiginfo(char[300], int, const siginfo_t *); #define DescribeSiginfo(x, y) DescribeSiginfo(alloca(300), x, y) diff --git a/libc/calls/struct/sigset.internal.h b/libc/calls/struct/sigset.internal.h index 5b145056c..05b5674d7 100644 --- a/libc/calls/struct/sigset.internal.h +++ b/libc/calls/struct/sigset.internal.h @@ -6,10 +6,10 @@ COSMOPOLITAN_C_START_ int __sys_sigprocmask(int, const struct sigset *, struct sigset *, - uint64_t) hidden; -int sys_sigprocmask(int, const struct sigset *, struct sigset *) hidden; -int sys_sigsuspend(const struct sigset *, uint64_t) hidden; -int sys_sigpending(struct sigset *, size_t) hidden; + uint64_t) _Hide; +int sys_sigprocmask(int, const struct sigset *, struct sigset *) _Hide; +int sys_sigsuspend(const struct sigset *, uint64_t) _Hide; +int sys_sigpending(struct sigset *, size_t) _Hide; const char *DescribeSigset(char[128], int, const sigset_t *); #define DescribeSigset(rc, ss) DescribeSigset(alloca(128), rc, ss) diff --git a/libc/calls/struct/sigval.internal.h b/libc/calls/struct/sigval.internal.h index fac03f807..45e704b39 100644 --- a/libc/calls/struct/sigval.internal.h +++ b/libc/calls/struct/sigval.internal.h @@ -4,7 +4,7 @@ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ -int sys_sigqueue(int, int, const union sigval) hidden; +int sys_sigqueue(int, int, const union sigval) _Hide; COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ diff --git a/libc/calls/struct/stat.internal.h b/libc/calls/struct/stat.internal.h index 666bd2a55..6b4766793 100644 --- a/libc/calls/struct/stat.internal.h +++ b/libc/calls/struct/stat.internal.h @@ -5,11 +5,11 @@ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ -int sys_fstat(int, struct stat *) hidden; -int sys_fstatat(int, const char *, struct stat *, int) hidden; -int sys_fstat_nt(int64_t, struct stat *) hidden; -int sys_fstatat_nt(int, const char *, struct stat *, int) hidden; -int sys_lstat_nt(const char *, struct stat *) hidden; +int sys_fstat(int, struct stat *) _Hide; +int sys_fstatat(int, const char *, struct stat *, int) _Hide; +int sys_fstat_nt(int64_t, struct stat *) _Hide; +int sys_fstatat_nt(int, const char *, struct stat *, int) _Hide; +int sys_lstat_nt(const char *, struct stat *) _Hide; int sys_fstat_metal(int, struct stat *); const char *DescribeStat(char[300], int, const struct stat *); diff --git a/libc/calls/struct/statfs-meta.internal.h b/libc/calls/struct/statfs-meta.internal.h index 19ac16dad..2443cb4c9 100644 --- a/libc/calls/struct/statfs-meta.internal.h +++ b/libc/calls/struct/statfs-meta.internal.h @@ -17,7 +17,7 @@ union statfs_meta { struct statfs_netbsd netbsd; }; -void statfs2cosmo(struct statfs *, const union statfs_meta *) hidden; +void statfs2cosmo(struct statfs *, const union statfs_meta *) _Hide; COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ diff --git a/libc/calls/struct/sysinfo.internal.h b/libc/calls/struct/sysinfo.internal.h index ed728e02d..2c2fcef24 100644 --- a/libc/calls/struct/sysinfo.internal.h +++ b/libc/calls/struct/sysinfo.internal.h @@ -4,8 +4,8 @@ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ -int sys_sysinfo(struct sysinfo *) hidden; -int sys_sysinfo_nt(struct sysinfo *) hidden; +int sys_sysinfo(struct sysinfo *) _Hide; +int sys_sysinfo_nt(struct sysinfo *) _Hide; COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ diff --git a/libc/calls/struct/timespec.internal.h b/libc/calls/struct/timespec.internal.h index 88c6b2577..b7853f6c2 100644 --- a/libc/calls/struct/timespec.internal.h +++ b/libc/calls/struct/timespec.internal.h @@ -6,24 +6,24 @@ COSMOPOLITAN_C_START_ /* clang-format off */ -int __sys_clock_nanosleep(int, int, const struct timespec *, struct timespec *) hidden; -int __sys_utimensat(int, const char *, const struct timespec[2], int) hidden; -int __utimens(int, const char *, const struct timespec[2], int) hidden; -int sys_clock_getres(int, struct timespec *) hidden; -int sys_clock_gettime(int, struct timespec *) hidden; -int sys_clock_gettime_nt(int, struct timespec *) hidden; -int sys_clock_gettime_xnu(int, struct timespec *) hidden; -int sys_clock_nanosleep_nt(int, int, const struct timespec *, struct timespec *) hidden; -int sys_clock_nanosleep_openbsd(int, int, const struct timespec *, struct timespec *) hidden; -int sys_clock_nanosleep_xnu(int, int, const struct timespec *, struct timespec *) hidden; -int sys_futimens(int, const struct timespec[2]) hidden; -int sys_nanosleep(const struct timespec *, struct timespec *) hidden; -int sys_nanosleep_nt(const struct timespec *, struct timespec *) hidden; -int sys_nanosleep_xnu(const struct timespec *, struct timespec *) hidden; -int sys_sem_timedwait(int64_t, const struct timespec *) hidden; -int sys_utimensat(int, const char *, const struct timespec[2], int) hidden; -int sys_utimensat_nt(int, const char *, const struct timespec[2], int) hidden; -int sys_utimensat_xnu(int, const char *, const struct timespec[2], int) hidden; +int __sys_clock_nanosleep(int, int, const struct timespec *, struct timespec *) _Hide; +int __sys_utimensat(int, const char *, const struct timespec[2], int) _Hide; +int __utimens(int, const char *, const struct timespec[2], int) _Hide; +int sys_clock_getres(int, struct timespec *) _Hide; +int sys_clock_gettime(int, struct timespec *) _Hide; +int sys_clock_gettime_nt(int, struct timespec *) _Hide; +int sys_clock_gettime_xnu(int, struct timespec *) _Hide; +int sys_clock_nanosleep_nt(int, int, const struct timespec *, struct timespec *) _Hide; +int sys_clock_nanosleep_openbsd(int, int, const struct timespec *, struct timespec *) _Hide; +int sys_clock_nanosleep_xnu(int, int, const struct timespec *, struct timespec *) _Hide; +int sys_futimens(int, const struct timespec[2]) _Hide; +int sys_nanosleep(const struct timespec *, struct timespec *) _Hide; +int sys_nanosleep_nt(const struct timespec *, struct timespec *) _Hide; +int sys_nanosleep_xnu(const struct timespec *, struct timespec *) _Hide; +int sys_sem_timedwait(int64_t, const struct timespec *) _Hide; +int sys_utimensat(int, const char *, const struct timespec[2], int) _Hide; +int sys_utimensat_nt(int, const char *, const struct timespec[2], int) _Hide; +int sys_utimensat_xnu(int, const char *, const struct timespec[2], int) _Hide; const char *DescribeTimespec(char[45], int, const struct timespec *); #define DescribeTimespec(rc, ts) DescribeTimespec(alloca(45), rc, ts) diff --git a/libc/calls/struct/timeval.internal.h b/libc/calls/struct/timeval.internal.h index aced4ef43..e95204326 100644 --- a/libc/calls/struct/timeval.internal.h +++ b/libc/calls/struct/timeval.internal.h @@ -5,14 +5,14 @@ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ -axdx_t sys_gettimeofday(struct timeval *, struct timezone *, void *) hidden; -int sys_futimes(int, const struct timeval *) hidden; -int sys_futimesat(int, const char *, const struct timeval *) hidden; -int sys_lutimes(const char *, const struct timeval *) hidden; -int sys_utimes(const char *, const struct timeval *) hidden; -axdx_t sys_gettimeofday_xnu(struct timeval *, struct timezone *, void *) hidden; -axdx_t sys_gettimeofday_nt(struct timeval *, struct timezone *, void *) hidden; -int sys_utimes_nt(const char *, const struct timeval[2]) hidden; +axdx_t sys_gettimeofday(struct timeval *, struct timezone *, void *) _Hide; +int sys_futimes(int, const struct timeval *) _Hide; +int sys_futimesat(int, const char *, const struct timeval *) _Hide; +int sys_lutimes(const char *, const struct timeval *) _Hide; +int sys_utimes(const char *, const struct timeval *) _Hide; +axdx_t sys_gettimeofday_xnu(struct timeval *, struct timezone *, void *) _Hide; +axdx_t sys_gettimeofday_nt(struct timeval *, struct timezone *, void *) _Hide; +int sys_utimes_nt(const char *, const struct timeval[2]) _Hide; axdx_t sys_gettimeofday_metal(struct timeval *, struct timezone *, void *); COSMOPOLITAN_C_END_ diff --git a/libc/calls/struct/ucontext.internal.h b/libc/calls/struct/ucontext.internal.h index 1ed5230c8..a39d38036 100644 --- a/libc/calls/struct/ucontext.internal.h +++ b/libc/calls/struct/ucontext.internal.h @@ -5,8 +5,8 @@ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ -void _ntcontext2linux(struct ucontext *, const struct NtContext *) hidden; -void _ntlinux2context(struct NtContext *, const ucontext_t *) hidden; +void _ntcontext2linux(struct ucontext *, const struct NtContext *) _Hide; +void _ntlinux2context(struct NtContext *, const ucontext_t *) _Hide; COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ diff --git a/libc/calls/struct/winsize.internal.h b/libc/calls/struct/winsize.internal.h index f8e7c9777..f59ebc89e 100644 --- a/libc/calls/struct/winsize.internal.h +++ b/libc/calls/struct/winsize.internal.h @@ -5,7 +5,7 @@ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ -int ioctl_tiocgwinsz_nt(struct Fd *, struct winsize *) hidden; +int ioctl_tiocgwinsz_nt(struct Fd *, struct winsize *) _Hide; COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ diff --git a/libc/calls/syscall-nt.internal.h b/libc/calls/syscall-nt.internal.h index f20f54ade..d3bf1fb99 100644 --- a/libc/calls/syscall-nt.internal.h +++ b/libc/calls/syscall-nt.internal.h @@ -3,40 +3,40 @@ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ -bool32 sys_isatty_nt(int) hidden; -char *sys_getcwd_nt(char *, size_t) hidden; -int sys_chdir_nt(const char *) hidden; -int sys_close_epoll_nt(int) hidden; -int sys_dup_nt(int, int, int, int) hidden; -int sys_execve_nt(const char *, char *const[], char *const[]) hidden; -int sys_faccessat_nt(int, const char *, int, uint32_t) hidden; -int sys_fadvise_nt(int, uint64_t, uint64_t, int) hidden; -int sys_fchdir_nt(int) hidden; -int sys_fchmodat_nt(int, const char *, uint32_t, int) hidden; -int sys_fcntl_nt(int, int, uintptr_t) hidden; -int sys_fdatasync_nt(int) hidden; -int sys_flock_nt(int, int) hidden; -int sys_fork_nt(uint32_t) hidden; -int sys_ftruncate_nt(int64_t, uint64_t) hidden; -int sys_getloadavg_nt(double *, int) hidden; -int sys_getppid_nt(void) hidden; -int sys_getpriority_nt(int, unsigned) hidden; -int sys_kill_nt(int, int) hidden; -int sys_linkat_nt(int, const char *, int, const char *) hidden; -int sys_madvise_nt(void *, size_t, int) hidden; -int sys_mkdirat_nt(int, const char *, uint32_t) hidden; -int sys_msync_nt(char *, size_t, int) hidden; -int sys_open_nt(int, const char *, uint32_t, int32_t) dontdiscard hidden; -int sys_pipe_nt(int[hasatleast 2], unsigned) hidden; -int sys_renameat_nt(int, const char *, int, const char *) hidden; -int sys_sched_yield_nt(void) hidden; -int sys_setpriority_nt(int, unsigned, int) hidden; -int sys_symlinkat_nt(const char *, int, const char *) hidden; -int sys_sync_nt(void) hidden; -int sys_truncate_nt(const char *, uint64_t) hidden; -int sys_unlinkat_nt(int, const char *, int) hidden; -int64_t sys_lseek_nt(int, int64_t, int) hidden; -ssize_t sys_readlinkat_nt(int, const char *, char *, size_t) hidden; +bool32 sys_isatty_nt(int) _Hide; +char *sys_getcwd_nt(char *, size_t) _Hide; +int sys_chdir_nt(const char *) _Hide; +int sys_close_epoll_nt(int) _Hide; +int sys_dup_nt(int, int, int, int) _Hide; +int sys_execve_nt(const char *, char *const[], char *const[]) _Hide; +int sys_faccessat_nt(int, const char *, int, uint32_t) _Hide; +int sys_fadvise_nt(int, uint64_t, uint64_t, int) _Hide; +int sys_fchdir_nt(int) _Hide; +int sys_fchmodat_nt(int, const char *, uint32_t, int) _Hide; +int sys_fcntl_nt(int, int, uintptr_t) _Hide; +int sys_fdatasync_nt(int) _Hide; +int sys_flock_nt(int, int) _Hide; +int sys_fork_nt(uint32_t) _Hide; +int sys_ftruncate_nt(int64_t, uint64_t) _Hide; +int sys_getloadavg_nt(double *, int) _Hide; +int sys_getppid_nt(void) _Hide; +int sys_getpriority_nt(int, unsigned) _Hide; +int sys_kill_nt(int, int) _Hide; +int sys_linkat_nt(int, const char *, int, const char *) _Hide; +int sys_madvise_nt(void *, size_t, int) _Hide; +int sys_mkdirat_nt(int, const char *, uint32_t) _Hide; +int sys_msync_nt(char *, size_t, int) _Hide; +int sys_open_nt(int, const char *, uint32_t, int32_t) dontdiscard _Hide; +int sys_pipe_nt(int[hasatleast 2], unsigned) _Hide; +int sys_renameat_nt(int, const char *, int, const char *) _Hide; +int sys_sched_yield_nt(void) _Hide; +int sys_setpriority_nt(int, unsigned, int) _Hide; +int sys_symlinkat_nt(const char *, int, const char *) _Hide; +int sys_sync_nt(void) _Hide; +int sys_truncate_nt(const char *, uint64_t) _Hide; +int sys_unlinkat_nt(int, const char *, int) _Hide; +int64_t sys_lseek_nt(int, int64_t, int) _Hide; +ssize_t sys_readlinkat_nt(int, const char *, char *, size_t) _Hide; COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ diff --git a/libc/calls/syscall-sysv.internal.h b/libc/calls/syscall-sysv.internal.h index 7c86332f7..bd4132c7b 100644 --- a/libc/calls/syscall-sysv.internal.h +++ b/libc/calls/syscall-sysv.internal.h @@ -10,133 +10,133 @@ COSMOPOLITAN_C_START_ │ cosmopolitan § syscalls » system five » structless synthetic jump slots ─╬─│┼ ╚────────────────────────────────────────────────────────────────────────────│*/ -axdx_t __sys_fork(void) hidden; -axdx_t __sys_pipe(i32[hasatleast 2], i32) hidden; -axdx_t sys_getpid(void) hidden; -char *sys_getcwd(char *, u64) hidden; -char *sys_getcwd_xnu(char *, u64) hidden; -i32 __sys_dup3(i32, i32, i32) hidden; -i32 __sys_execve(const char *, char *const[], char *const[]) hidden; -i32 __sys_fcntl(i32, i32, ...) hidden; -i32 __sys_fcntl_cp(i32, i32, ...) hidden; -i32 __sys_fstat(i32, void *) hidden; -i32 __sys_fstatat(i32, const char *, void *, i32) hidden; -i32 __sys_gettid(i64 *) hidden; -i32 __sys_munmap(void *, u64) hidden; -i32 __sys_openat(i32, const char *, i32, u32) hidden; -i32 __sys_openat_nc(i32, const char *, i32, u32) hidden; -i32 __sys_pipe2(i32[hasatleast 2], u32) hidden; -i32 sys_arch_prctl(i32, i64) hidden; -i32 sys_chdir(const char *) hidden; -i32 sys_chroot(const char *) hidden; -i32 sys_close(i32) hidden; -i32 sys_close_range(u32, u32, u32) hidden; -i32 sys_closefrom(i32) hidden; -i32 sys_creat(const char *, u32) hidden; -i32 sys_dup(i32) hidden; -i32 sys_dup2(i32, i32) hidden; -i32 sys_dup3(i32, i32, i32) hidden; -i32 sys_execve(const char *, char *const[], char *const[]) hidden; -i32 sys_faccessat(i32, const char *, i32, u32) hidden; -i32 sys_faccessat2(i32, const char *, i32, u32) hidden; -i32 sys_fadvise(i32, i64, i64, i32) hidden; -i32 sys_fchdir(i32) hidden; -i32 sys_fchmod(i32, u32) hidden; -i32 sys_fchmodat(i32, const char *, u32, u32) hidden; -i32 sys_fchown(i64, u32, u32) hidden; -i32 sys_fchownat(i32, const char *, u32, u32, u32) hidden; -i32 sys_fcntl(i32, i32, u64, i32 (*)(i32, i32, ...)) hidden; -i32 sys_fdatasync(i32) hidden; -i32 sys_flock(i32, i32) hidden; -i32 sys_fork(void) hidden; -i32 sys_fsync(i32) hidden; -i32 sys_ftruncate(i32, i64, i64) hidden; -i32 sys_getcontext(void *) hidden; -i32 sys_getpgid(i32) hidden; -i32 sys_getpgrp(void) hidden; -i32 sys_getppid(void) hidden; -i32 sys_getpriority(i32, u32) hidden; -i32 sys_getresgid(u32 *, u32 *, u32 *) hidden; -i32 sys_getresuid(u32 *, u32 *, u32 *) hidden; -i32 sys_getsid(i32) hidden; -i32 sys_gettid(void) hidden; -i32 sys_ioctl(i32, u64, ...) hidden; -i32 sys_ioctl_cp(i32, u64, ...) hidden; -i32 sys_issetugid(void) hidden; -i32 sys_kill(i32, i32, i32) hidden; -i32 sys_linkat(i32, const char *, i32, const char *, i32) hidden; -i32 sys_madvise(void *, size_t, i32) hidden; -i32 sys_memfd_create(const char *, u32) hidden; -i32 sys_mincore(void *, u64, unsigned char *) hidden; -i32 sys_mkdirat(i32, const char *, u32) hidden; -i32 sys_mkfifo(const char *, u32) hidden; -i32 sys_mknod(const char *, u32, u64) hidden; -i32 sys_mprotect(void *, u64, i32) hidden; -i32 sys_msync(void *, u64, i32) hidden; -i32 sys_munmap(void *, u64) hidden; -i32 sys_open(const char *, i32, u32) hidden; -i32 sys_openat(i32, const char *, i32, u32) hidden; -i32 sys_pause(void) hidden; -i32 sys_pipe(i32[hasatleast 2]) hidden; -i32 sys_pipe2(i32[hasatleast 2], u32) hidden; -i32 sys_pivot_root(const char *, const char *) hidden; -i32 sys_pledge(const char *, const char *) hidden; -i32 sys_posix_openpt(i32) hidden; -i32 sys_renameat(i32, const char *, i32, const char *) hidden; -i32 sys_sem_close(i64) hidden; -i32 sys_sem_destroy(i64) hidden; -i32 sys_sem_getvalue(i64, u32 *) hidden; -i32 sys_sem_init(u32, i64 *) hidden; -i32 sys_sem_open(const char *, int, u32, i64 *) hidden; -i32 sys_sem_post(i64) hidden; -i32 sys_sem_trywait(i64) hidden; -i32 sys_sem_unlink(const char *) hidden; -i32 sys_sem_wait(i64) hidden; -i32 sys_setfsgid(i32) hidden; -i32 sys_setfsuid(i32) hidden; -i32 sys_setgid(i32) hidden; -i32 sys_setpgid(i32, i32) hidden; -i32 sys_setpriority(i32, u32, i32) hidden; -i32 sys_setregid(u32, u32) hidden; -i32 sys_setresgid(u32, u32, u32) hidden; -i32 sys_setresuid(u32, u32, u32) hidden; -i32 sys_setreuid(u32, u32) hidden; -i32 sys_setsid(void) hidden; -i32 sys_setuid(i32) hidden; -i32 sys_sigaction(i32, const void *, void *, i64, i64) hidden; -i32 sys_sigaltstack(const void *, void *) hidden; -i32 sys_symlinkat(const char *, i32, const char *) hidden; -i32 sys_sync(void) hidden; -i32 sys_sync_file_range(i32, i64, i64, u32) hidden; -i32 sys_syslog(i32, char *, i32) hidden; -i32 sys_tgkill(i32, i32, i32) hidden; -i32 sys_tkill(i32, i32, void *) hidden; -i32 sys_truncate(const char *, u64, u64) hidden; -i32 sys_uname(void *) hidden; -i32 sys_unlink(const char *) hidden; -i32 sys_unlinkat(i32, const char *, i32) hidden; -i32 sys_unmount(const char *, i32) hidden; -i32 sys_unveil(const char *, const char *) hidden; -i64 __sys_ptrace(i32, i32, i64, long *) hidden; -i64 sys_copy_file_range(i32, long *, i32, long *, u64, u32) hidden; -i64 sys_getrandom(void *, u64, u32) hidden; -i64 sys_lseek(i32, i64, i64, i64) hidden; -i64 sys_pread(i32, void *, u64, i64, i64) hidden; -i64 sys_pwrite(i32, const void *, u64, i64, i64) hidden; -i64 sys_read(i32, void *, u64) hidden; -i64 sys_readlink(const char *, char *, u64) hidden; -i64 sys_readlinkat(i32, const char *, char *, u64) hidden; -i64 sys_sendfile(i32, i32, i64 *, u64) hidden; -i64 sys_splice(i32, i64 *, i32, i64 *, u64, u32) hidden; -i64 sys_write(i32, const void *, u64) hidden; -u32 sys_getegid(void) hidden; -u32 sys_geteuid(void) hidden; -u32 sys_getgid(void) hidden; -u32 sys_getuid(void) hidden; -u32 sys_umask(u32) hidden; -void *__sys_mmap(void *, u64, u32, u32, i64, i64, i64) hidden; -void *sys_mremap(void *, u64, u64, i32, void *) hidden; -void sys_exit(i32) hidden; +axdx_t __sys_fork(void) _Hide; +axdx_t __sys_pipe(i32[hasatleast 2], i32) _Hide; +axdx_t sys_getpid(void) _Hide; +char *sys_getcwd(char *, u64) _Hide; +char *sys_getcwd_xnu(char *, u64) _Hide; +i32 __sys_dup3(i32, i32, i32) _Hide; +i32 __sys_execve(const char *, char *const[], char *const[]) _Hide; +i32 __sys_fcntl(i32, i32, ...) _Hide; +i32 __sys_fcntl_cp(i32, i32, ...) _Hide; +i32 __sys_fstat(i32, void *) _Hide; +i32 __sys_fstatat(i32, const char *, void *, i32) _Hide; +i32 __sys_gettid(i64 *) _Hide; +i32 __sys_munmap(void *, u64) _Hide; +i32 __sys_openat(i32, const char *, i32, u32) _Hide; +i32 __sys_openat_nc(i32, const char *, i32, u32) _Hide; +i32 __sys_pipe2(i32[hasatleast 2], u32) _Hide; +i32 sys_arch_prctl(i32, i64) _Hide; +i32 sys_chdir(const char *) _Hide; +i32 sys_chroot(const char *) _Hide; +i32 sys_close(i32) _Hide; +i32 sys_close_range(u32, u32, u32) _Hide; +i32 sys_closefrom(i32) _Hide; +i32 sys_creat(const char *, u32) _Hide; +i32 sys_dup(i32) _Hide; +i32 sys_dup2(i32, i32) _Hide; +i32 sys_dup3(i32, i32, i32) _Hide; +i32 sys_execve(const char *, char *const[], char *const[]) _Hide; +i32 sys_faccessat(i32, const char *, i32, u32) _Hide; +i32 sys_faccessat2(i32, const char *, i32, u32) _Hide; +i32 sys_fadvise(i32, i64, i64, i32) _Hide; +i32 sys_fchdir(i32) _Hide; +i32 sys_fchmod(i32, u32) _Hide; +i32 sys_fchmodat(i32, const char *, u32, u32) _Hide; +i32 sys_fchown(i64, u32, u32) _Hide; +i32 sys_fchownat(i32, const char *, u32, u32, u32) _Hide; +i32 sys_fcntl(i32, i32, u64, i32 (*)(i32, i32, ...)) _Hide; +i32 sys_fdatasync(i32) _Hide; +i32 sys_flock(i32, i32) _Hide; +i32 sys_fork(void) _Hide; +i32 sys_fsync(i32) _Hide; +i32 sys_ftruncate(i32, i64, i64) _Hide; +i32 sys_getcontext(void *) _Hide; +i32 sys_getpgid(i32) _Hide; +i32 sys_getpgrp(void) _Hide; +i32 sys_getppid(void) _Hide; +i32 sys_getpriority(i32, u32) _Hide; +i32 sys_getresgid(u32 *, u32 *, u32 *) _Hide; +i32 sys_getresuid(u32 *, u32 *, u32 *) _Hide; +i32 sys_getsid(i32) _Hide; +i32 sys_gettid(void) _Hide; +i32 sys_ioctl(i32, u64, ...) _Hide; +i32 sys_ioctl_cp(i32, u64, ...) _Hide; +i32 sys_issetugid(void) _Hide; +i32 sys_kill(i32, i32, i32) _Hide; +i32 sys_linkat(i32, const char *, i32, const char *, i32) _Hide; +i32 sys_madvise(void *, size_t, i32) _Hide; +i32 sys_memfd_create(const char *, u32) _Hide; +i32 sys_mincore(void *, u64, unsigned char *) _Hide; +i32 sys_mkdirat(i32, const char *, u32) _Hide; +i32 sys_mkfifo(const char *, u32) _Hide; +i32 sys_mknod(const char *, u32, u64) _Hide; +i32 sys_mprotect(void *, u64, i32) _Hide; +i32 sys_msync(void *, u64, i32) _Hide; +i32 sys_munmap(void *, u64) _Hide; +i32 sys_open(const char *, i32, u32) _Hide; +i32 sys_openat(i32, const char *, i32, u32) _Hide; +i32 sys_pause(void) _Hide; +i32 sys_pipe(i32[hasatleast 2]) _Hide; +i32 sys_pipe2(i32[hasatleast 2], u32) _Hide; +i32 sys_pivot_root(const char *, const char *) _Hide; +i32 sys_pledge(const char *, const char *) _Hide; +i32 sys_posix_openpt(i32) _Hide; +i32 sys_renameat(i32, const char *, i32, const char *) _Hide; +i32 sys_sem_close(i64) _Hide; +i32 sys_sem_destroy(i64) _Hide; +i32 sys_sem_getvalue(i64, u32 *) _Hide; +i32 sys_sem_init(u32, i64 *) _Hide; +i32 sys_sem_open(const char *, int, u32, i64 *) _Hide; +i32 sys_sem_post(i64) _Hide; +i32 sys_sem_trywait(i64) _Hide; +i32 sys_sem_unlink(const char *) _Hide; +i32 sys_sem_wait(i64) _Hide; +i32 sys_setfsgid(i32) _Hide; +i32 sys_setfsuid(i32) _Hide; +i32 sys_setgid(i32) _Hide; +i32 sys_setpgid(i32, i32) _Hide; +i32 sys_setpriority(i32, u32, i32) _Hide; +i32 sys_setregid(u32, u32) _Hide; +i32 sys_setresgid(u32, u32, u32) _Hide; +i32 sys_setresuid(u32, u32, u32) _Hide; +i32 sys_setreuid(u32, u32) _Hide; +i32 sys_setsid(void) _Hide; +i32 sys_setuid(i32) _Hide; +i32 sys_sigaction(i32, const void *, void *, i64, i64) _Hide; +i32 sys_sigaltstack(const void *, void *) _Hide; +i32 sys_symlinkat(const char *, i32, const char *) _Hide; +i32 sys_sync(void) _Hide; +i32 sys_sync_file_range(i32, i64, i64, u32) _Hide; +i32 sys_syslog(i32, char *, i32) _Hide; +i32 sys_tgkill(i32, i32, i32) _Hide; +i32 sys_tkill(i32, i32, void *) _Hide; +i32 sys_truncate(const char *, u64, u64) _Hide; +i32 sys_uname(void *) _Hide; +i32 sys_unlink(const char *) _Hide; +i32 sys_unlinkat(i32, const char *, i32) _Hide; +i32 sys_unmount(const char *, i32) _Hide; +i32 sys_unveil(const char *, const char *) _Hide; +i64 __sys_ptrace(i32, i32, i64, long *) _Hide; +i64 sys_copy_file_range(i32, long *, i32, long *, u64, u32) _Hide; +i64 sys_getrandom(void *, u64, u32) _Hide; +i64 sys_lseek(i32, i64, i64, i64) _Hide; +i64 sys_pread(i32, void *, u64, i64, i64) _Hide; +i64 sys_pwrite(i32, const void *, u64, i64, i64) _Hide; +i64 sys_read(i32, void *, u64) _Hide; +i64 sys_readlink(const char *, char *, u64) _Hide; +i64 sys_readlinkat(i32, const char *, char *, u64) _Hide; +i64 sys_sendfile(i32, i32, i64 *, u64) _Hide; +i64 sys_splice(i32, i64 *, i32, i64 *, u64, u32) _Hide; +i64 sys_write(i32, const void *, u64) _Hide; +u32 sys_getegid(void) _Hide; +u32 sys_geteuid(void) _Hide; +u32 sys_getgid(void) _Hide; +u32 sys_getuid(void) _Hide; +u32 sys_umask(u32) _Hide; +void *__sys_mmap(void *, u64, u32, u32, i64, i64, i64) _Hide; +void *sys_mremap(void *, u64, u64, i32, void *) _Hide; +void sys_exit(i32) _Hide; #undef i32 #undef i64 diff --git a/libc/calls/syscall_support-nt.internal.h b/libc/calls/syscall_support-nt.internal.h index 4ded0b8ce..7aaf1379f 100644 --- a/libc/calls/syscall_support-nt.internal.h +++ b/libc/calls/syscall_support-nt.internal.h @@ -3,25 +3,25 @@ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ -bool isdirectory_nt(const char *) hidden; -bool isregularfile_nt(const char *) hidden; -bool issymlink_nt(const char *) hidden; -bool32 ntsetprivilege(int64_t, const char16_t *, uint32_t) hidden; -char16_t *CreatePipeName(char16_t *) hidden; -int __mkntpath(const char *, char16_t[hasatleast PATH_MAX]) hidden; -int __mkntpath2(const char *, char16_t[hasatleast PATH_MAX], int) hidden; -int __mkntpathat(int, const char *, int, char16_t[hasatleast PATH_MAX]) hidden; -int __sample_pids(int[hasatleast 64], int64_t[hasatleast 64], bool) hidden; -int ntaccesscheck(const char16_t *, uint32_t) paramsnonnull() hidden; -int sys_pause_nt(void) hidden; -int64_t __fix_enotdir(int64_t, char16_t *) hidden; -int64_t __fix_enotdir3(int64_t, char16_t *, char16_t *) hidden; +bool isdirectory_nt(const char *) _Hide; +bool isregularfile_nt(const char *) _Hide; +bool issymlink_nt(const char *) _Hide; +bool32 ntsetprivilege(int64_t, const char16_t *, uint32_t) _Hide; +char16_t *CreatePipeName(char16_t *) _Hide; +int __mkntpath(const char *, char16_t[hasatleast PATH_MAX]) _Hide; +int __mkntpath2(const char *, char16_t[hasatleast PATH_MAX], int) _Hide; +int __mkntpathat(int, const char *, int, char16_t[hasatleast PATH_MAX]) _Hide; +int __sample_pids(int[hasatleast 64], int64_t[hasatleast 64], bool) _Hide; +int ntaccesscheck(const char16_t *, uint32_t) paramsnonnull() _Hide; +int sys_pause_nt(void) _Hide; +int64_t __fix_enotdir(int64_t, char16_t *) _Hide; +int64_t __fix_enotdir3(int64_t, char16_t *, char16_t *) _Hide; int64_t __winerr(void) nocallback privileged; int64_t ntreturn(uint32_t); -void *GetProcAddressModule(const char *, const char *) hidden; -void WinMainForked(void) hidden; -void _check_sigalrm(void) hidden; -void _check_sigchld(void) hidden; +void *GetProcAddressModule(const char *, const char *) _Hide; +void WinMainForked(void) _Hide; +void _check_sigalrm(void) _Hide; +void _check_sigchld(void) _Hide; COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ diff --git a/libc/calls/syscall_support-sysv.internal.h b/libc/calls/syscall_support-sysv.internal.h index db674b75d..75e87a28f 100644 --- a/libc/calls/syscall_support-sysv.internal.h +++ b/libc/calls/syscall_support-sysv.internal.h @@ -6,27 +6,27 @@ COSMOPOLITAN_C_START_ │ cosmopolitan § syscalls » system five » structless support ─╬─│┼ ╚────────────────────────────────────────────────────────────────────────────│*/ -bool __is_linux_2_6_23(void) hidden; +bool __is_linux_2_6_23(void) _Hide; bool32 sys_isatty_metal(int); -int __fixupnewfd(int, int) hidden; +int __fixupnewfd(int, int) _Hide; int __notziposat(int, const char *); -int __tkill(int, int, void *) hidden; -int _fork(uint32_t) hidden; -int _isptmaster(int) hidden; -int _ptsname(int, char *, size_t) hidden; -int getdomainname_linux(char *, size_t) hidden; -int gethostname_bsd(char *, size_t, int) hidden; -int gethostname_linux(char *, size_t) hidden; -int gethostname_nt(char *, size_t, int) hidden; +int __tkill(int, int, void *) _Hide; +int _fork(uint32_t) _Hide; +int _isptmaster(int) _Hide; +int _ptsname(int, char *, size_t) _Hide; +int getdomainname_linux(char *, size_t) _Hide; +int gethostname_bsd(char *, size_t, int) _Hide; +int gethostname_linux(char *, size_t) _Hide; +int gethostname_nt(char *, size_t, int) _Hide; int sys_msyscall(void *, size_t); long sys_bogus(void); -ssize_t __getrandom(void *, size_t, unsigned) hidden; -void *__vdsosym(const char *, const char *) hidden; -void __onfork(void) hidden; -void __restore_rt() hidden; -void __restore_rt_netbsd(void) hidden; -void cosmo2flock(uintptr_t) hidden; -void flock2cosmo(uintptr_t) hidden; +ssize_t __getrandom(void *, size_t, unsigned) _Hide; +void *__vdsosym(const char *, const char *) _Hide; +void __onfork(void) _Hide; +void __restore_rt() _Hide; +void __restore_rt_netbsd(void) _Hide; +void cosmo2flock(uintptr_t) _Hide; +void flock2cosmo(uintptr_t) _Hide; COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ diff --git a/libc/calls/wait4.h b/libc/calls/wait4.h index 51507989d..e26633a7c 100644 --- a/libc/calls/wait4.h +++ b/libc/calls/wait4.h @@ -4,7 +4,7 @@ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ -int sys_wait4_nt(int, int *, int, struct rusage *) hidden; +int sys_wait4_nt(int, int *, int, struct rusage *) _Hide; COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ diff --git a/libc/calls/wincrash.internal.h b/libc/calls/wincrash.internal.h index 48d6945f5..211c15b97 100644 --- a/libc/calls/wincrash.internal.h +++ b/libc/calls/wincrash.internal.h @@ -7,7 +7,7 @@ COSMOPOLITAN_C_START_ unsigned __wincrash_nt(struct NtExceptionPointers *); struct NtOverlapped *_offset2overlap(int64_t, int64_t, - struct NtOverlapped *) hidden; + struct NtOverlapped *) _Hide; COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ diff --git a/libc/fmt/fmt.c b/libc/fmt/fmt.c index 00015ac1a..d21133f53 100644 --- a/libc/fmt/fmt.c +++ b/libc/fmt/fmt.c @@ -109,7 +109,7 @@ static int __fmt_atoi(const char **str) { * @asyncsignalsafe if floating point isn't used * @vforksafe if floating point isn't used */ -hidden int __fmt(void *fn, void *arg, const char *format, va_list va) { +_Hide int __fmt(void *fn, void *arg, const char *format, va_list va) { long ld; void *p; unsigned u; diff --git a/libc/fmt/fmt.h b/libc/fmt/fmt.h index e872b062b..914bc01e8 100644 --- a/libc/fmt/fmt.h +++ b/libc/fmt/fmt.h @@ -26,7 +26,7 @@ int sscanf(const char *, const char *, ...) scanfesque(2); int vsscanf(const char *, const char *, va_list); int vcscanf(int (*)(void *), int (*)(int, void *), void *, const char *, va_list); -int __fmt(void *, void *, const char *, va_list) hidden; +int __fmt(void *, void *, const char *, va_list) _Hide; char *itoa(int, char *, int) compatfn; char *fcvt(double, int, int *, int *); char *ecvt(double, int, int *, int *); diff --git a/libc/fmt/fmt.internal.h b/libc/fmt/fmt.internal.h index 48f4662a7..49f4764dd 100644 --- a/libc/fmt/fmt.internal.h +++ b/libc/fmt/fmt.internal.h @@ -15,13 +15,13 @@ COSMOPOLITAN_C_START_ } while (0) int __fmt_pad(int (*)(const char *, void *, size_t), void *, - unsigned long) hidden; + unsigned long) _Hide; int __fmt_stoa(int (*)(const char *, void *, size_t), void *, void *, unsigned long, unsigned long, unsigned long, unsigned char, - unsigned char) hidden; + unsigned char) _Hide; int __fmt_ntoa(int (*)(const char *, void *, size_t), void *, va_list, unsigned char, unsigned long, unsigned long, unsigned long, - unsigned char, const char *) hidden; + unsigned char, const char *) _Hide; int __fmt_dtoa(int (*)(const char *, void *, size_t), void *, int, int, int, int, int, bool, char, unsigned char, const char *, va_list); diff --git a/libc/fmt/magnumstrs.internal.h b/libc/fmt/magnumstrs.internal.h index 8e92380c0..8d20edebf 100644 --- a/libc/fmt/magnumstrs.internal.h +++ b/libc/fmt/magnumstrs.internal.h @@ -16,16 +16,16 @@ struct MagnumStr { int x, s; }; -hidden extern const struct MagnumStr kClockNames[]; -hidden extern const struct MagnumStr kErrnoDocs[]; -hidden extern const struct MagnumStr kErrnoNames[]; -hidden extern const struct MagnumStr kFcntlCmds[]; -hidden extern const struct MagnumStr kIpOptnames[]; -hidden extern const struct MagnumStr kOpenFlags[]; -hidden extern const struct MagnumStr kRlimitNames[]; -hidden extern const struct MagnumStr kSignalNames[]; -hidden extern const struct MagnumStr kSockOptnames[]; -hidden extern const struct MagnumStr kTcpOptnames[]; +_Hide extern const struct MagnumStr kClockNames[]; +_Hide extern const struct MagnumStr kErrnoDocs[]; +_Hide extern const struct MagnumStr kErrnoNames[]; +_Hide extern const struct MagnumStr kFcntlCmds[]; +_Hide extern const struct MagnumStr kIpOptnames[]; +_Hide extern const struct MagnumStr kOpenFlags[]; +_Hide extern const struct MagnumStr kRlimitNames[]; +_Hide extern const struct MagnumStr kSignalNames[]; +_Hide extern const struct MagnumStr kSockOptnames[]; +_Hide extern const struct MagnumStr kTcpOptnames[]; char *GetMagnumStr(const struct MagnumStr *, int); char *DescribeMagnum(char *, const struct MagnumStr *, const char *, int); diff --git a/libc/integral/c.inc b/libc/integral/c.inc index 92eaf283f..308033202 100644 --- a/libc/integral/c.inc +++ b/libc/integral/c.inc @@ -188,12 +188,12 @@ typedef struct { #define strftimeesque(n) #endif -#ifndef hidden +#ifndef _Hide #if !defined(__STRICT_ANSI__) && \ (__has_attribute(__visibility__) || defined(__GNUC__)) && !defined(_WIN32) -#define hidden __attribute__((__visibility__("hidden"))) +#define _Hide __attribute__((__visibility__("hidden"))) #else -#define hidden +#define _Hide #endif #endif diff --git a/libc/intrin/_getenv.internal.h b/libc/intrin/_getenv.internal.h index 229665677..c28e06993 100644 --- a/libc/intrin/_getenv.internal.h +++ b/libc/intrin/_getenv.internal.h @@ -8,7 +8,7 @@ struct Env { int i; }; -struct Env _getenv(char **, const char *) hidden; +struct Env _getenv(char **, const char *) _Hide; COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ diff --git a/libc/intrin/kntisinheritable.greg.c b/libc/intrin/kntisinheritable.greg.c index e4c19ceb6..9fcabf913 100644 --- a/libc/intrin/kntisinheritable.greg.c +++ b/libc/intrin/kntisinheritable.greg.c @@ -18,7 +18,7 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/nt/struct/securityattributes.h" -hidden const struct NtSecurityAttributes kNtIsInheritable = { +_Hide const struct NtSecurityAttributes kNtIsInheritable = { sizeof(struct NtSecurityAttributes), NULL, true, diff --git a/libc/intrin/kprintf.greg.c b/libc/intrin/kprintf.greg.c index 8335fb468..614ebc1ef 100644 --- a/libc/intrin/kprintf.greg.c +++ b/libc/intrin/kprintf.greg.c @@ -57,7 +57,7 @@ #include "libc/thread/tls2.h" #include "libc/vga/vga.internal.h" -extern hidden struct SymbolTable *__symtab; +extern _Hide struct SymbolTable *__symtab; privileged static inline char *kadvance(char *p, char *e, long n) { intptr_t t = (intptr_t)p; diff --git a/libc/log/gdbsync.c b/libc/log/gdbsync.c index bc153bc04..b0444fda6 100644 --- a/libc/log/gdbsync.c +++ b/libc/log/gdbsync.c @@ -18,4 +18,4 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/log/gdb.h" -volatile int g_gdbsync hidden; +volatile int g_gdbsync _Hide; diff --git a/libc/log/internal.h b/libc/log/internal.h index 0d7480f73..575cc41e5 100644 --- a/libc/log/internal.h +++ b/libc/log/internal.h @@ -5,12 +5,12 @@ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ -extern hidden bool __nocolor; -extern hidden int kCrashSigs[8]; -extern hidden bool _wantcrashreports; -extern hidden bool g_isrunningundermake; +extern _Hide bool __nocolor; +extern _Hide int kCrashSigs[8]; +extern _Hide bool _wantcrashreports; +extern _Hide bool g_isrunningundermake; -void __start_fatal(const char *, int) hidden; +void __start_fatal(const char *, int) _Hide; void __oncrash(int, struct siginfo *, struct ucontext *) relegated; void __restore_tty(void); void RestoreDefaultCrashSignalHandlers(void); diff --git a/libc/mem/internal.h b/libc/mem/internal.h index 250a60607..6147d35ac 100644 --- a/libc/mem/internal.h +++ b/libc/mem/internal.h @@ -9,7 +9,7 @@ struct CritbitNode { unsigned otherbits; }; -int PutEnvImpl(char *, bool) hidden; +int PutEnvImpl(char *, bool) _Hide; COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ diff --git a/libc/nexgen32e/crc32.h b/libc/nexgen32e/crc32.h index 678f49d37..b3b1c7e72 100644 --- a/libc/nexgen32e/crc32.h +++ b/libc/nexgen32e/crc32.h @@ -9,9 +9,9 @@ void crc32init(uint32_t[hasatleast 256], uint32_t); uint32_t crc32a(uint32_t, const void *, size_t); uint32_t crc32c(uint32_t, const void *, size_t); uint32_t crc32_z(uint32_t, const void *, size_t); -uint32_t crc32c_pure(uint32_t, const void *, size_t) strlenesque hidden; -uint32_t crc32c_sse42(uint32_t, const void *, size_t) strlenesque hidden; -uint32_t crc32_pclmul(uint32_t, const void *, size_t) hidden; +uint32_t crc32c_pure(uint32_t, const void *, size_t) strlenesque _Hide; +uint32_t crc32c_sse42(uint32_t, const void *, size_t) strlenesque _Hide; +uint32_t crc32_pclmul(uint32_t, const void *, size_t) _Hide; COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ diff --git a/libc/nexgen32e/kompressor.h b/libc/nexgen32e/kompressor.h index c6d2f1c10..ca863f2ca 100644 --- a/libc/nexgen32e/kompressor.h +++ b/libc/nexgen32e/kompressor.h @@ -13,11 +13,11 @@ struct RlDecode { uint8_t byte; }; -void rldecode(void *dest, const struct RlDecode *) hidden; -void rldecode2(void *dest, const struct RlDecode *) hidden; -const uint8_t *lz4check(const void *data) hidden; -void *lz4cpy(void *dest, const void *blockdata, size_t blocksize) hidden; -void *lz4decode(void *dest, const void *src) hidden; +void rldecode(void *dest, const struct RlDecode *) _Hide; +void rldecode2(void *dest, const struct RlDecode *) _Hide; +const uint8_t *lz4check(const void *data) _Hide; +void *lz4cpy(void *dest, const void *blockdata, size_t blocksize) _Hide; +void *lz4decode(void *dest, const void *src) _Hide; COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ diff --git a/libc/runtime/__sigsetjmp_tail.c b/libc/runtime/__sigsetjmp_tail.c index ac622abea..e6b0aec3b 100644 --- a/libc/runtime/__sigsetjmp_tail.c +++ b/libc/runtime/__sigsetjmp_tail.c @@ -22,7 +22,7 @@ #include "libc/sysv/consts/sig.h" // kudos rich felker for the brilliant design -hidden int __sigsetjmp_tail(sigjmp_buf jb, int rc) { +_Hide int __sigsetjmp_tail(sigjmp_buf jb, int rc) { _Static_assert( sizeof(sigjmp_buf) == sizeof(jmp_buf) + 8 + 8 + sizeof(sigset_t), "please recompute sigjmp_buf w.r.t. sigset_t"); diff --git a/libc/runtime/ezmap.c b/libc/runtime/ezmap.c index 12627c15f..492114e9f 100644 --- a/libc/runtime/ezmap.c +++ b/libc/runtime/ezmap.c @@ -28,7 +28,7 @@ // TODO(jart): DELETE -hidden int MapFileRead(const char *filename, struct MappedFile *mf) { +_Hide int MapFileRead(const char *filename, struct MappedFile *mf) { mf->addr = MAP_FAILED; if ((mf->fd = open(filename, O_RDONLY)) != -1 && (mf->size = getfiledescriptorsize(mf->fd)) < INT_MAX && @@ -42,7 +42,7 @@ hidden int MapFileRead(const char *filename, struct MappedFile *mf) { } } -hidden int UnmapFile(struct MappedFile *mf) { +_Hide int UnmapFile(struct MappedFile *mf) { int rc; rc = 0; if (mf->addr && mf->addr != MAP_FAILED) { diff --git a/libc/runtime/ezmap.internal.h b/libc/runtime/ezmap.internal.h index 5e89f1c2d..6d4745c52 100644 --- a/libc/runtime/ezmap.internal.h +++ b/libc/runtime/ezmap.internal.h @@ -9,8 +9,8 @@ struct MappedFile { size_t size; }; -int MapFileRead(const char *, struct MappedFile *) hidden; -int UnmapFile(struct MappedFile *) hidden; +int MapFileRead(const char *, struct MappedFile *) _Hide; +int UnmapFile(struct MappedFile *) _Hide; COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ diff --git a/libc/runtime/getsymboltable.c b/libc/runtime/getsymboltable.c index 99b334699..3862d45ac 100644 --- a/libc/runtime/getsymboltable.c +++ b/libc/runtime/getsymboltable.c @@ -33,7 +33,7 @@ #include "third_party/zlib/puff.h" static pthread_spinlock_t g_lock; -hidden struct SymbolTable *__symtab; // for kprintf +_Hide struct SymbolTable *__symtab; // for kprintf /** * Looks for `.symtab` in zip central directory. diff --git a/libc/runtime/internal.h b/libc/runtime/internal.h index 6345e5a26..070106a2d 100644 --- a/libc/runtime/internal.h +++ b/libc/runtime/internal.h @@ -28,21 +28,21 @@ extern unsigned char _tbss_offset[]; extern unsigned char _tls_size[]; extern unsigned char _tls_content[]; -void _init(void) hidden; +void _init(void) _Hide; void __morph_tls(void); void __enable_tls(void); -void __enable_threads(void) hidden; -void *__cxa_finalize(void *) hidden; -void cosmo(int, char **, char **, long (*)[2]) hidden wontreturn; +void __enable_threads(void) _Hide; +void *__cxa_finalize(void *) _Hide; +void cosmo(int, char **, char **, long (*)[2]) _Hide wontreturn; void __stack_chk_fail(void) wontreturn relegated; -void __stack_chk_fail_local(void) wontreturn relegated hidden; -void _jmpstack(void *, void *, ...) hidden wontreturn; -long _setstack(void *, void *, ...) hidden; +void __stack_chk_fail_local(void) wontreturn relegated _Hide; +void _jmpstack(void *, void *, ...) _Hide wontreturn; +long _setstack(void *, void *, ...) _Hide; int GetDosArgv(const char16_t *, char *, size_t, char **, size_t); -Elf64_Ehdr *MapElfRead(const char *, struct MappedFile *) hidden; +Elf64_Ehdr *MapElfRead(const char *, struct MappedFile *) _Hide; int GetDosEnviron(const char16_t *, char *, size_t, char **, size_t); bool __intercept_flag(int *, char *[], const char *); -int sys_mprotect_nt(void *, size_t, int) hidden; +int sys_mprotect_nt(void *, size_t, int) _Hide; int __inflate(void *, size_t, const void *, size_t); COSMOPOLITAN_C_END_ diff --git a/libc/runtime/mapelfread.c b/libc/runtime/mapelfread.c index c3c7eb445..6c2eb7557 100644 --- a/libc/runtime/mapelfread.c +++ b/libc/runtime/mapelfread.c @@ -21,7 +21,7 @@ #include "libc/runtime/ezmap.internal.h" #include "libc/runtime/internal.h" -hidden Elf64_Ehdr *MapElfRead(const char *filename, struct MappedFile *mf) { +_Hide Elf64_Ehdr *MapElfRead(const char *filename, struct MappedFile *mf) { if (MapFileRead(filename, mf) != -1 && IsElf64Binary(mf->addr, mf->size)) { return mf->addr; } else { diff --git a/libc/runtime/metalprintf.greg.c b/libc/runtime/metalprintf.greg.c index 4da5570fd..e49073856 100644 --- a/libc/runtime/metalprintf.greg.c +++ b/libc/runtime/metalprintf.greg.c @@ -34,7 +34,7 @@ * This only supports %d and %s. It'll will work even if .rodata hasn't * been loaded into memory yet. */ -hidden textreal void(MetalPrintf)(const char *fmt, ...) { +_Hide textreal void(MetalPrintf)(const char *fmt, ...) { int i; char c; unsigned u; diff --git a/libc/sock/internal.h b/libc/sock/internal.h index 637512ae5..6a907d793 100644 --- a/libc/sock/internal.h +++ b/libc/sock/internal.h @@ -46,62 +46,62 @@ struct SockFd { struct NtOverlapped *inout_lpOverlapped); }; -errno_t __dos2errno(uint32_t) hidden; +errno_t __dos2errno(uint32_t) _Hide; -int32_t __sys_accept(int32_t, void *, uint32_t *, int) dontdiscard hidden; -int32_t __sys_accept4(int32_t, void *, uint32_t *, int) dontdiscard hidden; -int32_t __sys_bind(int32_t, const void *, uint32_t) hidden; -int32_t __sys_connect(int32_t, const void *, uint32_t) hidden; -int32_t __sys_getpeername(int32_t, void *, uint32_t *) hidden; -int32_t __sys_getsockname(int32_t, void *, uint32_t *) hidden; -int32_t __sys_socket(int32_t, int32_t, int32_t) hidden; -int32_t __sys_socketpair(int32_t, int32_t, int32_t, int32_t[2]) hidden; +int32_t __sys_accept(int32_t, void *, uint32_t *, int) dontdiscard _Hide; +int32_t __sys_accept4(int32_t, void *, uint32_t *, int) dontdiscard _Hide; +int32_t __sys_bind(int32_t, const void *, uint32_t) _Hide; +int32_t __sys_connect(int32_t, const void *, uint32_t) _Hide; +int32_t __sys_getpeername(int32_t, void *, uint32_t *) _Hide; +int32_t __sys_getsockname(int32_t, void *, uint32_t *) _Hide; +int32_t __sys_socket(int32_t, int32_t, int32_t) _Hide; +int32_t __sys_socketpair(int32_t, int32_t, int32_t, int32_t[2]) _Hide; -int32_t sys_accept4(int32_t, void *, uint32_t *, int) dontdiscard hidden; -int32_t sys_accept(int32_t, void *, uint32_t *) hidden; -int32_t sys_bind(int32_t, const void *, uint32_t) hidden; -int32_t sys_connect(int32_t, const void *, uint32_t) hidden; -int32_t sys_getsockopt(int32_t, int32_t, int32_t, void *, uint32_t *) hidden; -int32_t sys_listen(int32_t, int32_t) hidden; -int32_t sys_getsockname(int32_t, void *, uint32_t *) hidden; -int32_t sys_getpeername(int32_t, void *, uint32_t *) hidden; -int32_t sys_shutdown(int32_t, int32_t) hidden; -int32_t sys_socket(int32_t, int32_t, int32_t) hidden; -int32_t sys_socketpair(int32_t, int32_t, int32_t, int32_t[2]) hidden; -ssize_t sys_recvfrom(int, void *, size_t, int, void *, uint32_t *) hidden; +int32_t sys_accept4(int32_t, void *, uint32_t *, int) dontdiscard _Hide; +int32_t sys_accept(int32_t, void *, uint32_t *) _Hide; +int32_t sys_bind(int32_t, const void *, uint32_t) _Hide; +int32_t sys_connect(int32_t, const void *, uint32_t) _Hide; +int32_t sys_getsockopt(int32_t, int32_t, int32_t, void *, uint32_t *) _Hide; +int32_t sys_listen(int32_t, int32_t) _Hide; +int32_t sys_getsockname(int32_t, void *, uint32_t *) _Hide; +int32_t sys_getpeername(int32_t, void *, uint32_t *) _Hide; +int32_t sys_shutdown(int32_t, int32_t) _Hide; +int32_t sys_socket(int32_t, int32_t, int32_t) _Hide; +int32_t sys_socketpair(int32_t, int32_t, int32_t, int32_t[2]) _Hide; +ssize_t sys_recvfrom(int, void *, size_t, int, void *, uint32_t *) _Hide; ssize_t sys_sendto(int, const void *, size_t, int, const void *, - uint32_t) hidden; + uint32_t) _Hide; int32_t sys_select(int32_t, fd_set *, fd_set *, fd_set *, - struct timeval *) hidden; + struct timeval *) _Hide; int sys_pselect(int, fd_set *, fd_set *, fd_set *, struct timespec *, - const void *) hidden; -int sys_setsockopt(int, int, int, const void *, uint32_t) hidden; -int32_t sys_epoll_create(int32_t) hidden; -int32_t sys_epoll_ctl(int32_t, int32_t, int32_t, void *) hidden; -int32_t sys_epoll_wait(int32_t, void *, int32_t, int32_t) hidden; + const void *) _Hide; +int sys_setsockopt(int, int, int, const void *, uint32_t) _Hide; +int32_t sys_epoll_create(int32_t) _Hide; +int32_t sys_epoll_ctl(int32_t, int32_t, int32_t, void *) _Hide; +int32_t sys_epoll_wait(int32_t, void *, int32_t, int32_t) _Hide; -int sys_socket_nt(int, int, int) hidden; +int sys_socket_nt(int, int, int) _Hide; /* -int sys_socketpair_nt_stream(int, int, int, int[2]) hidden; -int sys_socketpair_nt_dgram(int, int, int, int[2]) hidden; +int sys_socketpair_nt_stream(int, int, int, int[2]) _Hide; +int sys_socketpair_nt_dgram(int, int, int, int[2]) _Hide; */ -int sys_socketpair_nt(int, int, int, int[2]) hidden; +int sys_socketpair_nt(int, int, int, int[2]) _Hide; int sys_select_nt(int, fd_set *, fd_set *, fd_set *, struct timeval *, - const sigset_t *) hidden; + const sigset_t *) _Hide; size_t __iovec2nt(struct NtIovec[hasatleast 16], const struct iovec *, - size_t) hidden; + size_t) _Hide; -void WinSockInit(void) hidden; -int64_t __winsockerr(void) nocallback hidden; -int __fixupnewsockfd(int, int) hidden; +void WinSockInit(void) _Hide; +int64_t __winsockerr(void) nocallback _Hide; +int __fixupnewsockfd(int, int) _Hide; int __wsablock(int64_t, struct NtOverlapped *, uint32_t *, bool, - uint32_t) hidden; -int64_t __winsockblock(int64_t, unsigned, int64_t, uint32_t) hidden; -struct SockFd *_dupsockfd(struct SockFd *) hidden; -int64_t GetNtBaseSocket(int64_t) hidden; -int sys_close_epoll(int) hidden; + uint32_t) _Hide; +int64_t __winsockblock(int64_t, unsigned, int64_t, uint32_t) _Hide; +struct SockFd *_dupsockfd(struct SockFd *) _Hide; +int64_t GetNtBaseSocket(int64_t) _Hide; +int sys_close_epoll(int) _Hide; COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ diff --git a/libc/sock/kntwsadata.c b/libc/sock/kntwsadata.c index 04602ed76..9674e75c1 100644 --- a/libc/sock/kntwsadata.c +++ b/libc/sock/kntwsadata.c @@ -34,7 +34,7 @@ * Berkeley Socket wrappers are linked. The latest version of Winsock * was introduced alongside x64, so this should never fail. */ -hidden struct NtWsaData kNtWsaData; +_Hide struct NtWsaData kNtWsaData; static textwindows void WinSockCleanup(void) { int i, rc; diff --git a/libc/sock/sendfile.internal.h b/libc/sock/sendfile.internal.h index b8b237226..d989521c8 100644 --- a/libc/sock/sendfile.internal.h +++ b/libc/sock/sendfile.internal.h @@ -5,11 +5,11 @@ COSMOPOLITAN_C_START_ int sys_sendfile_xnu(int32_t infd, int32_t outfd, int64_t offset, int64_t *out_opt_sbytes, const void *opt_hdtr, - int32_t flags) hidden; + int32_t flags) _Hide; int sys_sendfile_freebsd(int32_t infd, int32_t outfd, int64_t offset, size_t nbytes, const void *opt_hdtr, - int64_t *out_opt_sbytes, int32_t flags) hidden; + int64_t *out_opt_sbytes, int32_t flags) _Hide; COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ diff --git a/libc/sock/struct/msghdr.internal.h b/libc/sock/struct/msghdr.internal.h index a2d25063b..d9d0dcca4 100644 --- a/libc/sock/struct/msghdr.internal.h +++ b/libc/sock/struct/msghdr.internal.h @@ -14,8 +14,8 @@ struct msghdr_bsd { uint32_t msg_flags; /* « different type */ }; -ssize_t sys_sendmsg(int, const struct msghdr *, int) hidden; -ssize_t sys_recvmsg(int, struct msghdr *, int) hidden; +ssize_t sys_sendmsg(int, const struct msghdr *, int) _Hide; +ssize_t sys_recvmsg(int, struct msghdr *, int) _Hide; bool __asan_is_valid_msghdr(const struct msghdr *); COSMOPOLITAN_C_END_ diff --git a/libc/sock/struct/pollfd.internal.h b/libc/sock/struct/pollfd.internal.h index 991d4df14..fc78c2439 100644 --- a/libc/sock/struct/pollfd.internal.h +++ b/libc/sock/struct/pollfd.internal.h @@ -7,11 +7,11 @@ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ -int32_t sys_poll(struct pollfd *, uint64_t, signed) hidden; +int32_t sys_poll(struct pollfd *, uint64_t, signed) _Hide; int sys_ppoll(struct pollfd *, size_t, const struct timespec *, const sigset_t *, size_t); int sys_poll_metal(struct pollfd *, size_t, unsigned); -int sys_poll_nt(struct pollfd *, uint64_t, uint64_t *, const sigset_t *) hidden; +int sys_poll_nt(struct pollfd *, uint64_t, uint64_t *, const sigset_t *) _Hide; const char *DescribePollFds(char[300], ssize_t, struct pollfd *, size_t); #define DescribePollFds(x, y, z) DescribePollFds(alloca(300), x, y, z) diff --git a/libc/sock/syscall_fd.internal.h b/libc/sock/syscall_fd.internal.h index 0a7061b2c..7604ca17b 100644 --- a/libc/sock/syscall_fd.internal.h +++ b/libc/sock/syscall_fd.internal.h @@ -5,19 +5,19 @@ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ -int sys_accept_nt(struct Fd *, void *, uint32_t *, int) hidden; +int sys_accept_nt(struct Fd *, void *, uint32_t *, int) _Hide; int sys_bind_nt(struct Fd *, const void *, uint32_t); -int sys_closesocket_nt(struct Fd *) hidden; -int sys_connect_nt(struct Fd *, const void *, uint32_t) hidden; -int sys_getpeername_nt(struct Fd *, void *, uint32_t *) hidden; -int sys_getsockname_nt(struct Fd *, void *, uint32_t *) hidden; -int sys_getsockopt_nt(struct Fd *, int, int, void *, uint32_t *) hidden; -int sys_listen_nt(struct Fd *, int) hidden; -int sys_setsockopt_nt(struct Fd *, int, int, const void *, uint32_t) hidden; -int sys_shutdown_nt(struct Fd *, int) hidden; -ssize_t sys_recv_nt(struct Fd *, const struct iovec *, size_t, uint32_t) hidden; +int sys_closesocket_nt(struct Fd *) _Hide; +int sys_connect_nt(struct Fd *, const void *, uint32_t) _Hide; +int sys_getpeername_nt(struct Fd *, void *, uint32_t *) _Hide; +int sys_getsockname_nt(struct Fd *, void *, uint32_t *) _Hide; +int sys_getsockopt_nt(struct Fd *, int, int, void *, uint32_t *) _Hide; +int sys_listen_nt(struct Fd *, int) _Hide; +int sys_setsockopt_nt(struct Fd *, int, int, const void *, uint32_t) _Hide; +int sys_shutdown_nt(struct Fd *, int) _Hide; +ssize_t sys_recv_nt(struct Fd *, const struct iovec *, size_t, uint32_t) _Hide; ssize_t sys_recvfrom_nt(struct Fd *, const struct iovec *, size_t, uint32_t, - void *, uint32_t *) hidden; + void *, uint32_t *) _Hide; COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ diff --git a/libc/stdio/fflush.internal.h b/libc/stdio/fflush.internal.h index 0c05a8a8f..5475744bb 100644 --- a/libc/stdio/fflush.internal.h +++ b/libc/stdio/fflush.internal.h @@ -17,8 +17,8 @@ struct StdioFlush { FILE *handles_initmem[8]; }; -hidden extern struct StdioFlush __fflush; -hidden extern pthread_mutex_t __fflush_lock_obj; +_Hide extern struct StdioFlush __fflush; +_Hide extern pthread_mutex_t __fflush_lock_obj; void __fflush_lock(void); void __fflush_unlock(void); diff --git a/libc/stdio/internal.h b/libc/stdio/internal.h index c6749ddd0..74b1db5e3 100644 --- a/libc/stdio/internal.h +++ b/libc/stdio/internal.h @@ -7,14 +7,14 @@ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ -hidden extern uint64_t g_rando; +_Hide extern uint64_t g_rando; -int __fflush_impl(FILE *) hidden; -int __fflush_register(FILE *) hidden; -void __fflush_unregister(FILE *) hidden; -bool __stdio_isok(FILE *) hidden; -FILE *__stdio_alloc(void) hidden; -void __stdio_free(FILE *) hidden; +int __fflush_impl(FILE *) _Hide; +int __fflush_register(FILE *) _Hide; +void __fflush_unregister(FILE *) _Hide; +bool __stdio_isok(FILE *) _Hide; +FILE *__stdio_alloc(void) _Hide; +void __stdio_free(FILE *) _Hide; COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ diff --git a/libc/stdio/stdbuf.c b/libc/stdio/stdbuf.c index 67d68cf03..4bd48c5ad 100644 --- a/libc/stdio/stdbuf.c +++ b/libc/stdio/stdbuf.c @@ -18,5 +18,5 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/stdio/internal.h" -char g_stdoutbuf[BUFSIZ] hidden; -char g_stderrbuf[BUFSIZ] hidden; +char g_stdoutbuf[BUFSIZ] _Hide; +char g_stderrbuf[BUFSIZ] _Hide; diff --git a/libc/stdio/stderr.c b/libc/stdio/stderr.c index b63b9d765..f2d1f61f4 100644 --- a/libc/stdio/stderr.c +++ b/libc/stdio/stderr.c @@ -26,7 +26,7 @@ STATIC_YOINK("_init_stderr"); */ FILE *stderr; -hidden FILE __stderr; +_Hide FILE __stderr; static textstartup void __stderr_init() { __fflush_register(stderr); diff --git a/libc/stdio/stdin.c b/libc/stdio/stdin.c index c828d7e48..83c25e9cf 100644 --- a/libc/stdio/stdin.c +++ b/libc/stdio/stdin.c @@ -26,7 +26,7 @@ STATIC_YOINK("_init_stdin"); */ FILE *stdin; -hidden FILE __stdin; +_Hide FILE __stdin; static textstartup void __stdin_init() { __fflush_register(stdin); diff --git a/libc/stdio/stdout.c b/libc/stdio/stdout.c index 2539c0966..fb83bc299 100644 --- a/libc/stdio/stdout.c +++ b/libc/stdio/stdout.c @@ -29,7 +29,7 @@ STATIC_YOINK("_init_stdout"); */ FILE *stdout; -hidden FILE __stdout; +_Hide FILE __stdout; static textstartup void __stdout_init() { struct FILE *sf; diff --git a/libc/stdio/strlist.internal.h b/libc/stdio/strlist.internal.h index b501296bb..6ed7db1f8 100644 --- a/libc/stdio/strlist.internal.h +++ b/libc/stdio/strlist.internal.h @@ -8,10 +8,10 @@ struct StrList { char **p; }; -void FreeStrList(struct StrList *) hidden; -int AppendStrList(struct StrList *) hidden; -void SortStrList(struct StrList *) hidden; -int JoinStrList(struct StrList *, char **, uint64_t) hidden; +void FreeStrList(struct StrList *) _Hide; +int AppendStrList(struct StrList *) _Hide; +void SortStrList(struct StrList *) _Hide; +int JoinStrList(struct StrList *, char **, uint64_t) _Hide; COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ diff --git a/libc/stdio/temp.h b/libc/stdio/temp.h index a6dfd9b95..efc7b4649 100644 --- a/libc/stdio/temp.h +++ b/libc/stdio/temp.h @@ -15,7 +15,7 @@ int mkstemp(char *); int mkstemps(char *, int); int mkostempsmi(char *, int, unsigned, uint64_t *, int, - int (*)(const char *, int, ...)) hidden dontdiscard; + int (*)(const char *, int, ...)) _Hide dontdiscard; COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ diff --git a/libc/str/internal.h b/libc/str/internal.h index 2720330ba..b8c5879be 100644 --- a/libc/str/internal.h +++ b/libc/str/internal.h @@ -5,7 +5,7 @@ #if !(__ASSEMBLER__ + __LINKER__ + 0) -hidden extern const uint32_t kSha256Tab[64]; +_Hide extern const uint32_t kSha256Tab[64]; nodebuginfo forceinline bool32 ismoar(wint_t c) { return (c & 0300) == 0300; @@ -15,12 +15,12 @@ nodebuginfo forceinline bool32 iscont(wint_t c) { return (c & 0300) == 0200; } -char *strstr_sse42(const char *, const char *) strlenesque hidden; -char16_t *strstr16_sse42(const char16_t *, const char16_t *) strlenesque hidden; +char *strstr_sse42(const char *, const char *) strlenesque _Hide; +char16_t *strstr16_sse42(const char16_t *, const char16_t *) strlenesque _Hide; void *memmem_sse42(const void *, size_t, const void *, - size_t) strlenesque hidden; + size_t) strlenesque _Hide; void sha256_x86(uint32_t[hasatleast 8], const uint8_t[hasatleast 64], - uint32_t) hidden; + uint32_t) _Hide; #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* !ANSI */ diff --git a/libc/str/kmonthyearday.c b/libc/str/kmonthyearday.c index 27e8ed7a2..b5662b58c 100644 --- a/libc/str/kmonthyearday.c +++ b/libc/str/kmonthyearday.c @@ -18,7 +18,7 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/time/time.h" -hidden const unsigned short kMonthYearDay[2][12] = { +_Hide const unsigned short kMonthYearDay[2][12] = { {0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334}, {0, 31, 60, 91, 121, 152, 182, 213, 244, 274, 305, 335}, }; diff --git a/libc/str/kx86processormodels.c b/libc/str/kx86processormodels.c index ac0453adb..ecda01192 100644 --- a/libc/str/kx86processormodels.c +++ b/libc/str/kx86processormodels.c @@ -20,7 +20,7 @@ #include "libc/macros.internal.h" #include "libc/nexgen32e/x86info.h" -hidden const struct X86ProcessorModel kX86ProcessorModels[] = { +_Hide const struct X86ProcessorModel kX86ProcessorModels[] = { /* */ {0x060F, X86_MARCH_CORE2, X86_GRADE_CLIENT}, {0x0616, X86_MARCH_CORE2, X86_GRADE_MOBILE}, @@ -79,4 +79,4 @@ hidden const struct X86ProcessorModel kX86ProcessorModels[] = { /* */ }; -hidden const size_t kX86ProcessorModelCount = ARRAYLEN(kX86ProcessorModels); +_Hide const size_t kX86ProcessorModelCount = ARRAYLEN(kX86ProcessorModels); diff --git a/libc/thread/posixthread.internal.h b/libc/thread/posixthread.internal.h index 72fd9dd3a..e99f9ad73 100644 --- a/libc/thread/posixthread.internal.h +++ b/libc/thread/posixthread.internal.h @@ -82,24 +82,24 @@ struct PosixThread { typedef void (*atfork_f)(void); extern struct PosixThread _pthread_main; -extern _Atomic(pthread_key_dtor) _pthread_key_dtor[PTHREAD_KEYS_MAX] hidden; +extern _Atomic(pthread_key_dtor) _pthread_key_dtor[PTHREAD_KEYS_MAX] _Hide; -int _pthread_atfork(atfork_f, atfork_f, atfork_f) hidden; -int _pthread_reschedule(struct PosixThread *) hidden; -int _pthread_setschedparam_freebsd(int, int, const struct sched_param *) hidden; -int _pthread_wait(struct PosixThread *) hidden; -void _pthread_free(struct PosixThread *) hidden; -void _pthread_cleanup(struct PosixThread *) hidden; -void _pthread_ungarbage(void) hidden; -void _pthread_zombies_add(struct PosixThread *) hidden; -void _pthread_zombies_purge(void) hidden; -void _pthread_zombies_decimate(void) hidden; -void _pthread_zombies_harvest(void) hidden; -void _pthread_key_destruct(void) hidden; -void _pthread_onfork_prepare(void) hidden; -void _pthread_onfork_parent(void) hidden; -void _pthread_onfork_child(void) hidden; -int _pthread_cancel_sys(void) hidden; +int _pthread_atfork(atfork_f, atfork_f, atfork_f) _Hide; +int _pthread_reschedule(struct PosixThread *) _Hide; +int _pthread_setschedparam_freebsd(int, int, const struct sched_param *) _Hide; +int _pthread_wait(struct PosixThread *) _Hide; +void _pthread_free(struct PosixThread *) _Hide; +void _pthread_cleanup(struct PosixThread *) _Hide; +void _pthread_ungarbage(void) _Hide; +void _pthread_zombies_add(struct PosixThread *) _Hide; +void _pthread_zombies_purge(void) _Hide; +void _pthread_zombies_decimate(void) _Hide; +void _pthread_zombies_harvest(void) _Hide; +void _pthread_key_destruct(void) _Hide; +void _pthread_onfork_prepare(void) _Hide; +void _pthread_onfork_parent(void) _Hide; +void _pthread_onfork_child(void) _Hide; +int _pthread_cancel_sys(void) _Hide; COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ diff --git a/libc/thread/spawn.h b/libc/thread/spawn.h index debebc81f..e47ae1e06 100644 --- a/libc/thread/spawn.h +++ b/libc/thread/spawn.h @@ -11,9 +11,9 @@ struct spawn { struct CosmoTib *tib; }; -int _spawn(int (*)(void *, int), void *, struct spawn *) hidden; -int _join(struct spawn *) hidden; -char *_mktls(struct CosmoTib **) hidden; +int _spawn(int (*)(void *, int), void *, struct spawn *) _Hide; +int _join(struct spawn *) _Hide; +char *_mktls(struct CosmoTib **) _Hide; COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ diff --git a/libc/thread/wait0.internal.h b/libc/thread/wait0.internal.h index 2aeaa7478..e4f4d8af4 100644 --- a/libc/thread/wait0.internal.h +++ b/libc/thread/wait0.internal.h @@ -4,7 +4,7 @@ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ -errno_t _wait0(const atomic_int *) hidden; +errno_t _wait0(const atomic_int *) _Hide; COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ diff --git a/libc/time/struct/utimbuf.internal.h b/libc/time/struct/utimbuf.internal.h index 9e9652a07..fcb285c37 100644 --- a/libc/time/struct/utimbuf.internal.h +++ b/libc/time/struct/utimbuf.internal.h @@ -4,7 +4,7 @@ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ -int sys_utime(const char *, const struct utimbuf *) hidden; +int sys_utime(const char *, const struct utimbuf *) _Hide; COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ diff --git a/libc/time/time.h b/libc/time/time.h index 9a33624f3..6d455bd6e 100644 --- a/libc/time/time.h +++ b/libc/time/time.h @@ -7,11 +7,11 @@ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ -hidden extern const char kWeekdayNameShort[7][4]; -hidden extern const char kWeekdayName[7][10]; -hidden extern const char kMonthNameShort[12][4]; -hidden extern const char kMonthName[12][10]; -hidden extern const unsigned short kMonthYearDay[2][12]; +_Hide extern const char kWeekdayNameShort[7][4]; +_Hide extern const char kWeekdayName[7][10]; +_Hide extern const char kMonthNameShort[12][4]; +_Hide extern const char kMonthName[12][10]; +_Hide extern const unsigned short kMonthYearDay[2][12]; extern char *tzname[2]; extern long timezone; diff --git a/libc/tinymath/complex.internal.h b/libc/tinymath/complex.internal.h index 266d4a99a..9b4f85185 100644 --- a/libc/tinymath/complex.internal.h +++ b/libc/tinymath/complex.internal.h @@ -40,8 +40,8 @@ COSMOPOLITAN_C_START_ (d) = asfloat(w); \ } while (0) -_Complex double __ldexp_cexp(_Complex double, int) hidden; -_Complex float __ldexp_cexpf(_Complex float, int) hidden; +_Complex double __ldexp_cexp(_Complex double, int) _Hide; +_Complex float __ldexp_cexpf(_Complex float, int) _Hide; COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ diff --git a/libc/tinymath/exp2f_data.internal.h b/libc/tinymath/exp2f_data.internal.h index d8cc4ddfb..728adf885 100644 --- a/libc/tinymath/exp2f_data.internal.h +++ b/libc/tinymath/exp2f_data.internal.h @@ -7,7 +7,7 @@ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ -extern hidden const struct exp2f_data { +extern _Hide const struct exp2f_data { uint64_t tab[1 << EXP2F_TABLE_BITS]; double shift_scaled; double poly[EXP2F_POLY_ORDER]; diff --git a/libc/tinymath/exp_data.internal.h b/libc/tinymath/exp_data.internal.h index b82c3e495..a974bae25 100644 --- a/libc/tinymath/exp_data.internal.h +++ b/libc/tinymath/exp_data.internal.h @@ -9,7 +9,7 @@ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ -extern hidden const struct exp_data { +extern _Hide const struct exp_data { double invln2N; double shift; double negln2hiN; diff --git a/libc/tinymath/internal.h b/libc/tinymath/internal.h index 70462cfa2..1a0aa6b2d 100644 --- a/libc/tinymath/internal.h +++ b/libc/tinymath/internal.h @@ -51,16 +51,16 @@ static inline float fp_barrierf(float x) { return y; } -double __math_divzero(uint32_t) hidden; -double __math_invalid(double) hidden; -double __math_oflow(uint32_t) hidden; -double __math_uflow(uint32_t) hidden; -double __math_xflow(uint32_t, double) hidden; -float __math_divzerof(uint32_t) hidden; -float __math_invalidf(float) hidden; -float __math_oflowf(uint32_t) hidden; -float __math_uflowf(uint32_t) hidden; -float __math_xflowf(uint32_t, float) hidden; +double __math_divzero(uint32_t) _Hide; +double __math_invalid(double) _Hide; +double __math_oflow(uint32_t) _Hide; +double __math_uflow(uint32_t) _Hide; +double __math_xflow(uint32_t, double) _Hide; +float __math_divzerof(uint32_t) _Hide; +float __math_invalidf(float) _Hide; +float __math_oflowf(uint32_t) _Hide; +float __math_uflowf(uint32_t) _Hide; +float __math_xflowf(uint32_t, float) _Hide; #define FORCE_EVAL(x) \ do { \ diff --git a/libc/tinymath/kernel.internal.h b/libc/tinymath/kernel.internal.h index a8280b8d8..0d8905655 100644 --- a/libc/tinymath/kernel.internal.h +++ b/libc/tinymath/kernel.internal.h @@ -3,15 +3,15 @@ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ -double __cos(double, double) hidden; -double __sin(double, double, int) hidden; -double __tan(double, double, int) hidden; -float __cosdf(double) hidden; -float __sindf(double) hidden; -float __tandf(double, int) hidden; -int __rem_pio2(double, double *) hidden; -int __rem_pio2_large(double *, double *, int, int, int) hidden; -int __rem_pio2f(float, double *) hidden; +double __cos(double, double) _Hide; +double __sin(double, double, int) _Hide; +double __tan(double, double, int) _Hide; +float __cosdf(double) _Hide; +float __sindf(double) _Hide; +float __tandf(double, int) _Hide; +int __rem_pio2(double, double *) _Hide; +int __rem_pio2_large(double *, double *, int, int, int) _Hide; +int __rem_pio2f(float, double *) _Hide; COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ diff --git a/libc/tinymath/log2_data.internal.h b/libc/tinymath/log2_data.internal.h index cf16d553c..bef0d8555 100644 --- a/libc/tinymath/log2_data.internal.h +++ b/libc/tinymath/log2_data.internal.h @@ -8,7 +8,7 @@ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ -extern hidden const struct log2_data { +extern _Hide const struct log2_data { double invln2hi; double invln2lo; double poly[LOG2_POLY_ORDER - 1]; diff --git a/libc/tinymath/log2f_data.internal.h b/libc/tinymath/log2f_data.internal.h index 9830c62c3..85eb6ebab 100644 --- a/libc/tinymath/log2f_data.internal.h +++ b/libc/tinymath/log2f_data.internal.h @@ -7,7 +7,7 @@ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ -extern hidden const struct log2f_data { +extern _Hide const struct log2f_data { struct { double invc, logc; } tab[1 << LOG2F_TABLE_BITS]; diff --git a/libc/tinymath/log_data.internal.h b/libc/tinymath/log_data.internal.h index 38c6ce792..64998e59a 100644 --- a/libc/tinymath/log_data.internal.h +++ b/libc/tinymath/log_data.internal.h @@ -8,7 +8,7 @@ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ -extern hidden const struct log_data { +extern _Hide const struct log_data { double ln2hi; double ln2lo; double poly[LOG_POLY_ORDER - 1]; /* First coefficient is 1. */ diff --git a/libc/tinymath/pow_data.internal.h b/libc/tinymath/pow_data.internal.h index 88eae752c..006a5eeb1 100644 --- a/libc/tinymath/pow_data.internal.h +++ b/libc/tinymath/pow_data.internal.h @@ -7,7 +7,7 @@ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ -extern hidden const struct pow_log_data { +extern _Hide const struct pow_log_data { double ln2hi; double ln2lo; double poly[POW_LOG_POLY_ORDER - 1]; /* First coefficient is 1. */ diff --git a/libc/tinymath/powf_data.internal.h b/libc/tinymath/powf_data.internal.h index 1b0bf87f9..18e85d74c 100644 --- a/libc/tinymath/powf_data.internal.h +++ b/libc/tinymath/powf_data.internal.h @@ -13,7 +13,7 @@ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ -extern hidden const struct powf_log2_data { +extern _Hide const struct powf_log2_data { struct { double invc, logc; } tab[1 << POWF_LOG2_TABLE_BITS]; diff --git a/libc/zipos/zipos.internal.h b/libc/zipos/zipos.internal.h index ef7bd7ebe..ccc2aeaf8 100644 --- a/libc/zipos/zipos.internal.h +++ b/libc/zipos/zipos.internal.h @@ -29,25 +29,25 @@ struct Zipos { struct ZiposHandle *freelist; }; -void __zipos_lock(void) hidden; -void __zipos_unlock(void) hidden; -int __zipos_close(int) hidden; -struct Zipos *__zipos_get(void) pureconst hidden; -void __zipos_free(struct Zipos *, struct ZiposHandle *) hidden; -ssize_t __zipos_parseuri(const char *, struct ZiposUri *) hidden; +void __zipos_lock(void) _Hide; +void __zipos_unlock(void) _Hide; +int __zipos_close(int) _Hide; +struct Zipos *__zipos_get(void) pureconst _Hide; +void __zipos_free(struct Zipos *, struct ZiposHandle *) _Hide; +ssize_t __zipos_parseuri(const char *, struct ZiposUri *) _Hide; ssize_t __zipos_find(struct Zipos *, const struct ZiposUri *); -int __zipos_open(const struct ZiposUri *, unsigned, int) hidden; -int __zipos_access(const struct ZiposUri *, int) hidden; -int __zipos_stat(const struct ZiposUri *, struct stat *) hidden; -int __zipos_fstat(const struct ZiposHandle *, struct stat *) hidden; -int __zipos_stat_impl(struct Zipos *, size_t, struct stat *) hidden; +int __zipos_open(const struct ZiposUri *, unsigned, int) _Hide; +int __zipos_access(const struct ZiposUri *, int) _Hide; +int __zipos_stat(const struct ZiposUri *, struct stat *) _Hide; +int __zipos_fstat(const struct ZiposHandle *, struct stat *) _Hide; +int __zipos_stat_impl(struct Zipos *, size_t, struct stat *) _Hide; ssize_t __zipos_read(struct ZiposHandle *, const struct iovec *, size_t, - ssize_t) hidden; + ssize_t) _Hide; ssize_t __zipos_write(struct ZiposHandle *, const struct iovec *, size_t, - ssize_t) hidden; -int64_t __zipos_lseek(struct ZiposHandle *, int64_t, unsigned) hidden; -int __zipos_fcntl(int, int, uintptr_t) hidden; -int __zipos_notat(int, const char *) hidden; + ssize_t) _Hide; +int64_t __zipos_lseek(struct ZiposHandle *, int64_t, unsigned) _Hide; +int __zipos_fcntl(int, int, uintptr_t) _Hide; +int __zipos_notat(int, const char *) _Hide; #ifdef _NOPL0 #define __zipos_lock() _NOPL0("__threadcalls", __zipos_lock) diff --git a/test/dsp/tty/windex_test.c b/test/dsp/tty/windex_test.c index 8c07cc065..b057ba12e 100644 --- a/test/dsp/tty/windex_test.c +++ b/test/dsp/tty/windex_test.c @@ -21,16 +21,16 @@ #include "libc/intrin/bits.h" #include "libc/limits.h" #include "libc/macros.internal.h" +#include "libc/mem/gc.internal.h" #include "libc/mem/mem.h" #include "libc/nexgen32e/x86feature.h" -#include "libc/mem/gc.internal.h" #include "libc/str/str.h" #include "libc/testlib/ezbench.h" #include "libc/testlib/testlib.h" -unsigned windex_k8(short *, size_t) hidden; -unsigned windex_avx2(short *, size_t) hidden; -unsigned windex_sse4(short *, size_t) hidden; +unsigned windex_k8(short *, size_t) _Hide; +unsigned windex_avx2(short *, size_t) _Hide; +unsigned windex_sse4(short *, size_t) _Hide; const short kW[64] forcealign(32) = { 8281, 3883, 1365, 1786, 9006, 3681, 5563, 8013, 5787, 9063, 2923, diff --git a/third_party/dlmalloc/dlmalloc.h b/third_party/dlmalloc/dlmalloc.h index 2e3309fe7..ab095f8c5 100644 --- a/third_party/dlmalloc/dlmalloc.h +++ b/third_party/dlmalloc/dlmalloc.h @@ -505,8 +505,8 @@ void mspace_inspect_all(mspace msp, void (*handler)(void*, void*, size_t, void*), void* arg); -void dlmalloc_atfork(void) hidden; -void dlmalloc_abort(void) hidden; +_Hide void dlmalloc_atfork(void); +_Hide void dlmalloc_abort(void); COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ diff --git a/third_party/musl/crypt.internal.h b/third_party/musl/crypt.internal.h index 931e373d1..7a09769a6 100644 --- a/third_party/musl/crypt.internal.h +++ b/third_party/musl/crypt.internal.h @@ -4,11 +4,11 @@ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ -hidden char *__crypt_des(const char *, const char *, char *); -hidden char *__crypt_md5(const char *, const char *, char *); -hidden char *__crypt_blowfish(const char *, const char *, char *); -hidden char *__crypt_sha256(const char *, const char *, char *); -hidden char *__crypt_sha512(const char *, const char *, char *); +_Hide char *__crypt_des(const char *, const char *, char *); +_Hide char *__crypt_md5(const char *, const char *, char *); +_Hide char *__crypt_blowfish(const char *, const char *, char *); +_Hide char *__crypt_sha256(const char *, const char *, char *); +_Hide char *__crypt_sha512(const char *, const char *, char *); COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ diff --git a/third_party/musl/crypt_des.internal.h b/third_party/musl/crypt_des.internal.h index d4365baff..9dbe111ac 100644 --- a/third_party/musl/crypt_des.internal.h +++ b/third_party/musl/crypt_des.internal.h @@ -9,8 +9,8 @@ struct expanded_key { uint32_t l[16], r[16]; }; -hidden void __des_setkey(const unsigned char *, struct expanded_key *); -hidden void __do_des(uint32_t, uint32_t, uint32_t *, uint32_t *, +_Hide void __des_setkey(const unsigned char *, struct expanded_key *); +_Hide void __do_des(uint32_t, uint32_t, uint32_t *, uint32_t *, uint32_t, uint32_t, const struct expanded_key *); #endif diff --git a/third_party/regex/tre.inc b/third_party/regex/tre.inc index b399ba7af..a4e8154b6 100644 --- a/third_party/regex/tre.inc +++ b/third_party/regex/tre.inc @@ -56,8 +56,8 @@ │ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. │ │ │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/mem/alg.h" #include "libc/assert.h" +#include "libc/mem/alg.h" #include "libc/mem/mem.h" #include "libc/str/str.h" #include "third_party/regex/notice.inc" @@ -81,27 +81,27 @@ typedef wchar_t tre_char_t; typedef wint_t tre_cint_t; #define TRE_CHAR_MAX 0x10ffff -#define tre_isalnum iswalnum -#define tre_isalpha iswalpha -#define tre_isblank iswblank -#define tre_iscntrl iswcntrl -#define tre_isdigit iswdigit -#define tre_isgraph iswgraph -#define tre_islower iswlower -#define tre_isprint iswprint -#define tre_ispunct iswpunct -#define tre_isspace iswspace -#define tre_isupper iswupper +#define tre_isalnum iswalnum +#define tre_isalpha iswalpha +#define tre_isblank iswblank +#define tre_iscntrl iswcntrl +#define tre_isdigit iswdigit +#define tre_isgraph iswgraph +#define tre_islower iswlower +#define tre_isprint iswprint +#define tre_ispunct iswpunct +#define tre_isspace iswspace +#define tre_isupper iswupper #define tre_isxdigit iswxdigit #define tre_tolower towlower #define tre_toupper towupper -#define tre_strlen wcslen +#define tre_strlen wcslen /* Use system provided iswctype() and wctype(). */ typedef wctype_t tre_ctype_t; #define tre_isctype iswctype -#define tre_ctype wctype +#define tre_ctype wctype /* Returns number of bytes to add to (char *)ptr to make it properly aligned for the type. */ @@ -143,16 +143,16 @@ struct tnfa_transition { }; /* Assertions. */ -#define ASSERT_AT_BOL 1 /* Beginning of line. */ -#define ASSERT_AT_EOL 2 /* End of line. */ -#define ASSERT_CHAR_CLASS 4 /* Character class in `class'. */ +#define ASSERT_AT_BOL 1 /* Beginning of line. */ +#define ASSERT_AT_EOL 2 /* End of line. */ +#define ASSERT_CHAR_CLASS 4 /* Character class in `class'. */ #define ASSERT_CHAR_CLASS_NEG 8 /* Character classes in `neg_classes'. */ -#define ASSERT_AT_BOW 16 /* Beginning of word. */ -#define ASSERT_AT_EOW 32 /* End of word. */ -#define ASSERT_AT_WB 64 /* Word boundary. */ -#define ASSERT_AT_WB_NEG 128 /* Not a word boundary. */ -#define ASSERT_BACKREF 256 /* A back reference in `backref'. */ -#define ASSERT_LAST 256 +#define ASSERT_AT_BOW 16 /* Beginning of word. */ +#define ASSERT_AT_EOW 32 /* End of word. */ +#define ASSERT_AT_WB 64 /* Word boundary. */ +#define ASSERT_AT_WB_NEG 128 /* Not a word boundary. */ +#define ASSERT_BACKREF 256 /* A back reference in `backref'. */ +#define ASSERT_LAST 256 /* Tag directions. */ typedef enum { TRE_TAG_MINIMIZE = 0, TRE_TAG_MAXIMIZE = 1 } tre_tag_direction_t; @@ -211,13 +211,13 @@ typedef struct tre_mem_struct { void **provided; } * tre_mem_t; -#define tre_mem_new_impl __tre_mem_new_impl +#define tre_mem_new_impl __tre_mem_new_impl #define tre_mem_alloc_impl __tre_mem_alloc_impl -#define tre_mem_destroy __tre_mem_destroy +#define tre_mem_destroy __tre_mem_destroy -tre_mem_t tre_mem_new_impl(int provided, void *provided_block) hidden; +tre_mem_t tre_mem_new_impl(int provided, void *provided_block) _Hide; void *tre_mem_alloc_impl(tre_mem_t mem, int provided, void *provided_block, - int zero, size_t size) hidden; + int zero, size_t size) _Hide; /* Returns a new memory allocator or NULL if out of memory. */ #define tre_mem_new() tre_mem_new_impl(0, NULL) @@ -245,4 +245,4 @@ void *tre_mem_alloc_impl(tre_mem_t mem, int provided, void *provided_block, #endif /* TRE_USE_ALLOCA */ /* Frees the memory allocator and all memory allocated with it. */ -hidden void tre_mem_destroy(tre_mem_t mem); +_Hide void tre_mem_destroy(tre_mem_t mem); diff --git a/third_party/stb/internal.h b/third_party/stb/internal.h index 3b7a44404..42d1ee1ed 100644 --- a/third_party/stb/internal.h +++ b/third_party/stb/internal.h @@ -5,14 +5,14 @@ COSMOPOLITAN_C_START_ void stbi__YCbCr_to_RGB_row(unsigned char *, const unsigned char *, const unsigned char *, const unsigned char *, - unsigned, unsigned) hidden; + unsigned, unsigned) _Hide; int stbi__YCbCr_to_RGB_row$sse2(unsigned char *, const unsigned char *, const unsigned char *, const unsigned char *, - unsigned) hidden; + unsigned) _Hide; void stbi__idct_simd$sse(unsigned char *out, int out_stride, - short data[64]) hidden; + short data[64]) _Hide; void stbi__idct_simd$avx(unsigned char *out, int out_stride, - short data[64]) hidden; + short data[64]) _Hide; COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ diff --git a/third_party/xed/x86ild.greg.c b/third_party/xed/x86ild.greg.c index c811c2380..684807cbd 100644 --- a/third_party/xed/x86ild.greg.c +++ b/third_party/xed/x86ild.greg.c @@ -102,12 +102,12 @@ asm(".include \"libc/disclaimer.inc\""); #define XED_LF_UIMMv_IMM_WIDTH_OSZ_NONTERM_IMMUNE_REXW_EOSZ_l2(X) \ xed_set_uimmv_imm_width_eosz(X, kXed.OSZ_NONTERM_IMMUNE_REXW_EOSZ) -extern const uint32_t xed_prefix_table_bit[8] hidden; -extern const uint8_t xed_imm_bits_2d[2][256] hidden; -extern const uint8_t xed_has_modrm_2d[XED_ILD_MAP2][256] hidden; -extern const uint8_t xed_has_sib_table[3][4][8] hidden; -extern const uint8_t xed_has_disp_regular[3][4][8] hidden; -extern const uint8_t xed_disp_bits_2d[XED_ILD_MAP2][256] hidden; +extern const uint32_t xed_prefix_table_bit[8] _Hide; +extern const uint8_t xed_imm_bits_2d[2][256] _Hide; +extern const uint8_t xed_has_modrm_2d[XED_ILD_MAP2][256] _Hide; +extern const uint8_t xed_has_sib_table[3][4][8] _Hide; +extern const uint8_t xed_has_disp_regular[3][4][8] _Hide; +extern const uint8_t xed_disp_bits_2d[XED_ILD_MAP2][256] _Hide; static const struct XedDenseMagnums { unsigned vex_prefix_recoding[4]; diff --git a/third_party/zlib/inffast.internal.h b/third_party/zlib/inffast.internal.h index 95f3e12d9..63d5764b3 100644 --- a/third_party/zlib/inffast.internal.h +++ b/third_party/zlib/inffast.internal.h @@ -20,7 +20,7 @@ COSMOPOLITAN_C_START_ */ #define INFLATE_FAST_MIN_OUTPUT 258 -void inflate_fast(z_streamp strm, unsigned start) hidden; +void inflate_fast(z_streamp strm, unsigned start) _Hide; COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ diff --git a/third_party/zlib/internal.h b/third_party/zlib/internal.h index f97b9fa6a..c9cf2ba80 100644 --- a/third_party/zlib/internal.h +++ b/third_party/zlib/internal.h @@ -13,18 +13,18 @@ COSMOPOLITAN_C_START_ #define zmemcpy memmove #define z_const const -unsigned deflate_read_buf(z_streamp, Bytef *, unsigned) hidden; -void copy_with_crc(z_streamp, Bytef *, long) hidden; -void crc_finalize(deflate_state *const) hidden; -void crc_reset(deflate_state *const) hidden; -uint32_t adler32_simd_(uint32_t, const unsigned char *, size_t) hidden; -void crc_fold_init(deflate_state *const) hidden; +unsigned deflate_read_buf(z_streamp, Bytef *, unsigned) _Hide; +void copy_with_crc(z_streamp, Bytef *, long) _Hide; +void crc_finalize(deflate_state *const) _Hide; +void crc_reset(deflate_state *const) _Hide; +uint32_t adler32_simd_(uint32_t, const unsigned char *, size_t) _Hide; +void crc_fold_init(deflate_state *const) _Hide; void crc_fold_copy(deflate_state *const, unsigned char *, const unsigned char *, - long) hidden; -unsigned crc_fold_512to32(deflate_state *const) hidden; -void fill_window_sse(deflate_state *) hidden; -void *zcalloc(void *, uInt, uInt) hidden; -void zcfree(void *, void *) hidden; + long) _Hide; +unsigned crc_fold_512to32(deflate_state *const) _Hide; +void fill_window_sse(deflate_state *) _Hide; +void *zcalloc(void *, uInt, uInt) _Hide; +void zcfree(void *, void *) _Hide; COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ diff --git a/third_party/zlib/treeconst.c b/third_party/zlib/treeconst.c index 001205a33..e473bb588 100644 --- a/third_party/zlib/treeconst.c +++ b/third_party/zlib/treeconst.c @@ -1,12 +1,12 @@ /* header created automatically with -DGEN_TREES_H */ #include "third_party/zlib/internal.h" -hidden const int kZlibBaseLength[LENGTH_CODES] = { +_Hide const int kZlibBaseLength[LENGTH_CODES] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 10, 12, 14, 16, 20, 24, 28, 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 0, }; -hidden const int kZlibBaseDist[D_CODES] = { +_Hide const int kZlibBaseDist[D_CODES] = { 0, 1, 2, 3, 4, 6, 8, 12, 16, 24, 32, 48, 64, 96, 128, 192, 256, 384, 512, 768, 1024, 1536, 2048, 3072, 4096, 6144, 8192, 12288, 16384, 24576, diff --git a/third_party/zlib/zutil.internal.h b/third_party/zlib/zutil.internal.h index 7836f1d3d..40aa06eb5 100644 --- a/third_party/zlib/zutil.internal.h +++ b/third_party/zlib/zutil.internal.h @@ -38,7 +38,7 @@ COSMOPOLITAN_C_START_ define "local" for the non-static meaning of "static", for readability (compile with -Dlocal if your debugger can't find static symbols) */ -extern const char *const z_errmsg[10] hidden; /* indexed by 2-zlib_error */ +extern const char *const z_errmsg[10] _Hide; /* indexed by 2-zlib_error */ /* (size given to avoid silly warnings with Visual C++) */ #define ERR_MSG(err) z_errmsg[Z_NEED_DICT - (err)] @@ -52,8 +52,8 @@ extern const char *const z_errmsg[10] hidden; /* indexed by 2-zlib_error */ /* Diagnostic functions */ #ifdef ZLIB_DEBUG -extern int z_verbose hidden; -extern void z_error(const char *, int, char *) hidden; +extern int z_verbose _Hide; +extern void z_error(const char *, int, char *) _Hide; #define Assert(cond, msg) \ { \ if (!(cond)) { \ diff --git a/tool/build/dso/sandbox.c b/tool/build/dso/sandbox.c index 0552e0da5..75d09214c 100644 --- a/tool/build/dso/sandbox.c +++ b/tool/build/dso/sandbox.c @@ -27,8 +27,8 @@ * strace -vff bash -c '_PLEDGE=4194303,0 LD_PRELOAD=$HOME/sandbox.so ls' */ -hidden uint8_t __privileged_start[1]; -hidden uint8_t __privileged_end[1]; +_Hide uint8_t __privileged_start[1]; +_Hide uint8_t __privileged_end[1]; __attribute__((__constructor__)) void init(void) { int c, i, j; diff --git a/tool/build/runit.c b/tool/build/runit.c index 477acd423..7876737ae 100644 --- a/tool/build/runit.c +++ b/tool/build/runit.c @@ -119,7 +119,7 @@ char g_hostname[128]; uint16_t g_runitdport; volatile bool alarmed; -int __sys_execve(const char *, char *const[], char *const[]) hidden; +int __sys_execve(const char *, char *const[], char *const[]) _Hide; static void OnAlarm(int sig) { alarmed = true; diff --git a/tool/emacs/c.lang b/tool/emacs/c.lang index 3f25223d9..a4c3e4bd5 100644 --- a/tool/emacs/c.lang +++ b/tool/emacs/c.lang @@ -117,7 +117,7 @@ Keywords={ "nullterminated", "unreachable", "notpossible", -"hidden", +"_Hide", "privileged", "hasatleast", "nodebuginfo", diff --git a/tool/emacs/cosmo-c-keywords.el b/tool/emacs/cosmo-c-keywords.el index 7e166b8a6..4fa620203 100644 --- a/tool/emacs/cosmo-c-keywords.el +++ b/tool/emacs/cosmo-c-keywords.el @@ -61,7 +61,7 @@ "nullterminated" "unreachable" "notpossible" - "hidden" + "_Hide" "privileged" "hasatleast" "nodebuginfo" diff --git a/tool/emacs/key.py b/tool/emacs/key.py index 739d79c04..27b8081b7 100644 --- a/tool/emacs/key.py +++ b/tool/emacs/key.py @@ -337,7 +337,7 @@ cosmo_kws = frozenset([ "forceinline", "frownedupon", "hasatleast", - "hidden", + "_Hide", "initarray", "interruptfn", "mallocesque", @@ -399,7 +399,7 @@ cosmo_kws = frozenset([ "forceinline", "frownedupon", "hasatleast", - "hidden", + "_Hide", "initarray", "interruptfn", "mallocesque",