From 01657408e171c3c56d2c5fb54dc4cd20c8536aad Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Fri, 23 Mar 2012 06:28:21 +1300 Subject: [PATCH] posix_memalign.3: Rename memalign() argument Rename "boundary" to "alignment" for consistency with posix_memalign(). Signed-off-by: Michael Kerrisk --- man3/posix_memalign.3 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/man3/posix_memalign.3 b/man3/posix_memalign.3 index 78b49bace..87dfc3cf9 100644 --- a/man3/posix_memalign.3 +++ b/man3/posix_memalign.3 @@ -35,7 +35,7 @@ posix_memalign, memalign, valloc, pvalloc \- Allocate aligned memory .sp .B #include .sp -.BI "void *memalign(size_t " boundary ", size_t " size ); +.BI "void *memalign(size_t " alignment ", size_t " size ); .BI "void *pvalloc(size_t " size ); .fi .sp @@ -100,7 +100,7 @@ allocates .I size bytes and returns a pointer to the allocated memory. The memory address will be a multiple of -.IR "boundary" , +.IR alignment , which must be a power of two. .\" The behavior of memalign() for size==0 is as for posix_memalign() .\" but no standards govern this. @@ -205,7 +205,7 @@ verifies that matches the requirements detailed above. .BR memalign () may not check that the -.I boundary +.I alignment argument is correct. POSIX requires that memory obtained from