Artifact a8409364f942f98c10f9fadc1a8b3b6a2625d7cbcee62b57cb04c21ceb933eab:
- File doc/markdown/Signal.md — part of check-in [d2f4727478] at 2026-01-19 01:22:50 on branch tip-700 — - escape backslash, asterisk, underscore in normal text during markdown output - as we are using Tcl 9 now anyway, make smarter reference checking - include some more reference links when the command name is not equal to the file name - unified chan.n (user: Torsten, size: 915) [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
.AP 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 modify them.