mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
aligned_alloc: conform to C17
This patch adds the strict checking for power-of-two alignments in aligned_alloc(), and updates the manual accordingly. Reviewed-by: Carlos O'Donell <carlos@redhat.com>
This commit is contained in:
1
malloc/tst-aligned-alloc-static.c
Normal file
1
malloc/tst-aligned-alloc-static.c
Normal file
@ -0,0 +1 @@
|
||||
#include "tst-aligned-alloc.c"
|
Reference in New Issue
Block a user