aboutsummaryrefslogtreecommitdiff
path: root/win32/mntent.h
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2013-04-03 12:09:21 +0100
committerRon Yorston <rmy@pobox.com>2013-04-03 12:09:21 +0100
commit8782950636f76faa8db0ed8c5d698ab0bd1fbf45 (patch)
tree05f57d81916e41f7ca802ff7eb1934c4d72518a1 /win32/mntent.h
parente4f28beec255ea2e233e0f016d4795d13a24bfae (diff)
downloadbusybox-w32-8782950636f76faa8db0ed8c5d698ab0bd1fbf45.tar.gz
busybox-w32-8782950636f76faa8db0ed8c5d698ab0bd1fbf45.tar.bz2
busybox-w32-8782950636f76faa8db0ed8c5d698ab0bd1fbf45.zip
df: limited implementation for WIN32
Diffstat (limited to 'win32/mntent.h')
-rw-r--r--win32/mntent.h19
1 files changed, 19 insertions, 0 deletions
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 @@
1#ifndef MNTENT_H
2#define MNTENT_H
3
4#include <stdio.h>
5
6struct mntent {
7 char *mnt_fsname; /* Device or server for filesystem. */
8 char *mnt_dir; /* Directory mounted on. */
9 char *mnt_type; /* Type of filesystem: ufs, nfs, etc. */
10 char *mnt_opts; /* Comma-separated options for fs. */
11 int mnt_freq; /* Dump frequency (in days). */
12 int mnt_passno; /* Pass number for `fsck'. */
13};
14
15extern FILE *setmntent(const char *file, const char *mode);
16extern struct mntent *getmntent(FILE *stream);
17extern int endmntent(FILE *stream);
18
19#endif