psignal(S-osr5)
psignal, psiginfo --
system signal messages
Syntax
cc ...-lc
#include <siginfo.h>
void psiginfo (const siginfo_t *pinfo, const char *s);
void psignal (int sig, const char *s);
Description
psignal-
produce system signal messages
psiginfo-
produce system signal messages
psignal(S-osr5)
and
psiginfo(S-osr5)
produce messages on the standard error output describing a signal.
sig is a signal that may have been
passed as the first argument to a signal handler.
pinfo is a pointer to a
siginfo structure that may have been passed as the second argument
to an enhanced signal handler (see
sigaction(S-osr5)).
The argument string
s is printed first,
then a colon and a blank, then the message and a newline.
Return values
psignal( )
and
psiginfo( )
do not return any values.
Diagnostics
This function does not set errno.
See also
perror(S-osr5),
sigaction(S-osr5),
signal(M),
signal(S-osr5)
Standards conformance
psignal(S-osr5)
and
psiginfo(S-osr5)
are not part of any currently supported standard;
they were developed by UNIX System Laboratories, Inc.
and are maintained by The SCO Group.
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 02 June 2005