A function that executes when a signal is received by a shell script. Usually signal handlers clean up temporary files and then exit.
A routine that executes in response to a UNIX signal. A program may either call the user runtime function sigaction() to install a handler for a specific signal, or use the default handler in the user runtime. A program may want to take special action in response to a signal for a variety of reasons. For example, the kill utility sends the SIGTERM signal to the specified process to terminate it. Before terminating, a program may execute a signal handler to save data to files.
(noun) - Another name for a callback.
a function that the target environment calls when the corresponding signal occurs
a routine that is called when a signal arrives
a user-mode routine that the system will invoke when the signal is received by the process
A callback function that is invoked in response to a signal. See also: Callback, Signal.
A function to be called when the signal is reported.
A function registered by the application programmer that the system executes when a signal is delivered to a thread. The function runs immediately in the thread, interrupting any application processing that is in progress.