Lines Matching refs:MSG_KEY
49 #define MSG_KEY 12345689
58 if ((id = msgget(MSG_KEY, 0)) != -1)
76 id = msgget(MSG_KEY, IPC_CREAT | 0600);
83 if (msgget(MSG_KEY, IPC_CREAT | IPC_EXCL | 0600) != -1)
92 id = msgget(MSG_KEY, IPC_CREAT | 0600);
123 if (msgget(MSG_KEY, IPC_CREAT | IPC_EXCL | 0600) == -1)
134 id = msgget(MSG_KEY, 0);
165 id = msgget(MSG_KEY, IPC_CREAT | 0600);
213 buf[i] = msgget(MSG_KEY + i, IPC_CREAT | IPC_EXCL | 0600);
228 buf[i] = msgget(MSG_KEY + i, IPC_CREAT | IPC_EXCL | 0600);
266 id = msgget(MSG_KEY, IPC_CREAT | IPC_EXCL | (int)mode[i]);