PISPROCIDR(3PROC) Process Control Library Functions PISPROCIDR(3PROC) NNAAMMEE PPiisspprrooccddiirr - determine if a directory is the /proc directory LLIIBBRRAARRYY Process Control Library (libproc, -lproc) SSYYNNOOPPSSIISS ##iinncclluuddee <> _i_n_t PPiisspprrooccddiirr(_s_t_r_u_c_t _p_s___p_r_o_c_h_a_n_d_l_e _*_P, _c_o_n_s_t _c_h_a_r _*_d_i_r); DDEESSEECCRRIIPPTTIIOONN The PPiisspprrooccddiirr() function determines whether or not the directory _d_i_r is the root of the /proc file-system. This works across loopback file system (lofs) mounts and chroots. RREETTUURRNN VVAALLUUEESS Upon successful completion, the PPiisspprrooccddiirr() function returns 11 if _d_i_r is the /proc directory, otherwise if not, it returns 00. IINNTTEERRFFAACCEE SSTTAABBIILLIITTYY UUnnccoommmmiitttteedd MMTT--LLEEVVEELL See LLOOCCKKIINNGG in libproc(3LIB). SSEEEE AALLSSOO libproc(3LIB), proc(4), lofs(7FS) illumos May 11, 2016 illumos