minix/lib/libsys/kernel_call.c

10 lines
179 B
C
Raw Normal View History

#include <lib.h>
#include <minix/syslib.h>
2012-03-25 20:25:53 +02:00
int _kernel_call(int syscallnr, message *msgptr)
{
msgptr->m_type = syscallnr;
do_kernel_call(msgptr);
return(msgptr->m_type);
}