From 1c8e37f63d413a559825020289178d442537449e Mon Sep 17 00:00:00 2001 From: Richard Qin Date: Fri, 2 Jan 2026 10:09:37 +0800 Subject: dev(sell): add simple libc and implement shell please see the log for detail. --- include/fs/file.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/fs/file.h') 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 -- cgit v1.2.3