1 PSIGNAL(3C)              Standard C Library Functions              PSIGNAL(3C)
   2 
   3 
   4 
   5 NAME
   6        psignal, psiginfo - system signal messages
   7 
   8 SYNOPSIS
   9        #include <siginfo.h>
  10 
  11        void psignal(int sig, const char *s);
  12 
  13 
  14        void psiginfo(const siginfo_t *pinfo, const char *s);
  15 
  16 
  17 DESCRIPTION
  18        The psignal() and psiginfo() functions produce messages on the standard
  19        error output describing a signal.  The sig argument is a signal that
  20        may have been  passed as the first argument to a signal handler.  The
  21        pinfo argument is a pointer to a siginfo structure that may have been
  22        passed as the second argument to an enhanced signal handler.  See
  23        sigaction(2). The argument string s is printed first, followed by a
  24        colon and a blank, followed by the message and a NEWLINE character.
  25 
  26 USAGE
  27        Messages printed from these functions are in the native language
  28        specified by the LC_MESSAGES locale category.  See setlocale(3C).
  29 
  30 ATTRIBUTES
  31        See attributes(5) for descriptions of the following attributes:
  32 
  33 
  34 
  35 
  36        +---------------+-----------------+
  37        |ATTRIBUTE TYPE | ATTRIBUTE VALUE |
  38        +---------------+-----------------+
  39        |MT-Level       | Safe            |
  40        +---------------+-----------------+
  41 
  42 SEE ALSO
  43        sigaction(2), gettext(3C), perror(3C), setlocale(3C), siginfo.h(3HEAD),
  44        signal.h(3HEAD), attributes(5)
  45 
  46 
  47 
  48                                 March 31, 2005                     PSIGNAL(3C)