Copyright (c) 2001 ActiveState Tool Corp.

See the file "license.terms" for information on usage and redistribution
of this file, and for a DISCLAIMER OF ALL WARRANTIES.

RCS: @(#) $Id: Signal.3,v 1.6 2007/12/13 15:22:32 dgp Exp $
.so man.macros
Tcl_SignalId 3 8.3 Tcl "Tcl Library Procedures"
S
NAME
Tcl_SignalId, Tcl_SignalMsg - Convert signal codes
SYNOPSIS
#include <tcl.h>
const char *
Tcl_SignalId(sig)
const char *
Tcl_SignalMsg(sig)
ARGUMENTS
.AS int sig .AP int sig in A POSIX signal number such as SIGPIPE. E
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 .QW SIGPIPE . Tcl_SignalMsg returns a human-readable string such as .QW "bus error" . The strings returned by these functions are statically allocated and the caller must not free or modify them.

KEYWORDS
signals, signal numbers