summaryrefslogtreecommitdiff
path: root/src/stdlib/aligned_alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdlib/aligned_alloc.c')
-rw-r--r--src/stdlib/aligned_alloc.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/stdlib/aligned_alloc.c b/src/stdlib/aligned_alloc.c
new file mode 100644
index 00000000..9b721a13
--- /dev/null
+++ b/src/stdlib/aligned_alloc.c
@@ -0,0 +1,12 @@
+#include <stdli.h>
+
+void *aligned_alloc(size_t alignment, size_t size)
+{
+ /* all allocations are page aligned */
+ (void)alignment;
+ return malloc(size);
+}
+
+/*
+STDC(201112)
+*/