mirror of
https://github.com/devkitPro/buildscripts.git
synced 2026-08-12 20:46:01 -05:00
c++ wrapper for statvfs
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user