repo.or.cz
/
minix3.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
make vfs & filesystems use failable copying
[minix3.git]
/
lib
/
libsys
/
srv_kill.c
blob
c4287cf57d269b6118d40c5c624b373758a75353
1
#include
"syslib.h"
2
3
#include <string.h>
4
5
int
6
srv_kill
(
pid_t pid
,
int
sig
)
7
{
8
message m
;
9
10
memset
(&
m
,
0
,
sizeof
(
m
));
11
m
.
PM_SIG_PID
=
pid
;
12
m
.
PM_SIG_NR
=
sig
;
13
return
_taskcall
(
PM_PROC_NR
,
PM_SRV_KILL
, &
m
);
14
}