2 @section @file{mntent.h}
4 Defines the type @code{struct mntent} and the macros @code{MNTTAB},
5 @code{MOUNTED}, @code{MNTTYPE_*}, @code{MNTOPT_*}, and declares the functions
6 @code{setmntent}, @code{getmntent}, @code{getmntent_r}, @code{addmntent},
7 @code{endmntent}, @code{hasmntopt}.
13 @ref{mtab,,The `mtab' file,libc},
16 @url{https://www.gnu.org/software/libc/manual/html_node/mtab.html},
19 @uref{https://www.kernel.org/doc/man-pages/online/pages/man3/setmntent.3.html,,man setmntent}.
25 Portability problems fixed by Gnulib:
29 Portability problems not fixed by Gnulib:
32 This header file is missing on some platforms:
33 macOS 14, FreeBSD 14.0, NetBSD 10.0, OpenBSD 7.5, Minix 3.1.8, Solaris 11.4, mingw, MSVC 14.
35 The function @code{getmntent_r} is missing on all non-glibc platforms:
36 AIX 5.1, HP-UX 11, Cygwin, Android 9.0.
40 Gnulib module @code{mountlist} provides a higher-level abstraction.