move benchmarks to their own dir.
[minix.git] / lib / syslib / sys_sysctl.c
blob80ee821c3ebf7c5d6acf8157cd051853dc5d0c73
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(_taskcall(SYSTASK, SYS_SYSCTL, &m));
16 PUBLIC int sys_sysctl_stacktrace(endpoint_t ep)
18 return sys_sysctl(SYSCTL_CODE_STACKTRACE, NULL, ep);