< C Programming

Headers

ANSI C (C89)/ISO C (C90)

assert.hVerify program assertion.
ctype.hCharacter types.
errno.hSystem error numbers.
float.hFloating types.
limits.hImplementation-defined constants.
locale.hCategory macros.
math.hMathematical declarations.
setjmp.hStack environment declarations.
signal.hSignals.
stdarg.hHandle variable argument list.
stddef.hStandard type definitions.
stdio.hStandard buffered input/output.
stdlib.hStandard library definitions.
string.hString operations.
time.hTime types.

ISO C (C94/C95), Amendment 1 (AMD1)

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

iso646.hAlternative spellings.
wchar.hWide-character handling.
wctype.hWide-character classification and mapping utilities.

ISO C (C99)

These are supported only in newer compilers

complex.hComplex arithmetic.
fenv.hFloating-point environment.
inttypes.hFixed size integer types.
stdbool.hBoolean type and values.
stdint.hInteger types.
tgmath.hType-generic macros.

ISO C (C11)

These are supported only in newer compilers

stdalign.hAlignment keywords and macros.
stdatomic.hAtomic operations on data shared between threads.
stdnoreturn.h_Noreturn function specifier macro.
threads.hSupport for multiple threads of execution.
uchar.hTypes and functions for manipulating Unicode characters.

Table of functions

This table also includes function-like macros

assert.h

complex.h

ctype.h

fenv.h

  • feholdexcept
  • feraiseexcept
  • fesetenv
  • fesetexceptflag
  • fesetround
  • fetestexcept
  • feupdateenv

inttypes.h

  • imaxabs
  • imaxdiv
  • strtoimax
  • strtoumax
  • wcstoimax
  • wcstoumax

locale.h

  • localeconv
  • setlocale

math.h

  • fpclassify
  • isfinite
  • isgreater
  • isgreaterequal
  • isinf
  • isless
  • islessequal
  • islessgreater
  • isnan
  • isnormal
  • isunordered
  • signbit

setjmp.h

  • longjmp
  • setjmp

signal.h

  • raise

stdarg.h

  • va_arg
  • va_copy
  • va_end
  • va_start

stdatomic.h

  • atomic_init
  • atomic_thread_fence
  • atomic_signal_fence
  • atomic_is_lock_free
  • atomic_store
  • atomic_store_explicit
  • atomic_load
  • atomic_load_explicit
  • atomic_exchange
  • atomic_exchange_explicit
  • atomic_compare_exchange_strong
  • atomic_compare_exchange_strong_explicit
  • atomic_compare_exchange_weak
  • atomic_compare_exchange_weak_explicit
  • atomic_fetch
  • atomic_fetch_key_explicit
  • atomic_flag_test_and_set
  • atomic_flag_test_and_set_explicit
  • atomic_flag_clear
  • atomic_flag_clear_explicit

stddef.h

stdio.h

stdlib.h

string.h

threads.h

  • call_once
  • cnd_broadcast
  • cnd_destroy
  • cnd_init
  • cnd_signal
  • cnd_timedwait
  • cnd_wait
  • mtx_destroy
  • mtx_init
  • mtx_lock
  • mtx_timedlock
  • mtx_trylock
  • mtx_unlock
  • thrd_create
  • thrd_current
  • thrd_detach
  • thrd_equal
  • thrd_exit
  • thrd_join
  • thrd_sleep
  • thrd_yield
  • tss_create
  • tss_delete
  • tss_get
  • tss_set

time.h

  • time

uchar.h

  • mbrtoc16
  • c16rtomb
  • mbrtoc32
  • c32rtomb

wchar.h

  • btowc
  • fgetwc
  • fgetws
  • fputwc
  • fwide
  • fwprintf
  • fwscanf
  • getwc
  • swscanf
  • ungetwc
  • vfwprintf
  • vswprintf
  • vwprintf
  • wcrtomb
  • wcscat
  • wcschr
  • wcsncpy
  • wcspbrk
  • wcsrchr
  • wcsrtombs
  • wcsspn
  • wcsstr
  • wcstod
  • wcstok
  • wcstol
  • wcstoul
  • wcsxfrm
  • wctob
  • wmemchr
  • wmemcmp
  • wmemcpy
  • wmemmove
  • wmemset
  • wprintf
  • wscanf

wctype.h

  • iswalnum
  • iswalpha
  • iswcntrl
  • iswctype
  • iswdigit
  • iswgraph
  • iswlower
  • iswprint
  • iswpunct
  • iswspace
  • iswupper
  • iswxdigit
  • towctrans
  • towlower
  • towupper
  • wctrans
  • wctype
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.