summaryrefslogtreecommitdiff
path: root/src/legacy/valloc.c
blob: 5af2256a478ac5ce34a70184f38ef9dd371a5d3d (plain)
1
2
3
4
5
6
7
8
#define _BSD_SOURCE
#include <stdlib.h>
#include "libc.h"

void *valloc(size_t size)
{
	return memalign(PAGE_SIZE, size);
}