From 71b2db593f575c8e8ada85098d2b61ee7f67408b Mon Sep 17 00:00:00 2001 From: matthew <> Date: Mon, 18 Jun 2012 17:03:52 +0000 Subject: Support larger-than-page-alignment requests in posix_memalign() by overallocating and then releasing unneeded memory pages. ok otto --- src/lib/libc/stdlib/posix_memalign.3 | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/lib/libc/stdlib/posix_memalign.3') diff --git a/src/lib/libc/stdlib/posix_memalign.3 b/src/lib/libc/stdlib/posix_memalign.3 index 46b74af7be..05ec1b9d14 100644 --- a/src/lib/libc/stdlib/posix_memalign.3 +++ b/src/lib/libc/stdlib/posix_memalign.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: posix_memalign.3,v 1.2 2010/05/19 06:32:43 jmc Exp $ +.\" $OpenBSD: posix_memalign.3,v 1.3 2012/06/18 17:03:52 matthew 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 19 2010 $ +.Dd $Mdocdate: June 18 2012 $ .Dt POSIX_MEMALIGN 3 .Os .Sh NAME @@ -90,5 +90,3 @@ The .Fn posix_memalign function first appeared in .Ox 4.8 . -.Sh BUGS -Only alignments up to the page size can be specified. -- cgit v1.2.3-55-g6feb