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
vm: include no-caching bits in PTF_ALLFLAGS for flags sanity check.
[minix.git]
/
lib
/
libc
/
posix
/
_kill.c
blob
abc44a0dfaf2485beb6cda356834a33dac60d4db
1
#include <lib.h>
2
#define kill _kill
3
#include <signal.h>
4
5
PUBLIC
int
kill
(
proc
,
sig
)
6
int
proc
;
/* which process is to be sent the signal */
7
int
sig
;
/* signal number */
8
{
9
message m
;
10
11
m
.
m1_i1
=
proc
;
12
m
.
m1_i2
=
sig
;
13
return
(
_syscall
(
MM
,
KILL
, &
m
));
14
}