GETMNTINFO(3) 1990 GETMNTINFO(3) NNAAMMEE getmntinfo - get information about mounted file systems SSYYNNOOPPSSIISS ##iinncclluuddee <<ssyyss//ttyyppeess..hh>> ##iinncclluuddee <<ssyyss//mmoouunntt..hh>> iinntt ggeettmmnnttiinnffoo((mmnnttbbuuffpp,, ffllaaggss)) ssttrruucctt ssttaattffss ****mmnnttbbuuffpp;; iinntt ffllaaggss DDEESSCCRRIIPPTTIIOONN _G_e_t_m_n_t_i_n_f_o returns an array of _s_t_a_t_f_s structures describing each currently mounted file system (see _s_t_a_t_f_s(2)). DDIIAAGGNNOOSSTTIICCSS On successful completion, _g_e_t_m_n_t_i_n_f_o returns a count of the number of elements in the array. The pointer to the array is stored into _m_n_t_b_u_f_p. Otherwise, zero is returned and _m_n_t_b_u_f_p is unmodified. _G_e_t_m_n_t_i_n_f_o passes its _f_l_a_g_s parameter transparently to _g_e_t_f_s_s_t_a_t(2). BBUUGGSS All information is contained in a static area, so it must be copied if it is to be saved. SSEEEE AALLSSOO getfsstat(2), statfs(2), mount(2), mount(8) Printed 7/27/90 June 1