mirror of
git://git.musl-libc.org/musl
synced 2024-12-15 19:25:55 +00:00
d960d4f2cb
this port assumes eabi calling conventions, eabi linux syscall convention, and presence of the kernel helpers at 0xffff0f?0 needed for threads support. otherwise it makes very few assumptions, and the code should work even on armv4 without thumb support, as well as on systems with thumb interworking. the bits headers declare this a little endian system, but as far as i can tell the code should work equally well on big endian. some small details are probably broken; so far, testing has been limited to qemu/aboriginal linux.
17 lines
287 B
C
17 lines
287 B
C
struct msqid_ds
|
|
{
|
|
struct ipc_perm msg_perm;
|
|
time_t msg_stime;
|
|
int __unused1;
|
|
time_t msg_rtime;
|
|
int __unused2;
|
|
time_t msg_ctime;
|
|
int __unused3;
|
|
unsigned long msg_cbytes;
|
|
msgqnum_t msg_qnum;
|
|
msglen_t msg_qbytes;
|
|
pid_t msg_lspid;
|
|
pid_t msg_lrpid;
|
|
unsigned long __unused[2];
|
|
};
|