From WikiChip
Difference between revisions of "c/signal.h"
< c

(Created page with "{{DISPLAYTITLE:<signal.h> Header - C}} {{C Standard Library}} The '''<signal.h>''' header is part of the standard library of the C programming language which provides ...")
 
m (Jon moved page Signal.h - C to c/signal.h)
(No difference)

Revision as of 14:34, 23 November 2015

The <signal.h> header is part of the standard library of the C programming language which provides the functionality necessary for dealing with various signals.

Types

Type Description Since
sig_atomic_t Integer type of an object that can be accessed as an atomic entity C89

Macros

The header provides the following macro definitions:

Macro Name Description Since
SIG_DFL macros expand into integral expressions that compare unequal to the address of any declarable function C89
SIG_ERR C89
SIG_IGN C89
SIGABRT expand to positive integer constant expressions with type int; corresponding to an abnormal termination C89
SIGFPE expand to positive integer constant expressions with type int; corresponding to an erroneous arithmetic operation C89
SIGILL expand to positive integer constant expressions with type int; corresponding to a detection of an invalid function image C89
SIGINT expand to positive integer constant expressions with type int; corresponding to a receipt of an interactive attention signal C89
SIGSEGV expand to positive integer constant expressions with type int; corresponding to an invalid access to storage C89
SIGTERM expand to positive integer constant expressions with type int; corresponding to a termination request sent to the program C89

Functions

Function Description Since
signal sets up a signal handler for specific signal C89
raise carries out the action defined by signal() C89