The header file <stdlib.h> defines a number of types, macros, and functions of general utility.

Types

div_t, ldiv_t, lldiv_t

Macros

RAND_MAX

Number conversion functions

atoi, atol, atoll, itoa, ltoa, lltoa, strtol, strtoll, strtoul, strtoull, ultoa, ulltoa, utoa

Integer arithmetic functions

div, ldiv, lldiv

Pseudo-random sequence generation functions

rand, srand