'\" t .\" Title: drmAvailable .\" Author: David Herrmann .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: September 2012 .\" Manual: Direct Rendering Manager .\" Source: libdrm .\" Language: English .\" .TH "DRMAVAILABLE" "3" "September 2012" "libdrm" "Direct Rendering Manager" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" drmAvailable \- determine whether a DRM kernel driver has been loaded .SH "SYNOPSIS" .sp .ft B .nf #include .fi .ft .HP \w'int\ drmAvailable('u .BI "int drmAvailable(void);" .SH "DESCRIPTION" .PP \fBdrmAvailable\fR allows the caller to determine whether a kernel DRM driver is loaded\&. .SH "RETURN VALUE" .PP \fBdrmAvailable\fR returns 1 if a DRM driver is currently loaded\&. Otherwise 0 is returned\&. .SH "REPORTING BUGS" .PP 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" .SH "SEE ALSO" .PP \fBdrm\fR(7), \fBdrmOpen\fR(3)