Return the last GF error code
#include <gf/gf.h> int gf_dev_get_error( gf_dev_t gdev );
gf
This function returns the last error code logged by a GF API call for the calling thread, providing additional information about the failure. This function resets the error indicator for the calling thread.
Possible GF error codes are:
A value reflecting the last error logged. A value of GF_ERR_OK indicates that there have been no errors logged since the connection was established or since the last time the thread called gf_dev_get_error().
QNX Graphics Framework
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | Yes |