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