PSIGNAL

Section: C Library Functions (3)
Index Return to Main Contents

BSD mandoc
BSD 4.2  

NAME

psignal sys_siglist - system signal messages  

SYNOPSIS

Fd #include <sys/signal.h> Ft void Fn psignal unsigned sig const char *s Vt extern char *sys_siglist[];  

DESCRIPTION

The Fn psignal function locates the descriptive message string for the given signal Fa sig number and writes it to the stderr

If the argument Fa s is non- NULL it is written to the stderr prior to the message string. The signal number should be from among those found in Aq Pa signal.h .

The message strings can be accessed directly using the external character array sys_siglist The defined variable NSIG contains a count of the messages in sys_siglist  

SEE ALSO

sigaction(2), perror(3)  

HISTORY

The Fn psignal function appeared in BSD 4.2


 

Index

NAME
SYNOPSIS
DESCRIPTION
SEE ALSO
HISTORY

This document was created by man2html, using the manual pages.
Time: 06:42:25 GMT, May 19, 2025