psiginfo man page on DigitalUNIX

Man page or keyword search:  
man Server   12896 pages
apropos Keyword Search (all sections)
Output format
DigitalUNIX logo
[printable version]

psignal(3scl)							 psignal(3scl)

NAME
       psignal, psiginfo - writes signal information to standard error

LIBRARY
       SCL Miscellaneous Library (libsolmisc.so, libsolmisc.a)

SYNOPSIS
       #include <siginfo.h>

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

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

PARAMETERS
       Specifies  the  signal  number. The message pertaining to this value is
       written to standard error.  Pointer to a siginfo_t structure from which
       the  signal  number is obtained Specifies a text string that is to pre‐
       cede the message pertaining to the signal

DESCRIPTION
       The psignal() and psiginfo() functions output a	text  message  to  the
       standard	 error	stream. The message describes a signal. Typical use of
       these functions is from within signal handlers. The sig	argument  con‐
       tains the signal number (passed as the first parameter to a signal han‐
       dler).

       The pinfo argument is a pointer to a siginfo_t structure	 (also	passed
       to  the signal handler as the second parameter). In both functions, the
       s argument contains a string which is written to standard error	first,
       followed	 by  a	colon and space, followed by the message pertaining to
       the signal number and, finally, a  newline  character.  The  psiginfo()
       function additionally appends the process id to the text message.

SCL IMPLEMENTATION NOTES
       The  text message describing the signal may be different from that out‐
       put by Solaris.

       The supported signals reflect those of Tru64 UNIX rather	 than  Solaris
       as  some of the signals defined on Solaris are not implemented by Tru64
       UNIX. Examine sys/signal.h to determine the signals that are supported.

       The signal numbers defined for a given name (for example, SIGUSR1)  may
       differ  between Tru64 UNIX and Solaris, therefore use of symbolic names
       within source code is strongly recommended.

RETURN VALUES
       These functions do not return any values.

RELATED INFORMATION
       Functions: sigaction(2), signal(2)

       Files: signal(4)

       Manual: Solaris Compatibility Library User's Guide

								 psignal(3scl)
[top]

List of man pages available for DigitalUNIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net