blob: 128c27e57f0b1d3782fd14a0fe38833a70e58b3f [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/* $Id: stat.h,v 1.7 2000/08/04 05:35:55 davem Exp $ */
2#ifndef _SPARC64_STAT_H
3#define _SPARC64_STAT_H
4
5#include <linux/types.h>
6
7struct stat {
8 unsigned st_dev;
9 ino_t st_ino;
10 mode_t st_mode;
11 short st_nlink;
12 uid_t st_uid;
13 gid_t st_gid;
14 unsigned st_rdev;
15 off_t st_size;
16 time_t st_atime;
17 time_t st_mtime;
18 time_t st_ctime;
19 off_t st_blksize;
20 off_t st_blocks;
21 unsigned long __unused4[2];
22};
23
Linus Torvalds1da177e2005-04-16 15:20:36 -070024struct stat64 {
David S. Miller0ba4da02005-04-18 15:13:15 -070025 unsigned long st_dev;
26 unsigned long st_ino;
27 unsigned long st_nlink;
Linus Torvalds1da177e2005-04-16 15:20:36 -070028
29 unsigned int st_mode;
Linus Torvalds1da177e2005-04-16 15:20:36 -070030 unsigned int st_uid;
31 unsigned int st_gid;
David S. Miller0ba4da02005-04-18 15:13:15 -070032 unsigned int __pad0;
Linus Torvalds1da177e2005-04-16 15:20:36 -070033
David S. Miller0ba4da02005-04-18 15:13:15 -070034 unsigned long st_rdev;
35 long st_size;
36 long st_blksize;
37 long st_blocks;
Linus Torvalds1da177e2005-04-16 15:20:36 -070038
David S. Miller0ba4da02005-04-18 15:13:15 -070039 unsigned long st_atime;
40 unsigned long st_atime_nsec;
41 unsigned long st_mtime;
42 unsigned long st_mtime_nsec;
43 unsigned long st_ctime;
44 unsigned long st_ctime_nsec;
45 long __unused[3];
Linus Torvalds1da177e2005-04-16 15:20:36 -070046};
47
48#endif