C Programming/Standard library reference

From Wikibooks, open books for an open world
Jump to navigation Jump to search

Headers[edit | edit source]

ANSI C (C89)/ISO C (C90)[edit | edit source]

assert.h Verify program assertion file
ctype.h Character types file.
errno.h System error numbers file
float.h Floating types file
limits.h Implementation-defined constants file.
locale.h Category macros file.
math.h Mathematical declarations file.
setjmp.h Stack environment declarations file.
signal.h Signals file.
stdarg.h Handle variable argument list file.
stddef.h Standard type definitions file.
stdio.h Standard buffered input/output file.
stdlib.h Standard library definitions file.
string.h String operations file.
time.h Time types file.

ISO C (C94/C95), Amendment 1 (AMD1)[edit | edit source]

Very old compilers may not include some or all of these headers

iso646.h Alternative spellings.
wchar.h Wide-character handling.
wctype.h Wide-character classification and mapping utilities.

ISO C (C99)[edit | edit source]

These are supported only in newer compilers

complex.h Complex arithmetic.
fenv.h Floating-point environment.
inttypes.h Fixed size integer types.
stdbool.h Boolean type and values.
stdint.h Integer types.
tgmath.h Type-generic macros.

ISO C (C11)[edit | edit source]

These are supported only in newer compilers

stdalign.h Alignment keywords and macros.
stdatomic.h Atomic operations on data shared between threads.
stdnoreturn.h _Noreturn function specifier macro.
threads.h Support for multiple threads of execution.
uchar.h Types and functions for manipulating Unicode characters.

Table of functions[edit | edit source]

This table also includes function-like macros

assert.h[edit | edit source]

complex.h[edit | edit source]

ctype.h[edit | edit source]

fenv.h[edit | edit source]

inttypes.h[edit | edit source]

locale.h[edit | edit source]

math.h[edit | edit source]

setjmp.h[edit | edit source]

signal.h[edit | edit source]

stdarg.h[edit | edit source]

stdatomic.h[edit | edit source]

stddef.h[edit | edit source]

stdio.h[edit | edit source]

stdlib.h[edit | edit source]

string.h[edit | edit source]

threads.h[edit | edit source]

time.h[edit | edit source]

uchar.h[edit | edit source]

wchar.h[edit | edit source]

wctype.h[edit | edit source]