drmHandleEvent (3) Linux Manual Page
drmHandleEvent – read and process pending DRM events Synopsis#include <xf86drm.h> int drmHandleEvent(int fd, drmEventContextPtr evctx);DescriptiondrmHandleEvent processes outstanding DRM events on the DRM file-descriptor passed as fd. This function should be called after the DRM file-descriptor has polled readable; it will read the events and use the passed-in evctx structure to call function pointers with the parameters noted…
