DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

Tcl_SignalId(3tcl)




______________________________________________________________________________


NAME

       Tcl_SignalId, Tcl_SignalMsg - Convert signal codes


SYNOPSIS

       #include <tcl.h>

       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  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 mod-
       ify them.


KEYWORDS

       signals, signal numbers

Tcl                                   8.3                      Tcl_SignalId(3)

Man(1) output converted with man2html