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

@@ -0,0 +1,8 @@
#include <sys/file.h>
#include <sys/syscall.h>
#include <unistd.h>
int flock(int fd, int op)
{
return syscall(SYS_FLOCK, fd, op);
}