1
/* $Id: syscall_setpriority.c 61 2006-05-19 18:32:14Z steve-beattie $ */
4
* Copyright (C) 2002-2005 Novell/SUSE
6
* This program is free software; you can redistribute it and/or
7
* modify it under the terms of the GNU General Public License as
8
* published by the Free Software Foundation, version 2 of the
17
#include <sys/resource.h>
21
main (int argc, char * argv[]) {
26
niceval = strtol (argv[1], NULL, 10);
31
rc = setpriority(PRIO_PROCESS, 0, niceval);
33
perror ("FAIL: setpriority failed");