summaryrefslogtreecommitdiff
path: root/src/stdlib/aligned_alloc.c
blob: 983cb7decf60748bf23147c9c4806343f3e186d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <stdlib.h>
#include "_stdlib.h"

void *aligned_alloc(size_t alignment, size_t size)
{
	SIGNAL_SAFE(0);
	/* all allocations are page aligned */
	(void)alignment;
	return malloc(size);
}

/*
STDC(201112)
*/