Next: Sending Signals - kill() Up: Process Control and Management Previous: pipe() - Low level Piping

Interrupts and Signals

In this section will look at ways in which two processes can communicate. When a process terminates abnormally it usually tries to send a signal indicating what went wrong. C programs (and UNIX) can trap these for diagnostics. Also user specified communication can take place in this way.

The process uses signals which can be numbered 0 to 31. Macros are defined in signal.h header file for common signals.

These include:



Dave.Marshall@cm.cf.ac.uk
Wed Sep 14 10:06:31 BST 1994