tcllux::signal - TclLux signal
The TclLux signal Tcl extension provides signal information. A signal argument can be a number or a signal name. A signal name is case-insensitive and may be prefixed with "sig".
Returns a list of dicts. Keys: name. Values: descr. Index in list is signal number.
Returns signal info if only signal supplied. If action is default then the system default action will be taken upon receipt of the signal. If action is ignore then the signal will be ignored. If action is a Tcl channel then data will be written to the channel upon receipt of the signal. If send is signal then the signal number will be written to the channel as one byte. If send is timestamp then a timestamp (seconds and nanoseconds) of when the signal was received will be written to the channel as two longs. The default for send is signal. Returns an empty string.
Send signal signal to process pid. Returns an empty string.
signal(3)
signal, unix
UNIX
Copyright © 2018 Stuart Cassoff <stwo@users.sourceforge.net>