aboutsummaryrefslogtreecommitdiffstats
path: root/ports/linux/statvfs
diff options
context:
space:
mode:
Diffstat (limited to 'ports/linux/statvfs')
-rw-r--r--ports/linux/statvfs/guts/statvfs.c13
-rw-r--r--ports/linux/statvfs/wrapfuncs.in1
2 files changed, 14 insertions, 0 deletions
diff --git a/ports/linux/statvfs/guts/statvfs.c b/ports/linux/statvfs/guts/statvfs.c
new file mode 100644
index 0000000..c516649
--- /dev/null
+++ b/ports/linux/statvfs/guts/statvfs.c
@@ -0,0 +1,13 @@
+/*
+ * Copyright (c) 2018 Wind River Systems; see
+ * guts/COPYRIGHT for information.
+ *
+ * int statvfs(const char *path, struct statvfs *buf)
+ * int rc = -1;
+ */
+
+ rc = real_statvfs(path, buf);
+
+/* return rc;
+ * }
+ */
diff --git a/ports/linux/statvfs/wrapfuncs.in b/ports/linux/statvfs/wrapfuncs.in
new file mode 100644
index 0000000..1afb64d
--- /dev/null
+++ b/ports/linux/statvfs/wrapfuncs.in
@@ -0,0 +1 @@
+int statvfs(const char *path, struct statvfs *buf);