Signal Function Macros

Macros representing pointers to signal functions that can be used with the signal() function.

Attention: These macros are not implemented by MPLAB XC8.

Include

<signal.h>

Remarks

These macros are constant expressions with distinct values that have a type compatible with the second argument to and the return value of the signal() function.

Macro Indicates
SIG_DEF When passed to as the second argument to signal(), a default signal handler should be used on the signal.
SIG_ERR When returned from signal(), the requested signal handling could not be established.
SIG_IGN When passed to as the second argument to signal(), the signal should be ignored.