From: Philip Homburg Date: Wed, 9 Nov 2005 17:14:14 +0000 (+0000) Subject: Resurrected sys_eniop. X-Git-Tag: v3.1.2a~505 X-Git-Url: http://zhaoyanbai.com/repos/%22https:/www.google.com/jsapi/static/mdoc.3.html?a=commitdiff_plain;h=233c092280cd1c515c43bf70d6c0a599070388da;p=minix.git Resurrected sys_eniop. --- diff --git a/lib/syslib/sys_eniop.c b/lib/syslib/sys_eniop.c new file mode 100644 index 000000000..248ab8e33 --- /dev/null +++ b/lib/syslib/sys_eniop.c @@ -0,0 +1,14 @@ +#include "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.PROC_NR = proc_nr; + return _taskcall(SYSTASK, SYS_IOPENABLE, &m_iop); +} + +