| 1 | /* copied from kernel definition, but with padding replaced |
| 2 | * by the corresponding correctly-sized userspace types. */ |
| 3 | |
| 4 | struct stat { |
| 5 | 	dev_t st_dev; |
| 6 | 	short __st_dev_padding; |
| 7 | 	long __st_ino_truncated; |
| 8 | 	mode_t st_mode; |
| 9 | 	nlink_t st_nlink; |
| 10 | 	uid_t st_uid; |
| 11 | 	gid_t st_gid; |
| 12 | 	dev_t st_rdev; |
| 13 | 	short __st_rdev_padding; |
| 14 | 	off_t st_size; |
| 15 | 	blksize_t st_blksize; |
| 16 | 	blkcnt_t st_blocks; |
| 17 | 	struct { |
| 18 | 		long tv_sec; |
| 19 | 		long tv_nsec; |
| 20 | 	} __st_atim32, __st_mtim32, __st_ctim32; |
| 21 | 	ino_t st_ino; |
| 22 | 	struct timespec st_atim; |
| 23 | 	struct timespec st_mtim; |
| 24 | 	struct timespec st_ctim; |
| 25 | }; |