Standard Library.

The standard library provides routines for storage allocation and number conversion.

_environ is a global variable which stores a pointer to the environment that the current program is using.

Routine Use
abort Terminates the current program with an error code
abs Calculates the absolute value of an integer
_alloca Allocates memory from the stack
atexit Registers a callback function for end of program processing
atof Converts a string to a floating point number
atoi Converts a string to an integer
atol Converts a string to a long integer
atoll Converts a string to a long long integer
bsearch Performs a binary search
calloc Allocates a memory array which is set to binary zeros
cuserid Returns the logged on user id
_ecvt Converts a double number to a string
_exit Forces the immediate termination of the program
exit Forces the immediate termination of the program
_fcvt Converts a double number to a string
free Frees allocated memory from the heap
_gcvt Converts a double number to a string
getenv Retrieves a value from the environment
getlogin Returns the logged on user id
itoa Converts an integer to a string
labs Calculates the absolute value of a long integer
_lfind Performs a linear search
_lrotl Rotate bits in an unsigned long integer left
_lrotr Rotates bits in an unsigned long integer right
_lsearch Performs a linear search, and adds if not found
malloc Allocates memory from the heap
__max Calculates the maximum value of two numbers
__min Calculates the minimum value of two numbers
_msize Returns the size of an allocated block from the heap
_putenv Inserts a value into the environment
qsort Performs a quick sort
rand Generates a random number
realloc Reallocates an area from the heap
_rotl Rotates bits in an unsigned integer left
_rotr Rotates bits in an unsigned integer right
srand Seeds the random number generator
strtod Converts a string to a double number
strtol Converts a string to a long integer
strtoll Converts a string to a long long integer
strtoul Converts a string to an unsigned long integer
strtoull Converts a string to an unsigned long long integer
_tolower Converts an unsigned 8 bit character to lower case
tolower Converts a character to lower case
_toupper Converts an unsigned 8 bit character to upper case
toupper Converts a character to upper case
_ultoa Converts an unsigned long to a string