Add <sys/statvfs.h>.

Bug: 2512019
Change-Id: I6e7fd3fa281977cc4bc270481a95416b5b2dc351
This commit is contained in:
Elliott Hughes
2013-07-09 13:25:03 -07:00
parent 4fc8a0c116
commit 06040fd75c
9 changed files with 198 additions and 8 deletions

View File

@@ -34,7 +34,7 @@
__BEGIN_DECLS
/* note: this corresponds to the kernel's statfs64 type */
/* These correspond to the kernel's statfs64 type. */
#ifdef __mips__
struct statfs {
uint32_t f_type;
@@ -48,7 +48,8 @@ struct statfs {
uint64_t f_bavail;
__kernel_fsid_t f_fsid;
uint32_t f_namelen;
uint32_t f_spare[6];
uint32_t f_flags;
uint32_t f_spare[5];
};
#else
struct statfs {
@@ -62,7 +63,8 @@ struct statfs {
__kernel_fsid_t f_fsid;
uint32_t f_namelen;
uint32_t f_frsize;
uint32_t f_spare[5];
uint32_t f_flags;
uint32_t f_spare[4];
};
#endif