Signal(3)

Signal3

Convert signal codes

Usage

#include <tcl.h>

const char *
Tcl_SignalId(sig)

const char *
Tcl_SignalMsg(sig)

Arguments

A POSIX signal number such as SIGPIPE.

Overview

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 Tcl_SignalMsg returns a human-readable string such as The strings returned by these functions are statically allocated and the caller must not free or modify them.

Keywords

signals, signal numbers

Releases

119 releases since Mac OS X 10.3; the text changed 2 times.

  1. 10.3–10.3.9
  2. 10.4–10.4.2
  3. 10.6–26.5

From tcl 152 in macOS 26.5. Parsed by carta from the page's man source.