simple C compiler
git clone git://
Log | Files | Refs | README | LICENSE

commit 364b30425621daa66c1c5f29ced30ff973e9ea34
parent 2a75910ec069ddbc622b69efcdb1484ecbda208a
Author: Roberto E. Vargas Caballero <>
Date:   Wed,  8 Mar 2017 06:54:18 +0100

[libc] Add syscall.h

This is the set of needed syscalls that system has to supply.

libc/src/syscall.h | 11+++++++++++
1 file changed, 11 insertions(+), 0 deletions(-)

diff --git a/libc/src/syscall.h b/libc/src/syscall.h @@ -0,0 +1,11 @@ +/* See LICENSE file for copyright and license details. */ + +extern void *_brk(void *addr); +extern int _open(char *path, int flags, int perm); +extern int _close(int fd); +extern int _read(int fd, void *buf, size_t n); +extern int _write(int fd, void *buf, size_t n); +extern int _lseek(int fd, long off, int whence); +extern void _Exit(int status); +extern int raise(int sig); +extern void (*signal(int sig, void (*func)(int)))(int);