1PSIGNAL(3) 386BSD Programmer's Manual PSIGNAL(3) 2 3NNAAMMEE 4 ppssiiggnnaall, ssyyss__ssiigglliisstt - system signal messages 5 6SSYYNNOOPPSSIISS 7 ##iinncclluuddee <<ssyyss//ssiiggnnaall..hh>> 8 9 _v_o_i_d 10 ppssiiggnnaall(_u_n_s_i_g_n_e_d _s_i_g, _c_o_n_s_t _c_h_a_r *_s) 11 12 _e_x_t_e_r_n _c_h_a_r *_s_y_s__s_i_g_l_i_s_t[]; 13 14DDEESSCCRRIIPPTTIIOONN 15 The ppssiiggnnaall() function locates the descriptive message string for the 16 given signal _s_i_g number and writes it to the _s_t_d_e_r_r. 17 18 If the argument _s is non-NULL it is written to the _s_t_d_e_r_r prior to the 19 message string. The signal number should be from among those found in 20 <_s_i_g_n_a_l._h>. 21 22 The message strings can be accessed directly using the external character 23 array _s_y_s__s_i_g_l_i_s_t. The defined variable NSIG contains a count of the 24 messages in _s_y_s__s_i_g_l_i_s_t. 25 26SSEEEE AALLSSOO 27 sigaction(2), perror(3) 28 29HHIISSTTOORRYY 30 The ppssiiggnnaall() function appeared in 4.2BSD. 31 324.2 Berkeley Distribution April 19, 1991 1 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67