repo.or.cz
/
minix.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
VM: full munmap
[minix.git]
/
lib
/
libsys
/
kernel_call.c
blob
264547325783b91ca7051e3cb654e370b0310e4e
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
}