From e009efae5db3a3b1eaf50996228ac8821aa0fcb5 Mon Sep 17 00:00:00 2001 From: jmc <> Date: Wed, 19 May 2010 06:32:43 +0000 Subject: [PATCH] tweak previous; --- src/lib/libc/stdlib/posix_memalign.3 | 4 ++-- src/lib/libc/string/strdup.3 | 19 +++++++++---------- src/lib/libc/string/strlen.3 | 5 ++--- 3 files changed, 13 insertions(+), 15 deletions(-) diff --git a/src/lib/libc/stdlib/posix_memalign.3 b/src/lib/libc/stdlib/posix_memalign.3 index 7bd39933..46b74af7 100644 --- a/src/lib/libc/stdlib/posix_memalign.3 +++ b/src/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/src/lib/libc/string/strdup.3 b/src/lib/libc/string/strdup.3 index 05dcb794..42a578b9 100644 --- a/src/lib/libc/string/strdup.3 +++ b/src/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/src/lib/libc/string/strlen.3 b/src/lib/libc/string/strlen.3 index 3b5f9a10..e1fde3e6 100644 --- a/src/lib/libc/string/strlen.3 +++ b/src/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