summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2023-05-08 20:43:35 -0400
committerAlejandro Colomar <alx@kernel.org>2023-05-20 00:23:48 +0200
commit7fd1e0f2be216a5e7f7aef0d03304bdf81bca9e0 (patch)
tree026fe661e1e0641ef83506a24b76e5a97b91c2c0
parente52f828c063468ce70cb4aa0c2bb52b06ff05314 (diff)
posix_memalign.3: Update aligned_alloc(3) to match C17
Link: <https://sourceware.org/pipermail/libc-alpha/2023-May/147810.html> Link: <https://patchwork.sourceware.org/project/glibc/patch/33ec9e0c1e587813b90e8aa771c2c8e6e379dd48.camel@posteo.net/> Link: <https://lore.kernel.org/linux-man/d79b505c-5b19-331c-5b25-d40adc9cc843@wanadoo.fr/> Cc: John Scott <jscott@posteo.net> Cc: Paul Floyd <pjfloyd@wanadoo.fr> Signed-off-by: DJ Delorie <dj@redhat.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r--man3/posix_memalign.35
1 files changed, 2 insertions, 3 deletions
diff --git a/man3/posix_memalign.3 b/man3/posix_memalign.3
index 9bc6eb9a4..88e4a8b63 100644
--- a/man3/posix_memalign.3
+++ b/man3/posix_memalign.3
@@ -91,9 +91,8 @@ The function
is the same as
.BR memalign (),
except for the added restriction that
-.I size
-should be a multiple of
-.IR alignment .
+.I alignment
+must be a power of two.
.PP
The obsolete function
.BR valloc ()