Searched refs:msg_queue (Results 1 – 1 of 1) sorted by relevance
105 struct msqid_ds msg_queue; in test_msgctl() local106 memset(&msg_queue, 0, sizeof(struct msqid_ds)); in test_msgctl()107 msg_queue.msg_perm.uid = getuid() + 3; in test_msgctl()108 msg_queue.msg_perm.gid = getgid() + 3; in test_msgctl()109 msg_queue.msg_perm.mode = 0666; in test_msgctl()110 msg_queue.msg_qbytes = 512; in test_msgctl()111 status_t status = msgctl(msgID, IPC_SET, &msg_queue); in test_msgctl()116 memset(&msg_queue, 0, sizeof(struct msqid_ds)); in test_msgctl()117 status = msgctl(msgID, IPC_STAT, &msg_queue); in test_msgctl()120 assert_equals((msglen_t)msg_queue.msg_qbytes, (msglen_t)512); in test_msgctl()[all …]