Penguin
Annotated edit history of killpg(2) version 2, including all changes. View license author blame.
Rev Author # Line
1 perry 1
2 killpg - send signal to a process group
3 !!SYNOPSIS
2 PerryLorier 4 __#include <signal.h>__
5 __int killpg(int__ ''pgrp''__, int__ ''sig''__);__
1 perry 6
7 !!DESCRIPTION
2 PerryLorier 8 __Killpg__ sends the signal ''sig'' to the process group ''pgrp''. See sigaction(2) for a list of signals. If ''pgrp'' is 0, __killpg__ sends the signal
9 to the sending process's process group.
1 perry 10
11
2 PerryLorier 12 The sending process and members of the process group must have the same effective user ID, or the sender must be the super-user. As a single special case the continue signal [SIGCONT] may be sent to any process that is a descendant of the current process.
1 perry 13
14 !!RETURN VALUE
2 PerryLorier 15 On success, zero is returned. On error, -1 is returned, and ''errno'' is set appropriately.
1 perry 16
17 !!ERRORS
2 PerryLorier 18 ;[EINVAL]: ''Sig'' is not a valid signal number.
19 ;[ESRCH]: No process can be found in the process group specified by ''pgrp''.
20 ;[ESRCH]: The process group was given as 0 but the sending process does not have a process group.
21 ;[EPERM]: The sending process is not the super-user and one or more of the target processes has an effective user ID different from that of the sending process.
1 perry 22
23 !!CONFORMING TO
2 PerryLorier 24 SVr4, 4.4BSD (The __killpg__ function call first appeared in 4.0BSD).
1 perry 25
26 !!SEE ALSO
2 PerryLorier 27 kill(2), getpgrp(2), signal(2)
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.

PHP Warning

lib/blame.php:177: Warning: Invalid argument supplied for foreach() (...repeated 6 times)