Branch
Hash :
e41417a2
Author :
Date :
2024-12-27T23:14:24
Rename module mntent to mntent-h. * modules/mntent-h: Renamed from modules/mntent. * doc/glibc-headers/mntent.texi: Update. * modules/* (Depends-on): Update. * modules/mntent: New file.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
@node mntent.h
@section @file{mntent.h}
Defines the type @code{struct mntent} and the macros @code{MNTTAB},
@code{MOUNTED}, @code{MNTTYPE_*}, @code{MNTOPT_*}, and declares the functions
@code{setmntent}, @code{getmntent}, @code{getmntent_r}, @code{addmntent},
@code{endmntent}, @code{hasmntopt}.
Documentation:
@itemize
@item
@ifinfo
@ref{mtab,,The `mtab' file,libc},
@end ifinfo
@ifnotinfo
@url{https://www.gnu.org/software/libc/manual/html_node/mtab.html},
@end ifnotinfo
@item
@uref{https://www.kernel.org/doc/man-pages/online/pages/man3/setmntent.3.html,,man setmntent}.
@end itemize
Gnulib module: mntent-h
@mindex mntent-h
Portability problems fixed by Gnulib:
@itemize
@end itemize
Portability problems not fixed by Gnulib:
@itemize
@item
This header file is missing on some platforms:
macOS 14, FreeBSD 14.0, NetBSD 10.0, OpenBSD 7.5, Minix 3.1.8, Solaris 11.4, mingw, MSVC 14.
@item
The function @code{getmntent_r} is missing on all non-glibc platforms:
AIX 5.1, HP-UX 11, Cygwin, Android 9.0.
@end itemize
@mindex mountlist
Gnulib module @code{mountlist} provides a higher-level abstraction.