From 73ff679f9fc6de77dce48da6ef747a07600d932b Mon Sep 17 00:00:00 2001 From: millert <> Date: Thu, 21 Nov 2002 20:54:09 +0000 Subject: [PATCH] .Xr atoll(3) and add missing .Xr of atol(3) in atoll(3) man page. --- src/lib/libc/stdlib/atol.3 | 5 +++-- src/lib/libc/stdlib/atoll.3 | 3 ++- src/lib/libc/stdlib/strtol.3 | 14 +++++++++++--- src/lib/libc/stdlib/strtoul.3 | 13 ++++++++++--- 4 files changed, 26 insertions(+), 9 deletions(-) diff --git a/src/lib/libc/stdlib/atol.3 b/src/lib/libc/stdlib/atol.3 index 53a51899..cd276a57 100644 --- a/src/lib/libc/stdlib/atol.3 +++ b/src/lib/libc/stdlib/atol.3 @@ -33,7 +33,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: atol.3,v 1.4 2000/04/20 13:50:01 aaron Exp $ +.\" $OpenBSD: atol.3,v 1.5 2002/11/21 20:54:09 millert Exp $ .\" .Dd June 29, 1991 .Dt ATOL 3 @@ -63,6 +63,7 @@ strtol(nptr, (char **)NULL, 10); .Sh SEE ALSO .Xr atof 3 , .Xr atoi 3 , +.Xr atoll 3 , .Xr strtod 3 , .Xr strtol 3 , .Xr strtoul 3 @@ -70,4 +71,4 @@ strtol(nptr, (char **)NULL, 10); The .Fn atol function conforms to -.St -ansiC . +.St -ansiC-99 . diff --git a/src/lib/libc/stdlib/atoll.3 b/src/lib/libc/stdlib/atoll.3 index 98b5d9d6..8be46407 100644 --- a/src/lib/libc/stdlib/atoll.3 +++ b/src/lib/libc/stdlib/atoll.3 @@ -33,7 +33,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: atoll.3,v 1.1 2002/11/21 20:51:20 millert Exp $ +.\" $OpenBSD: atoll.3,v 1.2 2002/11/21 20:54:09 millert Exp $ .\" .Dd June 29, 1991 .Dt ATOLL 3 @@ -63,6 +63,7 @@ strtoll(nptr, (char **)NULL, 10); .Sh SEE ALSO .Xr atof 3 , .Xr atoi 3 , +.Xr atol 3 , .Xr strtod 3 , .Xr strtol 3 , .Xr strtoul 3 diff --git a/src/lib/libc/stdlib/strtol.3 b/src/lib/libc/stdlib/strtol.3 index a5bdff0b..7ac9f52b 100644 --- a/src/lib/libc/stdlib/strtol.3 +++ b/src/lib/libc/stdlib/strtol.3 @@ -33,7 +33,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: strtol.3,v 1.10 2002/06/29 00:20:11 millert Exp $ +.\" $OpenBSD: strtol.3,v 1.11 2002/11/21 20:54:09 millert Exp $ .\" .Dd June 25, 1992 .Dt STRTOL 3 @@ -231,13 +231,21 @@ The given string was out of range; the value converted has been clamped. .Xr atof 3 , .Xr atoi 3 , .Xr atol 3 , +.Xr atoll 3 , .Xr sscanf 3 , .Xr strtod 3 , .Xr strtoul 3 .Sh STANDARDS The .Fn strtol -function conforms to -.St -ansiC . +and +.Fn strtoll +functions conform to +.St -ansiC-99 . +The +.Fn strtoq +function is a +.Bx +extension and is provided for backwards compatibility with legacy programs. .Sh BUGS Ignores the current locale. diff --git a/src/lib/libc/stdlib/strtoul.3 b/src/lib/libc/stdlib/strtoul.3 index 6d55de4d..e80903ae 100644 --- a/src/lib/libc/stdlib/strtoul.3 +++ b/src/lib/libc/stdlib/strtoul.3 @@ -33,7 +33,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: strtoul.3,v 1.10 2002/06/29 00:20:11 millert Exp $ +.\" $OpenBSD: strtoul.3,v 1.11 2002/11/21 20:54:09 millert Exp $ .\" .Dd June 25, 1992 .Dt STRTOUL 3 @@ -219,7 +219,14 @@ The given string was out of range; the value converted has been clamped. .Sh STANDARDS The .Fn strtoul -function conforms to -.St -ansiC . +and +.Fn strtoull +functions conform to +.St -ansiC-99 . +The +.Fn strtouq +function is a +.Bx +extension and is provided for backwards compatibility with legacy programs. .Sh BUGS Ignores the current locale.