minix/lib/libsys/sys_eniop.c

15 lines
433 B
C
Raw Normal View History

2005-11-09 18:14:14 +01:00
#include "syslib.h"
/*===========================================================================*
* sys_enable_iop *
*===========================================================================*/
2012-03-25 20:25:53 +02:00
int sys_enable_iop(proc_ep)
endpoint_t proc_ep; /* number of process to allow I/O */
2005-11-09 18:14:14 +01:00
{
message m_iop;
m_iop.IOP_ENDPT = proc_ep;
return _kernel_call(SYS_IOPENABLE, &m_iop);
2005-11-09 18:14:14 +01:00
}