MiniUnix/usr/man/man3/atoi.3

Find at most related files.
including files from this version of Unix.

.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.