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
regression: mmap for fd
[lunaix-os.git]
/
lunaix-os
/
includes
/
lunaix
/
fctrl.h
diff --git
a/lunaix-os/includes/lunaix/fctrl.h
b/lunaix-os/includes/lunaix/fctrl.h
index 8a46058b8764e015edf8a657a0e18629ee454479..36efb4b50ba778df6699c0315c4614f3e9ca4453 100644
(file)
--- a/
lunaix-os/includes/lunaix/fctrl.h
+++ b/
lunaix-os/includes/lunaix/fctrl.h
@@
-10,7
+10,7
@@
__LXSYSCALL2(int, open, const char*, path, int, options)
__LXSYSCALL1(int, mkdir, const char*, path)
__LXSYSCALL2(int, unlinkat, int, fd, const char*, pathname)
__LXSYSCALL1(int, mkdir, const char*, path)
__LXSYSCALL2(int, unlinkat, int, fd, const char*, pathname)
-__LXSYSCALL2(int, readdir, int, fd, struct dirent*, dent)
+__LXSYSCALL2(int,
sys_
readdir, int, fd, struct dirent*, dent)
__LXSYSCALL4(int,
readlinkat,
__LXSYSCALL4(int,
readlinkat,
@@
-25,14
+25,16
@@
__LXSYSCALL4(int,
__LXSYSCALL3(int, realpathat, int, fd, char*, buf, size_t, size)
__LXSYSCALL3(int, realpathat, int, fd, char*, buf, size_t, size)
-__LXSYSCALL
3
(int,
+__LXSYSCALL
4
(int,
mount,
const char*,
source,
const char*,
target,
const char*,
mount,
const char*,
source,
const char*,
target,
const char*,
- fstype)
+ fstype,
+ int,
+ options)
__LXSYSCALL1(int, unmount, const char*, target)
__LXSYSCALL1(int, unmount, const char*, target)