Converts a string to an integer.
#include <stdlib.h> int atoi ( const char *ptr);
(IN) Points to the string to be converted.
Returns the converted value.
strtoi