summaryrefslogtreecommitdiff
path: root/lib/libc/gen
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2010-05-18 22:24:56 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2010-05-18 22:24:56 +0000
commit0eebcf7d241b97d6a763d98b8cd5ee2dd7fe9ab6 (patch)
tree7991b5d4f89c176f4a5dba6e39883fe012b931e8 /lib/libc/gen
parent2e943e3e1fd3e074c743818e07c658d1a41a0020 (diff)
add posix_madvise, posix_memalign, strndup, and strnlen. mostly from
brad and millert, with hints from guenther, jmc, and otto I think. ok previous.
Diffstat (limited to 'lib/libc/gen')
-rw-r--r--lib/libc/gen/valloc.39
1 files changed, 6 insertions, 3 deletions
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