Next: Mathematical Functions <
Up: Common System Routines
Previous: String Functions: <
- atof
-
converts a string to a float
- atoi
-
converts a string to an integer
- atol
-
converts a string to a long
- strtod
-
converts a string to double
- strtol
-
converts a string to long
- strtoul
-
converts a string to unsigned long
- rand
-
generates a random integer
- srand
-
seeds the random generator
- calloc
-
dynamically allocates memory for n items of size
- malloc
-
dynamically allocates memory for n bytes
- realloc
-
reallocates a block of memory with a different size
- free
-
frees previously allocated memory
- abort
-
abnormally terminates a program
- exit
-
normally terminates a program
- system
-
executes system commands
- bsearch
-
binary search function
- qsort
-
sort function
- abs
-
returns absolute value of an integer
- labs
-
returns absolute value of a long
- div
-
int type: returns quotient and remainder of x / y
- ldiv
-
long type: similar to div
Tep Dobry
Mon Dec 9 05:56:25 HST 1996