Skip to main content

pamoja_ds18b20_thermometer_path

Function pamoja_ds18b20_thermometer_path 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_ds18b20_thermometer_path( thermometer: *const PamojaDs18b20Thermometer, ) -> *mut PamojaString
Expand description

Returns the path of the file a thermometer reads.

§Arguments

  • thermometer - the thermometer.

§Returns

The path, which the caller releases with crate::pamoja_string_free, or null for a null thermometer.

§Safety

thermometer must be a live handle or null.