home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / internal / 1758 < prev    next >
Encoding:
Internet Message Format  |  1992-08-29  |  1.3 KB

  1. From: aakash@hpcupt3.cup.hp.com (Aakash Sahai)
  2. Date: Thu, 27 Aug 1992 17:32:59 GMT
  3. Subject: Re: psignal()
  4. Message-ID: <46520025@hpcupt3.cup.hp.com>
  5. Organization: Hewlett Packard, Cupertino
  6. Path: sparky!uunet!cs.utexas.edu!sdd.hp.com!hpscdc!hplextra!hpcc05!hpcuhb!hpcupt3!aakash
  7. Newsgroups: comp.unix.internals
  8. References: <1992Aug26.100921.23546@prl.dec.com>
  9. Lines: 26
  10.  
  11. > boyd@prl.dec.com (Boyd Roberts) writes :
  12. > Signals are intended to kill processes, and are
  13. > not an interprocess communication primitive, although they are often
  14. > misued in this way.
  15.  
  16. Oh boy ! I always thought it was the other way round. I wouldn't not have been
  17. able to write several programs without SIGALRM, SIGUSR1 and SIGUSR2. How about
  18. the following signals -
  19.  
  20.       SIGCLD        death of a child
  21.       SIGPWR        power fail
  22.       SIGVTALRM     virtual timer alarm
  23.       SIGPROF       profiling timer alarm
  24.       SIGIO         asynchronous I/O signal
  25.       SIGWINCH      window size change
  26.       SIGSTOP       stop
  27.       SIGTSTP       stop signal generated from keyboard
  28.       SIGCONT       continue after stop
  29.       SIGTTIN       background read attempted from control terminal
  30.       SIGTTOU       background write attempted to control terminal
  31.       SIGURG        urgent data arrived on an I/O channel
  32.  
  33. What should a program receiving such signals do ? Get killed :-?
  34.  
  35. -- Aakash
  36.