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
/
sys_diagctl.c
blob
bf7ca5d8ce28972f6c805dcf7da6779bde068204
1
2
#include
"syslib.h"
3
4
int
sys_diagctl
(
int
code
,
char
*
arg1
,
int
arg2
)
5
{
6
message m
;
7
8
m
.
DIAGCTL_CODE
=
code
;
9
m
.
DIAGCTL_ARG1
=
arg1
;
10
m
.
DIAGCTL_ARG2
=
arg2
;
11
12
return
(
_kernel_call
(
SYS_DIAGCTL
, &
m
));
13
}