From 8782950636f76faa8db0ed8c5d698ab0bd1fbf45 Mon Sep 17 00:00:00 2001 From: Ron Yorston Date: Wed, 3 Apr 2013 12:09:21 +0100 Subject: df: limited implementation for WIN32 --- win32/mntent.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 win32/mntent.h (limited to 'win32/mntent.h') diff --git a/win32/mntent.h b/win32/mntent.h new file mode 100644 index 000000000..b035bfa9c --- /dev/null +++ b/win32/mntent.h @@ -0,0 +1,19 @@ +#ifndef MNTENT_H +#define MNTENT_H + +#include + +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 *setmntent(const char *file, const char *mode); +extern struct mntent *getmntent(FILE *stream); +extern int endmntent(FILE *stream); + +#endif -- cgit v1.2.3-55-g6feb