Loading...
stdlib/atol.3 Libc-763.13 Libc-583
--- Libc/Libc-763.13/stdlib/atol.3
+++ Libc/Libc-583/stdlib/atol.3
@@ -13,6 +13,10 @@
 .\" 2. Redistributions in binary form must reproduce the above copyright
 .\"    notice, this list of conditions and the following disclaimer in the
 .\"    documentation and/or other materials provided with the distribution.
+.\" 3. All advertising materials mentioning features or use of this software
+.\"    must display the following acknowledgement:
+.\"	This product includes software developed by the University of
+.\"	California, Berkeley and its contributors.
 .\" 4. Neither the name of the University nor the names of its contributors
 .\"    may be used to endorse or promote products derived from this software
 .\"    without specific prior written permission.
@@ -30,9 +34,9 @@
 .\" SUCH DAMAGE.
 .\"
 .\"     @(#)atol.3	8.1 (Berkeley) 6/4/93
-.\" $FreeBSD: src/lib/libc/stdlib/atol.3,v 1.16 2009/03/01 05:44:28 delphij Exp $
+.\" $FreeBSD: src/lib/libc/stdlib/atol.3,v 1.13 2002/01/09 14:03:54 ru Exp $
 .\"
-.Dd February 1, 2009
+.Dd November 28, 2001
 .Dt ATOL 3
 .Os
 .Sh NAME
@@ -96,50 +100,13 @@
 functions may be passed locales directly. See
 .Xr xlocale 3
 for more information.
-.Sh IMPLEMENTATION NOTES
-The
-.Fn atol ,
-.Fn atoll ,
-.Fn atol_l ,
-and
-.Fn atoll_l
-functions are thread-safe and async-cancel-safe.
-.Pp
-The
-.Fx
-implementations of the
-.Fn atol
-and
-.Fn atoll
-functions are thin wrappers around
-.Fn strtol
-and
-.Fn stroll
-respectively, so these functions will affect the value of
-.Va errno
-in the same way that the
-.Fn strtol
-and
-.Fn stroll
-functions are able to.
-This behavior of
-.Fn atol
-and
-.Fn atoll
-is not required by
-.St -isoC
-or
-.St -isoC-99 ,
-but it is allowed by all of
-.St -isoC , St -isoC-99
-and
-.St -p1003.1-2001 .
 .Sh ERRORS
 The functions
 .Fn atol
 and
 .Fn atoll
-may affect the value of
+need not
+affect the value of
 .Va errno
 on an error.
 .Sh SEE ALSO