source:
trunk/minix/lib/syslib/sys_privctl.c@
11
| Last change on this file since 11 was 9, checked in by , 15 years ago | |
|---|---|
| File size: 232 bytes | |
| Line | |
|---|---|
| 1 | #include "syslib.h" |
| 2 | |
| 3 | int sys_privctl(int proc, int request, int i, void *p) |
| 4 | { |
| 5 | message m; |
| 6 | |
| 7 | m.CTL_ENDPT = proc; |
| 8 | m.CTL_REQUEST = request; |
| 9 | m.CTL_MM_PRIV = i; |
| 10 | m.CTL_ARG_PTR = p; |
| 11 | |
| 12 | return _taskcall(SYSTASK, SYS_PRIVCTL, &m); |
| 13 | } |
Note:
See TracBrowser
for help on using the repository browser.