error.h
QNX SDP
7.1
QNX Helpers Developer's Guide
API
Updated: October 28, 2024
QNX helpers - Helpers related to the
errno
variable.
Macros
These macros are related to
errno
handling.
qh_abort_on_errno()
Conditionally log an error message using QNX helpers logging functions and then call
abort()
if the specified
errno
is not EOK
qh_sticky_error()
Store a new error code as a variable if the new error is not zero and the previously stored one is
qh_sticky_error_last()
Store a new error code as a variable if the new error is not zero
qh_strerror()
Convert an error number into an error message and guarantee that
errno
is kept intact in the process