Artifact f03dd4b8a150ce55fa4dac8d94b3ba58c594c362552220f47c1dd50aecbbc7e1:
- File doc/markdown/Signal.md — part of check-in [321b67167b] at 2026-09-22 22:01:30 on branch tip-700 — - corrected over-agressive removal of empty lines, corrupting some divs - added some missing nroff escape sequences - CrtChannel.3: removed am additional and unnecessary .PP leaving an orphaned TIP220 behind - more ugly code to get the TIP markers across (or not) (user: Torsten, size: 957) [annotate] [blame] [check-ins using]
CommandName: Tcl_SignalId ManualSection: 3 Version: 8.3 TclPart: Tcl TclDescription: Tcl Library Procedures Keywords:
- signals
- signal numbers Copyright:
- Copyright (c) 2001 ActiveState Tool Corp. ---
Name
Tcl_SignalId, Tcl_SignalMsg - Convert signal codes
Synopsis
::: {.synopsis} ::: #include <tcl.h> [const char *]{.ret} [Tcl_SignalId]{.ccmd} [sig]{.cargs} [const char *]{.ret} [Tcl_SignalMsg]{.ccmd} [sig]{.cargs} :::
Arguments
::: {.arguments} :::
[sig]{.carg .in type="int"} : 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 modify them.