toaruos/libc/unistd/sbrk.c

10 lines
182 B
C
Raw Normal View History

#include <unistd.h>
#include <syscall_nums.h>
#include <syscall.h>
DEFN_SYSCALL1(sbrk, SYS_SBRK, int);
void *sbrk(intptr_t increment) {
return (void *)syscall_sbrk(increment);
}