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
Drop main() prototype. Syncs with NetBSD-8
[minix.git]
/
minix
/
lib
/
libsys
/
sys_update.c
blob
86274628f12ad09846fbb3c847b21ff42b13f357
1
#include
"syslib.h"
2
3
int
sys_update
(
endpoint_t src_ep
,
endpoint_t dst_ep
,
int
flags
)
4
{
5
message m
;
6
7
m
.
SYS_UPD_SRC_ENDPT
=
src_ep
;
8
m
.
SYS_UPD_DST_ENDPT
=
dst_ep
;
9
m
.
SYS_UPD_FLAGS
=
flags
;
10
11
return
_kernel_call
(
SYS_UPDATE
, &
m
);
12
}