sig_atomic_t

From cppreference.com
Defined in header <signal.h>
typedef /* unspecified */ sig_atomic_t;

An integer type which can be accessed as an atomic entity even in the presence of asynchronous interrupts made by signals.

[edit] See also

sets a signal handler for particular signal
(function)