[][src]Function esp_idf_sys::esp_register_shutdown_handler

pub unsafe extern "C" fn esp_register_shutdown_handler(
    handle: shutdown_handler_t
) -> esp_err_t

@brief Register shutdown handler

This function allows you to register a handler that gets invoked before the application is restarted using esp_restart function.