repo.or.cz
/
minix3.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
make vfs & filesystems use failable copying
[minix3.git]
/
lib
/
libsys
/
kernel_call.c
blob
856e45aa663a1c107e0e80629b8661e0d96c6550
1
#include <lib.h>
2
#include <minix/syslib.h>
3
4
int
_kernel_call
(
int
syscallnr
,
message
*
msgptr
)
5
{
6
msgptr
->
m_type
=
syscallnr
;
7
do_kernel_call
(
msgptr
);
8
return
(
msgptr
->
m_type
);
9
}