]> Savannah Git Hosting - gnulib.git/commitdiff
memalign: New module.
authorBruno Haible <bruno@clisp.org>
Wed, 4 Nov 2020 01:12:15 +0000 (02:12 +0100)
committerBruno Haible <bruno@clisp.org>
Wed, 4 Nov 2020 01:12:15 +0000 (02:12 +0100)
* modules/memalign: New file.
* doc/glibc-functions/memalign.texi: Mention the new module.

ChangeLog
doc/glibc-functions/memalign.texi
modules/memalign [new file with mode: 0644]

index bd7cb08a31fe7c6a07a3cd353d9c3fe49a406afb..b78324fbfc70e8e413c9682b6ef58b7eaf50c11d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2020-11-03  Bruno Haible  <bruno@clisp.org>
+
+       memalign: New module.
+       * modules/memalign: New file.
+       * doc/glibc-functions/memalign.texi: Mention the new module.
+
 2020-11-03  Bruno Haible  <bruno@clisp.org>
 
        verify tests: Fix crash with GCC (regression 2020-11-02).
index a25b3f82d911c61a0763292060c0842c813a4ed1..7c07bc6ee7374e3358576f58c3bf21038a00895e 100644 (file)
@@ -15,7 +15,7 @@ Documentation:
 @uref{https://www.kernel.org/doc/man-pages/online/pages/man3/memalign.3.html,,man memalign}.
 @end itemize
 
-Gnulib module: ---
+Gnulib module: memalign
 
 Portability problems fixed by Gnulib:
 @itemize
diff --git a/modules/memalign b/modules/memalign
new file mode 100644 (file)
index 0000000..e8a292d
--- /dev/null
@@ -0,0 +1,22 @@
+Description:
+Allocate memory with indefinite extent and specified alignment.
+
+Files:
+
+Depends-on:
+
+configure.ac:
+AC_CHECK_FUNCS([memalign])
+
+Makefile.am:
+
+Include:
+#if HAVE_MEMALIGN
+#include <malloc.h>
+#endif
+
+License:
+LGPLv2+
+
+Maintainer:
+all