1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 10:17:34 +00:00

LibC: Implement flock(2) using fcntl's F_SETLK

While flock is not a posix interface, it exists on linux and all BSDs as
far as I am aware.
This commit is contained in:
Peter Elliott 2021-07-18 23:55:13 -06:00 committed by Ali Mohammad Pur
parent 3fa2816642
commit 2ce8cca7b5
3 changed files with 40 additions and 0 deletions

View file

@ -39,6 +39,7 @@ set(LIBC_SOURCES
strings.cpp
stubs.cpp
syslog.cpp
sys/file.cpp
sys/mman.cpp
sys/prctl.cpp
sys/ptrace.cpp