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 ino_t st_ino; 7570af302Sopenharmony_ci mode_t st_mode; 8570af302Sopenharmony_ci nlink_t st_nlink; 9570af302Sopenharmony_ci uid_t st_uid; 10570af302Sopenharmony_ci gid_t st_gid; 11570af302Sopenharmony_ci dev_t st_rdev; 12570af302Sopenharmony_ci short __st_rdev_padding; 13570af302Sopenharmony_ci off_t st_size; 14570af302Sopenharmony_ci blksize_t st_blksize; 15570af302Sopenharmony_ci blkcnt_t st_blocks; 16570af302Sopenharmony_ci struct { 17570af302Sopenharmony_ci long tv_sec; 18570af302Sopenharmony_ci long tv_nsec; 19570af302Sopenharmony_ci } __st_atim32, __st_mtim32, __st_ctim32; 20570af302Sopenharmony_ci unsigned __unused1[2]; 21570af302Sopenharmony_ci struct timespec st_atim; 22570af302Sopenharmony_ci struct timespec st_mtim; 23570af302Sopenharmony_ci struct timespec st_ctim; 24570af302Sopenharmony_ci}; 25