Re: aligned_alloc: update to match C17

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Alejandro Colomar <alx.manpages@xxxxxxxxx> writes:
> Thanks for the patch!  IIRC this is something that someone reported in
> the list a few months ago, right?

Years ago, actually.

> Would you mind mentioning the reporter
> and CC anyone involved in the discussion?  If it's difficult for you to
> find those, tell me and I'll do it.

I got them:

Link: <https://sourceware.org/pipermail/libc-alpha/2023-May/147810.html>
Link: <https://patchwork.sourceware.org/project/glibc/patch/33ec9e0c1e587813b90e8aa771c2c8e6e379dd48.camel@xxxxxxxxxx/>
Cc: John Scott <jscott@xxxxxxxxxx>
Signed-off-by: DJ Delorie <dj@xxxxxxxxxx>

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 ()




[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux