From 0eebcf7d241b97d6a763d98b8cd5ee2dd7fe9ab6 Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Tue, 18 May 2010 22:24:56 +0000 Subject: add posix_madvise, posix_memalign, strndup, and strnlen. mostly from brad and millert, with hints from guenther, jmc, and otto I think. ok previous. --- lib/libc/gen/valloc.3 | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'lib/libc/gen') diff --git a/lib/libc/gen/valloc.3 b/lib/libc/gen/valloc.3 index adb4948d052..cea59620988 100644 --- a/lib/libc/gen/valloc.3 +++ b/lib/libc/gen/valloc.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: valloc.3,v 1.12 2007/05/31 19:19:29 jmc Exp $ +.\" $OpenBSD: valloc.3,v 1.13 2010/05/18 22:24:55 tedu Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -27,7 +27,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: May 31 2007 $ +.Dd $Mdocdate: May 18 2010 $ .Dt VALLOC 3 .Os .Sh NAME @@ -43,7 +43,10 @@ The .Fn valloc function is obsoleted by the current version of .Xr malloc 3 , -which aligns page-sized and larger allocations. +which aligns page-sized and larger allocations, +and +.Xr posix_memalign 3 , +which allocates memory with a given alignment. .Ef .Pp The -- cgit v1.2.3