#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_serial_port_free(
port: *mut PamojaSerialPort,
)Expand description
Releases a holder’s share of a port. The line closes when no holder has it. A null pointer is ignored.
§Safety
port must be a handle that has not been freed, or null.