minix/lib/syslib/kernel_call.c

12 lines
202 B
C
Raw Normal View History

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