debian man page for modbus_flush

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)

NAME
modbus_flush - flush non-transmitted data
SYNOPSIS
int modbus_flush(modbus_t *ctx);
DESCRIPTION
The modbus_flush() function shall discard data received but not read to the socket or file descriptor associated to the context ctx.
RETURN VALUE
The modbus_flush() function shall return 0 or the number of flushed bytes if successful. Otherwise it shall return -1 and set errno.
AUTHORS
The libmodbus documentation was written by Stephane Raimbault <stephane.raimbault@gmail.com[1]>
NOTES
1. stephane.raimbault@gmail.com mailto:stephane.raimbault@gmail.com libmodbus 3.0.3 05/26/2012 MODBUS_FLUSH(3)
Related Man Pages
modbus_reply(3) - debian
modbus_rtu_get_serial_mode(3) - debian
modbus_report_slave_id(3) - debian
modbus_set_response_timeout(3) - debian
modbus_tcp_listen(3) - debian
Similar Topics in the Unix Linux Community
Adding the individual columns of a matrix.
Introduction
Weird 'find' results
How to copy a column of multiple files and paste into new excel file (next to column)?
New UNIX and Linux History Sections