Namespaces
Variants
Actions

SIG_DFL, SIG_IGN

From cppreference.com
< cpp‎ | utility‎ | program
 
C++
 
Utilities library
General utilities
Relational operators (deprecated in C++20)
 
Program support utilities
Defined in header <csignal>
#define SIG_DFL /*implementation defined*/
#define SIG_IGN /*implementation defined*/

The SIG_DFL and SIG_IGN macros expand into integral expressions that are not equal to an address of any function. The macros define signal handling strategies for std::signal() function.

Constant Explanation
SIG_DFL default signal handling
SIG_IGN signal is ignored

[edit] See also

C documentation for SIG_DFL, SIG_IGN

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant