panic() cleanup.
[minix.git] / lib / libsys / sys_sysctl.c
blobe9458656b1fb215ae4c78022bad6cecdece12df8
2 #include "syslib.h"
4 PUBLIC int sys_sysctl(int code, char *arg1, int arg2)
6 message m;
8 m.SYSCTL_CODE = code;
9 m.SYSCTL_ARG1 = arg1;
10 m.SYSCTL_ARG2 = arg2;
12 return(_kernel_call(SYS_SYSCTL, &m));
16 PUBLIC int sys_sysctl_stacktrace(endpoint_t ep)
18 return sys_sysctl(SYSCTL_CODE_STACKTRACE, NULL, ep);