source: trunk/minix/lib/syslib/sys_kill.c@ 9

Last change on this file since 9 was 9, checked in by Mattia Monga, 13 years ago

Minix 3.1.2a

  • Property svn:executable set to *
File size: 302 bytes
Line 
1#include "syslib.h"
2
3PUBLIC int sys_kill(proc, signr)
4int proc; /* which proc has exited */
5int 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.