diff --git a/src/linux/flock.c b/src/linux/flock.c new file mode 100644 index 00000000..87aa5cfe --- /dev/null +++ b/src/linux/flock.c @@ -0,0 +1,7 @@ +#include +#include "syscall.h" + +int flock(int fd, int op) +{ + return syscall(SYS_flock, fd, op); +}