Tcl Library Procedures Tcl_SignalId(3TCL)
_________________________________________________________________
NAME
Tcl_SignalId, Tcl_SignalMsg - Convert signal codes
SYNOPSIS
#include
CONST char *Tcl_SignalId(sig)
CONST char *Tcl_SignalMsg(sig)
ARGUMENTS int sig (in) A POSIX signal number such as SIGPIPE._________________________________________________________________
DESCRIPTION
Tcl_SignalId and Tcl_SignalMsg return a string representa-
tion of the provided signal number (sig). Tcl_SignalId
returns a machine-readable textual identifier such as "SIG-
PIPE". 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. KEYWORDS signals, signal numbersATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:_______________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE|
|____________________|__________________|_
| Availability | runtime/tcl-8 |
|____________________|__________________|_
| Interface Stability| Uncommitted ||____________________|_________________|
NOTES Source for Tcl is available on http://opensolaris.org. Tcl Last change: 8.3 1