other sections
signal(3tcl) | signal(3tcl) |
NAME¶
signal - dynamically loadable signal handling for Tcl/TkSYNOPSIS¶
signal (add|delete|print|version) [options]COMMANDS¶
add signo proc [-async]¶
Adds a signal handler for signal signo through proc proc. Signals can be provided by number, or the most common ones are provided by name (e.g., SIGHUP). The proc is any Tcl procedure, and it is evaluated when the signal comes in. It will be provided no arguments.signal delete signo¶
Restores handling of signal signo to the default ( SIG_DFL ).signal print¶
Prints the handling of all signals with handlers. Formatted assignal ----> procedure or as
signal !---> procedure
signal print signo¶
Prints the procedure for handling signal signo. Prints the word UNHANDLED if no signal handler is active for that signal.signal version¶
Returns the string representing the current version of the packageAUTHOR¶
Michael Schwartz <mschwart@nyx.net>. Tilman Kranz <tilde@tk-sls.de> patched this for wider portability on Linux1.4.0.1 Tcl | Tcl Signal Extension |