diff options
-rw-r--r-- | system/include/sys/statvfs.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/system/include/sys/statvfs.h b/system/include/sys/statvfs.h new file mode 100644 index 00000000..9b7490b5 --- /dev/null +++ b/system/include/sys/statvfs.h @@ -0,0 +1,25 @@ + +#ifdef __cplusplus +extern "C" { +#endif + +struct statvfs { + int f_bsize; + int f_frsize; + int f_blocks; + int f_bfree; + int f_bavail; + int f_files; + int f_ffree; + int f_favail; + int f_fsid; + int f_flag; + int f_namemax; +}; + +int statvfs(char *path, struct statvfs *s); + +#ifdef __cplusplus +} +#endif + |