psignal()

write message to standard error describing signal 

Function


SYNOPSIS

#include <siginfo.h>

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


DESCRIPTION

The psignal() function produces messages on standard error describing a signal. It prints s, a colon, a space, and the string representation of sig on standard error.


PARAMETERS

sig 

Is a signal number.

s 

Is an arbitrary text string.


RETURN VALUES

None.


CONFORMANCE

4.4BSD.


MULTITHREAD SAFETY LEVEL

MT-Safe.


PORTING ISSUES

None.


AVAILABILITY

MKS Toolkit for Professional Developers
MKS Toolkit for Enterprise Developers
MKS Toolkit for Enterprise Developers 64-Bit Edition


SEE ALSO

Functions:
perror(), sigaction(), signal()


MKS Toolkit 9.3 Documentation Build 6.