git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
feat: lseek(2), read(2), write(2) implementation
[lunaix-os.git]
/
lunaix-os
/
includes
/
lunaix
/
fctrl.h
diff --git
a/lunaix-os/includes/lunaix/fctrl.h
b/lunaix-os/includes/lunaix/fctrl.h
index 978553e96383d00806096b8a404c4ff15d879a66..e76ae7b05263c405624cf113ba7aabacc67bacd2 100644
(file)
--- a/
lunaix-os/includes/lunaix/fctrl.h
+++ b/
lunaix-os/includes/lunaix/fctrl.h
@@
-12,4
+12,10
@@
__LXSYSCALL1(int, mkdir, const char*, path);
__LXSYSCALL2(int, readdir, int, fd, struct dirent*, dent);
__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 */
#endif /* __LUNAIX_FCTRL_H */