Standard library header <cstdlib>
From cppreference.com
This header was originally in the C standard library as <stdlib.h>.
This header provides miscellaneous utilities. Symbols defined here are used by several library components.
Macros |
||
| indicates program execution execution status (macro constant) |
||
| maximum possible value generated by std::rand (macro constant) |
||
Classes |
||
div_t
|
the quotient and remainder of integer division (struct) |
|
Functions |
||
Process control |
||
| causes abnormal program termination (without cleaning up) (function) |
||
| causes normal program termination with cleaning up (function) |
||
| (C++11)
|
causes normal program termination without completely cleaning up (function) |
|
| (C++11)
|
causes normal program termination without cleaning up (function) |
|
| registers a function to be called on exit() invocation (function) |
||
| (C++11)
|
registers a function to be called on quick_exit invocation (function) |
|
| calls the host environment's command processor (function) |
||
| access to the list of environment variables (function) |
||
Memory management |
||
| allocates memory (function) |
||
| allocates and zeroes memory (function) |
||
| expands previously allocated memory block (function) |
||
| deallocates previously allocated memory (function) |
||
Numeric string conversion |
||
| converts a byte string to a floating point value (function) |
||
| converts a byte string to an integer value (function) |
||
| converts a byte string to an integer value (function) |
||
| converts a byte string to an unsigned integer value (function) |
||
| converts a byte string to a floating point value (function) |
||
Wide string manimpulation |
||
| returns the number of bytes in the next multibyte character (function) |
||
| converts the next multibyte character to wide character (function) |
||
| converts a wide character to its multibyte representation (function) |
||
| converts a narrow multibyte character string to wide string (function) |
||
| converts a wide string to narrow multibyte character string (function) |
||
Miscellaneous algorithms and math |
||
| generates a pseudo-random number (function) |
||
| seeds pseudo-random number generator (function) |
||
| sorts a range of elements with unspecified type (function) |
||
| searches an array for an element of unspecified type (function) |
||
| computes absolute value of an integral value (|x|) (function) |
||
| the quotient and remainder of integer division (function) |
||