Back to index

glibc  2.9
Functions
killpg.c File Reference
#include <errno.h>
#include <signal.h>

Go to the source code of this file.

Functions

int killpg (__pid_t pgrp, int sig)

Function Documentation

int killpg ( __pid_t  pgrp,
int  sig 
)

Definition at line 27 of file killpg.c.

{
  if (pgrp < 0)
    {
      __set_errno (EINVAL);
      return -1;
    }

  return __kill (- pgrp, sig);
}

Here is the call graph for this function: