Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/stdlib revert 0b documentation.



details:   https://anonhg.NetBSD.org/src/rev/38d8a4426c8c
branches:  trunk
changeset: 811751:38d8a4426c8c
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Nov 13 16:00:32 2015 +0000

description:
revert 0b documentation.

diffstat:

 lib/libc/stdlib/strtoi.3  |  22 +++++++++++-----------
 lib/libc/stdlib/strtol.3  |  22 +++++++++++-----------
 lib/libc/stdlib/strtou.3  |  23 +++++++++++------------
 lib/libc/stdlib/strtoul.3 |  23 +++++++++++------------
 4 files changed, 44 insertions(+), 46 deletions(-)

diffs (174 lines):

diff -r 4662f74399fb -r 38d8a4426c8c lib/libc/stdlib/strtoi.3
--- a/lib/libc/stdlib/strtoi.3  Fri Nov 13 15:23:17 2015 +0000
+++ b/lib/libc/stdlib/strtoi.3  Fri Nov 13 16:00:32 2015 +0000
@@ -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 @@
 .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
diff -r 4662f74399fb -r 38d8a4426c8c lib/libc/stdlib/strtol.3
--- a/lib/libc/stdlib/strtol.3  Fri Nov 13 15:23:17 2015 +0000
+++ b/lib/libc/stdlib/strtol.3  Fri Nov 13 16:00:32 2015 +0000
@@ -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 @@
 .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
diff -r 4662f74399fb -r 38d8a4426c8c lib/libc/stdlib/strtou.3
--- a/lib/libc/stdlib/strtou.3  Fri Nov 13 15:23:17 2015 +0000
+++ b/lib/libc/stdlib/strtou.3  Fri Nov 13 16:00:32 2015 +0000
@@ -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 @@
 .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
diff -r 4662f74399fb -r 38d8a4426c8c lib/libc/stdlib/strtoul.3
--- a/lib/libc/stdlib/strtoul.3 Fri Nov 13 15:23:17 2015 +0000
+++ b/lib/libc/stdlib/strtoul.3 Fri Nov 13 16:00:32 2015 +0000
@@ -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 @@
 .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



Home | Main Index | Thread Index | Old Index