feat: simple read/write lock implementation
[lunaix-os.git] / lunaix-os / includes / lunaix / lunistd.h
index 9095c37dd2d2aefc5e063c83f29d7e6009a93a2f..9f2ef9ec75da987aa7e6d2b6222de50184f4dff7 100644 (file)
@@ -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)
@@ -41,4 +45,20 @@ __LXSYSCALL1(int, unlink, const char*, pathname)
 
 __LXSYSCALL1(int, close, int, fd)
 
+__LXSYSCALL2(int, dup2, int, oldfd, int, newfd)
+
+__LXSYSCALL1(int, dup, int, oldfd)
+
+__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 */