minix/lib/syslib/sys_nice.c
Jorrit Herder 0129d98ae1 Added new signal types for kernel events:
- SIGKMESS: new kernel message (sent to TTY, IS, or LOG)
- SIGKSTOP: MINIX is shut down (sent to TTY-> switch to primary console)
- SIGKSIG: kernel signals pending (sent to PM)

Renamed SYS_SETPRIORITY to SYS_NICE.
2005-07-19 12:24:51 +00:00

13 lines
376 B
C
Executable file

#include "syslib.h"
/*===========================================================================*
* sys_nice *
*===========================================================================*/
PUBLIC int sys_nice(int proc, int prio)
{
message m;
m.m1_i1 = proc;
m.m1_i2 = prio;
return(_taskcall(SYSTASK, SYS_NICE, &m));
}