[ First ] [ Previous ] [ Next ] [ Last ] [ Manuals ]
atoi

Convert a character string to a value of type int.
Compatibility:
This function is compatible with the following targets:
Prototype:
#include <stdlib.h>
int atoi(const char *nptr);
Parameters:
Parameters for this facility are:
Remarks:
The atoi() function converts the character array pointed to by nptr to an integer value.
This function skips leading white space characters.
This function sets the global variable errno to ERANGE if the converted value cannot be expressed as a value of type int.
Return:
atoi() returns an integer value of type int.
See Also:
"atof"
"atol"
"errno"
"scanf"
[ First ] [ Previous ] [ Next ] [ Last ] [ Manuals ]
Visit the Metrowerks website at: http://www.metrowerks.com
For assistance contact Metrowerks Technical Support at: cw_support@metrowerks.com
Copyright © 2000, Metrowerks Corp. All rights reserved.
Last updated: August 16, 2000