Home »
C++ programming language
C++ <cstdlib> (<stdlib.h>) Header Functions
C++ <cstdlib> (<stdlib.h>) header has the following built-in functions.
Functions |
Description |
abort() |
Aborts the current process. |
abs() |
Returns the absolute value of the given parameter. |
atexit() |
Sets a function to be executed on exit. |
atof() |
Converts the given string to double. |
atoi() |
Converts the given string to integer. |
atol() |
Converts the given string to long integer. |
atoll() |
Converts the given string to long long integer. |
at_quick_exit() |
Sets a function to be executed on quick exit. |
div() |
Returns the integral quotient and remainder of the division of numerator and denominator. |
exit() |
Terminates calling process. |
free() |
Deallocates the dynamically allocated memory blocks. |
getenv() |
Returns the environment string. |
labs() |
Returns the absolute value of the given value. |
ldiv() |
Returns the integral quotient and remainder of the division of numerator and denominator. |
llabs() |
Returns the absolute value of the given value. |
lldiv() |
Returns the integral quotient and remainder of the division of numerator and denominator. |