summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/libc/stdlib/strtonum.35
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/libc/stdlib/strtonum.3 b/src/lib/libc/stdlib/strtonum.3
index 08c58b256e..ef089da071 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.9 2005/02/07 08:54:59 jmc Exp $ 1.\" $OpenBSD: strtonum.3,v 1.10 2005/04/14 02:13:29 tedu Exp $
2.\" 2.\"
3.\" Copyright (c) 2004 Ted Unangst 3.\" Copyright (c) 2004 Ted Unangst
4.\" 4.\"
@@ -80,6 +80,9 @@ unless the value would exceed the provided bounds or is invalid.
80On error, 0 is returned and 80On 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
84will be set to NULL on success; this fact can be used to differentiate
85a successful return of 0 from an error.
83.Sh EXAMPLES 86.Sh EXAMPLES
84Using 87Using
85.Fn strtonum 88.Fn strtonum