From 2426a6a7112ae62755408a371831eddbe2d89d99 Mon Sep 17 00:00:00 2001 From: Jesse Barnes Date: Thu, 6 Sep 2012 16:16:50 -0700 Subject: libdrm: man page infrastructure and a few sample man pages --- man/drmAvailable.man | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 man/drmAvailable.man (limited to 'man/drmAvailable.man') diff --git a/man/drmAvailable.man b/man/drmAvailable.man new file mode 100644 index 00000000..e1bb8dc8 --- /dev/null +++ b/man/drmAvailable.man @@ -0,0 +1,25 @@ +.\" shorthand for double quote that works everywhere. +.ds q \N'34' +.TH drmAvailable __drivermansuffix__ __vendorversion__ +.SH NAME +drmAvailable \- determine whether a DRM kernel driver has been loaded +.SH SYNOPSIS +.nf +.B "#include " + +.B "int drmAvailable(void);" +.fi +.SH DESCRIPTION +This function allows the caller to determine whether a kernel DRM driver is +loaded. + +.SH RETURN VALUE +If a DRM driver is currently loaded, this function returns 1. Otherwise 0 +is returned. + +.SH 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. + +.SH "SEE ALSO" +drmOpen(__libmansuffix__) -- cgit v1.2.3