Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

signal Action Constants

The action taken when the interrupt signal is received depends on the value of func.

#include <signal.h>

The func argument must be either a function address or one of the manifest constants listed below and defined in SIGNAL.H.

SIG_DFL

Uses system-default response. If the calling program uses stream I/O, buffers created by the run-time library are not flushed.

SIG_IGN

Ignores interrupt signal. This value should never be given for SIGFPE, since the floating-point state of the process is left undefined.

SIG_SGE

Indicates an error occurred in the signal.

SIG_ACK

Indicates an acknowledgement was received.

SIG_ERR

A return type from a signal indicating an error has occurred.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.