1
2
3
4
5
6
7
8
9
10
11#ifndef _XTENSA_STAT_H
12#define _XTENSA_STAT_H
13
14#define STAT_HAVE_NSEC 1
15
16struct stat {
17 unsigned long st_dev;
18 unsigned long st_ino;
19 unsigned int st_mode;
20 unsigned int st_nlink;
21 unsigned int st_uid;
22 unsigned int st_gid;
23 unsigned long st_rdev;
24 long st_size;
25 unsigned long st_blksize;
26 unsigned long st_blocks;
27 unsigned long st_atime;
28 unsigned long st_atime_nsec;
29 unsigned long st_mtime;
30 unsigned long st_mtime_nsec;
31 unsigned long st_ctime;
32 unsigned long st_ctime_nsec;
33 unsigned long __unused4;
34 unsigned long __unused5;
35};
36
37struct stat64 {
38 unsigned long long st_dev;
39 unsigned long long st_ino;
40 unsigned int st_mode;
41 unsigned int st_nlink;
42 unsigned int st_uid;
43 unsigned int st_gid;
44 unsigned long long st_rdev;
45 long long st_size;
46 unsigned long st_blksize;
47 unsigned long __unused2;
48 unsigned long long st_blocks;
49 unsigned long st_atime;
50 unsigned long st_atime_nsec;
51 unsigned long st_mtime;
52 unsigned long st_mtime_nsec;
53 unsigned long st_ctime;
54 unsigned long st_ctime_nsec;
55 unsigned long __unused4;
56 unsigned long __unused5;
57};
58
59#endif
60