Unix |
Unix v6 |
|
![]() |
atoi(3) |
![]() |
atoi convert ASCII to integer atoi(nptr)
char *nptr; converts the string pointed to by 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. atof
(III) There is no provision for overflow.
![]() |
atoi(3) | ![]() |