VM: full munmap
[minix.git] / lib / libsys / sys_sysctl.c
blob443a9cc9783aec4fa5a676c1f7f78ebe90261e0d
2 #include "syslib.h"
4 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 int sys_sysctl_stacktrace(endpoint_t ep)
18 return sys_sysctl(SYSCTL_CODE_STACKTRACE, NULL, ep);