Query: drmavailable
OS: centos
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
DRMAVAILABLE(3) Direct Rendering Manager DRMAVAILABLE(3)NAMEdrmAvailable - determine whether a DRM kernel driver has been loadedSYNOPSIS#include <xf86drm.h> int drmAvailable(void);DESCRIPTIONdrmAvailable allows the caller to determine whether a kernel DRM driver is loaded.RETURN VALUEdrmAvailable returns 1 if a DRM driver is currently loaded. Otherwise 0 is returned.REPORTING BUGSBugs in this function should be reported to http://bugs.freedesktop.org under the "Mesa" product, with "Other" or "libdrm" as the component.SEE ALSOdrm(7), drmOpen(3) libdrm September 2012 DRMAVAILABLE(3)