/* NetHack 3.7 cstd.h $NHDT-Date: 1725652996 2024/09/06 20:03:16 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.6 $ */ /*-Copyright (c) Robert Patrick Rankin, 2017. */ /* NetHack may be freely redistributed. See license for details. */ #ifndef CSTD_H #define CSTD_H /* * The list of standard (C99 unless noted otherwise) header files: * * Conditionally compiled macro that calls abort if its * argument evaluates to zero * (C99) Complex number arithmetic * Functions to categorize single characters * Macros reporting error conditions * (C99) Floating-point environment * Limits of floating-point types * (C99) Format conversion of integer types * (C95) Alternative operator spellings * Ranges of integer types * Localization utilities * Common mathematics functions * Nonlocal jumps * Signal handling * Variable arguments * (C99) Macros for boolean type * Common macro definitions * (C99) Fixed-width integer types * Input/output program utilities * General utilities: memory management, * program utilities, string conversions, * random numbers, algorithms * String handling * (C99) Type-generic math (macros wrapping math.h and * complex.h) * Time/date utilities * (C95) Extended multibyte and wide character utilities * (C95) Functions to categorize single wide character * We watch these and try not to conflict with them, or make it tough to adopt * these in future: * * (C11) alignas and alignof convenience macros * (C11) Atomic operations * (C23) Macros to work with the byte and bit representations * of types * (C23) Macros for performing checked integer arithmetic * (C11) noreturn convenience macro * (C11) Thread library * (C11) UTF-16 and UTF-32 character utilities * */ #if !defined(__cplusplus) #include #include #include #include #include #include #include #include #else /* !__cplusplus */ /* for FILE */ #include #endif /* !__cplusplus */ #endif /* CSTD_H */