diff options
Diffstat (limited to 'cddl/compat/opensolaris/include/mnttab.h')
-rw-r--r-- | cddl/compat/opensolaris/include/mnttab.h | 19 |
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 000000000000..6e7d28c1ee01 --- /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_ */ |