summaryrefslogtreecommitdiff
path: root/arch/mipsn32/bits/msg.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2016-04-18 05:19:13 +0000
committerRich Felker <dalias@aerifal.cx>2016-04-18 05:19:13 +0000
commit5972c4a4113e2a4de5edf519faf15296ae1eb3ed (patch)
tree6e808f23bb96a9b8a82eb505e2a719f4f42a758d /arch/mipsn32/bits/msg.h
parent6d99ad91e869aab35a4d76d34c3c9eaf29482bad (diff)
downloadmusl-5972c4a4113e2a4de5edf519faf15296ae1eb3ed.tar.gz
add mips n32 port (ILP32 ABI for mips64)
based on patch submitted by Jaydeep Patil, with minor changes.
Diffstat (limited to 'arch/mipsn32/bits/msg.h')
-rw-r--r--arch/mipsn32/bits/msg.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/arch/mipsn32/bits/msg.h b/arch/mipsn32/bits/msg.h
new file mode 100644
index 00000000..bfe2b3a7
--- /dev/null
+++ b/arch/mipsn32/bits/msg.h
@@ -0,0 +1,25 @@
+struct msqid_ds
+{
+ struct ipc_perm msg_perm;
+#if _MIPSEL || __MIPSEL || __MIPSEL__
+ time_t msg_stime;
+ int __unused1;
+ time_t msg_rtime;
+ int __unused2;
+ time_t msg_ctime;
+ int __unused3;
+#else
+ int __unused1;
+ time_t msg_stime;
+ int __unused2;
+ time_t msg_rtime;
+ int __unused3;
+ time_t msg_ctime;
+#endif
+ unsigned long msg_cbytes;
+ msgqnum_t msg_qnum;
+ msglen_t msg_qbytes;
+ pid_t msg_lspid;
+ pid_t msg_lrpid;
+ unsigned long __unused[2];
+};