summaryrefslogtreecommitdiffstats
path: root/libc-top-half/musl/src/linux/brk.c
blob: a6173e07f30d8cf6078fb5da5086a8fe332c2eaf (plain)
1
2
3
4
5
6
7
8
9
#define _BSD_SOURCE
#include <unistd.h>
#include <errno.h>
#include "syscall.h"

int brk(void *end)
{
	return __syscall_ret(-ENOMEM);
}