Artifact 2e101ca4820c76a1982195e7f5ce640b91ff7e543d4448e900bb7ff23c0af0ea:
- File doc/markdown/Signal.md — part of check-in [a2dd66906f] at 2025-07-26 22:11:17 on branch tip-700 — - added remaining 28 section 3 manual pages in initial markdown versions - removed unusual use of a "typedef ..." line inside the synpsos of UTF.3 - unwrapped lines in Synopsis section of Encoding.3 (user: Torsten, size: 905) [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.