minix/lib/libsys/kernel_call.c

11 lines
202 B
C

#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);
}