refactor: Move the kernel post init stage into proc0
[lunaix-os.git] / lunaix-os / includes / lunaix / lunistd.h
1 #ifndef __LUNAIX_UNISTD_H
2 #define __LUNAIX_UNISTD_H
3
4 #include <lunaix/syscall.h>
5 #include <lunaix/types.h>
6
7 __LXSYSCALL(pid_t, fork)
8
9 __LXSYSCALL1(int, sbrk, void*, addr)
10
11 __LXSYSCALL1(void*, brk, unsigned long, size)
12
13 __LXSYSCALL(pid_t, getpid)
14
15 __LXSYSCALL(pid_t, getppid)
16
17 __LXSYSCALL1(void, _exit, int, status)
18
19 __LXSYSCALL1(unsigned int, sleep, unsigned int, seconds)
20
21 __LXSYSCALL1(pid_t, wait, int*, status);
22
23 #endif /* __LUNAIX_UNISTD_H */