Kernel/LibC: Implement flock

This commit is contained in:
2025-06-25 18:46:20 +03:00
parent 0cbc39698c
commit 93e5d09a63
8 changed files with 120 additions and 0 deletions

View File

@@ -112,6 +112,8 @@ namespace Kernel
BAN::ErrorOr<long> sys_symlinkat(const char* path1, int fd, const char* path2);
BAN::ErrorOr<long> sys_flock(int fd, int op);
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);