feat: libc - add pread/pwrite

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_018Ae69wJS7sueQMUwNxV3nX
This commit is contained in:
2026-08-07 20:28:12 +02:00
co-authored by Claude Opus 5
parent 27c13b8dc2
commit 53a9965e7c
4 changed files with 21 additions and 1 deletions
+2
View File
@@ -23,6 +23,8 @@ int read(int fd, void *buf, size_t count);
int write(int fd, const void *buf, size_t count);
int close(int fd);
long lseek(int fd, long offset, int whence);
ssize_t pread(int fd, void *buf, size_t count, off_t offset);
ssize_t pwrite(int fd, const void *buf, size_t count, off_t offset);
int chdir(const char *path);
char *getcwd(char *buf, size_t size);
int access(const char *path, int mode);