etc/services - sync with NetBSD-8
[minix.git] / minix / lib / libsys / vm_update.c
bloba8635ac93df71dbf7bf0e505e1c81313cdbba5a3
1 #include "syslib.h"
3 #include <unistd.h>
4 #include <string.h>
6 int
7 vm_update(endpoint_t src_e, endpoint_t dst_e, int flags)
9 message m;
11 memset(&m, 0, sizeof(m));
12 m.m_lsys_vm_update.src = src_e;
13 m.m_lsys_vm_update.dst = dst_e;
14 m.m_lsys_vm_update.flags = flags;
16 return _taskcall(VM_PROC_NR, VM_RS_UPDATE, &m);