summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib
diff options
context:
space:
mode:
authorwiz <wiz@NetBSD.org>2015-07-11 15:50:56 +0000
committerwiz <wiz@NetBSD.org>2015-07-11 15:50:56 +0000
commit0866e55830762b333b648f6ccfae537cddfa6fed (patch)
treebd377096103248e9023a73b9c8d97ab1fe72976e /lib/libc/stdlib
parent2d8a9ad17259bc8ca87eb306c65db7d449166fb7 (diff)
Add missing Fc which broke man page on the web. Remove superfluous Pp.
Diffstat (limited to 'lib/libc/stdlib')
-rw-r--r--lib/libc/stdlib/strtoi.34
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/stdlib/strtoi.3 b/lib/libc/stdlib/strtoi.3
index 5c74d50bd1a..56d0a195c9b 100644
--- a/lib/libc/stdlib/strtoi.3
+++ b/lib/libc/stdlib/strtoi.3
@@ -1,4 +1,4 @@
-.\" $NetBSD: strtoi.3,v 1.2 2015/05/03 12:27:32 wiz Exp $
+.\" $NetBSD: strtoi.3,v 1.3 2015/07/11 15:50:56 wiz Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -54,6 +54,7 @@
.Fa "intmax_t lo"
.Fa "intmax_t hi"
.Fa "int *rstatus"
+.Fc
.Sh DESCRIPTION
The
.Fn strtoi
@@ -161,7 +162,6 @@ argument.
The following example will always return a number in
.Dv [1..99]
range no matter what the input is, and warn if the conversion failed.
-.Pp
.Bd -literal -offset indent
int e;
intmax_t lval = strtoi(buf, NULL, 0, 1, 99, &e);