redhat man page for killpg

Query: killpg

OS: redhat

Section: 3

Links: redhat man pages | All man pages

Forums: Unix Linux Community | Forum Categories

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

KILLPG(3)						     Linux Programmer's Manual							 KILLPG(3)

NAME
killpg - send signal to all members of a process group.
SYNOPSIS
#include <signal.h> int killpg(pid_t pidgrp, int signal);
DESCRIPTION
The killpg() function causes signal signal to be sent to all the processes in the process group pidgrp or to the processes' own process group if pidgrp is equal to zero. It is equivalent to kill(-pidgrp,signal);
RETURN VALUE
The value returned is -1 on error, or 0 for success.
ERRORS
Errors are returned in errno and can be one of the following: EINVAL for an invalid signal, ESRCH for a process group which does not exist, and EPERM if the userid of the calling process is not equal to that of the process the signal is sent to, and the userid is not that of the superuser.
CONFORMING TO
???
SEE ALSO
kill(2), signal(2), signal(7)
GNU
1993-04-04 KILLPG(3)
Related Man Pages
killpg(2) - redhat
killpg(2) - centos
killpg(3) - x11r4
killpg(3) - opendarwin
killpg(3) - v7
Similar Topics in the Unix Linux Community
Apache config issue
Error in cron job;
Error in cron job;
Infraction for shruthinagaraj: Double Posting