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