1Tcl_SignalId(3)             Tcl Library Procedures             Tcl_SignalId(3)
2
3
4
5______________________________________________________________________________
6

NAME

8       Tcl_SignalId, Tcl_SignalMsg - Convert signal codes
9

SYNOPSIS

11       #include <tcl.h>
12
13       CONST char *
14       Tcl_SignalId(sig)
15
16       CONST char *
17       Tcl_SignalMsg(sig)
18
19

ARGUMENTS

21       int          sig                (in)      A POSIX signal number such as
22                                                 SIGPIPE.
23_________________________________________________________________
24
25

DESCRIPTION

27       Tcl_SignalId and Tcl_SignalMsg return a string  representation  of  the
28       provided  signal number (sig).  Tcl_SignalId returns a machine-readable
29       textual identifier such as "SIGPIPE". Tcl_SignalMsg  returns  a  human-
30       readable  string  such  as  "bus error".  The strings returned by these
31       functions are statically allocated and the caller must not free or mod‐
32       ify them.
33
34

KEYWORDS

36       signals, signal numbers
37
38
39
40Tcl                                   8.3                      Tcl_SignalId(3)
Impressum