diff options
author | Bruno Haible <bruno@clisp.org> | 2020-07-21 10:03:42 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2020-07-21 10:37:17 +0200 |
commit | 8ce76ed581d7ad000c8d72d9fe759929d653f171 (patch) | |
tree | 93c894b1a2e51256e069090a9f758384e4d117e6 /modules/aligned-malloc | |
parent | b768bbdd15f2473d2d60b31702ef54d93a65d537 (diff) | |
download | gnulib-8ce76ed581d7ad000c8d72d9fe759929d653f171.tar.gz |
aligned-malloc: New module.
* lib/aligned-malloc.h: New file.
* m4/malloc-align.m4: New file.
* modules/aligned-malloc: New file.
* doc/posix-functions/posix_memalign.texi: Mention the new module.
* doc/glibc-functions/memalign.texi: Likewise.
Diffstat (limited to 'modules/aligned-malloc')
-rw-r--r-- | modules/aligned-malloc | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/modules/aligned-malloc b/modules/aligned-malloc new file mode 100644 index 0000000000..29483d83d7 --- /dev/null +++ b/modules/aligned-malloc @@ -0,0 +1,25 @@ +Description: +Allocate memory with indefinite extent and specified alignment. + +Files: +lib/aligned-malloc.h +m4/malloc-align.m4 + +Depends-on: +stdint + +configure.ac: +gl_MALLOC_ALIGNMENT +AC_REQUIRE([AC_C_INLINE]) +AC_CHECK_FUNCS([posix_memalign memalign]) + +Makefile.am: + +Include: +"aligned-malloc.h" + +License: +LGPLv2+ + +Maintainer: +all |