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

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]