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
explanations with common test3 errors.
[minix3.git]
/
lib
/
syslib
/
sys_kill.c
blob
31366498c5a8b30b9289a789328f93389e4f48f7
1
#include
"syslib.h"
2
3
PUBLIC
int
sys_kill
(
proc
,
signr
)
4
int
proc
;
/* which proc has exited */
5
int
signr
;
/* signal number: 1 - 16 */
6
{
7
/* A proc has to be signaled via MM. Tell the kernel. */
8
message m
;
9
10
m
.
SIG_ENDPT
=
proc
;
11
m
.
SIG_NUMBER
=
signr
;
12
return
(
_taskcall
(
SYSTASK
,
SYS_KILL
, &
m
));
13
}
14