## Tcl9.0.3/Tk9.0.3 Documentation > Tcl C API > Signal

### Tcl/Tk Applications | Tcl Commands | Tk Commands | [incr Tcl] Package Commands | SQLite3 Package Commands | TDBC Package Commands | tdbc::mysql Package Commands | tdbc::odbc Package Commands | tdbc::postgres Package Commands | tdbc::sqlite3 Package Commands | Thread Package Commands | Tcl C API | Tk C API | [incr Tcl] Package C API | TDBC Package C API

### NAME

Tcl_SignalId, Tcl_SignalMsg — 信号の符号系を変換する　 Convert signal codes

### SYNOPSIS

#include <tcl.h>
const char *
Tcl_SignalId(sig)
const char *
Tcl_SignalMsg(sig)

### 引数 ARGUMENTS

int sig (入力in)
  SIGPIPE の様な POSIX 信号番号｡　 A POSIX signal number such as SIGPIPE.

### 説明 DESCRIPTION

Tcl_SignalId と Tcl_SignalMsg は与えられた信号の数(sig)を表現する文字列を返す｡Tcl_SignalId は “SIGPIPE”. の様な機械可読文書識別子を返す｡ Tcl_SignalMsg は “bus error” の様な人が可読な文字列を返す｡ これ等の函数によって返された文字列は静的に割付され､呼出し側は解放したり修正してはならない｡ 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.

### KEYWORDS

signals, signal numbers
Copyright © 2001 ActiveState Tool Corp.