sig_atomic_t for signal handler's flags