2
* Copyright (C) 2002-2005 Novell/SUSE
4
* This program is free software; you can redistribute it and/or
5
* modify it under the terms of the GNU General Public License as
6
* published by the Free Software Foundation, version 2 of the
15
#include <sys/resource.h>
19
main (int argc, char * argv[]) {
24
niceval = strtol (argv[1], NULL, 10);
29
rc = setpriority(PRIO_PROCESS, 0, niceval);
31
perror ("FAIL: setpriority failed");