Data Conversion Routines
The data conversion routines convert strings of ASCII characters to numbers. All of these routines are implemented as functions and most are prototyped in the include file stdlib.h. The abs, cabs, and labs functions are prototyped in math.h.
| Routine | Attributes | Description |
|---|
| abs | reentrant | Generates the absolute value of an integer type. |
| atof | | Converts a string to a float. |
| atoi | | Converts a string to an int. |
| atol | | Converts a string to a long. |
| cabs | reentrant | Generates the absolute value of a character type. |
| labs | reentrant | Generates the absolute value of a long type. |