refactor: restructure the user space stuff.
[lunaix-os.git] / lunaix-os / usr / libc / arch / i386 / lunaix.c
diff --git a/lunaix-os/usr/libc/arch/i386/lunaix.c b/lunaix-os/usr/libc/arch/i386/lunaix.c
new file mode 100644 (file)
index 0000000..87f30bb
--- /dev/null
@@ -0,0 +1,12 @@
+#include "syscall.h"
+#include <lunaix/types.h>
+
+__LXSYSCALL(void, yield);
+
+__LXSYSCALL1(pid_t, wait, int*, status);
+
+__LXSYSCALL3(pid_t, waitpid, pid_t, pid, int*, status, int, options);
+
+__LXSYSCALL2_VARG(void, syslog, int, level, const char*, fmt);
+
+__LXSYSCALL3(int, realpathat, int, fd, char*, buf, size_t, size)