minix/lib/libsys/kernel_call.c
2012-03-25 21:58:14 +02:00

9 lines
180 B
C

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