4.4BSD/usr/share/man/cat3/psignal.0

Compare this file to the similar file:
Show the results in this format:

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

NNAAMMEE
     ppssiiggnnaall, ssyyss__ssiigglliisstt ssyyss__ssiiggnnaammee - system signal messages

SSYYNNOOPPSSIISS
     ##iinncclluuddee <<ssyyss//ssiiggnnaall..hh>>

     _v_o_i_d
     ppssiiggnnaall(_u_n_s_i_g_n_e_d _s_i_g, _c_o_n_s_t _c_h_a_r _*_s);

     _e_x_t_e_r_n _c_h_a_r _*_s_y_s___s_i_g_l_i_s_t_[_]_;
     _e_x_t_e_r_n _c_h_a_r _*_s_y_s___s_i_g_n_a_m_e_[_]_;

DDEESSCCRRIIPPTTIIOONN
     The ppssiiggnnaall() function locates the descriptive message string for the
     given signal number _s_i_g and writes it to the standard error.

     If the argument _s is non-NULL it is written to the standard error file
     descriptor prior to the message string, immediately followed by a colon
     and a space.  If the signal number is not recognized (sigaction(2)),  the
     string ``Unknown signal'' is produced.

     The message strings can be accessed directly through the external array
     _s_y_s___s_i_g_l_i_s_t, indexed by recognized signal numbers.  The external array
     _s_y_s___s_i_g_n_a_m_e is used similarly and contains short, lower-case abbrevia-
     tions for signals which are useful for recognizing signal names in user
     input.  The defined variable NSIG contains a count of the strings in
     _s_y_s___s_i_g_l_i_s_t and _s_y_s___s_i_g_n_a_m_e.

SSEEEE AALLSSOO
     sigaction(2),  perror(3)

HHIISSTTOORRYY
     The ppssiiggnnaall() function appeared in 4.2BSD.

4.2 Berkeley Distribution        June 4, 1993                                1