Searched refs:sender_msqid (Results 1 - 2 of 2) sorted by path
/freebsd-11-stable/tools/regression/sysvmsg/ |
H A D | msgtest.c | 81 int sender_msqid = -1; variable 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_STA [all...] |
/freebsd-11-stable/contrib/netbsd-tests/kernel/ |
H A D | t_sysv.c | 211 int sender_msqid; local 244 sender_msqid = msgget(msgkey, IPC_CREAT | 0640); 245 ATF_REQUIRE_MSG(sender_msqid != -1, "msgget: %d", errno); 246 write_int("sender_msqid", sender_msqid); 253 ATF_REQUIRE_MSG(msgctl(sender_msqid, IPC_STAT, &m_ds) != -1, 260 ATF_REQUIRE_MSG(msgctl(sender_msqid, IPC_SET, &m_ds) != -1, 265 ATF_REQUIRE_MSG(msgctl(sender_msqid, IPC_STAT, &m_ds) != -1, 293 ATF_REQUIRE_MSG(msgsnd(sender_msqid, &m, MESSAGE_TEXT_LEN, 296 ATF_REQUIRE_MSG(msgrcv(sender_msqid, 345 int sender_msqid; local [all...] |
Completed in 118 milliseconds