Prints system signal messages.
psignal ( Signal, String)
unsigned Signal;
char *String;
char *sys_siglist[ ];
The psignal subroutine produces a short message on the standard error file describing the indicated signal. First the String parameter is printed, then the name of the signal and a new-line character.
To simplify variant formatting of signal names, the sys_siglist vector of message strings is provided. The signal number can be used as an index in this table to get the signal name without the new-line character. The NSIG defined in the signal.h file is the number of messages provided for in the table. It should be checked because new signals may be added to the system before they are added to the table.
These subroutines are part of Base Operating System (BOS) Runtime.
The perror (perror Subroutine) subroutine, sigvec subroutine.