9 lines
124 B
C
9 lines
124 B
C
|
#define _BSD_SOURCE
|
||
|
#include <stdlib.h>
|
||
|
#include "libc.h"
|
||
|
|
||
|
void *valloc(size_t size)
|
||
|
{
|
||
|
return memalign(PAGE_SIZE, size);
|
||
|
}
|