Print this page
5863 psiginfo arguments should be const
Reviewed by: Andy Stormont <astormont@racktopsystems.com>
Reviewed by: Garrett D'Amore <garrett@damore.org>

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man3c/psignal.3c.man.txt
          +++ new/usr/src/man/man3c/psignal.3c.man.txt
↓ open down ↓ 3 lines elided ↑ open up ↑
   4    4  
   5    5  NAME
   6    6         psignal, psiginfo - system signal messages
   7    7  
   8    8  SYNOPSIS
   9    9         #include <siginfo.h>
  10   10  
  11   11         void psignal(int sig, const char *s);
  12   12  
  13   13  
  14      -       void psiginfo(siginfo_t *pinfo, char *s);
       14 +       void psiginfo(const siginfo_t *pinfo, const char *s);
  15   15  
  16   16  
  17   17  DESCRIPTION
  18   18         The psignal() and psiginfo() functions produce messages on the standard
  19   19         error output describing a signal.  The sig argument is a signal that
  20   20         may have been  passed as the first argument to a signal handler.  The
  21   21         pinfo argument is a pointer to a siginfo structure that may have been
  22   22         passed as the second argument to an enhanced signal handler.  See
  23   23         sigaction(2). The argument string s is printed first, followed by a
  24   24         colon and a blank, followed by the message and a NEWLINE character.
↓ open down ↓ 24 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX