]> CyberLeo.Net >> Repos - FreeBSD/releng/8.1.git/blob - cddl/compat/opensolaris/include/mnttab.h
Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.
[FreeBSD/releng/8.1.git] / cddl / compat / opensolaris / include / mnttab.h
1 /* $FreeBSD$ */
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
14 struct mnttab {
15         char    *mnt_special;
16         char    *mnt_mountp;
17         char    *mnt_fstype;
18         char    *mnt_mntopts;
19 };
20
21 int getmntany(FILE *fd, struct mnttab *mgetp, struct mnttab *mrefp);
22
23 #endif  /* !_OPENSOLARIS_MNTTAB_H_ */