mnttab.h revision 185029
1/* $FreeBSD: head/cddl/compat/opensolaris/include/mnttab.h 185029 2008-11-17 20:49:29Z pjd $ */ 2 3#ifndef _OPENSOLARIS_MNTTAB_H_ 4#define _OPENSOLARIS_MNTTAB_H_ 5 6#include <stdio.h> 7#include <paths.h> 8 9#define MNTTAB _PATH_DEVNULL 10#define MNT_LINE_MAX 1024 11 12#define umount2(p, f) unmount(p, f) 13 14struct mnttab { 15 char *mnt_special; 16 char *mnt_mountp; 17 char *mnt_fstype; 18 char *mnt_mntopts; 19}; 20 21int getmntany(FILE *fd, struct mnttab *mgetp, struct mnttab *mrefp); 22 23#endif /* !_OPENSOLARIS_MNTTAB_H_ */ 24