Lines Matching refs:msgctl
229 if (msgctl(tid, IPC_RMID, 0) < 0) {
230 tst_brkm(TFAIL | TERRNO, NULL, "Msgctl error in cleanup");
296 if (msgctl(tid, IPC_RMID, 0) < 0) {
297 printf("msgctl() error: %s\n",
313 if (msgctl(tid, IPC_RMID, 0) < 0) {
314 printf("msgctl() error: %s\n", strerror(errno));
318 if (msgctl(id, IPC_RMID, 0) < 0) {
319 printf("msgctl() failure in child group %d: %s\n",
399 (void)msgctl(tid, IPC_RMID, NULL);
400 if ((status = msgctl(tid, IPC_STAT, NULL)) != -1) {
401 (void)msgctl(tid, IPC_RMID, NULL);
402 tst_resm(TFAIL, "msgctl(tid, IPC_RMID) failed");