RTEMS ITRON 3.0 API User's Guide
ER rcv_msg( T_MSG **ppk_msg, ID mbxid );
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
If there is no message then receiver blocks, if not empty then it takes the first message of the queue.
NONE
RTEMS ITRON 3.0 API User's Guide
Copyright © 1988-2000 OAR Corporation