<< Previous | Next >> | |
|
OS_EVENT * OSMboxCreate( void * msg );
Description
- Creates a message mailbox if event control blocks are available.
Parameters
- msg
- Pointer to a message to put in the mailbox. If this value is set to the null pointer (i.e.,
(void *)0
) then the mailbox will be considered empty.
Return value
- != (void *)0
- A pointer to the event control clock (
OS_EVENT
) associated with the created mailbox.
- == (void *)0
- No event control blocks were available.
Library
- OS_MBOX.C (Prior to DC 8:UCOS2.LIB)
See also
- OSMboxAccept, OSMboxPend, OSMboxPost, OSMboxQuery
Dynamic C Functions | << Previous | Next >> | rabbit.com |