freebsd-dev/usr.bin/pkill
Pawel Jakub Dawidek 53ff091d14 Sync as close as possible with NetBSD.
This includes fixes and cleanups listed below:

- If a process dissappears while we are signalling it, don't count it as a
  match/error.
- Better handling of errors and messages.
- Downgrade failure to kill(2) (other than ESRCH) from fatal error to a
  warning; otherwise processing aborts and possibly matching killees would
  remain unsignalled. This makes pkill match the Solaris behavior.
- Exit with 2 on usage errors as documented.

Obtained from:	NetBSD
Glanced at by:	maintainer (gad) [a bit different version of this patch]
2005-11-16 11:03:00 +00:00
..
Makefile Removed bitrot. 2004-11-13 17:12:22 +00:00
pkill.1 I often find myself doing: 2005-11-16 10:36:44 +00:00
pkill.c Sync as close as possible with NetBSD. 2005-11-16 11:03:00 +00:00