Commit Graph

11 Commits

Author SHA1 Message Date
Francesco Cosoleto 83fa126b93 renice: remove hardcoded program name using warn() and warnx()
Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
2010-11-30 12:28:17 +01:00
Francesco Cosoleto 22e0d3ec97 renice: make some functions static 2010-11-30 12:28:17 +01:00
Karel Zak 7cfbafda9c renice: add -n option for compatibility with POSIX
The -n option is required by POSIX.1-200x.

Signed-off-by: Karel Zak <kzak@redhat.com>
2009-03-09 21:09:50 +01:00
LaMont Jones 628cab7cde renice: detect errors in arguments, add -v, -h and long options
* renice was using atoi(), which does no error detection, meaning
   that: "renice +20 blah" was accepted as valid.

 * add -h | --help

 * add -v | --version

 * add long options for -p, -u and -g

 * cleanup coding style

Addresses-Debian-Bug: #385245
Co-Author: Karel Zak <kzak@redhat.com>
Signed-off-by: LaMont Jones <lamont@debian.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
2008-01-29 15:31:47 +01:00
Karel Zak e8f2641919 Imported from util-linux-2.11m tarball. 2006-12-07 00:25:49 +01:00
Karel Zak c07ebfa1e0 Imported from util-linux-2.11b tarball. 2006-12-07 00:25:46 +01:00
Karel Zak 66ee8158b6 Imported from util-linux-2.10s tarball. 2006-12-07 00:25:44 +01:00
Karel Zak 7eda085c41 Imported from util-linux-2.9v tarball. 2006-12-07 00:25:39 +01:00
Karel Zak 2b6fc908bc Imported from util-linux-2.8 tarball. 2006-12-07 00:25:35 +01:00
Karel Zak fd6b7a7ffc Imported from util-linux-2.7.1 tarball. 2006-12-07 00:25:34 +01:00
Karel Zak 6dbe3af945 Imported from util-linux-2.2 tarball. 2006-12-07 00:25:32 +01:00