From 44d2ccb7f573e8d9ceff2c10422122357ebde9b1 Mon Sep 17 00:00:00 2001 From: Jason McIntyre Date: Wed, 19 May 2010 06:32:44 +0000 Subject: tweak previous; --- lib/libc/stdlib/posix_memalign.3 | 4 ++-- lib/libc/string/strdup.3 | 19 +++++++++---------- lib/libc/string/strlen.3 | 5 ++--- lib/libc/sys/madvise.2 | 8 +++----- 4 files changed, 16 insertions(+), 20 deletions(-) (limited to 'lib') diff --git a/lib/libc/stdlib/posix_memalign.3 b/lib/libc/stdlib/posix_memalign.3 index 7bd39933dcd..46b74af7bef 100644 --- a/lib/libc/stdlib/posix_memalign.3 +++ b/lib/libc/stdlib/posix_memalign.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD +.\" $OpenBSD: posix_memalign.3,v 1.2 2010/05/19 06:32:43 jmc Exp $ .\" Copyright (C) 2006 Jason Evans . .\" All rights reserved. .\" @@ -28,7 +28,7 @@ .\" .\" $FreeBSD: src/lib/libc/stdlib/posix_memalign.3,v 1.3 2007/03/28 04:32:51 jasone Exp $ .\" -.Dd $Mdocdate: May 18 2010 $ +.Dd $Mdocdate: May 19 2010 $ .Dt POSIX_MEMALIGN 3 .Os .Sh NAME diff --git a/lib/libc/string/strdup.3 b/lib/libc/string/strdup.3 index 05dcb794f04..42a578b913c 100644 --- a/lib/libc/string/strdup.3 +++ b/lib/libc/string/strdup.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: strdup.3,v 1.16 2010/05/18 22:24:55 tedu Exp $ +.\" $OpenBSD: strdup.3,v 1.17 2010/05/19 06:32:43 jmc Exp $ .\" .\" Copyright (c) 1990, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" @(#)strdup.3 8.1 (Berkeley) 6/9/93 .\" -.Dd $Mdocdate: May 18 2010 $ +.Dd $Mdocdate: May 19 2010 $ .Dt STRDUP 3 .Os .Sh NAME @@ -91,20 +91,19 @@ for any of the errors specified for the library function .Xr strcpy 3 , .Xr strlcpy 3 , .Xr strlen 3 +.Sh STANDARDS +The +.Fn strdup +and +.Fn strndup +functions conform to +.St -p1003.1-2008 . .Sh HISTORY The .Fn strdup function first appeared in .Bx 4.4 . -.Pp The .Fn strndup function first appeared in .Ox 4.8 . -.Sh STANDARDS -The -.Fn strdup -and -.Fn strndup -functions conform to -.St -p1003.1-2008 . diff --git a/lib/libc/string/strlen.3 b/lib/libc/string/strlen.3 index 3b5f9a10c12..e1fde3e6793 100644 --- a/lib/libc/string/strlen.3 +++ b/lib/libc/string/strlen.3 @@ -29,9 +29,9 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: strlen.3,v 1.7 2010/05/18 22:24:55 tedu Exp $ +.\" $OpenBSD: strlen.3,v 1.8 2010/05/19 06:32:43 jmc Exp $ .\" -.Dd $Mdocdate: May 18 2010 $ +.Dd $Mdocdate: May 19 2010 $ .Dt STRLEN 3 .Os .Sh NAME @@ -63,7 +63,6 @@ function will never attempt to address more than .Fa maxlen characters, making it suitable for use with character arrays that are not guaranteed to be NUL-terminated. -.Pp .Sh RETURN VALUES The .Fn strlen diff --git a/lib/libc/sys/madvise.2 b/lib/libc/sys/madvise.2 index 0bd769da626..5f62531721e 100644 --- a/lib/libc/sys/madvise.2 +++ b/lib/libc/sys/madvise.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: madvise.2,v 1.15 2010/05/18 22:24:55 tedu Exp $ +.\" $OpenBSD: madvise.2,v 1.16 2010/05/19 06:32:43 jmc Exp $ .\" $NetBSD: madvise.2,v 1.7 1995/12/27 21:17:02 jtc Exp $ .\" .\" Copyright (c) 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)madvise.2 8.1 (Berkeley) 6/9/93 .\" -.Dd $Mdocdate: May 18 2010 $ +.Dd $Mdocdate: May 19 2010 $ .Dt MADVISE 2 .Os .Sh NAME @@ -90,8 +90,7 @@ is set to indicate the error. .Xr minherit 2 , .Xr mprotect 2 , .Xr msync 2 , -.Xr munmap 2 , -.Xr posix_madvise 2 +.Xr munmap 2 .Sh STANDARDS The .Fn posix_madvise @@ -107,4 +106,3 @@ The .Nm posix_madvise function first appeared in .Ox 4.8 . - -- cgit v1.2.3