[Bug 241254] atoi(3) wrongly states that atoi() is equivalent to (int)strtol(nptr, (char **)NULL, 10);
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Oct 15 16:23:20 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241254
Brooks Davis <brooks at FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|New |Closed
Resolution|--- |Not A Bug
CC| |brooks at FreeBSD.org
--- Comment #1 from Brooks Davis <brooks at FreeBSD.org> ---
The implementation of atoi() is literally:
int
atoi(const char *str)
{
return (int)strtol(str, NULL, 10);
}
so this statement is entirely correct.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-doc
mailing list