www.delorie.com/gnu/docs/glibc/libc_471.html   search  
 
Buy the book!


The GNU C Library

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

24.2 Standard Signals

This section lists the names for various standard kinds of signals and describes what kind of event they mean. Each signal name is a macro which stands for a positive integer--the signal number for that kind of signal. Your programs should never make assumptions about the numeric code for a particular kind of signal, but rather refer to them always by the names defined here. This is because the number for a given kind of signal can vary from system to system, but the meanings of the names are standardized and fairly uniform.

The signal names are defined in the header file `signal.h'.

Macro: int NSIG
The value of this symbolic constant is the total number of signals defined. Since the signal numbers are allocated consecutively, NSIG is also one greater than the largest defined signal number.

24.2.1 Program Error Signals  Used to report serious program errors.
24.2.2 Termination Signals  Used to interrupt and/or terminate the program.
24.2.3 Alarm Signals  Used to indicate expiration of timers.
24.2.4 Asynchronous I/O Signals  Used to indicate input is available.
24.2.5 Job Control Signals  Signals used to support job control.
24.2.6 Operation Error Signals  Used to report operational system errors.
24.2.7 Miscellaneous Signals  
24.2.8 Signal Messages  Printing a message describing a signal.


  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003