<< Previous | Next >> | |
|
INT8U OSQFlush( OS_EVENT * pevent );
Description
- Flushes the contents of the message queue.
Parameters
- pevent
- Pointer to message queue's event control block.
Return value
- OS_NO_ERR
- Success.
- OS_ERR_EVENT_TYPE
- A pointer to a queue was not passed.
- OS_ERR_PEVENT_NULL
- If
pevent
is a null pointer.
Library
- OS_Q.C (Prior to DC 8:UCOS2.LIB)
See also
- OSQAccept, OSQCreate, OSQPend, OSQPost, OSQPostFront, OSQQuery
Dynamic C Functions | << Previous | Next >> | rabbit.com |