minix/lib/libminlib/vm_set_priv.c
2012-03-25 21:58:14 +02:00

11 lines
185 B
C

#include <lib.h>
#include <unistd.h>
int vm_set_priv(int nr, void *buf)
{
message m;
m.VM_RS_NR = nr;
m.VM_RS_BUF = (long) buf;
return _syscall(VM_PROC_NR, VM_RS_SET_PRIV, &m);
}