General Utilities: stdlib.h
The ANSI C standard library includes a variety of utility functions defined in stdlib.. The header file defines the types shown in Table RS.V.31.
Type | Description |
---|---|
size_t | The integer type returned by the sizeof operator. |
wchar_t | The integer type used to represent wide characters. |
div_t | The structure type returned by div(); it has a quot and a rem member, both of type int. |
ldiv_t | The structure type returned by ldiv(); it has a quot and a rem member, both of type long. |
lldiv_t | The structure type returned by lldiv(); it has a quot and a rem member, both of type long long. (C99) |
The header file defines the constants listed in Table RS.V.32.
Get C Primer Plus, Fourth Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.