On this page
c/stdlib
Prev: pointers_and_memory | Up: c | Next: compilation_and_internals
Rel: c/builtins, fundamentals, pointers_and_memory
Ref: cppreference — C Standard Library Headers
Tags: #public #prog #c #stdlib #index
Atomic Header References (<header>.md + <header>/<symbol>.md)
Every symbol card carries a usage tier tag: #tier/core, #tier/standard, #tier/specialized, or #tier/legacy.
Core I/O, Memory & Strings
- stdio.h — Buffered file & formatted I/O (
printf,snprintf,fgets,fopen,fread,fwrite,perror) - stdlib.h — Heap allocation (
malloc,calloc,realloc,free),strtol,qsort,bsearch,exit - string.h — Byte & string operations (
memcpy,memmove,memset,memcmp,strlen,strcmp,strncmp) - ctype.h — Character classification & case conversion (
isdigit,isalpha,isspace,tolower)
Types, Limits & Diagnostics
- stdint.h — Exact-width integers (
int32_t,int64_t,uint8_t,uint32_t,uint64_t,uintptr_t,PRIu64) - stddef.h — Core definitions (
size_t,ptrdiff_t,NULL,offsetof,max_align_t) - stdbool.h — Boolean type (
bool,true,false) - limits.h — Numeric bounds (
INT_MAX,CHAR_BIT,DBL_EPSILON) - errno.h — Thread-local error status (
errno) - assert.h — Runtime
assertand compile-timestatic_assert
Math, Time & Variadics
- math.h — Floating-point math & classification (
sqrt,fabs,pow,floor,isnan) - time.h — Timestamps & formatting (
time,timespec_get,strftime,gmtime) - stdarg.h — Variadic function arguments (
va_list)
Systems, Concurrency & Control
- signal.h — Asynchronous OS signals (
signal,sig_atomic_t) - stdatomic.h — C11 lock-free atomics (
atomic_load,atomic_fetch_add,atomic_compare_exchange_weak) - threads.h — C11 threading primitives (
thrd_create,mtx_lock) - setjmp.h — Non-local stack jumps (
setjmp/longjmp)
Narrative Header Guides
Linked from
- tuts/c
- tuts/c/builtins
- tuts/c/compilation_and_internals
- tuts/c/pointers_and_memory
- tuts/c/pointers_and_memory/undefined_behavior_and_sanitizers
- tuts/c/stdlib/assert
- tuts/c/stdlib/ctype
- tuts/c/stdlib/errno
- tuts/c/stdlib/limits
- tuts/c/stdlib/math
- tuts/c/stdlib/math_time_and_assert
- tuts/c/stdlib/setjmp
- tuts/c/stdlib/signal
- tuts/c/stdlib/stdarg
- tuts/c/stdlib/stdatomic
- tuts/c/stdlib/stdbool
- tuts/c/stdlib/stddef
- tuts/c/stdlib/stdint
- tuts/c/stdlib/stdint_stdbool_and_limits
- tuts/c/stdlib/stdio
- tuts/c/stdlib/stdio_and_file_io
- tuts/c/stdlib/stdlib
- tuts/c/stdlib/stdlib_and_string_h
- tuts/c/stdlib/string
- tuts/c/stdlib/threads
- tuts/c/stdlib/time
Related notes
- tuts/c/stdlib/assert Linked here; links to this page; shared tags: #c, #index, #prog, #stdlib
- tuts/c/stdlib/ctype Linked here; links to this page; shared tags: #c, #index, #prog, #stdlib
- tuts/c/stdlib/errno Linked here; links to this page; shared tags: #c, #index, #prog, #stdlib
- tuts/c/stdlib/limits Linked here; links to this page; shared tags: #c, #index, #prog, #stdlib
- tuts/c/stdlib/math Linked here; links to this page; shared tags: #c, #index, #prog, #stdlib
- tuts/c/stdlib/setjmp Linked here; links to this page; shared tags: #c, #index, #prog, #stdlib
- tuts/c/stdlib/signal Linked here; links to this page; shared tags: #c, #index, #prog, #stdlib
- tuts/c/stdlib/stdarg Linked here; links to this page; shared tags: #c, #index, #prog, #stdlib
- tuts/c/stdlib/stdatomic Linked here; links to this page; shared tags: #c, #index, #prog, #stdlib
- tuts/c/stdlib/stdbool Linked here; links to this page; shared tags: #c, #index, #prog, #stdlib