mirror of
git://git.musl-libc.org/musl
synced 2024-12-15 11:15:07 +00:00
ad66ae93d0
these have been wrong for a long time and were never detected or corrected. powerpc needs some gratuitous extra padding/reserved slots in ipc_perm, big-endian ordering for the padding of time_t slots that was intended by the kernel folks to allow a transition to 64-bit time_t, and some minor gratuitous reordering of struct members.
17 lines
287 B
C
17 lines
287 B
C
struct msqid_ds
|
|
{
|
|
struct ipc_perm msg_perm;
|
|
int __unused1;
|
|
time_t msg_stime;
|
|
int __unused2;
|
|
time_t msg_rtime;
|
|
int __unused3;
|
|
time_t msg_ctime;
|
|
unsigned long msg_cbytes;
|
|
msgqnum_t msg_qnum;
|
|
msglen_t msg_qbytes;
|
|
pid_t msg_lspid;
|
|
pid_t msg_lrpid;
|
|
unsigned long __unused[2];
|
|
};
|