ATOI(III)                    2/8/75                     ATOI(III)







NAME

     atoi - convert ASCII to integer



SYNOPSIS

     atoi(nptr)

     char *nptr;



DESCRIPTION

     Atoi converts the string pointed to by nptr to  an  integer.

     The  string  can contain leading blanks or tabs, an optional

     `-', and then an  unbroken  string  of  digits.   Conversion

     stops at the first non-digit.



SEE ALSO

     atof (III)



BUGS

     There is no provision for overflow.