1 #include <inttypes.h> 2 typedef uint32_t mpers_ptr_t; 3 typedef 4 struct { 5 uint32_t st_dev; 6 uint32_t st_ino; 7 uint16_t st_mode; 8 uint16_t st_nlink; 9 uint16_t st_uid; 10 uint16_t st_gid; 11 uint32_t st_rdev; 12 uint32_t st_size; 13 uint32_t st_blksize; 14 uint32_t st_blocks; 15 uint32_t st_atime; 16 uint32_t st_atime_nsec; 17 uint32_t st_mtime; 18 uint32_t st_mtime_nsec; 19 uint32_t st_ctime; 20 uint32_t st_ctime_nsec; 21 uint32_t __unused4; 22 uint32_t __unused5; 23 } ATTRIBUTE_PACKED m32_struct_stat; 24 #define MPERS_m32_struct_stat m32_struct_stat 25