Module Name: src
Committed By: christos
Date: Fri Nov 13 16:00:32 UTC 2015
Modified Files:
src/lib/libc/stdlib: strtoi.3 strtol.3 strtou.3 strtoul.3
Log Message:
revert 0b documentation.
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/lib/libc/stdlib/strtoi.3 \
src/lib/libc/stdlib/strtou.3
cvs rdiff -u -r1.34 -r1.35 src/lib/libc/stdlib/strtol.3
cvs rdiff -u -r1.33 -r1.34 src/lib/libc/stdlib/strtoul.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.5 src/lib/libc/stdlib/strtoi.3:1.6
--- src/lib/libc/stdlib/strtoi.3:1.5 Fri Nov 13 04:50:31 2015
+++ src/lib/libc/stdlib/strtoi.3 Fri Nov 13 11:00:32 2015
@@ -1,4 +1,4 @@
-.\" $NetBSD: strtoi.3,v 1.5 2015/11/13 09:50:31 wiz Exp $
+.\" $NetBSD: strtoi.3,v 1.6 2015/11/13 16:00:32 christos Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -36,7 +36,7 @@
.\" Created by Kamil Rytarowski, based on ID:
.\" NetBSD: strtol.3,v 1.31 2015/03/11 09:57:35 wiz Exp
.\"
-.Dd November 12, 2015
+.Dd November 13, 2015
.Dt STRTOI 3
.Os
.Sh NAME
@@ -102,15 +102,15 @@ or
.Ql 0X
prefix,
and the number will be read in base 16; otherwise,
-if the
-.Fa base
-is zero or 2,
-the string may then include a
-.Ql 0b
-or
-.Ql 0B
-prefix,
-and the number will be read in base 2; otherwise,
+.\" if the
+.\" .Fa base
+.\" is zero or 2,
+.\" the string may then include a
+.\" .Ql 0b
+.\" or
+.\" .Ql 0B
+.\" prefix,
+.\" and the number will be read in base 2; otherwise,
a zero
.Fa base
is taken as 10 (decimal) unless the next character is
Index: src/lib/libc/stdlib/strtou.3
diff -u src/lib/libc/stdlib/strtou.3:1.5 src/lib/libc/stdlib/strtou.3:1.6
--- src/lib/libc/stdlib/strtou.3:1.5 Fri Nov 13 04:50:31 2015
+++ src/lib/libc/stdlib/strtou.3 Fri Nov 13 11:00:32 2015
@@ -1,4 +1,4 @@
-.\" $NetBSD: strtou.3,v 1.5 2015/11/13 09:50:31 wiz Exp $
+.\" $NetBSD: strtou.3,v 1.6 2015/11/13 16:00:32 christos Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -36,7 +36,7 @@
.\" Created by Kamil Rytarowski, based on ID:
.\" NetBSD: strtoul.3,v 1.29 2015/03/10 13:00:58 christos Exp
.\"
-.Dd November 15, 2015
+.Dd November 13, 2015
.Dt STRTOU 3
.Os
.Sh NAME
@@ -101,16 +101,15 @@ or
.Ql 0X
prefix,
and the number will be read in base 16; otherwise,
-and the number will be read in base 16; otherwise,
-if the
-.Fa base
-is zero or 2,
-the string may then include a
-.Ql 0b
-or
-.Ql 0B
-prefix,
-and the number will be read in base 2; otherwise,
+.\" if the
+.\" .Fa base
+.\" is zero or 2,
+.\" the string may then include a
+.\" .Ql 0b
+.\" or
+.\" .Ql 0B
+.\" prefix,
+.\" and the number will be read in base 2; otherwise,
a zero
.Fa base
is taken as 10 (decimal) unless the next character is
Index: src/lib/libc/stdlib/strtol.3
diff -u src/lib/libc/stdlib/strtol.3:1.34 src/lib/libc/stdlib/strtol.3:1.35
--- src/lib/libc/stdlib/strtol.3:1.34 Fri Nov 13 04:50:31 2015
+++ src/lib/libc/stdlib/strtol.3 Fri Nov 13 11:00:32 2015
@@ -1,4 +1,4 @@
-.\" $NetBSD: strtol.3,v 1.34 2015/11/13 09:50:31 wiz Exp $
+.\" $NetBSD: strtol.3,v 1.35 2015/11/13 16:00:32 christos Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -33,7 +33,7 @@
.\"
.\" from: @(#)strtol.3 8.1 (Berkeley) 6/4/93
.\"
-.Dd November 15, 2015
+.Dd November 13, 2015
.Dt STRTOL 3
.Os
.Sh NAME
@@ -117,15 +117,15 @@ or
.Ql 0X
prefix,
and the number will be read in base 16; otherwise,
-if the
-.Fa base
-is zero or 2,
-the string may then include a
-.Ql 0b
-or
-.Ql 0B
-prefix,
-and the number will be read in base 2; otherwise,
+.\" if the
+.\" .Fa base
+.\" is zero or 2,
+.\" the string may then include a
+.\" .Ql 0b
+.\" or
+.\" .Ql 0B
+.\" prefix,
+.\" and the number will be read in base 2; otherwise,
a zero
.Fa base
is taken as 10 (decimal) unless the next character is
Index: src/lib/libc/stdlib/strtoul.3
diff -u src/lib/libc/stdlib/strtoul.3:1.33 src/lib/libc/stdlib/strtoul.3:1.34
--- src/lib/libc/stdlib/strtoul.3:1.33 Fri Nov 13 04:50:31 2015
+++ src/lib/libc/stdlib/strtoul.3 Fri Nov 13 11:00:32 2015
@@ -1,4 +1,4 @@
-.\" $NetBSD: strtoul.3,v 1.33 2015/11/13 09:50:31 wiz Exp $
+.\" $NetBSD: strtoul.3,v 1.34 2015/11/13 16:00:32 christos Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -33,7 +33,7 @@
.\"
.\" from: @(#)strtoul.3 8.1 (Berkeley) 6/4/93
.\"
-.Dd November 15, 2015
+.Dd November 13, 2015
.Dt STRTOUL 3
.Os
.Sh NAME
@@ -117,16 +117,15 @@ or
.Ql 0X
prefix,
and the number will be read in base 16; otherwise,
-and the number will be read in base 16; otherwise,
-if the
-.Fa base
-is zero or 2,
-the string may then include a
-.Ql 0b
-or
-.Ql 0B
-prefix,
-and the number will be read in base 2; otherwise,
+.\" if the
+.\" .Fa base
+.\" is zero or 2,
+.\" the string may then include a
+.\" .Ql 0b
+.\" or
+.\" .Ql 0B
+.\" prefix,
+.\" and the number will be read in base 2; otherwise,
a zero
.Fa base
is taken as 10 (decimal) unless the next character is