X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/45e1f8b055043e54be35462852ab6649d634da7c..2a49908006b177c4d6354309333d06b1b96e4887:/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 index 0000000..87f30bb --- /dev/null +++ b/lunaix-os/usr/libc/arch/i386/lunaix.c @@ -0,0 +1,12 @@ +#include "syscall.h" +#include + +__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)