home *** CD-ROM | disk | FTP | other *** search
- .th ATOI III 2/8/75
- .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.
-