Commit Graph

17 Commits

Author SHA1 Message Date
christos 5e59f268f4 mention that -x is the default. 2014-08-18 09:45:52 +00:00
christos f3fb7b3c54 remove XXX, fix error message 2014-08-18 09:16:35 +00:00
christos 519e6f9271 make this behave like linux; make -x the default 2014-08-18 09:14:03 +00:00
joerg d9c7ee5b63 Annotate functions using format strings. 2014-01-07 02:07:08 +00:00
christos 4a734be04d PR/48351: Dennis Ferguson: Fix incorrect parsing of flock flags.
XXX: still flock -s 0 fails with EINVAL, why?
2013-10-29 16:02:15 +00:00
khorben 77b82c32cc flock(1) really appeared first in NetBSD 6.1 2013-09-21 15:01:14 +00:00
tron b981f2c3d3 Don't crash if "flock" is used to lock a file descriptor e.g. via
"flock --nb 8".
2013-02-07 13:57:40 +00:00
wiz e516fe9873 Separate SEE ALSO entries with comma. 2012-11-03 00:50:04 +00:00
christos 2e03ba1139 - better usage messages
- verbose can be local
- add static
2012-11-02 17:03:16 +00:00
christos 4050c976c3 cross reference shlock(1) 2012-11-02 16:32:35 +00:00
christos 12019f2b8a we don't truncate seconds anymore. 2012-11-02 12:47:57 +00:00
christos 9abb2d20bd - use modern timer functions to handler fractional wait
- add a function to print the full command line
- use sigaction so signals interrupt us
2012-11-02 12:47:23 +00:00
wiz e7aacc4093 Use longer -c description. 2012-11-02 02:07:19 +00:00
wiz 5f8f0b4dee Sort options and their descriptions. Sync usage with man page. 2012-11-02 02:03:18 +00:00
christos ac881fe51e treat a command without -c like an argument vector
default to exclusive lock
2012-11-02 01:30:46 +00:00
christos 1e7f0e09f1 fix usage 2012-11-01 23:34:44 +00:00
christos dcdc302c64 Add an flock program inspired by the linux one with the same name. 2012-11-01 23:30:19 +00:00