X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/003db17f7a36a8098827f40df8fedc087b5a26f6..e6dbd781772925dfc07b2facfa0a1350e756ad8f:/lunaix-os/includes/lunaix/fctrl.h diff --git a/lunaix-os/includes/lunaix/fctrl.h b/lunaix-os/includes/lunaix/fctrl.h index 978553e..85f49ac 100644 --- a/lunaix-os/includes/lunaix/fctrl.h +++ b/lunaix-os/includes/lunaix/fctrl.h @@ -3,13 +3,37 @@ #include #include +#include -__LXSYSCALL2(int, open, const char*, path, int, options); +__LXSYSCALL2(int, open, const char*, path, int, options) -__LXSYSCALL1(int, close, int, fd); +__LXSYSCALL1(int, mkdir, const char*, path) +__LXSYSCALL2(int, unlinkat, int, fd, const char*, pathname) -__LXSYSCALL1(int, mkdir, const char*, path); +__LXSYSCALL2(int, readdir, int, fd, struct dirent*, dent) -__LXSYSCALL2(int, readdir, int, fd, struct dirent*, dent); +__LXSYSCALL4(int, + readlinkat, + int, + dirfd, + const char*, + pathname, + char*, + buf, + size_t, + size) + +__LXSYSCALL3(int, realpathat, int, fd, char*, buf, size_t, size) + +__LXSYSCALL3(int, + mount, + const char*, + source, + const char*, + target, + const char*, + fstype) + +__LXSYSCALL1(int, unmount, const char*, target) #endif /* __LUNAIX_FCTRL_H */