psignal(3C) psignal(3C)
NAME
psignal, psiginfo - output 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
(stderr) describing the specified 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 argu-
ment string s is printed first, then a colon and a blank, then a sys-
tem message describing the signal, and a newline.
The contents of the string returned by this function are determined by
the setting of the LCMESSAGES environment variable in the current
locale.
SEE ALSO
sigaction(2), perror(3C), siginfo(5), signal(5).
Page 1 Reliant UNIX 5.44 Printed 11/98