RTEMS Logo

RTEMS 4.6.6 On-Line Library


Mailbox Manager ref_mbx - Reference Mailbox Status

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

5.4.7: ref_mbx - Reference Mailbox Status

CALLING SEQUENCE:

ER ref_mbx(
  T_RMBX *pk_rmbx,
  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

DESCRIPTION:

Supports non-blocking receive. If there are no messages, it returns -1. Also returns id of the next process waiting on a message.

NOTES:

NONE


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

Copyright © 1988-2004 OAR Corporation