minix3/lib/libsys/kernel_call.c

10 lines
179 B
C
Raw Normal View History

2020-02-21 00:59:27 +05:30
#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);
}