summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/stdlib')
-rw-r--r--lib/libc/stdlib/strtonum.32
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 ;
OpenPOWER on IntegriCloud