diff options
author | Ron Yorston <rmy@pobox.com> | 2013-04-03 12:09:21 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2013-04-03 12:09:21 +0100 |
commit | 8782950636f76faa8db0ed8c5d698ab0bd1fbf45 (patch) | |
tree | 05f57d81916e41f7ca802ff7eb1934c4d72518a1 /win32/mntent.h | |
parent | e4f28beec255ea2e233e0f016d4795d13a24bfae (diff) | |
download | busybox-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.h | 19 |
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 | |||
6 | struct 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 | |||
15 | extern FILE *setmntent(const char *file, const char *mode); | ||
16 | extern struct mntent *getmntent(FILE *stream); | ||
17 | extern int endmntent(FILE *stream); | ||
18 | |||
19 | #endif | ||