消息的基本属性
System V的消息属性包含在一个msqid_ds的结构中
struct msqid_ds{
struct ipc_cerm msg_perm; //读取权限, 0644, 0777
struct *msg_first; //消息队列的第一条消息地址
struct *msg_last; //消息队列的最后一条消息地址
msglen_t msg_cbytes; //当前消息的长度
msgnum_t msg_qnum; //消息队列中的消息总数
msglen_t msg_qbytes; //一条消息的最大长度
pid_t msg_lspid; //last sender进程ID
pid_t msg_lrpid; //last receiver进程ID
time_t msg_stime; //time of last msgsnd()
time_t msg_rtime; //time of last msgrcv()
time_t msg_ctime; //time of last msgctl()
};stru