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

void *aligned_alloc(size_t alignment, size_t size)
{
	SIGNAL_SAFE(0);
	return __jkmalloc(NULL, alignment, size, 0, NULL);
}

CHECK_2(void *, NULL, aligned_alloc, size_t, size_t)

/*
STDC(201112)
*/