Tcl_SignalId, Tcl_SignalMsg
Convert signal codes
- Provided by: tcl8.4-doc (Version: 8.4.20-8)
- Source: tcl8.4
- Report a bug
Convert signal codes
#include <tcl.h> CONST char * Tcl_SignalId(sig) CONST char * Tcl_SignalMsg(sig)
Tcl_SignalId and Tcl_SignalMsg return a string representation of the provided signal number (sig). Tcl_SignalId returns a machine-readable textual identifier such as "SIGPIPE". Tcl_SignalMsg returns a human-readable string such as "bus error". The strings returned by these functions are statically allocated and the caller must not free or modify them.
signals, signal numbers