Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/tcl8.5.2/doc/Signal.3 @ 33

Last change on this file since 33 was 25, checked in by landauf, 16 years ago

added tcl to libs

File size: 1.0 KB
Line 
1'\"
2'\" Copyright (c) 2001 ActiveState Tool Corp.
3'\"
4'\" See the file "license.terms" for information on usage and redistribution
5'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
6'\"
7'\" RCS: @(#) $Id: Signal.3,v 1.6 2007/12/13 15:22:32 dgp Exp $
8.so man.macros
9.TH Tcl_SignalId 3 8.3 Tcl "Tcl Library Procedures"
10.BS
11.SH NAME
12Tcl_SignalId, Tcl_SignalMsg \- Convert signal codes
13.SH SYNOPSIS
14.nf
15\fB#include <tcl.h>\fR
16.sp
17const char *
18\fBTcl_SignalId\fR(\fIsig\fR)
19.sp
20const char *
21\fBTcl_SignalMsg\fR(\fIsig\fR)
22.sp
23.SH ARGUMENTS
24.AS int sig
25.AP int sig in
26A POSIX signal number such as \fBSIGPIPE\fR.
27.BE
28
29.SH DESCRIPTION
30.PP
31\fBTcl_SignalId\fR and \fBTcl_SignalMsg\fR return a string
32representation of the provided signal number (\fIsig\fR).
33\fBTcl_SignalId\fR returns a machine-readable textual identifier such
34as
35.QW SIGPIPE .
36\fBTcl_SignalMsg\fR returns a human-readable string such as
37.QW "bus error" .
38The strings returned by these functions are
39statically allocated and the caller must not free or modify them.
40
41.SH KEYWORDS
42signals, signal numbers
Note: See TracBrowser for help on using the repository browser.