atoi - convert ASCII string to integer
Lb libc
It is equivalent to:
(int)strtol(nptr, (char **)NULL, 10);
The atoi (); function has been deprecated by strtol (); and should not be used in new code.