Open System Services System Calls Reference Manual (G06.29+, H06.08+, J06.03+)

msgrcv(2) OSS System Calls Reference Manual
[EINTR] The operation was interrupted by a signal.
[EINVAL] One of the following conditions exists:
The msqid parameter does not specify a valid message queue identifier.
The value of the msgsz parameter is less than 0 (zero) or greater than the
system-defined limit.
All processes for the relevant message server have failed.
Both MSG_32BIT_MTYPE and MSG_64BIT_MTYPE are specified
in the msgflag parameter.
[EMSGQNOTRUNNING]
The message queue server associated with the message queue identifier is not
running.
[ENOMEM] Memory allocation failed and one possibility is that the amount of memory con-
sumed by the message queues exceeds 16GB.
[ENOMSG] The queue does not contain a message of the requested type and the
IPC_NOWAIT flag is used in the msgflg parameter.
[ENOTOSS] The calling process is not an OSS process. The requested operation cannot be
performed from the Guardian environment.
RELATED INFORMATION
Functions: msgctl(2), msgget(2), msgsnd(2), sigaction(2).
STANDARDS CONFORMANCE
The following are HP extensions to the XPG4 Version 2 specification:
The errno values [EFAULT], [EMSGQNOTRUNNING], [ENOMEM], and [ENOTOSS]
can be returned.
468 Hewlett-Packard Company 527186-023