Skip to content
UPEEC

stdlib.h

General utilities: memory (`malloc`, `free`), conversions (`strtol`, `strtod`), `qsort`, `bsearch`, `rand`, `exit`, `abs`.

Beginner
Comments 0

Prefer strtol over atoi — it reports errors.

Spotted a mistake or want to add detail? Suggest an improvement — Content Contributors' edits are reviewed by editors before they go live.

Discussion (0)

Sign in or join free to ask questions and discuss this topic.