summaryrefslogtreecommitdiff
path: root/src/sys/statvfs
diff options
context:
space:
mode:
Diffstat (limited to 'src/sys/statvfs')
-rw-r--r--src/sys/statvfs/ST_NOSUID.h6
-rw-r--r--src/sys/statvfs/ST_RDONLY.h6
-rw-r--r--src/sys/statvfs/fstatvfs.c11
-rw-r--r--src/sys/statvfs/statvfs.c11
-rw-r--r--src/sys/statvfs/struct_statvfs.h20
5 files changed, 0 insertions, 54 deletions
diff --git a/src/sys/statvfs/ST_NOSUID.h b/src/sys/statvfs/ST_NOSUID.h
deleted file mode 100644
index adb95680..00000000
--- a/src/sys/statvfs/ST_NOSUID.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#include <sys/statvfs.h>
-#define ST_NOSUID (1<<1)
-/*
-XOPEN(400)
-POSIX(200809)
-*/
diff --git a/src/sys/statvfs/ST_RDONLY.h b/src/sys/statvfs/ST_RDONLY.h
deleted file mode 100644
index a95bc7b2..00000000
--- a/src/sys/statvfs/ST_RDONLY.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#include <sys/statvfs.h>
-#define ST_RDONLY (1<<0)
-/*
-XOPEN(400)
-POSIX(200809)
-*/
diff --git a/src/sys/statvfs/fstatvfs.c b/src/sys/statvfs/fstatvfs.c
deleted file mode 100644
index 75011633..00000000
--- a/src/sys/statvfs/fstatvfs.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <sys/statvfs.h>
-
-int fstatvfs(int fildes, struct statvfs *buf)
-{
- return -1;
-}
-
-/*
-XOPEN(400)
-POSIX(200809)
-*/
diff --git a/src/sys/statvfs/statvfs.c b/src/sys/statvfs/statvfs.c
deleted file mode 100644
index 1a19962d..00000000
--- a/src/sys/statvfs/statvfs.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <sys/statvfs.h>
-
-int statvfs(const char * restrict path, struct statvfs * restrict buf)
-{
- return 0;
-}
-
-/*
-XOPEN(400)
-POSIX(200809)
-*/
diff --git a/src/sys/statvfs/struct_statvfs.h b/src/sys/statvfs/struct_statvfs.h
deleted file mode 100644
index 781a1a56..00000000
--- a/src/sys/statvfs/struct_statvfs.h
+++ /dev/null
@@ -1,20 +0,0 @@
-#include <sys/statvfs.h>
-
-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;
-};
-
-/*
-XOPEN(400)
-POSIX(200809)
-*/