<< Previous | Next >>

OSQQuery

INT8U OSQQuery (OS_EVENT *pevent, OS_Q_DATA *pdata);

Description

Obtains information about a message queue.

Parameters

pevent
Pointer to message queue's event control block.

pdata
Pointer to a data structure for message queue information.

Return value

OS_NO_ERR
The call was successful and the message was sent

OS_ERR_EVENT_TYPE
Attempting to obtain data from a non queue.

OS_ERR_PEVENT_NULL
If pevent is a NULL pointer.

Library

OS_Q.C

See also

OSQAccept, OSQCreate, OSQFlush, OSQPend, OSQPost, OSQPostFront


020-0059 Rev. D << Previous | Next >> µC/OS-II