Документ взят из кэша поисковой машины. Адрес оригинального документа : http://mavr.sao.ru/hq/sts/linux/book/c_marshall/subsection2_18_4_3.html
Дата изменения: Unknown
Дата индексирования: Fri Dec 28 20:32:47 2007
Кодировка:
Interrupts and Signals



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