prcv_mbx
iprcv_mbx
ER prcv_mbx (ID mbxid, T_MSG **ppk_msg);
ER iprcv_mbx (ID mbxid, T_MSG **ppk_msg);
typedef struct t_msg_pri { struct t_msg msgque; /*Reserved for future use*/ PRI msgpri; /*Message priority*/ } T_MSG_PRI; |
This service call receives a message from the mailbox specified by parameter mbxid, and stores its start address in the area specified by parameter ppk_msg.
If the message could not be received from the target mailbox (no messages were queued in the wait queue) when this service call is issued, message reception processing is not executed but "E_TMOUT" is returned.
Note 1 If no message could be received from the target mailbox (no messages were queued to the wait queue) when this service call is issued, the contents in the area specified by parameter ppk_msg become undefined.