SIG_ERR

From cppreference.com
< cpp‎ | utility‎ | program
 
 
Utilities library
General utilities
Date and time
Function objects
Formatting library (C++20)
(C++11)
Relational operators (deprecated in C++20)
Integer comparison functions
(C++20)(C++20)(C++20)   
(C++20)
Swap and type operations
(C++14)
(C++11)
(C++11)
(C++11)
(C++17)
Common vocabulary types
(C++11)
(C++17)
(C++17)
(C++17)
(C++11)
(C++17)
(C++23)
Elementary string conversions
(C++17)
(C++17)
 
Program support utilities
Program termination
(C++11)
(C++11)
Unreachable control flow
Communicating with the environment
Signals
SIG_ERR
Signal types
Non-local jumps
Types
 
Defined in header <csignal>
#define SIG_ERR /* implementation defined */

A value of type void (*)(int). When returned by std::signal, indicates that an error has occurred.

See also

sets a signal handler for particular signal
(function)