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_get_response_timeout(3) - debian
modbus_new_rtu(3) - debian
modbus_new_tcp(3) - debian
modbus_set_slave(3) - debian
modbus_write_and_read_registers(3) - debian
Similar Topics in the Unix Linux Community
awk or sed - Convert 2 lines to 1 line
How can I do this in VI editor?
One instance of comparing grep and awk
A (ksh) Library For and From UNIX.com