psignal(3C) DG/UX R4.11MU05 psignal(3C)
NAME
psignal, psiginfo - system signal messages
SYNOPSIS
#include <siginfo.h>
void psignal (int sig, const char *s);
void psiginfo (siginfot *pinfo, char *s);
DESCRIPTION
psignal and psiginfo produce messages on the standard error output
describing a signal. sig is a signal that may have been passed as
the first argument to a signal handler. pinfo is a pointer to a
siginfo structure that may have been passed as the second argument to
an enhanced signal handler [see sigaction(2)]. The argument string s
is printed first, then a colon and a blank, then the message and a
newline.
Considerations for Threads Programming
+---------+-----------------------------+
| | async- |
|function | reentrant cancel cancel |
| | point safe |
+---------+-----------------------------+
|psignal | Y Y N |
|psiginfo | N - - |
+---------+-----------------------------+
SEE ALSO
sigaction(2), reentrant(3), perror(3C), siginfo(5), signal(5).
Licensed material--property of copyright holder(s)