1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#include <camellia/syscalls.h> #include <unistd.h> int errno = 0; int fork(void) { return _syscall_fork(0, NULL); } int close(handle_t h) { return _syscall_close(h); } _Noreturn void exit(int c) { _syscall_exit(c); }