atoi.3: Minor tweaks to Arkadiusz Drabczyk's patch

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2020-06-19 14:23:38 +02:00
parent c3e66a0608
commit d7f741cf33
1 changed files with 2 additions and 2 deletions

View File

@ -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 ()