mnttab.h revision 185029
1178414Sjb/* $FreeBSD: head/cddl/compat/opensolaris/include/mnttab.h 185029 2008-11-17 20:49:29Z pjd $ */ 2178414Sjb 3168404Spjd#ifndef _OPENSOLARIS_MNTTAB_H_ 4168404Spjd#define _OPENSOLARIS_MNTTAB_H_ 5168404Spjd 6168404Spjd#include <stdio.h> 7168404Spjd#include <paths.h> 8168404Spjd 9168404Spjd#define MNTTAB _PATH_DEVNULL 10168404Spjd#define MNT_LINE_MAX 1024 11168404Spjd 12185029Spjd#define umount2(p, f) unmount(p, f) 13185029Spjd 14168404Spjdstruct mnttab { 15168404Spjd char *mnt_special; 16168404Spjd char *mnt_mountp; 17168404Spjd char *mnt_fstype; 18168404Spjd char *mnt_mntopts; 19168404Spjd}; 20168404Spjd 21168404Spjdint getmntany(FILE *fd, struct mnttab *mgetp, struct mnttab *mrefp); 22168404Spjd 23168404Spjd#endif /* !_OPENSOLARIS_MNTTAB_H_ */ 24