Skip to main content

C

πŸ“š Standard C Library Headers​

These are the standard headers defined by ISO C.


πŸ“‚ Input / Output​

  • <stdio.h> β€” Input/output

✍️ Strings & Text​

  • <string.h> β€” String handling
  • <ctype.h> β€” Char classification & conversion
  • <wchar.h> β€” Wide char utilities
  • <wctype.h> β€” Wide char classification
  • <uchar.h> β€” UTF-16/32 utilities

πŸ”’ Numbers & Math​

  • <math.h> β€” Common math
  • <complex.h> β€” Complex numbers
  • <tgmath.h> β€” Type-generic math
  • <fenv.h> β€” Floating‐point environment
  • <float.h> β€” Floating-point limits

🧡 Memory & Objects​

  • <stdlib.h> β€” Memory mgmt, conversions, qsort/bsearch, random
  • <stddef.h> β€” Common macros & size_t
  • <stdnoreturn.h> β€” noreturn

πŸ”’ Concurrency & Atomics​

  • <threads.h> β€” Threads (C11)
  • <stdatomic.h> β€” Atomics

πŸ”€ Types, Limits & Bits​

  • <stdint.h> β€” Fixed-width integer types
  • <inttypes.h> β€” Integer conversions/format macros
  • <limits.h> β€” Ranges of integer types
  • <stdbit.h> β€” Bit/byte utilities (C23)
  • <stdckdint.h> β€” Checked integer arithmetic (C23)

⏳ Time & Locale​

  • <time.h> β€” Time/date utilities
  • <locale.h> β€” Localization

⚑ Diagnostics & Errors​

  • <assert.h> β€” Runtime assertions
  • <errno.h> β€” Error codes

🚦 Control Flow & Signals​

  • <setjmp.h> β€” Nonlocal jumps
  • <signal.h> β€” Signal handling

πŸ”„ Misc​

  • <stdarg.h> β€” Variadic functions
  • <iso646.h> β€” Alternative operator spellings