Go to main content

man pages section 3: Library Interfaces and Headers

Exit Print View

Updated: Thursday, June 13, 2019
 
 

drmAvailable (3)

Name

drmAvailable - determine whether a DRM kernel driver has been loaded

Synopsis

#include <xf86drm.h>

int drmAvailable(void);

Description

DRMAVAILABLE(3)            Direct Rendering Manager            DRMAVAILABLE(3)



NAME
       drmAvailable - determine whether a DRM kernel driver has been loaded

SYNOPSIS
       #include <xf86drm.h>

       int drmAvailable(void);

DESCRIPTION
       drmAvailable allows the caller to determine whether a kernel DRM driver
       is loaded.

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
       https://bugs.freedesktop.org/enter_bug.cgi?product=DRI&component=libdrm
       under the "DRI" product, component "libdrm"


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+--------------------+
       |ATTRIBUTE TYPE |  ATTRIBUTE VALUE   |
       +---------------+--------------------+
       |Availability   | x11/library/libdrm |
       +---------------+--------------------+
       |Stability      | Volatile           |
       +---------------+--------------------+
SEE ALSO
       drm(7), drmOpen(3)



NOTES
       This software was built from source available at
       https://github.com/oracle/solaris-userland.  The original community
       source was downloaded from
       https://dri.freedesktop.org/libdrm/libdrm-2.4.97.tar.bz2

       Further information about this software can be found on the open source
       community website at https://dri.freedesktop.org/.



libdrm                          September 2012                 DRMAVAILABLE(3)