aboutsummaryrefslogtreecommitdiff
path: root/lib/mlibc/abis/lyre/statvfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mlibc/abis/lyre/statvfs.h')
-rw-r--r--lib/mlibc/abis/lyre/statvfs.h35
1 files changed, 0 insertions, 35 deletions
diff --git a/lib/mlibc/abis/lyre/statvfs.h b/lib/mlibc/abis/lyre/statvfs.h
deleted file mode 100644
index 7f53fc0..0000000
--- a/lib/mlibc/abis/lyre/statvfs.h
+++ /dev/null
@@ -1,35 +0,0 @@
-#ifndef _ABIBITS_STATVFS_H
-#define _ABIBITS_STATVFS_H
-
-#include <abi-bits/fsblkcnt_t.h>
-#include <abi-bits/fsfilcnt_t.h>
-
-#define ST_RDONLY 1
-#define ST_NOSUID 2
-#define ST_MANDLOCK 64
-
-#define FSTYPSZ 16
-
-// On Linux, this struct is not directly used by the kernel.
-struct statvfs {
- unsigned long f_bsize;
- unsigned long f_frsize;
- fsblkcnt_t f_blocks;
- fsblkcnt_t f_bfree;
- fsblkcnt_t f_bavail;
-
- fsfilcnt_t f_files;
- fsfilcnt_t f_ffree;
- fsfilcnt_t f_favail;
-
- unsigned long f_fsid;
- char f_basetype[FSTYPSZ];
-
- unsigned long f_flag;
- unsigned long f_namemax;
- char f_fstr[32];
- unsigned long f_filler[16];
-};
-
-#endif /* _ABIBITS_STATVFS_H */
-