minix/lib/syslib/sys_privctl.c
2006-01-27 14:14:13 +00:00

13 lines
234 B
C

#include "syslib.h"
int sys_privctl(int proc, int request, int i, void *p)
{
message m;
m.CTL_PROC_NR = proc;
m.CTL_REQUEST = request;
m.CTL_MM_PRIV = i;
m.CTL_ARG_PTR = p;
return _taskcall(SYSTASK, SYS_PRIVCTL, &m);
}