musl-tcc/src/legacy/valloc.c

9 lines
124 B
C
Raw Normal View History

2022-03-20 04:48:53 -04:00
#define _BSD_SOURCE
#include <stdlib.h>
#include "libc.h"
void *valloc(size_t size)
{
return memalign(PAGE_SIZE, size);
}