12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- #ifndef _SYS_MSG_H
- # error "Never use <bits/msq.h> directly; include <sys/msg.h> instead."
- #endif
- #include <bits/types.h>
- #define MSG_NOERROR 010000
- #ifdef __USE_GNU
- # define MSG_EXCEPT 020000
- #endif
- typedef unsigned long int msgqnum_t;
- typedef unsigned long int msglen_t;
- struct msqid_ds
- {
- struct ipc_perm msg_perm;
- __time_t msg_stime;
- __time_t msg_rtime;
- __time_t msg_ctime;
- unsigned long int __msg_cbytes;
- msgqnum_t msg_qnum;
- msglen_t msg_qbytes;
- __pid_t msg_lspid;
- __pid_t msg_lrpid;
- unsigned long int __uclibc_unused1;
- unsigned long int __uclibc_unused2;
- };
- #ifdef __USE_MISC
- # define msg_cbytes __msg_cbytes
- # define MSG_STAT 11
- # define MSG_INFO 12
- struct msginfo
- {
- int msgpool;
- int msgmap;
- int msgmax;
- int msgmnb;
- int msgmni;
- int msgssz;
- int msgtql;
- unsigned short int msgseg;
- };
- #endif
|