Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ signal(K) — OpenDesktop Software Development System 1.0.0d

Media Vault

Software Library

Restoration Projects

Artifacts Sought



     SIGNAL(K)                 UNIX System V                 SIGNAL(K)



     Name
          signal - sends a signal to a process

     Syntax
          #include "sys/signal.h"

          int
          signal(pgrp, signum)
          int pgrp, signum;

     Description
          The signal routine sends the specified signal, signum, to
          all processes in the process group identified by pgrp.

     Parameters
          The pgrp argument is an integer that specifies the process
          group number.  At task time pgrp is one of the two
          equivalent integers u.u_procp->p_pgrp or u.u_ttyp->t_pgrp.
          If you wished to be able to terminate a process group at
          interrupt time you would need to store the pgrp ID in a
          global variable.

          The signum argument is an integer that specifies the signal
          to be sent.

     See Also
          psignal(K)

                                                      (printed 7/6/89)



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026