minix/lib/libsys/kernel_call.c

10 lines
180 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);
}