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 ino_t st_ino; 7 nlink_t st_nlink; 8 9 mode_t st_mode; 10 uid_t st_uid; 11 gid_t st_gid; 12 unsigned int __pad0; 13 dev_t st_rdev; 14 off_t st_size; 15 blksize_t st_blksize; 16 blkcnt_t st_blocks; 17 18 struct timespec st_atim; 19 struct timespec st_mtim; 20 struct timespec st_ctim; 21 long __unused[3]; 22 }; 23