Files
nethack/include/cstd.h
PatR cf6509dde9 some reformatting (5 of 4)
Take care of most of include/*.h.  I punted on extern.h.

For both src/*.c and include/*.h, I used mismatched checks of
width > 79 to decide which files to look at and then width > 78
to decide which lines to maybe revise, so I didn't look at a bunch
of the files.

I don't plan to go back and do it right.  Shortening lines that are
80 or wider to less than 80 is the significant part.  Otherwise
emacs puts a backslash in column 80 and the rest of the line of text
on the next line of the screen, making things harder to read.
2024-09-06 13:08:07 -07:00

64 lines
2.5 KiB
C

/* 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:
*
* <assert.h> Conditionally compiled macro that calls abort if its
* argument evaluates to zero
* <complex.h> (C99) Complex number arithmetic
* <ctype.h> Functions to categorize single characters
* <errno.h> Macros reporting error conditions
* <fenv.h> (C99) Floating-point environment
* <float.h> Limits of floating-point types
* <inttypes.h> (C99) Format conversion of integer types
* <iso646.h> (C95) Alternative operator spellings
* <limits.h> Ranges of integer types
* <locale.h> Localization utilities
* <math.h> Common mathematics functions
* <setjmp.h> Nonlocal jumps
* <signal.h> Signal handling
* <stdarg.h> Variable arguments
* <stdbool.h> (C99) Macros for boolean type
* <stddef.h> Common macro definitions
* <stdint.h> (C99) Fixed-width integer types
* <stdio.h> Input/output program utilities
*
* General utilities: memory management, program utilities, string
* conversions, random numbers, algorithms
* <string.h> String handling
* <tgmath.h> (C99) Type-generic math (macros wrapping math.h and
* complex.h)
* <time.h> Time/date utilities
* <wchar.h> (C95) Extended multibyte and wide character utilities
* <wctype.h> (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:
*
* <stdalign.h> (C11) alignas and alignof convenience macros
* <stdatomic.h> (C11) Atomic operations
* <stdbit.h> (C23) Macros to work with the byte and bit representations
* of types
* <stdckdint.h> (C23) Macros for performing checked integer arithmetic
* <stdnoreturn.h> (C11) noreturn convenience macro
* <threads.h> (C11) Thread library
* <uchar.h> (C11) UTF-16 and UTF-32 character utilities
*
*/
#if !defined(__cplusplus)
#include <stdio.h>
#include <string.h>
#include <signal.h>
#include <assert.h>
#include <stdarg.h>
#include <ctype.h>
#endif /* !__cplusplus */
#endif /* CSTD_H */