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/sys/vfs.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/sys/vfs.h')
-rw-r--r-- | win32/sys/vfs.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/win32/sys/vfs.h b/win32/sys/vfs.h new file mode 100644 index 000000000..cb7bda9af --- /dev/null +++ b/win32/sys/vfs.h | |||
@@ -0,0 +1,17 @@ | |||
1 | #include <stdint.h> | ||
2 | |||
3 | struct statfs { | ||
4 | uint64_t f_bsize; | ||
5 | uint64_t f_frsize; | ||
6 | uint64_t f_blocks; | ||
7 | uint64_t f_bfree; | ||
8 | uint64_t f_bavail; | ||
9 | uint64_t f_files; | ||
10 | uint64_t f_ffree; | ||
11 | uint64_t f_favail; | ||
12 | uint64_t f_fsid; | ||
13 | uint64_t f_flag; | ||
14 | uint64_t f_namemax; | ||
15 | }; | ||
16 | |||
17 | extern int statfs(const char *file, struct statfs *buf); | ||