Skip to main content

pamoja_watchdog_is_expired

Function pamoja_watchdog_is_expired 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_watchdog_is_expired( watchdog: *const PamojaWatchdog, ) -> bool
Expand description

Reports whether a watchdog has expired.

§Returns

true if the time since feeding is past the timeout, and also if watchdog is null.

§Safety

watchdog must be a live handle from pamoja_watchdog_new, or null.