Skip to main content

pamoja_serial_port_free

Function pamoja_serial_port_free 

Source
#[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.