DOKK / manpages / debian 12 / libmodbus-dev / modbus_mapping_free.3.en
MODBUS_MAPPING_FREE(3) libmodbus Manual MODBUS_MAPPING_FREE(3)

modbus_mapping_free - free a modbus_mapping_t structure

void modbus_mapping_free(modbus_mapping_t *mb_mapping);

The function shall free the four arrays of mb_mapping_t structure and finally the mb_mapping_t referenced by mb_mapping.

There is no return values.

modbus_mapping_new(3)

The libmodbus documentation was written by Stéphane Raimbault <stephane.raimbault@gmail.com>

10/15/2022 libmodbus v3.1.6