diff options
Diffstat (limited to 'libc-top-half/musl/src/linux/brk.c')
-rw-r--r-- | libc-top-half/musl/src/linux/brk.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libc-top-half/musl/src/linux/brk.c b/libc-top-half/musl/src/linux/brk.c new file mode 100644 index 0000000..a6173e0 --- /dev/null +++ b/libc-top-half/musl/src/linux/brk.c @@ -0,0 +1,9 @@ +#define _BSD_SOURCE +#include <unistd.h> +#include <errno.h> +#include "syscall.h" + +int brk(void *end) +{ + return __syscall_ret(-ENOMEM); +} |