...
Code Block |
---|
typedef void (*SighandlerTypesighandler_t)(int signum); extern SighandlerTypesighandler_t signal( int signum, SighandlerTypesighandler_t handler ); |
Signal handlers can be interrupted by signals, including their own. If a signal is not reset before its handler is called, the handler can interrupt its own execution. A handler that always successfully executes its code despite interrupting itself or being interrupted is asynchronous-safe.
...