aboutsummaryrefslogtreecommitdiff
path: root/win32/sys/statfs.h
blob: 498f41e50d350262fcfc0a0aa038ecc62a178baf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef _SYS_STATFS_H
#define _SYS_STATFS_H 1

#include <stdint.h>

struct statfs {
	int f_type;
	uint64_t f_bsize;
	uint64_t f_frsize;
	uint64_t f_blocks;
	uint64_t f_bfree;
	uint64_t f_bavail;
	uint64_t f_files;
	uint64_t f_ffree;
	uint64_t f_fsid;
	uint64_t f_flag;
	uint64_t f_namelen;
};

extern int statfs(const char *file, struct statfs *buf);

#endif