| Previous | Next |
| EAGAIN | ENAMETOOLONG |
ENOMSG
System v message queue selection
On Solaris, ENOMSG is errno value 35. The base message is No message of desired type
, but the useful diagnostic context is narrower than the short message: a Solaris System V message-queue operation found no message matching the requested type.
Use the Solaris-specific errno table first, then compare with POSIX only for portable behavior. Some Solaris values share names with other UNIX systems but have different numbers or more specific historical meanings.
What to check
- Inspect the msgrcv message type, IPC_NOWAIT flag, and queue contents.
- If the queue was removed, expect EIDRM rather than this result.
- Do not retry blindly unless another producer is expected to enqueue the desired message type.
References
Looking for a different code? Search another status or error code.