Content deleted Content added
m →Handling: WP:CHECKWIKI error fixes using AWB (9475) |
|||
Line 18:
==Handling==
A signal can be generated by calling <code>raise()</code> or <code>kill()</code> system calls. <code>raise()</code> sends a signal to the current process, <code>kill()</code> sends a signal to a specific process.
A signal handler can be specified for all but two signals ([[SIGKILL]] and [[SIGSTOP]] cannot be caught, blocked or ignored). A signal handler is a [[Function (computer science)|function]] which is called by the target environment when the corresponding signal occurs. The target environment suspends execution of the program until the signal handler returns or calls <code>longjmp()</code>. For maximum portability, an asynchronous signal handler should only:
|