drmAvailable (3) Linux Manual Page
drmAvailable – determine whether a DRM kernel driver has been loaded
Synopsis
#include <xf86drm.h>
-
int drmAvailable(void);
Description
drmAvailable
Return Value
drmAvailable returns 1 if a DRM driver is currently loaded. Otherwise 0 is returned.
Reporting Bugs
Bugs in this function should be reported to http://bugs.freedesktop.org under the "Mesa" product, with "Other" or "libdrm" as the component.
