LOMIOCDOGSTATE
This API gets the state of the watchdog and reset functions and retrieves the
current timeout period for the watchdog. If LOMIOCDOGSTATE
was never issued to set up the timeout period prior to this ioctl, the watchdog
is not enabled in the hardware.
The argument is a pointer to the lom_dogstate_t
structure. The structure members are used to hold the current states of
the watchdog reset circuitry and current watchdog timeout period. Note that
this is not the time remaining before the watchdog is triggered.
Data structures
Sample program