PGETAUXVAL(3PROC) Process Control Library Functions PGETAUXVAL(3PROC) NNAAMMEE PPggeettaauuxxvvaall - obtain auxiliary vector value LLIIBBRRAARRYY Process Control Library (libproc, -lproc) SSYYNNOOPPSSIISS ##iinncclluuddee <> _i_n_t PPggeettaauuxxvvaall(_s_t_r_u_c_t _p_s___p_r_o_c_h_a_n_d_l_e _*_P, _i_n_t _t_y_p_e); DDEESSCCRRIIPPTTIIOONN The PPggeettaauuxxvvaall() function looks up the entry _t_y_p_e in the auxiliary vector of the process handle _P and returns its value. The _t_y_p_e argument should be the entry of the auxiliary vector. The list of such types may be found in <_s_y_s_/_a_u_x_v_._h>. RREETTUURRNN VVAALLUUEESS Upon successful completion, the PPggeettaauuxxvvaall() function returns the value of the auxiliary vector entry _t_y_p_e. Otherwise, --11 is returned to indicate that either the auxiliary vector or the _t_y_p_e entry could not be found. IINNTTEERRFFAACCEE SSTTAABBIILLIITTYY UUnnccoommmmiitttteedd MMTT--LLEEVVEELL See LLOOCCKKIINNGG in libproc(3LIB). SSEEEE AALLSSOO libproc(3LIB), Pgetauxvec(3PROC), proc(4) illumos May 11, 2016 illumos