<csignal>
Includes the C Standard library header <signal.h> and adds the associated names to the std
namespace. Including this header ensures that the names declared using external linkage in the Standard C library header are declared in the std
namespace.
Syntax
#include <csignal>
Namespace and Macros
namespace std {
using sig_atomic_t = see below;
extern using signal-handler = void(int);
}
#define SIG_DFL
#define SIG_ERR
#define SIG_IGN
#define SIGABRT
#define SIGFPE
#define SIGILL
#define SIGINT
#define SIGSEGV
#define SIGTERM
Functions
signal-handler* signal(int sig, signal-handler* func);
int raise(int sig);
See also
Header Files Reference
C++ Standard Library Overview
Thread Safety in the C++ Standard Library
Feedback
https://aka.ms/ContentUserFeedback.
În curând: Pe parcursul anului 2024, vom elimina treptat Probleme legate de GitHub ca mecanism de feedback pentru conținut și îl vom înlocui cu un nou sistem de feedback. Pentru mai multe informații, consultați:Trimiteți și vizualizați feedback pentru