Lines Matching refs:msgctl
4964 * Test msgctl, msgget, msgrcv, msgsnd system calls.
4987 my_err = msgctl( my_msg_queue_id, IPC_STAT, &my_msq_ds );
4989 printf( "msgctl failed with errno %d - %s \n", errno, strerror( errno ) );
4993 printf( "msgctl IPC_STAT failed to get correct creator uid \n" );
4997 printf( "msgctl IPC_STAT failed to get correct mode \n" );
5010 my_err = msgctl( my_msg_queue_id, IPC_STAT, &my_msq_ds );
5012 printf( "msgctl failed with errno %d - %s \n", errno, strerror( errno ) );
5016 printf( "msgctl IPC_STAT failed to get correct number of messages on the queue \n" );
5036 my_err = msgctl( my_msg_queue_id, IPC_STAT, &my_msq_ds );
5038 printf( "msgctl failed with errno %d - %s \n", errno, strerror( errno ) );
5042 printf( "msgctl IPC_STAT failed to get correct number of messages on the queue \n" );
5047 my_err = msgctl( my_msg_queue_id, IPC_RMID, NULL );
5049 printf( "msgctl IPC_RMID failed with errno %d - %s \n", errno, strerror( errno ) );
5062 msgctl( my_msg_queue_id, IPC_RMID, NULL );