psignal.3

来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· 3 代码 · 共 41 行

3
41
字号
.\" SCCSID: @(#)psignal.3	8.2	1/28/91.TH psignal 3.SH Namepsignal, sys_siglist \- system signal messages.SH Syntax.nf.B void psignal(sig, s).B unsigned sig;.B char *s;.PP.B char *sys_siglist[];.fi.SH DescriptionThe.NXR "psignal subroutine".NXR "sys_siglist subroutine".NXR "signal message" "getting".PN psignalsubroutine produces a short messageon the standard error filedescribing the indicated signal.First the argument string.I sis printed, then a colon, then the name of the signaland a new-line.Most usefully, the argument string is the nameof the program which incurred the signal.The signal number should be from among those foundin <signal.h>..PPTo simplify variant formattingof signal names, the vector of message strings.PN sys_siglistis provided.The signal numbercan be used as an index in this table to get thesignal name without the newline.The define NSIG defined in <signal.h> is the number of messages..SH See Alsosigvec(2), perror(3)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?