summaryrefslogtreecommitdiffstats
path: root/mount/mntent.h
blob: 9b46ba08d4335e799a0ba06257d613b6a4e98b88 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <mntent.h>		/* for struct mntent */

#define ERR_MAX 5

typedef struct mntFILEstruct {
	FILE *mntent_fp;
	char *mntent_file;
	int mntent_lineno;
	int mntent_errs;
	int mntent_softerrs;
} mntFILE;

mntFILE *my_setmntent (const char *file, char *mode);
void my_endmntent (mntFILE *mfp);
int my_addmntent (mntFILE *mfp, struct mntent *mnt);
struct mntent *my_getmntent (mntFILE *mfp);