summaryrefslogtreecommitdiffstats
path: root/cddl/compat/opensolaris/include/mnttab.h
diff options
context:
space:
mode:
Diffstat (limited to 'cddl/compat/opensolaris/include/mnttab.h')
-rw-r--r--cddl/compat/opensolaris/include/mnttab.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/cddl/compat/opensolaris/include/mnttab.h b/cddl/compat/opensolaris/include/mnttab.h
new file mode 100644
index 0000000..6e7d28c
--- /dev/null
+++ b/cddl/compat/opensolaris/include/mnttab.h
@@ -0,0 +1,19 @@
+#ifndef _OPENSOLARIS_MNTTAB_H_
+#define _OPENSOLARIS_MNTTAB_H_
+
+#include <stdio.h>
+#include <paths.h>
+
+#define MNTTAB _PATH_DEVNULL
+#define MNT_LINE_MAX 1024
+
+struct mnttab {
+ char *mnt_special;
+ char *mnt_mountp;
+ char *mnt_fstype;
+ char *mnt_mntopts;
+};
+
+int getmntany(FILE *fd, struct mnttab *mgetp, struct mnttab *mrefp);
+
+#endif /* !_OPENSOLARIS_MNTTAB_H_ */
OpenPOWER on IntegriCloud