blob: 9650fdea847f88a0863934ef199d54c6a81df2ca [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#ifndef _SPARC64_STAT_H
2#define _SPARC64_STAT_H
3
4#include <linux/types.h>
5
6struct stat {
7 unsigned st_dev;
8 ino_t st_ino;
9 mode_t st_mode;
10 short st_nlink;
11 uid_t st_uid;
12 gid_t st_gid;
13 unsigned st_rdev;
14 off_t st_size;
15 time_t st_atime;
16 time_t st_mtime;
17 time_t st_ctime;
18 off_t st_blksize;
19 off_t st_blocks;
20 unsigned long __unused4[2];
21};
22
Linus Torvalds1da177e2005-04-16 15:20:36 -070023struct stat64 {
David S. Miller0ba4da02005-04-18 15:13:15 -070024 unsigned long st_dev;
25 unsigned long st_ino;
26 unsigned long st_nlink;
Linus Torvalds1da177e2005-04-16 15:20:36 -070027
28 unsigned int st_mode;
Linus Torvalds1da177e2005-04-16 15:20:36 -070029 unsigned int st_uid;
30 unsigned int st_gid;
David S. Miller0ba4da02005-04-18 15:13:15 -070031 unsigned int __pad0;
Linus Torvalds1da177e2005-04-16 15:20:36 -070032
David S. Miller0ba4da02005-04-18 15:13:15 -070033 unsigned long st_rdev;
34 long st_size;
35 long st_blksize;
36 long st_blocks;
Linus Torvalds1da177e2005-04-16 15:20:36 -070037
David S. Miller0ba4da02005-04-18 15:13:15 -070038 unsigned long st_atime;
39 unsigned long st_atime_nsec;
40 unsigned long st_mtime;
41 unsigned long st_mtime_nsec;
42 unsigned long st_ctime;
43 unsigned long st_ctime_nsec;
44 long __unused[3];
Linus Torvalds1da177e2005-04-16 15:20:36 -070045};
46
47#endif