|
NAMEmodbus_get_slave - get slave number in the contextSYNOPSISint modbus_get_slave(modbus_t *ctx);DESCRIPTIONThe modbus_get_slave() function shall get the slave number in the libmodbus context.RETURN VALUEThe function shall return the slave number if successful. Otherwise it shall return -1 and set errno to one of the values defined below.ERRORSEINVALThe libmodbus context is undefined.
SEE ALSOmodbus_set_slave(3)AUTHORSThe libmodbus documentation was written by Stéphane Raimbault <stephane.raimbault@gmail.com>
Visit the GSP FreeBSD Man Page Interface. |