summaryrefslogtreecommitdiff
path: root/win32/mntent.h
blob: 8bdf3d45ebe440530cc33ac39690eb3ef7d333c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef MNTENT_H
#define MNTENT_H

#include <stdio.h>

struct mntent {
	char *mnt_fsname;   /* Device or server for filesystem.  */
	char *mnt_dir;      /* Directory mounted on.  */
	char *mnt_type;     /* Type of filesystem: ufs, nfs, etc.  */
	char *mnt_opts;     /* Comma-separated options for fs.  */
	int mnt_freq;       /* Dump frequency (in days).  */
	int mnt_passno;     /* Pass number for `fsck'.  */
};

extern FILE *mingw_setmntent(void);
extern struct mntent *getmntent(FILE *stream);
extern int endmntent(FILE *stream);

#define setmntent(f, m) mingw_setmntent()

#endif