Expand description
Registers handler
as the signal handler of signum num
.
Safety
This is considered unsafe because the given handler will be called asynchronously, interrupting whatever the thread was doing and therefore must only do async-signal-safe operations.