Module Name: src
Committed By: wiz
Date: Sat Jul 11 15:50:56 UTC 2015
Modified Files:
src/lib/libc/stdlib: strtoi.3
Log Message:
Add missing Fc which broke man page on the web. Remove superfluous Pp.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/lib/libc/stdlib/strtoi.3
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/stdlib/strtoi.3
diff -u src/lib/libc/stdlib/strtoi.3:1.2 src/lib/libc/stdlib/strtoi.3:1.3
--- src/lib/libc/stdlib/strtoi.3:1.2 Sun May 3 12:27:32 2015
+++ src/lib/libc/stdlib/strtoi.3 Sat Jul 11 15:50:56 2015
@@ -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);