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