screen_event_get_errno()

Get the errno from a BPS_SCREEN_FAILURE event.

Synopsis:

#include <bps/screen.h>
 
BPS_API int screen_event_get_errno(bps_event_t *event)

Since:

BlackBerry 10.2.0

Arguments:

event

The event to get the errno from.

Library:

libbps (For the qcc command, use the -l bps option to link against this library)

Description:

The screen_event_get_event() function returns the error number (errno) reported from the failure in libscreen.

The domain of the event must be the same as the domain that is returned from screen_get_domain(), and the code of the event must be BPS_SCREEN_FAILURE.

Returns:

The errno.