8000 minix/lib/other/sys_eniop.c at v3.1.2 · devinblood/minix · GitHub
[go: up one dir, main page]

Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 448 Bytes

sys_eniop.c

File metadata and controls

14 lines (11 loc) · 448 Bytes
#include "../syslib/syslib.h"
/*===========================================================================*
* sys_enable_iop *
*===========================================================================*/
PUBLIC int sys_enable_iop(proc_nr)
int proc_nr; /* number of process to allow I/O */
{
message m_iop;
m_iop.IO_ENDPT = proc_nr;
return _taskcall(SYSTASK, SYS_IOPENABLE, &m_iop);
}
0