int watchdog_frequency(int frequency);
void watchdog_set_stopped(bool val);
bool watchdog_get_stopped(void);
-void watchdog_no_cloexec(void);
+void watchdog_set_cloexec(bool val);
void watchdog_ping(void);
#else
static inline void watchdog_init(int preinit)
return true;
}
-static inline void watchdog_no_cloexec(void)
+static inline void watchdog_set_cloexec(bool val)
{
}