NAME killpg - send signal to all members of a process group. CONTENTS Synopsis Description Errors 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:
"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:
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: