minix/lib/other/_vm_set_priv.c
2009-09-21 14:44:00 +00:00

11 lines
224 B
C

#include <lib.h>
#define vm_set_priv _vm_set_priv
#include <unistd.h>
PUBLIC 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);
}