RTEMS ITRON 3.0 API User's Guide
ER cre_mbx( ID mbxid, T_CMBX *pk_cmbx );
E_OK - Normal completion
E_NOMEM - Insufficient memory
E_ID - Invalid ID number
E_RSATR - Reserved attribute
E_OBJ - Invalid object state
E_OACV - Object access violation
E_PAR - Parameter error
Allocated a control area/buffer space for mailbox with some ID.
User area: +ve ids System area: -ve ids
User may specify if its FIFO or priority level queue. Assumes shared memory b/w communicating processes. Initializes core message queue for this mbox.
NONE
RTEMS ITRON 3.0 API User's Guide
Copyright © 1988-2004 OAR Corporation