summaryrefslogtreecommitdiff
path: root/src/linux/brk.c
blob: d91ee5a9b16b09c12c5ad1220e280c48888c3dd9 (plain) (blame)
1
2
3
4
5
6
#include "syscall.h"

int brk(void *end)
{
	return -(syscall(SYS_brk, end) != (unsigned long)end);
}