8000 minix/lib/other/_vm_set_priv.c at v3.1.5 · lukegithub/minix · GitHub
[go: up one dir, main page]

Skip to content

Latest commit

 

History

History
11 lines (10 loc) · 224 Bytes

_vm_set_priv.c

File metadata and controls

11 lines (10 loc) · 224 Bytes
#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);
}
0