'\"macro stdmacro
.if n .pH g3c.psignal @(#)psignal	40.11 of 10/27/89
.\" Copyright 1989 AT&T
.nr X
.if \nX=0 .ds x} psignal 3C "" "\&"
.if \nX=1 .ds x} psignal 3C ""
.if \nX=2 .ds x} psignal 3C "" "\&"
.if \nX=3 .ds x} psignal "" "" "\&"
.TH \*(x}
.SH NAME
\f4psignal\fP, \f4psiginfo\fP \- system signal messages
.SH SYNOPSIS
\f4#include <siginfo.h>\f1
.PP
\f4void psignal (int sig, const char *s);\f1
.PP
\f4void psiginfo (siginfo_t *pinfo, char *s);\f1
.SH DESCRIPTION
\f4psignal\f1 and \f4psiginfo\f1 produce messages on the standard error
output describing a signal.  \f2sig\f1 is a signal that may have been 
passed as the first argument to a signal handler.  \f2pinfo\f1 is a
pointer to a \f4siginfo\fP structure that may have been passed as the
second argument to an enhanced signal handler [see \f4sigaction\fP(2)].
The argument string \f2s\f1 is printed first, then a colon and a blank,
then the message and a newline.
.SH SEE ALSO
\f4sigaction\fP(2), \f4perror\fP(3), \f4siginfo\fP(5), \f4signal\fP(5).
