diff options
Diffstat (limited to 'src/stdlib/aligned_alloc.c')
| -rw-r--r-- | src/stdlib/aligned_alloc.c | 12 |
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) +*/ |
