man-pages/man3/drmAvailable.3.html
2021-03-31 01:06:50 +01:00

94 lines
1.9 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of DRMAVAILABLE</TITLE>
</HEAD><BODY>
<H1>DRMAVAILABLE</H1>
Section: Direct Rendering Manager (3)<BR>Updated: September 2012<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
drmAvailable - determine whether a DRM kernel driver has been loaded
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<P>
<B>
</B><PRE>
#include &lt;<A HREF="file:///usr/include/xf86drm.h">xf86drm.h</A>&gt;
</PRE>
<DL COMPACT>
<DT id="1">
<B>int drmAvailable(void);</B>
</DL>
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
<P>
<B>drmAvailable</B>
<DD>allows the caller to determine whether a kernel DRM driver is loaded.
<A NAME="lbAE">&nbsp;</A>
<H2>RETURN VALUE</H2>
<P>
<B>drmAvailable</B>
returns 1 if a DRM driver is currently loaded. Otherwise 0 is returned.
<A NAME="lbAF">&nbsp;</A>
<H2>REPORTING BUGS</H2>
<P>
Bugs in this function should be reported to <A HREF="https://bugs.freedesktop.org/enter_bug.cgi?product=DRI">https://bugs.freedesktop.org/enter_bug.cgi?product=DRI</A>&amp;component=libdrm under the &quot;DRI&quot; product, component &quot;libdrm&quot;
<A NAME="lbAG">&nbsp;</A>
<H2>SEE ALSO</H2>
<P>
<B><A HREF="/cgi-bin/man/man2html?7+drm">drm</A></B>(7),
<B><A HREF="/cgi-bin/man/man2html?3+drmOpen">drmOpen</A></B>(3)
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="2"><A HREF="#lbAB">NAME</A><DD>
<DT id="3"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="4"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="5"><A HREF="#lbAE">RETURN VALUE</A><DD>
<DT id="6"><A HREF="#lbAF">REPORTING BUGS</A><DD>
<DT id="7"><A HREF="#lbAG">SEE ALSO</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:05:39 GMT, March 31, 2021
</BODY>
</HTML>