minix/lib/libsys/sys_diagctl.c

14 lines
205 B
C
Raw Normal View History

#include "syslib.h"
int sys_diagctl(int code, char *arg1, int arg2)
{
message m;
m.DIAGCTL_CODE = code;
m.DIAGCTL_ARG1 = arg1;
m.DIAGCTL_ARG2 = arg2;
return(_kernel_call(SYS_DIAGCTL, &m));
}