Skip to main content

pamoja_modbus_client_free

Function pamoja_modbus_client_free 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_modbus_client_free( client: *mut PamojaModbusClient, )
Expand description

Releases a client. Its port stays open while another holder has it. A null pointer is ignored.

ยงSafety

client must be a handle that has not been freed, or null.