Kernel/LibC: Implement pwrite and make pread non-locking

This commit is contained in:
2025-05-20 20:29:42 +03:00
parent 5d80c880c8
commit 44b762f916
4 changed files with 21 additions and 8 deletions

View File

@@ -112,6 +112,7 @@ namespace Kernel
BAN::ErrorOr<long> sys_symlinkat(const char* path1, int fd, const char* path2);
BAN::ErrorOr<long> sys_pread(int fd, void* buffer, size_t count, off_t offset);
BAN::ErrorOr<long> sys_pwrite(int fd, const void* buffer, size_t count, off_t offset);
BAN::ErrorOr<long> sys_fchmodat(int fd, const char* path, mode_t mode, int flag);
BAN::ErrorOr<long> sys_fchownat(int fd, const char* path, uid_t uid, gid_t gid, int flag);