summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2004-05-03 17:20:45 +0000
committertedu <tedu@openbsd.org>2004-05-03 17:20:45 +0000
commitea7665a74d5607bf02c78457c8d6c77474b41eb5 (patch)
treea6706cbbbc971ec953b4603b26d1956a3a6b765b /lib/libc
parentstrtonum, a nicer version of strtoll, by millert and myself. (diff)
downloadwireguard-openbsd-ea7665a74d5607bf02c78457c8d6c77474b41eb5.tar.xz
wireguard-openbsd-ea7665a74d5607bf02c78457c8d6c77474b41eb5.zip
typo spotted by grange
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/stdlib/strtonum.34
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/stdlib/strtonum.3 b/lib/libc/stdlib/strtonum.3
index 31aae9075bd..cc7271581c2 100644
--- a/lib/libc/stdlib/strtonum.3
+++ b/lib/libc/stdlib/strtonum.3
@@ -29,7 +29,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: strtonum.3,v 1.1 2004/05/03 17:09:24 tedu Exp $
+.\" $OpenBSD: strtonum.3,v 1.2 2004/05/03 17:20:45 tedu Exp $
.\"
.Dd April 29, 2004
.Dt STRTONUM 3
@@ -87,7 +87,7 @@ stores an error string in
indicating the failure.
.Sh RETURN VALUES
The
-.Fn strtol
+.Fn strtonum
function returns the result of the conversion,
unless the value would underflow or overflow.
On error, 0 is returned.