Skip to main content

pamoja_ds18b20_thermometers_len

Function pamoja_ds18b20_thermometers_len 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_ds18b20_thermometers_len( thermometers: *const PamojaDs18b20Thermometers, ) -> usize
Expand description

Returns how many thermometers a list holds.

§Arguments

  • thermometers - the list.

§Returns

The count, or 0 for a null list.

§Safety

thermometers must be a live handle or null.