modbus_get_timeout_end.txt 841 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. modbus_get_timeout_end(3)
  2. ===========================
  3. NAME
  4. ----
  5. modbus_get_timeout_end - get timeout of end of message
  6. SYNOPSIS
  7. --------
  8. *void modbus_get_timeout_end(*modbus_t 'ctx', struct timeval *'timeout');*
  9. DESCRIPTION
  10. -----------
  11. The _modbus_get_timeout_end()_ function shall store the current timeout between
  12. the begin and the end of message in the 'timeout' argument.
  13. RETURN VALUE
  14. ------------
  15. There is no return values.
  16. EXAMPLE
  17. -------
  18. [source,c]
  19. -------------------
  20. struct timeval timeout_end;
  21. /* Save original timeout */
  22. modbus_get_timeout_end(ctx, &timeout_end);
  23. -------------------
  24. SEE ALSO
  25. --------
  26. linkmb:modbus_get_timeout_begin[3]
  27. linkmb:modbus_set_timeout_begin[3]
  28. linkmb:modbus_set_timeout_end[3]
  29. AUTHORS
  30. -------
  31. The libmodbus documentation was written by Stéphane Raimbault
  32. <stephane.raimbault@gmail.com>