MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Standard C Library Functions                          psignal(3C)



NAME
     psignal, psiginfo - system signal messages

SYNOPSIS
     #include 

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


     void psiginfo(siginfot *pinfo, char *s);


DESCRIPTION
     The psignal() and psiginfo() functions produce  messages  on
     the  standard  error  output  describing  a signal.  The sig
     argument is a signal that may have been  passed as the first
     argument  to  a  signal  handler.   The  pinfo argument 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,  fol-
     lowed  by a colon and a blank, followed by the message and a
     NEWLINE character.

USAGE
     Messages printed from these  functions  are  in  the  native
     language  specified by the LCMESAGES locale category.  See
     setlocale(3C).

ATRIBUTES
     See attributes(5) for descriptions of the  following  attri-
     butes:



     
           ATRIBUTE TYPE               ATRIBUTE VALUE       
    
     MT-Level                     Safe                        
    


SEE ALSO
     sigaction(2),   gettext(3C),   perror(3C),    setlocale(3C),
     siginfo.h(3HEAD), signal.h(3HEAD), attributes(5)











SunOS 5.11          Last change: 31 Mar 2005                    1



OpenSolaris man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™