1 2 3 4 5 6
#include "syscall.h" int brk(void *end) { return -(syscall(SYS_brk, end) != (unsigned long)end); }