mirror of
https://https.git.savannah.gnu.org/git/gnulib.git
synced 2026-10-04 08:08:27 +00:00
* lib/stdlib.in.h (aligned_alloc): New declaration. * lib/aligned_alloc.c: New file. * m4/aligned_alloc.m4: New file. * m4/stdlib_h.m4 (gl_STDLIB_H): Test whether aligned_alloc is declared. (gl_STDLIB_H_DEFAULTS): Initialize GNULIB_ALIGNED_ALLOC, HAVE_ALIGNED_ALLOC, REPLACE_ALIGNED_ALLOC. * modules/stdlib (Makefile.am): Substitute GNULIB_ALIGNED_ALLOC, HAVE_ALIGNED_ALLOC, REPLACE_ALIGNED_ALLOC. * modules/aligned_alloc: New file. * tests/test-stdlib-c++.cc (aligned_alloc): Check signature. * doc/posix-functions/aligned_alloc.texi: Mention the new module and the AIX bug.
29 lines
380 B
Plaintext
29 lines
380 B
Plaintext
Description:
|
|
Allocate memory with indefinite extent and specified alignment.
|
|
|
|
Files:
|
|
lib/aligned_alloc.c
|
|
m4/aligned_alloc.m4
|
|
|
|
Depends-on:
|
|
extensions
|
|
stdlib
|
|
|
|
configure.ac:
|
|
gl_FUNC_ALIGNED_ALLOC
|
|
if test $REPLACE_ALIGNED_ALLOC = 1; then
|
|
AC_LIBOBJ([aligned_alloc])
|
|
fi
|
|
gl_STDLIB_MODULE_INDICATOR([aligned_alloc])
|
|
|
|
Makefile.am:
|
|
|
|
Include:
|
|
<stdlib.h>
|
|
|
|
License:
|
|
LGPLv2+
|
|
|
|
Maintainer:
|
|
all
|