1*433d6423SLionel Sambuc #include "syslib.h" 2*433d6423SLionel Sambuc 3*433d6423SLionel Sambuc /*===========================================================================* 4*433d6423SLionel Sambuc * sys_runctl * 5*433d6423SLionel Sambuc *===========================================================================*/ sys_runctl(endpoint_t proc_ep,int action,int flags)6*433d6423SLionel Sambucint sys_runctl(endpoint_t proc_ep, int action, int flags) 7*433d6423SLionel Sambuc { 8*433d6423SLionel Sambuc message m; 9*433d6423SLionel Sambuc 10*433d6423SLionel Sambuc m.RC_ENDPT = proc_ep; 11*433d6423SLionel Sambuc m.RC_ACTION = action; 12*433d6423SLionel Sambuc m.RC_FLAGS = flags; 13*433d6423SLionel Sambuc 14*433d6423SLionel Sambuc return(_kernel_call(SYS_RUNCTL, &m)); 15*433d6423SLionel Sambuc } 16