Regd "既存のmsgキューのIDを元に戻すにはどうすればいいですか?"
If msgflg specifies both IPC_CREAT and IPC_EXCL and a message queue already exists for key, then msgget() fails with errno set to EEX-
IST. (This is analogous to the effect of the combination O_CREAT | O_EXCL for open(2).)
がIPC_EXCLフラグなしで試してみてくださいmsgget男から。
Regd。 MSGキューが男procを
/proc/sysvipc
Subdirectory containing the pseudo-files msg, sem and shm. These files list the System V Interprocess Communication (IPC)
objects (respectively: message queues, semaphores, and shared memory) that currently exist on the system, providing similar
information to that available via ipcs(1). These files have headers and are formatted (one IPC object per line) for easy under-
standing. svipc(7) provides further background on the information shown by these files.
返信のためのthnx ** user967552 **。とても役に立ちました。 – JohnG