Updated: October 28, 2024 |
Conditionally log an error message using QNX helpers logging functions and then call abort() if the specified errno is not EOK
#include <qh/error.h>
void qh_abort_on_errno(const qh_log_info_t *qh_log_info, int errno, const char *err_msg)
If the errno specified by errno is not EOK, this function logs an error message and then calls abort(). If errno is EOK, the function does nothing.
None