minix/lib/libc/other/_vm_set_priv.c

13 lines
225 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);
}