1
0
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:
DJ Delorie
2023-03-21 00:46:43 -04:00
parent cea74a4a24
commit d1417176a3
6 changed files with 117 additions and 7 deletions

View File

@ -0,0 +1 @@
#include "tst-aligned-alloc.c"