Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
|
infuse_common_boot API More...
Functions | |
int | infuse_common_boot_last_reboot (struct infuse_reboot_state *state) |
Query the reason for the latest reboot. | |
infuse_common_boot API
int infuse_common_boot_last_reboot | ( | struct infuse_reboot_state * | state | ) |
#include <infuse/common_boot.h>
Query the reason for the latest reboot.
state | Output location for reboot information |
0 | On successful state query |
-ENOENT | No reboot information exists |