Print this page
5863 psiginfo arguments should be const
Reviewed by: Andy Stormont <astormont@racktopsystems.com>
Reviewed by: Garrett D'Amore <garrett@damore.org>
   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(siginfo_t *pinfo, 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 
   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