NAME | SYNOPSIS | API RESTRICTIONS | DESCRIPTION | RETURN VALUES | ERRORS | ATTRIBUTES | SEE ALSO
#include <cx/wdt.h>int wdt_startup_commit(void);
The function or functions documented here may not be used safely in all application contexts with all APIs provided in the ChorusOS 5.0 product.
See API(5FEA) for details.
The wdt_startup_commit() call indicates to the watchdog API that the system startup has successfully completed. This tells the API to continue to "pat" the watchdog device armed by the boot framework (if any) to ensure that the board will be reset if the system fails to come up within a configured interval.
On successful completion, wdt_startup_commit() returns 0; otherwise it returns -1 and sets errno to indicate one of the following error conditions.
No watchdog timer has been configured.
The watchdog timer module has not been configured.
See attributes(5) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
---|---|
Interface Stability | Evolving |
NAME | SYNOPSIS | API RESTRICTIONS | DESCRIPTION | RETURN VALUES | ERRORS | ATTRIBUTES | SEE ALSO