diff options
author | bcr <bcr@FreeBSD.org> | 2010-10-21 18:30:48 +0000 |
---|---|---|
committer | bcr <bcr@FreeBSD.org> | 2010-10-21 18:30:48 +0000 |
commit | 9c458fa0647c39ac5b4cd52993c1c23afc0fd2b5 (patch) | |
tree | b07635a4f788901c5607d939f9c7c2edf8bd8bc1 /lib | |
parent | df1e327558f79c8194bb5da0a5b759d230230fb2 (diff) | |
download | FreeBSD-src-9c458fa0647c39ac5b4cd52993c1c23afc0fd2b5.zip FreeBSD-src-9c458fa0647c39ac5b4cd52993c1c23afc0fd2b5.tar.gz |
Document strtonum()s behavior of setting errno to 0 when no error is found.
PR: docs/143330
Submitted by: Efstratios Karatzas (gpf dot kira at gmail dot com)
Discussed with: ru@
MFC after: 7 days
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/stdlib/strtonum.3 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/stdlib/strtonum.3 b/lib/libc/stdlib/strtonum.3 index b83aadd..7ca88c5 100644 --- a/lib/libc/stdlib/strtonum.3 +++ b/lib/libc/stdlib/strtonum.3 @@ -83,6 +83,8 @@ is set, and .Fa errstr will point to an error message. On success, +.Va errno +is set to 0 and .Fa *errstr will be set to .Dv NULL ; |