X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/b58b151ff3f69422ba1d553f66455700cd3c204b..a362b4b2c4abbf2da6ec14cb44a8685a81107f6a:/lunaix-os/includes/lunaix/lunistd.h diff --git a/lunaix-os/includes/lunaix/lunistd.h b/lunaix-os/includes/lunaix/lunistd.h index 556f239..9f2ef9e 100644 --- a/lunaix-os/includes/lunaix/lunistd.h +++ b/lunaix-os/includes/lunaix/lunistd.h @@ -15,6 +15,10 @@ __LXSYSCALL(pid_t, getpid) __LXSYSCALL(pid_t, getppid) +__LXSYSCALL(pid_t, getpgid) + +__LXSYSCALL2(pid_t, setpgid, pid_t, pid, pid_t, pgid) + __LXSYSCALL1(void, _exit, int, status) __LXSYSCALL1(unsigned int, sleep, unsigned int, seconds) @@ -49,4 +53,12 @@ __LXSYSCALL1(int, fsync, int, fildes) __LXSYSCALL2(int, symlink, const char*, pathname, const char*, link_target) +__LXSYSCALL1(int, chdir, const char*, path) + +__LXSYSCALL1(int, fchdir, int, fd) + +__LXSYSCALL2(char*, getcwd, char*, buf, size_t, size) + +__LXSYSCALL2(int, rename, const char*, oldpath, const char*, newpath) + #endif /* __LUNAIX_UNISTD_H */