minix/lib/posix/_killpg.c
2006-06-07 14:38:39 +00:00

13 lines
246 B
C

#include <lib.h>
#define killpg _killpg
#define kill _kill
#include <signal.h>
PUBLIC int killpg(pgrp, sig)
int pgrp; /* which process group is to be sent the
* signal
*/
int sig; /* signal number */
{
return kill(-pgrp, sig);
}