Lines Matching refs:sender_msqid
81 int sender_msqid = -1;
132 if ((sender_msqid = msgget(msgkey, IPC_CREAT | 0640)) == -1)
135 if (msgctl(sender_msqid, IPC_STAT, &m_ds) == -1)
142 if (msgctl(sender_msqid, IPC_SET, &m_ds) == -1)
147 if (msgctl(sender_msqid, IPC_STAT, &m_ds) == -1)
173 if (msgsnd(sender_msqid, &m, strlen(m1_str) + 1, 0) == -1)
176 if (msgrcv(sender_msqid, &m, sizeof(m.mtext), MTYPE_1_ACK, 0) !=
187 if (msgsnd(sender_msqid, &m, strlen(m2_str) + 1, 0) == -1)
190 if (msgrcv(sender_msqid, &m, sizeof(m.mtext), MTYPE_2_ACK, 0) !=
238 if (msgctl(sender_msqid, IPC_STAT, &m_ds) == -1)
253 if (child_pid != 0 && sender_msqid != -1) {
254 if (msgctl(sender_msqid, IPC_RMID, NULL) == -1)