feat: lseek(2), read(2), write(2) implementation
[lunaix-os.git] / lunaix-os / includes / lunaix / fctrl.h
index 978553e96383d00806096b8a404c4ff15d879a66..e76ae7b05263c405624cf113ba7aabacc67bacd2 100644 (file)
@@ -12,4 +12,10 @@ __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);
+
 #endif /* __LUNAIX_FCTRL_H */