Sun Microsystems, Inc.
spacerspacer
spacer   www.sun.com docs.sun.com | | |  
spacer
black dot
   
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z
    
 
Standard C Library Functionspsignal(3C)


NAME

 psignal, psiginfo - system signal messages

SYNOPSIS

 
#include <siginfo.h>
void psignal(int sig, const char *s);
 void psiginfo(siginfo_t *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, followed by a colon and a blank, followed by the message and a NEWLINE character.

USAGE

 

If the application is linked with -lintl, then messages printed from these functions are in the native language specified by the LC_MESSAGES locale category. See setlocale(3C).

ATTRIBUTES

 

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPEATTRIBUTE VALUE
MT-LevelSafe

SEE ALSO

 

sigaction(2), gettext(3C), perror(3C), setlocale(3C), attributes(5), siginfo(3HEAD), signal(3HEAD)


SunOS 5.9Go To TopLast Changed 29 Dec 1996

 
      
      
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.