psignal(3C)

psignal, psiginfo - system signal messages

As shipped in IRIX 6.5.19. Unchanged since IRIX 6.5.

NAME
     psignal, psiginfo - system signal messages

SYNOPSIS
     #include <siginfo.h>

     void psignal (int sig, const char *s);

     void psiginfo (siginfo_t *pinfo, const 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. Most
     usefully, the argument string is the name of the program which incurred
     the signal.  The signal number should be from among those found in
     <signal.h>.

SEE ALSO
     sigaction(2), perror(3), siginfo(5), signal(5).