aboutsummaryrefslogtreecommitdiff
path: root/emu/Android/compat/ustat.h
blob: 2d7489035c1a73a7d19a855b5cd2c18da45c5e94 (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
/*
 * ustat.h
 *
 * Dummy ustat.h file for bionic
 */

#include <sys/types.h>
#include <unistd.h>

struct ustat {
	daddr_t		f_tfree;
	ino_t		f_tinode;
	char		f_fname[6];
	char		f_fpack[6];
};

int ustat(dev_t dev, struct ustat *ubuf);

/*
 * This is evil, and should be in bionic's mntent.h
 *
 * We rely here on the fact that xfsprogs's linux.c also includes stat/ustat.h
 */
#define MNTOPT_RO "ro"