Query: modbus_flush
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
MODBUS_FLUSH(3) Libmodbus Manual MODBUS_FLUSH(3)NAMEmodbus_flush - flush non-transmitted dataSYNOPSISint modbus_flush(modbus_t *ctx);DESCRIPTIONThe modbus_flush() function shall discard data received but not read to the socket or file descriptor associated to the context ctx.RETURN VALUEThe modbus_flush() function shall return 0 or the number of flushed bytes if successful. Otherwise it shall return -1 and set errno.AUTHORSThe libmodbus documentation was written by Stephane Raimbault <stephane.raimbault@gmail.com[1]>NOTES1. stephane.raimbault@gmail.com mailto:stephane.raimbault@gmail.com libmodbus 3.0.3 05/26/2012 MODBUS_FLUSH(3)