X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/df1e857ac4d1410ae2bd354e361210b842ab7bc8..c6de44b989e9d7286337e4cbf4d82d919f9120e6:/lunaix-os/includes/lunaix/lunaix.h diff --git a/lunaix-os/includes/lunaix/lunaix.h b/lunaix-os/includes/lunaix/lunaix.h new file mode 100644 index 0000000..adbde1d --- /dev/null +++ b/lunaix-os/includes/lunaix/lunaix.h @@ -0,0 +1,17 @@ +#ifndef __LUNAIX_LUNAIX_H +#define __LUNAIX_LUNAIX_H + +#include +#include + +__LXSYSCALL(void, yield); + +__LXSYSCALL1(pid_t, wait, int*, status); + +__LXSYSCALL3(pid_t, waitpid, pid_t, pid, int*, status, int, options); + +__LXSYSCALL(int, geterrno); + +__LXSYSCALL2_VARG(void, syslog, int, level, const char*, fmt); + +#endif /* __LUNAIX_LUNAIX_H */