summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2018-11-05 10:31:33 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2018-11-05 10:31:33 +0000
commitc29a48c4e2d506c6c62391ab6288cd5290a4af5d (patch)
tree4b33611ab13d3e91dca42651fdcbed26143c7291 /lib/libc
parent106b0d740ff85fe23801a46a83ca4a5f945b4d3f (diff)
Mention aligned_alloc(), prompted by Brad; ok jmc@
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/gen/valloc.310
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/libc/gen/valloc.3 b/lib/libc/gen/valloc.3
index 279a232ad9a..096ebcae51e 100644
--- a/lib/libc/gen/valloc.3
+++ b/lib/libc/gen/valloc.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: valloc.3,v 1.14 2013/06/05 03:39:22 tedu Exp $
+.\" $OpenBSD: valloc.3,v 1.15 2018/11/05 10:31:32 otto 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: June 5 2013 $
+.Dd $Mdocdate: November 5 2018 $
.Dt VALLOC 3
.Os
.Sh NAME
@@ -43,10 +43,12 @@ 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 both
+.Xr aligned_alloc 3
and
.Xr posix_memalign 3 ,
-which allocates memory with a given alignment.
+which allocate memory with a given alignment.
.Ef
.Pp
The