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

FreeBSD Manual Pages

  
 
  

home | help
MODBUS_GET_SLAVE(3)	       libmodbus Manual		   MODBUS_GET_SLAVE(3)

NAME
       modbus_get_slave	- get slave number in the context

SYNOPSIS
       int modbus_get_slave(modbus_t *ctx);

DESCRIPTION
       The modbus_get_slave() function shall get the slave number in the
       libmodbus context.

RETURN VALUE
       The function shall return the slave number if successful. Otherwise it
       shall return -1 and set errno to	one of the values defined below.

ERRORS
       EINVAL
	   The libmodbus context is undefined.

SEE ALSO
       modbus_set_slave(3)

AUTHORS
       The libmodbus documentation was written by StA(C)phane Raimbault
       <stephane.raimbault@gmail.com>

libmodbus v3.1.6		  03/01/2021		   MODBUS_GET_SLAVE(3)

NAME | SYNOPSIS | DESCRIPTION | RETURN VALUE | ERRORS | SEE ALSO | AUTHORS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=modbus_get_slave&sektion=3&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help