minix/lib/syslib/sys_privctl.c
David van Moolenbroek 979bcfc195 - sys_privctl: don't mix message types
- sys_privctl: remove CTL_MM_PRIV (third parameter)
- remove obsolete sys_svrctl.c library file
2009-09-06 12:37:13 +00:00

12 lines
211 B
C

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