Browse Source

tweak previous;

OPENBSD_4_8
jmc 14 years ago
parent
commit
e009efae5d
3 changed files with 13 additions and 15 deletions
  1. +2
    -2
      src/lib/libc/stdlib/posix_memalign.3
  2. +9
    -10
      src/lib/libc/string/strdup.3
  3. +2
    -3
      src/lib/libc/string/strlen.3

+ 2
- 2
src/lib/libc/stdlib/posix_memalign.3 View File

@ -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 <jasone@FreeBSD.org>. .\" Copyright (C) 2006 Jason Evans <jasone@FreeBSD.org>.
.\" All rights reserved. .\" 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 $ .\" $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 .Dt POSIX_MEMALIGN 3
.Os .Os
.Sh NAME .Sh NAME


+ 9
- 10
src/lib/libc/string/strdup.3 View File

@ -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 .\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved. .\" The Regents of the University of California. All rights reserved.
@ -29,7 +29,7 @@
.\" .\"
.\" @(#)strdup.3 8.1 (Berkeley) 6/9/93 .\" @(#)strdup.3 8.1 (Berkeley) 6/9/93
.\" .\"
.Dd $Mdocdate: May 18 2010 $
.Dd $Mdocdate: May 19 2010 $
.Dt STRDUP 3 .Dt STRDUP 3
.Os .Os
.Sh NAME .Sh NAME
@ -91,20 +91,19 @@ for any of the errors specified for the library function
.Xr strcpy 3 , .Xr strcpy 3 ,
.Xr strlcpy 3 , .Xr strlcpy 3 ,
.Xr strlen 3 .Xr strlen 3
.Sh STANDARDS
The
.Fn strdup
and
.Fn strndup
functions conform to
.St -p1003.1-2008 .
.Sh HISTORY .Sh HISTORY
The The
.Fn strdup .Fn strdup
function first appeared in function first appeared in
.Bx 4.4 . .Bx 4.4 .
.Pp
The The
.Fn strndup .Fn strndup
function first appeared in function first appeared in
.Ox 4.8 . .Ox 4.8 .
.Sh STANDARDS
The
.Fn strdup
and
.Fn strndup
functions conform to
.St -p1003.1-2008 .

+ 2
- 3
src/lib/libc/string/strlen.3 View File

@ -29,9 +29,9 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE. .\" 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 .Dt STRLEN 3
.Os .Os
.Sh NAME .Sh NAME
@ -63,7 +63,6 @@ function will never attempt to address more than
.Fa maxlen .Fa maxlen
characters, making it suitable for use with character arrays that are characters, making it suitable for use with character arrays that are
not guaranteed to be NUL-terminated. not guaranteed to be NUL-terminated.
.Pp
.Sh RETURN VALUES .Sh RETURN VALUES
The The
.Fn strlen .Fn strlen


Loading…
Cancel
Save