aboutsummaryrefslogtreecommitdiff
path: root/lib/mlibc/abis/ironclad/statvfs.h
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-03-07 17:28:52 -0500
committerIan Moffett <ian@osmora.org>2024-03-07 18:24:51 -0500
commitf5e48e94a2f4d4bbd6e5628c7f2afafc6dbcc459 (patch)
tree93b156621dc0303816b37f60ba88051b702d92f6 /lib/mlibc/abis/ironclad/statvfs.h
parentbd5969fc876a10b18613302db7087ef3c40f18e1 (diff)
build: Build mlibc + add distclean target
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'lib/mlibc/abis/ironclad/statvfs.h')
-rw-r--r--lib/mlibc/abis/ironclad/statvfs.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/lib/mlibc/abis/ironclad/statvfs.h b/lib/mlibc/abis/ironclad/statvfs.h
deleted file mode 100644
index d4fc416..0000000
--- a/lib/mlibc/abis/ironclad/statvfs.h
+++ /dev/null
@@ -1,30 +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
-
-// 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;
- unsigned long f_flag;
- unsigned long f_namemax;
- char f_basetype[80];
-};
-
-#endif /* _ABIBITS_STATVFS_H */
-