aboutsummaryrefslogtreecommitdiff
path: root/system/include/sys/statvfs.h
blob: 8e17f817a961a7dfb8dbb057d9648a1947ffe159 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#ifndef _SYS_STATVFS_H
#define _SYS_STATVFS_H

#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(const char *path, struct statvfs *s);

#define ST_RDONLY 0

#ifdef __cplusplus
}
#endif

#endif