Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
modbus_flush()							modbus_flush()

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  function shall return 0 or the number of flushed bytes if success-
       ful. Otherwise it shall return -1 and set errno.

								modbus_flush()

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=modbus_flush&sektion=3&manpath=FreeBSD+Ports+15.0>

home | help