canFlushTransmitQueue

Syntax


#include <canlib.h>
canStatus canFlushTransmitQueue(int handle);

Description

This function removes all messages pending transmission from the transmit queue of the circuit.

Input Parameters

handle
A handle to an open circuit.
Output Parameters

None.

Return Value

canOK (zero) if success
canERR_xxx (negative) if failure.

Notes
Related Topics

canFlushReceiveQueue
canFlushTransmitQueue