From 6adb9298b28c6dbf9a2b8927aaeb57c27a87eff2 Mon Sep 17 00:00:00 2001 From: jmc <> Date: Thu, 1 Apr 2010 17:06:55 +0000 Subject: [PATCH] WARNINGS -> CAVEATS, and a little neccessary cleanup; --- src/lib/libc/stdlib/a64l.3 | 20 ++++++++++---------- src/lib/libc/stdlib/ecvt.3 | 28 ++++++++++++++-------------- src/lib/libutil/opendev.3 | 18 +++++++++--------- 3 files changed, 33 insertions(+), 33 deletions(-) diff --git a/src/lib/libc/stdlib/a64l.3 b/src/lib/libc/stdlib/a64l.3 index 6eec5ce3..da0aae33 100644 --- a/src/lib/libc/stdlib/a64l.3 +++ b/src/lib/libc/stdlib/a64l.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: a64l.3,v 1.10 2007/05/31 19:19:31 jmc Exp $ +.\" $OpenBSD: a64l.3,v 1.11 2010/04/01 17:06:55 jmc Exp $ .\" .\" Copyright (c) 1997 Todd C. Miller .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: May 31 2007 $ +.Dd $Mdocdate: April 1 2010 $ .Dt A64L 3 .Os .Sh NAME @@ -108,7 +108,14 @@ returns a null pointer and sets the global variable .Va errno to .Er EINVAL . -.Sh WARNINGS +.Sh STANDARDS +The +.Fn a64l +and +.Fn l64a +functions conform to +.St -xpg4.2 . +.Sh CAVEATS The value returned by .Fn l64a is a pointer into a static buffer, the contents of which @@ -124,10 +131,3 @@ should be used to call .Pp If a long integer is larger than 32 bits, only the low-order 32 bits are used. -.Sh STANDARDS -The -.Fn a64l -and -.Fn l64a -functions conform to -.St -xpg4.2 . diff --git a/src/lib/libc/stdlib/ecvt.3 b/src/lib/libc/stdlib/ecvt.3 index 0717a2c0..2f107e11 100644 --- a/src/lib/libc/stdlib/ecvt.3 +++ b/src/lib/libc/stdlib/ecvt.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ecvt.3,v 1.8 2007/05/31 19:19:31 jmc Exp $ +.\" $OpenBSD: ecvt.3,v 1.9 2010/04/01 17:06:55 jmc Exp $ .\" .\" Copyright (c) 2002 Todd C. Miller .\" @@ -18,7 +18,7 @@ .\" Agency (DARPA) and Air Force Research Laboratory, Air Force .\" Materiel Command, USAF, under agreement number F39502-99-1-0512. .\" -.Dd $Mdocdate: May 31 2007 $ +.Dd $Mdocdate: April 1 2010 $ .Dt ECVT 3 .Os .Sh NAME @@ -138,7 +138,18 @@ and .Fn gcvt functions return a NUL-terminated string representation of .Fa value . -.Sh WARNINGS +.Sh SEE ALSO +.Xr printf 3 , +.Xr strtod 3 +.Sh STANDARDS +The +.Fn ecvt , +.Fn fcvt +and +.Fn gcvt +functions conform to +.St -p1003.1-2001 . +.Sh CAVEATS The .Fn ecvt and @@ -152,14 +163,3 @@ precision of a double and may not be the same on all architectures. The .Xr snprintf 3 function is preferred over these functions for new code. -.Sh SEE ALSO -.Xr printf 3 , -.Xr strtod 3 -.Sh STANDARDS -The -.Fn ecvt , -.Fn fcvt -and -.Fn gcvt -functions conform to -.St -p1003.1-2001 . diff --git a/src/lib/libutil/opendev.3 b/src/lib/libutil/opendev.3 index d6193280..f6266b01 100644 --- a/src/lib/libutil/opendev.3 +++ b/src/lib/libutil/opendev.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: opendev.3,v 1.17 2007/05/31 19:19:38 jmc Exp $ +.\" $OpenBSD: opendev.3,v 1.18 2010/04/01 17:06:55 jmc Exp $ .\" .\" Copyright (c) 2000, Todd C. Miller. All rights reserved. .\" Copyright (c) 1996, Jason Downs. All rights reserved. @@ -24,7 +24,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: May 31 2007 $ +.Dd $Mdocdate: April 1 2010 $ .Dt OPENDEV 3 .Os .Sh NAME @@ -84,13 +84,6 @@ The .Fn opendev return value and errors are the same as the return value and errors of .Xr open 2 . -.Sh WARNINGS -If -.Fa realpath -is not -.Dv NULL , -on return it will point to internal -static storage space that will be overwritten by subsequent calls. .Sh SEE ALSO .Xr open 2 , .Xr getrawpartition 3 @@ -99,3 +92,10 @@ The .Fn opendev function first appeared in .Ox 1.2 . +.Sh CAVEATS +If +.Fa realpath +is not +.Dv NULL , +on return it will point to internal +static storage space that will be overwritten by subsequent calls.