diff options
| author | Richard Qin <richard.qin.x@gmail.com> | 2026-01-02 10:09:37 +0800 |
|---|---|---|
| committer | Richard Qin <richard.qin.x@gmail.com> | 2026-01-02 10:09:37 +0800 |
| commit | 1c8e37f63d413a559825020289178d442537449e (patch) | |
| tree | 9779a712b5eec91035272e7646eb6811979d7eab /include/fs/file.h | |
| parent | d8eaa13f2efc1eeca4e5f230d5a2d535aaf27338 (diff) | |
| download | lume-1c8e37f63d413a559825020289178d442537449e.tar.gz lume-1c8e37f63d413a559825020289178d442537449e.tar.xz | |
dev(sell): add simple libc and implement shell
please see the log for detail.
Diffstat (limited to 'include/fs/file.h')
| -rw-r--r-- | include/fs/file.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/fs/file.h b/include/fs/file.h index fc0c5d9..2f23176 100644 --- a/include/fs/file.h +++ b/include/fs/file.h @@ -32,4 +32,5 @@ namespace FileTable int stat(struct file *f, uint64 addr); int read(struct file *f, uint64 addr, int n); int write(struct file *f, uint64 addr, int n); + int lseek(struct file *f, int offset, int whence); } // namespace FileTable |
