source:
trunk/minix/lib/posix/_kill.c@
16
Last change on this file since 16 was 9, checked in by , 14 years ago | |
---|---|
File size: 259 bytes |
Rev | Line | |
---|---|---|
[9] | 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 | } |
Note:
See TracBrowser
for help on using the repository browser.