projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
add __sigsetjmp ABI-compat alias for sigsetjmp
[oweals/musl.git]
/
src
/
linux
/
sbrk.c
1
#include <stdint.h>
2
#include <errno.h>
3
#include "syscall.h"
4
5
void *sbrk(intptr_t inc)
6
{
7
if (inc) return (void *)__syscall_ret(-ENOMEM);
8
return (void *)__syscall(SYS_brk, 0);
9
}