<< 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 (Prior to DC 8:UCOS2.LIB)

See also

OSQAccept, OSQCreate, OSQFlush, OSQPend, OSQPost, OSQPostFront


Dynamic C Functions << Previous | Next >> rabbit.com