minix/lib/libsys/kernel_call.c
2010-03-10 13:19:27 +00:00

9 lines
187 B
C

#include <lib.h>
#include <minix/syslib.h>
PUBLIC int _kernel_call(int syscallnr, message *msgptr)
{
msgptr->m_type = syscallnr;
_do_kernel_call(msgptr);
return(msgptr->m_type);
}