c++ wrapper for statvfs

This commit is contained in:
Dave Murphy
2007-10-23 14:56:10 +00:00
parent f3779a6b8b
commit bd35f9d835

View File

@@ -5836,11 +5836,15 @@ diff -Nbaur newlib-1.15.0/newlib/libc/include/sys/reent.h newlib-1.15.0-new/newl
diff -Nbaur newlib-1.15.0/newlib/libc/include/sys/statvfs.h newlib-1.15.0-new/newlib/libc/include/sys/statvfs.h
--- newlib-1.15.0/newlib/libc/include/sys/statvfs.h Thu Jan 1 00:00:00 1970
+++ newlib-1.15.0-new/newlib/libc/include/sys/statvfs.h Mon Aug 27 10:46:10 2007
@@ -0,0 +1,22 @@
+++ newlib-1.15.0-new/newlib/libc/include/sys/statvfs.h Tue Oct 23 00:21:27 2007
@@ -0,0 +1,31 @@
+#ifndef _SYS_STATVFS_H
+#define _SYS_STATVFS_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#include <sys/types.h>
+
+struct statvfs {
@@ -5859,6 +5863,11 @@ diff -Nbaur newlib-1.15.0/newlib/libc/include/sys/statvfs.h newlib-1.15.0-new/ne
+
+int statvfs(const char *path, struct statvfs *buf);
+
+#ifdef __cplusplus
+}
+#endif
+
+
+#endif // _SYS_STATVFS_H
\ No newline at end of file
diff -Nbaur newlib-1.15.0/newlib/libc/include/sys/types.h newlib-1.15.0-new/newlib/libc/include/sys/types.h