7 modbus_flush - flush non-transmitted data
12 *int modbus_flush(modbus_t *'ctx');*
17 The *modbus_flush()* function shall discard data received but not read to the
18 socket or file descriptor associated to the context 'ctx'.
23 The function shall return 0 or the number of flushed bytes if
24 successful. Otherwise it shall return -1 and set errno.
29 The libmodbus documentation was written by Stéphane Raimbault
30 <stephane.raimbault@gmail.com>