repo.or.cz
/
minix.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
libutil: add O_NOCTTY back to old pty open code
[minix.git]
/
lib
/
libminlib
/
vm_memctl.c
blob
92e2b0c806bef96f102c4b271d968029375e776c
1
#include <lib.h>
2
#include <unistd.h>
3
4
int
vm_memctl
(
endpoint_t ep
,
int
req
)
5
{
6
message m
;
7
m
.
VM_RS_CTL_ENDPT
=
ep
;
8
m
.
VM_RS_CTL_REQ
=
req
;
9
10
return
_syscall
(
VM_PROC_NR
,
VM_RS_MEMCTL
, &
m
);
11
}