EasyManuals Logo

Siemens M20 Terminal User Manual

Siemens M20 Terminal
234 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #182 background imageLoading...
Page #182 background image
Application notes
Version 8 dated 15.03.00 182
Siemens Information and Communication Products
A
8.4.2.6 int FlushComm(idComDev, fnQueue)
int idComDev; /* communications-device identifier */
int fnQueue; /* queue to flush */
The FlushComm function flushes all characters from the transmission or receiving queue of the specified communications
device.
int FlushComm(idComDev, fnQueue)
Parameter Description
idComDev Specifies the communications device to be flushed. The OpenComm function returns this
value.
fnQueue Specifies the queue to be flushed. The transmission queue is flushed if this parameter is ze-
ro. The receiving queue is flushed if the parameter is 1.
Return value 0 if the function is successful.
< 0 if idComDev is not a valid device or if fnQueue is not a valid queue
> 0 if there is an error for the specified device. For a list of the possible error values, see the
GetCommError function.
Example None
Comments None
See also GetCommError, OpenComm

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens M20 Terminal and is the answer not in the manual?

Siemens M20 Terminal Specifications

General IconGeneral
BrandSiemens
ModelM20 Terminal
CategoryEngine
LanguageEnglish

Related product manuals