Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ sys_siglist(3) — 386BSD 1.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

sigaction(2)

perror(3)

PSIGNAL(3)                386BSD Programmer's Manual                PSIGNAL(3)

NAME
     psignal, syssiglist - system signal messages

SYNOPSIS
     #include <sys/signal.h>

     void
     psignal(unsigned sig, const char *s)

     extern char *sys_siglist[];

DESCRIPTION
     The psignal() function locates the descriptive message string for the
     given signal sig number and writes it to the stderr.

     If the argument 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
     <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 psignal() function appeared in 4.2BSD.

4.2 Berkeley Distribution       April 19, 1991                               1


































Typewritten Software • bear@typewritten.org • Edmonds, WA 98026