summaryrefslogtreecommitdiff
path: root/sys-utils/renice.c
AgeCommit message (Collapse)AuthorFilesLines
2010-11-30renice: rewrite usage()Karel Zak1-12/+23
Signed-off-by: Karel Zak <kzak@redhat.com>
2010-11-30renice: reverse %s position in error messagesFrancesco Cosoleto1-2/+2
Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
2010-11-30renice: remove hardcoded program name using warn() and warnx()Francesco Cosoleto1-10/+6
Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
2010-11-30renice: make some functions staticFrancesco Cosoleto1-3/+3
2009-03-09renice: add -n option for compatibility with POSIXKarel Zak1-3/+9
The -n option is required by POSIX.1-200x. Signed-off-by: Karel Zak <kzak@redhat.com>
2008-01-29renice: detect errors in arguments, add -v, -h and long optionsLaMont Jones1-23/+46
* 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>
2006-12-07Imported from util-linux-2.11m tarball.Karel Zak1-7/+17
2006-12-07Imported from util-linux-2.11b tarball.Karel Zak1-1/+1
2006-12-07Imported from util-linux-2.10s tarball.Karel Zak1-0/+1
2006-12-07Imported from util-linux-2.9v tarball.Karel Zak1-8/+17
2006-12-07Imported from util-linux-2.8 tarball.Karel Zak1-14/+3
2006-12-07Imported from util-linux-2.7.1 tarball.Karel Zak1-0/+5
2006-12-07Imported from util-linux-2.2 tarball.Karel Zak1-0/+128