From 8e65f0dbb2743cbccc063c47d2a19395f703539e Mon Sep 17 00:00:00 2001 From: ache Date: Tue, 25 Dec 2001 08:43:35 +0000 Subject: Add "except the handling of errors" into "equivalent to" paragraph. Pointed by: bde Inspired by: POSIX --- lib/libc/stdlib/atof.3 | 2 ++ lib/libc/stdlib/atoi.3 | 2 ++ lib/libc/stdlib/atol.3 | 4 ++++ 3 files changed, 8 insertions(+) (limited to 'lib') diff --git a/lib/libc/stdlib/atof.3 b/lib/libc/stdlib/atof.3 index da8bed5..ad865f4 100644 --- a/lib/libc/stdlib/atof.3 +++ b/lib/libc/stdlib/atof.3 @@ -64,6 +64,8 @@ It is equivalent to: strtod(nptr, (char **)NULL); .Ed .Pp +except the handling of errors. +.Pp The decimal point character is defined in the program's locale (category .Dv LC_NUMERIC ) . diff --git a/lib/libc/stdlib/atoi.3 b/lib/libc/stdlib/atoi.3 index 69eda81..551fc56 100644 --- a/lib/libc/stdlib/atoi.3 +++ b/lib/libc/stdlib/atoi.3 @@ -63,6 +63,8 @@ It is equivalent to: .Bd -literal -offset indent (int)strtol(nptr, (char **)NULL, 10); .Ed +.Pp +except the handling of errors. .Sh IMPLEMENTATION NOTES The .Fn atoi diff --git a/lib/libc/stdlib/atol.3 b/lib/libc/stdlib/atol.3 index 9ba67cd..261999f 100644 --- a/lib/libc/stdlib/atol.3 +++ b/lib/libc/stdlib/atol.3 @@ -70,6 +70,8 @@ It is equivalent to: .Pp .Dl "strtol(nptr, (char **)NULL, 10);" .Pp +except the handling of errors. +.Pp The .Fn atoll function converts the initial portion of the string pointed to by @@ -82,6 +84,8 @@ representation. It is equivalent to: .Pp .Dl "strtoll(nptr, (char **)NULL, 10);" +.Pp +except the handling of errors. .Sh ERRORS The .Fn atol -- cgit v1.1