Last change
on this file since 10 was 9, checked in by Mattia Monga, 14 years ago |
Minix 3.1.2a
|
-
Property svn:executable
set to
*
|
File size:
302 bytes
|
Line | |
---|
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 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.