totn C Functions

C Language: Standard Library Functions - stdlib.h

In the C Programming Language, the Standard Library Functions are divided into several header files.

The following is a list of functions found within the <stdlib.h> header file:

Communication with the Environment functions

abortAbort Program
atexitRegister Function to be Called at Program Exit
exitExit from Program
getenvGet Environment String
systemPerform Operating System Command

Integer Arithmetic functions

absAbsolute Value of Integer
divInteger Division
labsAbsolute Value of Long Integer
ldivLong Integer Division

Pseudo-Random Sequence Generation functions

randGenerate Pseudo-Random Number
srandSeed Pseudo-Random Number Generator

String Conversion functions

atofConvert String to Floating-Point
atoiConvert String to Integer
atolConvert String to Long Integer
strtodConvert String to Double
strtolConvert String to Long Integer
strtollConvert String to Long Long
strtoulConvert String to Unsigned Long Integer

Searching and Sorting functions

bsearchBinary Search
qsortSort Array

Dynamically Allocated Array functions

callocAllocate and Clear Memory Block
mallocAllocate Memory Block
reallocResize Memory Block

Deallocating Storage functions

freeFree Memory Block

Multibyte Character functions

mblenCompute Length of Multibyte Character
mbtowcConvert Multibyte Character to Wide Character
wctombConvert Wide Character to Multibyte Character

Multibyte String functions

mbstowcsConvert Multibyte String to Wide Character String
wcstombsConvert Wide Character String to Multibyte String