3 ms·
This seems similar to the FreeBSD lockf command: https://www.freebsd.org/cgi/man.cgi?query=lockf https://www.freebsd.org/cgi/man.cgi?query=lockf
by icedchai 4y ago
This seems similar to the FreeBSD lockf command: https://www.freebsd.org/cgi/man.cgi?query=lockf https://www.freebsd.org/cgi/man.cgi?query=lockf
- dyx 4y agoI implement this program since flock(1) in Linux doesn't support timeout of pending. I've never used BSD. After reading the link provided by you, I think my program becomes no value, if there is a Linux version of lockf(1). Sad.