1 #include <inttypes.h> 2 typedef uint32_t mpers_ptr_t; 3 typedef 4 struct { 5 struct { 6 int32_t __key; 7 uint32_t uid; 8 uint32_t gid; 9 uint32_t cuid; 10 uint32_t cgid; 11 uint16_t mode; 12 uint16_t __pad1; 13 uint16_t __seq; 14 uint16_t __pad2; 15 uint32_t __glibc_reserved1; 16 uint32_t __glibc_reserved2; 17 } ATTRIBUTE_PACKED msg_perm; 18 int32_t msg_stime; 19 uint32_t __glibc_reserved1; 20 int32_t msg_rtime; 21 uint32_t __glibc_reserved2; 22 int32_t msg_ctime; 23 uint32_t __glibc_reserved3; 24 uint32_t __msg_cbytes; 25 uint32_t msg_qnum; 26 uint32_t msg_qbytes; 27 int32_t msg_lspid; 28 int32_t msg_lrpid; 29 uint32_t __glibc_reserved4; 30 uint32_t __glibc_reserved5; 31 } ATTRIBUTE_PACKED m32_msqid_ds_t; 32 #define MPERS_m32_msqid_ds_t m32_msqid_ds_t 33