Artifact 07dc6a1c0a267387b0b339189125ab00acdba5238cdbd8361927e89ea90785dc:
- File doc/markdown/Signal.md — part of check-in [f0995c8b62] at 2026-09-18 21:16:22 on branch tip-700 — - 4 new conversions - make sure we have a space between a .ccmd and a .cargs markdown span - escape "[" and "]" properly so it is preserved as literal character - even more ugly code to handle the TIP markers which may go across paragraphs and be in other places than anticipated up to now (user: Torsten, size: 958) [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.