C++ <cstdlib>

The C++ <cstdlib> header file declares a set of general-purpose functions such as: atof() to convert string to double. It also contains a few mathematical functions. For example, abs() to find the absolute value of a number.

C++ atexit()

registers function to be called on termination

C++ atof()

Converts String to Double

C++ atol()

Converts String to Integer

C++ at_quick_exit()

registers function and calls on quick termination

C++ bsearch()

performs binary search on sorted array

C++ calloc()

allocates block of memory and initializes to zero

C++ cstdlib abs()

Returns absolute value of an integer

C++ div()

computes integral quotient and remainder of number

C++ free()

deallocates a block of memory

C++ getenv()

returns pointer to environment variable passed

C++ labs()

returns absolute value of long or long int number

C++ ldiv()

computes integral division of long int numbers

C++ llabs()

returns absolute value of a long long int data

C++ lldiv()

computes integral division of two long long int.

C++ malloc()

Allocates a block of unitialized memory

C++ mblen()

determines size of a multibyte character

C++ mbstowcs()

converts multibyte char string to wide char seq

C++ mbtowc()

converts multibyte character to a wide character

C++ qsort()

sorts array using quick-sort algorithm

C++ quick_exit()

causes termination without cleaning resources

C++ realloc()

reallocates a block of previously allocated memory

C++ srand()

Seeds pseudo random number for rand()

C++ strtod()

returns string float to double

C++ strtol()

Converts a string to number

C++ strtoll()

converts string to long long int in C++

C++ strtoull()

converts string to unsigned long long int

C++ wcstombs()

converts wide character string to multibyte seq

C++ wctomb()

converts wide character to a multibyte character

C++ _Exit()

causes termination without cleanup tasks