signame                 package:fork                 R Documentation

_O_b_t_a_i_n _i_n_f_o_r_m_a_t_i_o_n _a_b_o_u_t _s_i_g_n_a_l_s

_D_e_s_c_r_i_p_t_i_o_n:

     'signame' looks up signal information by the symbolic signal name.
     'sigval'  looks up signal information by the numeric value.
     'siglist' returns a table of signal information.

_U_s_a_g_e:

     signame(val)
     sigval(name)
     siglist()

_A_r_g_u_m_e_n_t_s:

     val: Integer signal value.

    name: Symbolic signal name (with or without the SIG prefix).

_D_e_t_a_i_l_s:

     These functions return information stored in a table constructed
     at compile time.

_V_a_l_u_e:

     A vector ('signame', 'sigval') or data frame ('siglist')
     containing the components: 

    name: Symbolic name

     val: Integer value

    desc: Description

_A_u_t_h_o_r(_s):

     Gregory R. Warnes gregory_r_warnes\@groton.pfizer.com

_R_e_f_e_r_e_n_c_e_s:

     Unix "signal" man page.

_S_e_e _A_l_s_o:

     'getpid', 'exit', 'wait', 'kill', 'killall'

_E_x_a_m_p_l_e_s:

        # look up the numeric value for SIGABT:
        sigval("SIGKILL")

        # the 'SIG' component can be ommitted:
        sigval("HUP")

        # now look up based on value
        signame(9)

        # and get a complete table of signal information
        siglist()

