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 _modbus_flush()_ 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>