summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmc <>2010-04-01 17:06:55 +0000
committerjmc <>2010-04-01 17:06:55 +0000
commit6a1c1ffee0cc71f97b998e209826f95c42116f21 (patch)
tree61724a0a55bd1d117c1c962f6c4968d4faaabcaa
parent542fefa6cf458e6a5d11fdd96dad12cfce6cea05 (diff)
downloadopenbsd-6a1c1ffee0cc71f97b998e209826f95c42116f21.tar.gz
openbsd-6a1c1ffee0cc71f97b998e209826f95c42116f21.tar.bz2
openbsd-6a1c1ffee0cc71f97b998e209826f95c42116f21.zip
WARNINGS -> CAVEATS, and a little neccessary cleanup;
-rw-r--r--src/lib/libc/stdlib/a64l.320
-rw-r--r--src/lib/libc/stdlib/ecvt.328
2 files changed, 24 insertions, 24 deletions
diff --git a/src/lib/libc/stdlib/a64l.3 b/src/lib/libc/stdlib/a64l.3
index 6eec5ce3b3..da0aae33c9 100644
--- a/src/lib/libc/stdlib/a64l.3
+++ b/src/lib/libc/stdlib/a64l.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: a64l.3,v 1.10 2007/05/31 19:19:31 jmc Exp $ 1.\" $OpenBSD: a64l.3,v 1.11 2010/04/01 17:06:55 jmc Exp $
2.\" 2.\"
3.\" Copyright (c) 1997 Todd C. Miller <Todd.Miller@courtesan.com> 3.\" Copyright (c) 1997 Todd C. Miller <Todd.Miller@courtesan.com>
4.\" 4.\"
@@ -14,7 +14,7 @@
14.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 14.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 15.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16.\" 16.\"
17.Dd $Mdocdate: May 31 2007 $ 17.Dd $Mdocdate: April 1 2010 $
18.Dt A64L 3 18.Dt A64L 3
19.Os 19.Os
20.Sh NAME 20.Sh NAME
@@ -108,7 +108,14 @@ returns a null pointer and sets the global variable
108.Va errno 108.Va errno
109to 109to
110.Er EINVAL . 110.Er EINVAL .
111.Sh WARNINGS 111.Sh STANDARDS
112The
113.Fn a64l
114and
115.Fn l64a
116functions conform to
117.St -xpg4.2 .
118.Sh CAVEATS
112The value returned by 119The value returned by
113.Fn l64a 120.Fn l64a
114is a pointer into a static buffer, the contents of which 121is a pointer into a static buffer, the contents of which
@@ -124,10 +131,3 @@ should be used to call
124.Pp 131.Pp
125If a long integer is larger than 32 bits, only the low-order 132If a long integer is larger than 32 bits, only the low-order
12632 bits are used. 13332 bits are used.
127.Sh STANDARDS
128The
129.Fn a64l
130and
131.Fn l64a
132functions conform to
133.St -xpg4.2 .
diff --git a/src/lib/libc/stdlib/ecvt.3 b/src/lib/libc/stdlib/ecvt.3
index 0717a2c02a..2f107e11fd 100644
--- a/src/lib/libc/stdlib/ecvt.3
+++ b/src/lib/libc/stdlib/ecvt.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: ecvt.3,v 1.8 2007/05/31 19:19:31 jmc Exp $ 1.\" $OpenBSD: ecvt.3,v 1.9 2010/04/01 17:06:55 jmc Exp $
2.\" 2.\"
3.\" Copyright (c) 2002 Todd C. Miller <Todd.Miller@courtesan.com> 3.\" Copyright (c) 2002 Todd C. Miller <Todd.Miller@courtesan.com>
4.\" 4.\"
@@ -18,7 +18,7 @@
18.\" Agency (DARPA) and Air Force Research Laboratory, Air Force 18.\" Agency (DARPA) and Air Force Research Laboratory, Air Force
19.\" Materiel Command, USAF, under agreement number F39502-99-1-0512. 19.\" Materiel Command, USAF, under agreement number F39502-99-1-0512.
20.\" 20.\"
21.Dd $Mdocdate: May 31 2007 $ 21.Dd $Mdocdate: April 1 2010 $
22.Dt ECVT 3 22.Dt ECVT 3
23.Os 23.Os
24.Sh NAME 24.Sh NAME
@@ -138,7 +138,18 @@ and
138.Fn gcvt 138.Fn gcvt
139functions return a NUL-terminated string representation of 139functions return a NUL-terminated string representation of
140.Fa value . 140.Fa value .
141.Sh WARNINGS 141.Sh SEE ALSO
142.Xr printf 3 ,
143.Xr strtod 3
144.Sh STANDARDS
145The
146.Fn ecvt ,
147.Fn fcvt
148and
149.Fn gcvt
150functions conform to
151.St -p1003.1-2001 .
152.Sh CAVEATS
142The 153The
143.Fn ecvt 154.Fn ecvt
144and 155and
@@ -152,14 +163,3 @@ precision of a double and may not be the same on all architectures.
152The 163The
153.Xr snprintf 3 164.Xr snprintf 3
154function is preferred over these functions for new code. 165function is preferred over these functions for new code.
155.Sh SEE ALSO
156.Xr printf 3 ,
157.Xr strtod 3
158.Sh STANDARDS
159The
160.Fn ecvt ,
161.Fn fcvt
162and
163.Fn gcvt
164functions conform to
165.St -p1003.1-2001 .