summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/libc/stdlib/strtonum.37
1 files changed, 5 insertions, 2 deletions
diff --git a/src/lib/libc/stdlib/strtonum.3 b/src/lib/libc/stdlib/strtonum.3
index ef089da071..11910a627c 100644
--- a/src/lib/libc/stdlib/strtonum.3
+++ b/src/lib/libc/stdlib/strtonum.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: strtonum.3,v 1.10 2005/04/14 02:13:29 tedu Exp $ 1.\" $OpenBSD: strtonum.3,v 1.11 2005/04/14 07:58:46 jmc Exp $
2.\" 2.\"
3.\" Copyright (c) 2004 Ted Unangst 3.\" Copyright (c) 2004 Ted Unangst
4.\" 4.\"
@@ -81,7 +81,10 @@ On error, 0 is returned and
81.Fa errstr 81.Fa errstr
82will point to an error message. 82will point to an error message.
83.Fa *errstr 83.Fa *errstr
84will be set to NULL on success; this fact can be used to differentiate 84will be set to
85.Dv NULL
86on success;
87this fact can be used to differentiate
85a successful return of 0 from an error. 88a successful return of 0 from an error.
86.Sh EXAMPLES 89.Sh EXAMPLES
87Using 90Using