git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
feat: simple read/write lock implementation
[lunaix-os.git]
/
lunaix-os
/
includes
/
lunaix
/
lunistd.h
diff --git
a/lunaix-os/includes/lunaix/lunistd.h
b/lunaix-os/includes/lunaix/lunistd.h
index cb5af35db5fb79efc01ac4727059fb23b1b4feb2..9f2ef9ec75da987aa7e6d2b6222de50184f4dff7 100644
(file)
--- 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, 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)
__LXSYSCALL1(void, _exit, int, status)
__LXSYSCALL1(unsigned int, sleep, unsigned int, seconds)
@@
-55,4
+59,6
@@
__LXSYSCALL1(int, fchdir, int, fd)
__LXSYSCALL2(char*, getcwd, char*, buf, size_t, size)
__LXSYSCALL2(char*, getcwd, char*, buf, size_t, size)
+__LXSYSCALL2(int, rename, const char*, oldpath, const char*, newpath)
+
#endif /* __LUNAIX_UNISTD_H */
#endif /* __LUNAIX_UNISTD_H */