...
A signal handler may only call signal()
if it does not need to be asynchronous-safe (in other words, all relevant signals are masked, and consequently it may not be interrupted.)
...
Noncompliant Code Example
In this non-compliant noncompliant code example, the signal handler handler()
is bound to signum
.
...