Lines Matching refs:msgctl
5039 * Test msgctl, msgget, msgrcv, msgsnd system calls.
5062 my_err = msgctl( my_msg_queue_id, IPC_STAT, &my_msq_ds );
5064 printf( "msgctl failed with errno %d - %s \n", errno, strerror( errno ) );
5068 printf( "msgctl IPC_STAT failed to get correct creator uid \n" );
5072 printf( "msgctl IPC_STAT failed to get correct mode \n" );
5085 my_err = msgctl( my_msg_queue_id, IPC_STAT, &my_msq_ds );
5087 printf( "msgctl failed with errno %d - %s \n", errno, strerror( errno ) );
5091 printf( "msgctl IPC_STAT failed to get correct number of messages on the queue \n" );
5111 my_err = msgctl( my_msg_queue_id, IPC_STAT, &my_msq_ds );
5113 printf( "msgctl failed with errno %d - %s \n", errno, strerror( errno ) );
5117 printf( "msgctl IPC_STAT failed to get correct number of messages on the queue \n" );
5122 my_err = msgctl( my_msg_queue_id, IPC_RMID, NULL );
5124 printf( "msgctl IPC_RMID failed with errno %d - %s \n", errno, strerror( errno ) );
5137 msgctl( my_msg_queue_id, IPC_RMID, NULL );