putw is supposed to return 0 (not the value written) on success
[musl] / src / linux / flock.c
1 #include <sys/file.h>
2 #include "syscall.h"
3
4 int flock(int fd, int op)
5 {
6         return syscall(SYS_flock, fd, op);
7 }