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 SIGPIPE.
22______________________________________________________________________________
23
24

DESCRIPTION

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

KEYWORDS

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