1570af302Sopenharmony_ci/* copied from kernel definition, but with padding replaced 2570af302Sopenharmony_ci * by the corresponding correctly-sized userspace types. */ 3570af302Sopenharmony_ci 4570af302Sopenharmony_cistruct stat { 5570af302Sopenharmony_ci dev_t st_dev; 6570af302Sopenharmony_ci int __st_dev_padding; 7570af302Sopenharmony_ci long __st_ino_truncated; 8570af302Sopenharmony_ci mode_t st_mode; 9570af302Sopenharmony_ci nlink_t st_nlink; 10570af302Sopenharmony_ci uid_t st_uid; 11570af302Sopenharmony_ci gid_t st_gid; 12570af302Sopenharmony_ci dev_t st_rdev; 13570af302Sopenharmony_ci int __st_rdev_padding; 14570af302Sopenharmony_ci off_t st_size; 15570af302Sopenharmony_ci blksize_t st_blksize; 16570af302Sopenharmony_ci blkcnt_t st_blocks; 17570af302Sopenharmony_ci struct { 18570af302Sopenharmony_ci long tv_sec; 19570af302Sopenharmony_ci long tv_nsec; 20570af302Sopenharmony_ci } __st_atim32, __st_mtim32, __st_ctim32; 21570af302Sopenharmony_ci ino_t st_ino; 22570af302Sopenharmony_ci struct timespec st_atim; 23570af302Sopenharmony_ci struct timespec st_mtim; 24570af302Sopenharmony_ci struct timespec st_ctim; 25570af302Sopenharmony_ci}; 26