Philippe Charnier
|
622e8da61d
|
The usage string: renice [priority | [-n incr]] ... assumed that the part
`priority | [-n incr]' was optionnal which is wrong according to the code.
Add FreeBSD Id.
Reviewed by: maxim
|
2003-02-26 20:27:24 +00:00 |
|
Tim J. Robbins
|
ba545bbb61
|
Sync usage message with manual page synopsis.
|
2002-05-25 11:37:10 +00:00 |
|
Tim J. Robbins
|
b8b53eef91
|
Bad numeric arguments or usernames should cause non-zero exit status.
|
2002-05-25 10:37:24 +00:00 |
|
Tim J. Robbins
|
9e49944008
|
Process and user ID arguments must be treated as decimal integers,
not octal or hex. This is the way it was before revision 1.10.
PR: 36950
Submitted by: Peter Avalos <pavalos@theshell.com>
|
2002-05-16 23:55:35 +00:00 |
|
Tim J. Robbins
|
ae5a682066
|
Accept decimal user IDs with -u option as well as usernames.
PR: 36950
|
2002-05-16 23:44:11 +00:00 |
|
Tim J. Robbins
|
03ed70f315
|
Diagnostic messages belong on stderr, not stdout. SUSv3 specifies that
renice may not use stdout at all.
|
2002-05-16 23:30:38 +00:00 |
|
Maxim Konovalov
|
8143906680
|
o Fix an arguments number check in -n case.
o Remove duplicated prio check, donice() makes it for us.
Spotted by: David Schultz <dschultz@uclink.Berkeley.EDU>
MFC after: 1 week
|
2002-04-10 13:38:09 +00:00 |
|
Maxim Konovalov
|
d006e72a51
|
Implement POSIX -n option, cleanup an arguments parsing a bit.
PR: bin/34076, bin/35929
Reviewed by: bde
Obtained from: NetBSD
MFC after: 1 week
|
2002-04-10 11:09:46 +00:00 |
|
Maxim Konovalov
|
d9db58c9dc
|
style(9) cleanup.
Reviewed by: bde
MFC after: 1 week
|
2002-04-10 10:59:19 +00:00 |
|
Warner Losh
|
d3cb5ded92
|
remove __P
|
2002-03-22 01:33:25 +00:00 |
|
David Malone
|
45af1a4cbd
|
Warns cleanups.
|
2001-12-03 21:27:45 +00:00 |
|
Dima Dorfman
|
7a19d1bbb9
|
Include missing header files which define functions for which gcc has
builtins (e.g., exit, strcmp).
|
2001-06-24 19:50:42 +00:00 |
|
Warner Losh
|
0e7f0658ee
|
#include <errno.h> where needed. Kill extern int errno;.
Minor warnings in tip corrected.
|
2000-04-14 06:39:19 +00:00 |
|
Peter Wemm
|
c3aac50f28
|
$Id$ -> $FreeBSD$
|
1999-08-28 01:08:13 +00:00 |
|
Philippe Charnier
|
0bb6b796dd
|
Use err(3). Add usage() and prototypes.
|
1997-08-05 06:42:48 +00:00 |
|
Rodney W. Grimes
|
7799f52a32
|
Remove trailing whitespace.
|
1995-05-30 06:41:30 +00:00 |
|
Rodney W. Grimes
|
9b50d90275
|
BSD 4.4 Lite Usr.bin Sources
|
1994-05-27 12:33:43 +00:00 |
|