'/>
summaryrefslogtreecommitdiff
path: root/usr.bin/flock
AgeCommit message (Collapse)Author
2019-10-04fix a bug gcc 8 picked up: use ~LOCK_NB to look for LOCK_UN,mrg
like the rest of the code does. from uwe@.
2019-10-04Undo the confusion. Use separate synopsis lines for -c command withuwe
single argument (sh -c) and command [args ...] forms.
2019-10-04The command is not optional.uwe
2019-10-04Tweak formatting.uwe
2014-08-18mention that -x is the default.christos
2014-08-18remove XXX, fix error messagechristos
2014-08-18make this behave like linux; make -x the defaultchristos
2014-01-07Annotate functions using format strings.joerg
2013-10-29PR/48351: Dennis Ferguson: Fix incorrect parsing of flock flags.christos
XXX: still flock -s 0 fails with EINVAL, why?
2013-09-21flock(1) really appeared first in NetBSD 6.1khorben
2013-02-07Don't crash if "flock" is used to lock a file descriptor e.g. viatron
"flock --nb 8".
2012-11-03Separate SEE ALSO entries with comma.wiz
2012-11-02- better usage messageschristos
- verbose can be local - add static
2012-11-02cross reference shlock(1)christos
2012-11-02we don't truncate seconds anymore.christos
2012-11-02- use modern timer functions to handler fractional waitchristos
- add a function to print the full command line - use sigaction so signals interrupt us
2012-11-02Use longer -c description.wiz
2012-11-02Sort options and their descriptions. Sync usage with man page.wiz
2012-11-02treat a command without -c like an argument vectorchristos
default to exclusive lock
2012-11-01fix usagechristos
2012-11-01Add an flock program inspired by the linux one with the same name.christos