*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Linux man pages -> killpg (3)              
Title
Content
Arch
Section
 

KILLPG(3)

Contents


NAME    [Toc]    [Back]

       killpg - send signal to all members of a process group.

SYNOPSIS    [Toc]    [Back]

       #include <signal.h>

       int killpg(pid_t pidgrp, int signal);

DESCRIPTION    [Toc]    [Back]

       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    [Toc]    [Back]

       The value returned is -1 on error, or 0 for success.

ERRORS    [Toc]    [Back]

       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    [Toc]    [Back]

       ???

SEE ALSO    [Toc]    [Back]

      
      
       kill(2), signal(2), signal(7)



GNU				  1993-04-04			     KILLPG(3)
[ Back ]
 Similar pages
Name OS Title
killpg FreeBSD send signal to a process group
killpg Tru64 Send a signal to a process group
killpg NetBSD send signal to a process group
killpg OpenBSD send signal to a process group
killpg Linux send signal to a process group
raise HP-UX send a signal to a process or a group of processes
kill HP-UX send a signal to a process or a group of processes
killpg IRIX send signal to a process group (4.3BSD)
sigsendset HP-UX send a signal to a process or a group of processes
sigsend HP-UX send a signal to a process or a group of processes
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service