Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* $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 | |
| 7 | struct 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 Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 24 | struct stat64 { |
David S. Miller | 0ba4da0 | 2005-04-18 15:13:15 -0700 | [diff] [blame] | 25 | unsigned long st_dev; |
| 26 | unsigned long st_ino; |
| 27 | unsigned long st_nlink; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 28 | |
| 29 | unsigned int st_mode; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 30 | unsigned int st_uid; |
| 31 | unsigned int st_gid; |
David S. Miller | 0ba4da0 | 2005-04-18 15:13:15 -0700 | [diff] [blame] | 32 | unsigned int __pad0; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 33 | |
David S. Miller | 0ba4da0 | 2005-04-18 15:13:15 -0700 | [diff] [blame] | 34 | unsigned long st_rdev; |
| 35 | long st_size; |
| 36 | long st_blksize; |
| 37 | long st_blocks; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 38 | |
David S. Miller | 0ba4da0 | 2005-04-18 15:13:15 -0700 | [diff] [blame] | 39 | 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 Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 46 | }; |
| 47 | |
| 48 | #endif |