From 98b870fa7b5b5c3402bdd05ed56b2daf08996cd2 Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Tue, 25 Dec 2001 08:43:35 +0000 Subject: [PATCH] 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(+) diff --git a/lib/libc/stdlib/atof.3 b/lib/libc/stdlib/atof.3 index da8bed5391d..ad865f4e7e4 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 69eda819c78..551fc560888 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 9ba67cdaf9f..261999fdb9e 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