.th ATOI III 5/31/77 .sh NAME atoi \*- convert ASCII to integer .sh SYNOPSIS .ft B atoi(nptr) .br char *nptr; .ft R .sh DESCRIPTION .it Atoi converts the string pointed to by .it 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. .sh "SEE ALSO" atof(III) .sh BUGS There is no provision for overflow.