Files
Redox-From-Scratch/tools/bin/x86_64-unknown-redox/toolchain/x86_64-unknown-redox/include/sys/statvfs.h
2024-12-16 20:57:17 -08:00

33 lines
598 B
C

#ifndef _SYS_STATVFS_H
#define _SYS_STATVFS_H
#include <sys/types.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;
};
#ifdef __cplusplus
extern "C" {
#endif // __cplusplus
int fstatvfs(int fildes, struct statvfs *buf);
int statvfs(const char *file, struct statvfs *buf);
#ifdef __cplusplus
} // extern "C"
#endif // __cplusplus
#endif /* _SYS_STATVFS_H */