diff options
| author | wiz <wiz@NetBSD.org> | 2015-05-03 12:27:32 +0000 |
|---|---|---|
| committer | wiz <wiz@NetBSD.org> | 2015-05-03 12:27:32 +0000 |
| commit | fb6cb3ab1ebbbc1ae837b374cafdb1eec108ced9 (patch) | |
| tree | e69912d0594742b472ff141bbd173a3b34b3c395 /lib/libc/stdlib | |
| parent | 36a462815f9a11c8260a050eb098eac9864d8c52 (diff) | |
Sort ERRORS and SEE ALSO.
Diffstat (limited to 'lib/libc/stdlib')
| -rw-r--r-- | lib/libc/stdlib/strtoi.3 | 13 | ||||
| -rw-r--r-- | lib/libc/stdlib/strtou.3 | 15 |
2 files changed, 13 insertions, 15 deletions
diff --git a/lib/libc/stdlib/strtoi.3 b/lib/libc/stdlib/strtoi.3 index 588ee183708..5c74d50bd1a 100644 --- a/lib/libc/stdlib/strtoi.3 +++ b/lib/libc/stdlib/strtoi.3 @@ -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 @@ if (e) .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 @@ The range given was invalid, i.e. .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 --git a/lib/libc/stdlib/strtou.3 b/lib/libc/stdlib/strtou.3 index 586a268d1d4..bc11c4d7943 100644 --- a/lib/libc/stdlib/strtou.3 +++ b/lib/libc/stdlib/strtou.3 @@ -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 @@ if (e) .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 @@ The range given was invalid, i.e. .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 |
