RTEMS Logo

RTEMS 4.8.0 On-Line Library


Mailbox Manager rcv_msg - Receive Message from Mailbox

PREV UP NEXT Bookshelf RTEMS ITRON 3.0 API User's Guide

5.4.4: rcv_msg - Receive Message from Mailbox

CALLING SEQUENCE:

ER rcv_msg(
  T_MSG **ppk_msg,
  ID      mbxid
);

STATUS CODES:

E_OK - Normal completion
E_ID - Invalid ID number
E_NOEXS - Object does not exist
E_OACV - Object access violation
E_PAR - Parameter error
E_DLT - The object being waited for was deleted
E_RLWAI - WAIT state was forcibly released
E_CTX - Context error

DESCRIPTION:

If there is no message then receiver blocks, if not empty then it takes the first message of the queue.

NOTES:

NONE


PREV UP NEXT Bookshelf RTEMS ITRON 3.0 API User's Guide

Copyright © 1988-2007OAR Corporation