1#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
2type {struct msqid_ds}
3
4type msgqnum_t
5type msglen_t
6
7constant MSG_NOERROR
8
9element {struct msqid_ds} {struct ipc_perm} msg_perm
10element {struct msqid_ds} msgqnum_t msg_qnum
11element {struct msqid_ds} msglen_t msg_qbytes
12// Bug 23083: msg_lspid/msg_lrpid have type unsigned short instead of pid_t.
13xfail[i386-gnu]-element {struct msqid_ds} pid_t msg_lspid
14xfail[i386-gnu]-element {struct msqid_ds} pid_t msg_lrpid
15element {struct msqid_ds} time_t msg_stime
16element {struct msqid_ds} time_t msg_rtime
17element {struct msqid_ds} time_t msg_ctime
18
19type pid_t
20type time_t
21type key_t
22type size_t
23type ssize_t
24
25function int msgctl (int, int, struct msqid_ds*)
26function int msgget (key_t, int)
27function ssize_t msgrcv (int, void*, size_t, long int, int)
28function int msgsnd (int, const void*, size_t, int)
29
30allow-header sys/ipc.h
31
32allow msg*
33allow MSG*
34allow *_h
35#endif
36