X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/847763577fbcc79179722874c81b44ee36108edb..ac9c5346f3f10ac7adf3772521fa4d18f17c97c7:/lunaix-os/includes/lunaix/fctrl.h diff --git a/lunaix-os/includes/lunaix/fctrl.h b/lunaix-os/includes/lunaix/fctrl.h index 2f58f0d..b8bb08f 100644 --- a/lunaix-os/includes/lunaix/fctrl.h +++ b/lunaix-os/includes/lunaix/fctrl.h @@ -5,25 +5,13 @@ #include #include -__LXSYSCALL2(int, open, const char*, path, int, options); - -__LXSYSCALL1(int, close, int, fd); +__LXSYSCALL2(int, open, const char*, path, int, options) __LXSYSCALL1(int, mkdir, const char*, path); -__LXSYSCALL1(int, rmdir, const char*, pathname); -__LXSYSCALL1(int, unlink, const char*, pathname); __LXSYSCALL2(int, unlinkat, int, fd, const char*, pathname); __LXSYSCALL2(int, readdir, int, fd, struct dirent*, dent); -__LXSYSCALL3(int, lseek, int, fd, int, offset, int, options); - -__LXSYSCALL3(int, read, int, fd, void*, buf, unsigned int, count); - -__LXSYSCALL3(int, write, int, fd, void*, buf, unsigned int, count); - -__LXSYSCALL3(int, readlink, const char*, path, char*, buf, size_t, size); - __LXSYSCALL4(int, readlinkat, int,