mirror of https://github.com/mkerrisk/man-pages
atoi.3: Minor tweaks to Arkadiusz Drabczyk's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
c3e66a0608
commit
d7f741cf33
|
@ -125,8 +125,8 @@ On glibc, musl libc, and uClibc, 0 is returned on error.
|
||||||
is not set on error so there is no way to distinguish between 0 as an
|
is not set on error so there is no way to distinguish between 0 as an
|
||||||
error and as the converted value.
|
error and as the converted value.
|
||||||
No checks for overflow or underflow are done.
|
No checks for overflow or underflow are done.
|
||||||
Only input in decimal base can be converted.
|
Only base-10 input can be converted.
|
||||||
It's recommended to use
|
It is recommended to instead use the
|
||||||
.BR strtol ()
|
.BR strtol ()
|
||||||
and
|
and
|
||||||
.BR strtoul ()
|
.BR strtoul ()
|
||||||
|
|
Loading…
Reference in New Issue