Home
last modified time | relevance | path

Searched refs:msg_id2 (Results 1 – 1 of 1) sorted by relevance

/external/ltp/testcases/kernel/syscalls/ipc/msgctl/
Dmsgctl04.c21 static int msg_id2 = -1; variable
46 {&msg_id2, IPC_STAT, (struct msqid_ds *)-1, EFAULT},
48 {&msg_id2, IPC_SET, (struct msqid_ds *)-1, EFAULT},
50 {&msg_id2, -1, &q_buf, EINVAL},
101 msg_id2 = SAFE_MSGGET(msgkey2, IPC_CREAT | IPC_EXCL | MSG_RD | MSG_WR); in setup()
111 if (msg_id2 >= 0) in cleanup()
112 SAFE_MSGCTL(msg_id2, IPC_RMID, NULL); in cleanup()