Lines Matching refs:msgctl
255 if (msgctl(tid, IPC_RMID, 0) < 0) {
256 printf("Msgctl error in cleanup_msgqueue %d\n", errno);
321 if (msgctl(tid, IPC_RMID, 0) < 0) {
322 printf("msgctl() error: %s\n",
338 if (msgctl(tid, IPC_RMID, 0) < 0) {
339 printf("msgctl() error: %s\n", strerror(errno));
343 if (msgctl(id, IPC_RMID, 0) < 0) {
344 printf("msgctl() failure in child group %d: %s\n",
442 (void)msgctl(tid, IPC_RMID, NULL);
443 if ((status = msgctl(tid, IPC_STAT, NULL)) != -1) {
444 (void)msgctl(tid, IPC_RMID, NULL);
445 tst_resm(TFAIL, "msgctl(tid, IPC_RMID) failed");