SERVICE FUNCTIONS
svcCom3FlushRxBuf()
M
X
800 SERIES PROGRAMMERS GUIDE 185
svcCom3FlushRxBuf()
The svcCom3FlushRxBuf() function allows the application to manually flush
the receive buffer internal to the communication processor. This command is
meaningful only in RS232 mode: MODE_R232_INT.
Prototype
short svcCom3FlushRxBuf(int fd)
Parameters
Return Values
This function returns 0 upon success and a negative value if unsuccessful.
fd File descriptor returned when opening a serial port with either open()
or ecrOpen().