Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/stdlib Sort ERRORS and SEE ALSO.



details:   https://anonhg.NetBSD.org/src/rev/db356a9763a7
branches:  trunk
changeset: 808058:db356a9763a7
user:      wiz <wiz%NetBSD.org@localhost>
date:      Sun May 03 12:27:32 2015 +0000

description:
Sort ERRORS and SEE ALSO.

diffstat:

 lib/libc/stdlib/strtoi.3 |  13 ++++++-------
 lib/libc/stdlib/strtou.3 |  15 +++++++--------
 2 files changed, 13 insertions(+), 15 deletions(-)

diffs (101 lines):

diff -r fe1424f607f1 -r db356a9763a7 lib/libc/stdlib/strtoi.3
--- a/lib/libc/stdlib/strtoi.3  Sun May 03 11:47:15 2015 +0000
+++ b/lib/libc/stdlib/strtoi.3  Sun May 03 12:27:32 2015 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: strtoi.3,v 1.1 2015/05/01 14:17:56 christos Exp $
+.\"    $NetBSD: strtoi.3,v 1.2 2015/05/03 12:27:32 wiz Exp $
 .\"
 .\" Copyright (c) 1990, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -171,21 +171,20 @@
 .Ed
 .Sh ERRORS
 .Bl -tag -width Er
+.It Bq Er ECANCELED
+The string did not contain any characters that were converted.
 .It Bq Er EINVAL
 The
 .Ar base
 is not between 2 and 36 and does not contain the special value 0.
-.It Bq Er ERANGE
-The given string was out of range; the value converted has been clamped.
-.It Bq Er ECANCELED
-The string did not contain any characters that were converted.
 .It Bq Er ENOTSUP
 The string contained non-numeric characters that did not get converted.
 In this case,
 .Fa endptr
 points to the first unconverted character.
 .It Bq Er ERANGE
-The range given was invalid, i.e.
+The given string was out of range; the value converted has been clamped;
+or the range given was invalid, i.e.
 .Fa lo
 \*[Gt]
 .Fa hi .
@@ -196,9 +195,9 @@
 .Xr atol 3 ,
 .Xr atoll 3 ,
 .Xr strtod 3 ,
+.Xr strtoimax 3 ,
 .Xr strtol 3 ,
 .Xr strtoll 3 ,
-.Xr strtoimax 3 ,
 .Xr strtou 3 ,
 .Xr strtoul 3 ,
 .Xr strtoull 3 ,
diff -r fe1424f607f1 -r db356a9763a7 lib/libc/stdlib/strtou.3
--- a/lib/libc/stdlib/strtou.3  Sun May 03 11:47:15 2015 +0000
+++ b/lib/libc/stdlib/strtou.3  Sun May 03 12:27:32 2015 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: strtou.3,v 1.1 2015/05/01 14:17:56 christos Exp $
+.\"    $NetBSD: strtou.3,v 1.2 2015/05/03 12:28:20 wiz Exp $
 .\"
 .\" Copyright (c) 1990, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -40,7 +40,7 @@
 .Dt STRTOU 3
 .Os
 .Sh NAME
-.Nm strtou 
+.Nm strtou
 .Nd convert a string to an uintmax_t integer
 .Sh LIBRARY
 .Lb libc
@@ -170,21 +170,20 @@
 .Ed
 .Sh ERRORS
 .Bl -tag -width Er
+.It Bq Er ECANCELED
+The string did not contain any characters that were converted.
 .It Bq Er EINVAL
 The
 .Ar base
 is not between 2 and 36 and does not contain the special value 0.
-.It Bq Er ERANGE
-The given string was out of range; the value converted has been clamped.
-.It Bq Er ECANCELED
-The string did not contain any characters that were converted.
 .It Bq Er ENOTSUP
 The string contained non-numeric characters that did not get converted.
 In this case,
 .Fa endptr
 points to the first unconverted character.
 .It Bq Er ERANGE
-The range given was invalid, i.e.
+The given string was out of range; the value converted has been clamped; or
+the range given was invalid, i.e.
 .Fa lo
 \*[Gt]
 .Fa hi .
@@ -196,9 +195,9 @@
 .Xr atoll 3 ,
 .Xr strtod 3 ,
 .Xr strtoi 3 ,
+.Xr strtoimax 3 ,
 .Xr strtol 3 ,
 .Xr strtoll 3 ,
-.Xr strtoimax 3 ,
 .Xr strtoul 3 ,
 .Xr strtoull 3 ,
 .Xr strtoumax 3



Home | Main Index | Thread Index | Old Index