KILLPG(2) UNIX Programmer's Manual KILLPG(2) NAME killpg, killbkg - send signal to process group SYNOPSIS killpg(pgrp, sig); killbkg(pgrp, sig); DESCRIPTION _K_i_l_l_p_g sends the specified signal to all processes in the process group headed by process _p_g_r_p. _K_i_l_l_b_k_g does the same, but only for processes that have not been marked by _s_u_b_m_i_t(2). Use of these calls is restricted to the super-user. RETURN VALUE Upon successful completion, a value of 0 is returned. Oth- erwise, a value of -1 is returned and _e_r_r_n_o is set to indi- cate the error. ERRORS _K_i_l_l_b_k_g will fail and no signal will be sent if any of the following occur: [EINVAL] _S_i_g is not a valid signal number. [ESRCH] No process can be found corresponding to the process group specified by _p_g_r_p. [EPERM] The caller is not the super-user. SEE ALSO kill(2), signal(2), submit(2) ASSEMBLER (local = 58., killpg = 6.) sys local; 9f . . . .data 9: sys killpg; pgrp; sig (local = 58., killbkg = 5.) sys local; 9f . . . .data 9: sys killbkg; pgrp; sig Printed 7/30/83 1