HP-UX Reference (11i v1 05/09) - 2 System Calls (vol 5)
m
msgop(2) msgop(2)
[EACCES] Operation permission is denied to the calling process.
[EAGAIN] The message cannot be sent for one of the reasons cited above and (msgflg
&
IPC_NOWAIT
) is true.
[EFAULT] msgp points to an illegal address. The reliable detection of this error is implementa-
tion dependent.
[EIDRM] The message queue identifier msqid has been removed from the system.
[EINTR]
msgsnd() was interrupted by a signal.
[EINVAL] msqid is not a valid message queue identifier.
[EINVAL] mtype is less than 1.
[EINVAL] msgsz is less than zero or greater than the system-imposed limit.
WARNINGS
Check all references to signal(5) for appropriateness on systems that support sigvector(2). sigvector (2) can
affect the behavior described on this page.
SEE ALSO
ipcs(1), msgctl(2), msgget(2), stdipc(3C), signal(5), thread_safety(5).
STANDARDS CONFORMANCE
msgrcv(): SVID2, SVID3, XPG2, XPG3, XPG4
msgsnd(): SVID2, SVID3, XPG2, XPG3, XPG4
Section 2−−196 Hewlett-Packard Company − 3 − HP-UX 11i Version 1: September 2005