Searched refs:msg_q (Results 1 - 2 of 2) sorted by relevance
/third_party/ltp/testcases/kernel/syscalls/ipc/msgctl/ |
H A D | msgctl12.c | 18 static int msg_q = -1; variable 29 {&msg_q, IPC_INFO, "IPC_INFO", &msginfo_buf}, 30 {&msg_q, MSG_INFO, "MSG_INFO", &msginfo_buf}, 49 msg_q = SAFE_MSGGET(IPC_PRIVATE, MSG_RW); in setup() 50 index_q = SAFE_MSGCTL(msg_q, IPC_INFO, (struct msqid_ds*)&msginfo_buf); in setup() 55 if (msg_q >= 0) in cleanup() 56 SAFE_MSGCTL(msg_q, IPC_RMID, NULL); in cleanup()
|
H A D | msgctl03.c | 20 int msg_q; in verify_msgctl() local 22 msg_q = SAFE_MSGGET(IPC_PRIVATE, MSG_RW); in verify_msgctl() 24 TEST(msgctl(msg_q, IPC_RMID, NULL)); in verify_msgctl() 32 TEST(msgctl(msg_q, IPC_STAT, &buf)); in verify_msgctl()
|
Completed in 1 milliseconds