diff options
author | Jakob Kaivo <jkk@ung.org> | 2023-11-14 12:56:01 -0500 |
---|---|---|
committer | Jakob Kaivo <jkk@ung.org> | 2023-11-14 12:56:01 -0500 |
commit | 79551f5c04d20990e64b26bf577f70eeaeb38652 (patch) | |
tree | cf9211c4ddf105221ca33a193cbbe3eb6851eea1 /src/stdlib/_stdlib.h | |
parent | 9e22ec98f4132300301d32f033b2c4d6e4ff5c1d (diff) |
enable UB-testing for isupper()
Diffstat (limited to 'src/stdlib/_stdlib.h')
-rw-r--r-- | src/stdlib/_stdlib.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/stdlib/_stdlib.h b/src/stdlib/_stdlib.h index 929981a6..4d456594 100644 --- a/src/stdlib/_stdlib.h +++ b/src/stdlib/_stdlib.h @@ -7,6 +7,11 @@ #define _rand(_n) \ (((_n) = (_n) * 1103515245 + 12345) ? (_n) / UINT_MAX % RAND_MAX : 0) +#include "errno/errno_t.h" +#include "constraint_handler_t.h" +#include "__constraint_info.h" +void abort_handler_s(const char * restrict msg, void * restrict ptr, errno_t error); + struct __stdlib { struct atexit { int nfns; @@ -16,6 +21,7 @@ struct __stdlib { } atexit; unsigned int rand; char **environ; + constraint_handler_t constraint_handler; }; extern struct __stdlib __stdlib; |