X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/90129c6876c9bac2e468ab82c8264352d1952b4d..b58b151ff3f69422ba1d553f66455700cd3c204b:/lunaix-os/includes/lunaix/fctrl.h diff --git a/lunaix-os/includes/lunaix/fctrl.h b/lunaix-os/includes/lunaix/fctrl.h index 0cd2705..dc28872 100644 --- a/lunaix-os/includes/lunaix/fctrl.h +++ b/lunaix-os/includes/lunaix/fctrl.h @@ -5,21 +5,12 @@ #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); - -__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); +__LXSYSCALL2(int, readdir, int, fd, struct dirent*, dent) __LXSYSCALL4(int, readlinkat, @@ -30,6 +21,8 @@ __LXSYSCALL4(int, char*, buf, size_t, - size); + size) + +__LXSYSCALL3(int, realpathat, int, fd, char*, buf, size_t, size) #endif /* __LUNAIX_FCTRL_H */