Created
March 23, 2024 22:25
-
-
Save skull-squadron/f32d73302b3fef0cd0b5a463df28c91b to your computer and use it in GitHub Desktop.
Include all C headers for C89, C99, C11, C17, and C23 for programming contests and such
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef LIBC_BITS_H | |
#define LIBC_BITS_H | |
#include <assert.h> | |
#include <ctype.h> | |
#include <errno.h> | |
#include <float.h> | |
#include <limits.h> | |
#include <locale.h> | |
#include <math.h> | |
#include <setjmp.h> | |
#include <signal.h> | |
#include <stdarg.h> | |
#include <stddef.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <time.h> | |
/* c95+ */ | |
#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199409L | |
# include <iso646.h> | |
# include <wchar.h> | |
# include <wctype.h> | |
#endif | |
/* c99+ */ | |
#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L | |
# include <complex.h> | |
# include <fenv.h> | |
# include <inttypes.h> | |
# include <stdbool.h> | |
# include <stdint.h> | |
# include <tgmath.h> | |
#endif | |
/* c11+ */ | |
#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L | |
# include <stdalign.h> | |
# include <stdatomic.h> | |
# include <stdnoreturn.h> | |
# include <threads.h> | |
# include <uchar.h> | |
#endif | |
/* c23+ */ | |
#if defined(__STDC_VERSION__) && __STDC_VERSION__ > 201710L | |
# ifdef __STDC_VERSION_STDBIT_H__ | |
# include <stdbit.h> | |
# endif | |
# ifdef __STDC_VERSION_STDCKDINT_H__ | |
# include <stdckdint.h> | |
# endif | |
#endif | |
#endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment