minix3/lib/libsys/sys_runctl.c

16 lines
427 B
C
Raw Normal View History

2020-02-21 00:59:27 +05:30
#include "syslib.h"
/*===========================================================================*
* sys_runctl *
*===========================================================================*/
int sys_runctl(endpoint_t proc_ep, int action, int flags)
{
message m;
m.RC_ENDPT = proc_ep;
m.RC_ACTION = action;
m.RC_FLAGS = flags;
return(_kernel_call(SYS_RUNCTL, &m));
}