summaryrefslogtreecommitdiff
path: root/man/drmAvailable.man
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@virtuousgeek.org>2012-09-06 16:16:50 -0700
committerJesse Barnes <jbarnes@virtuousgeek.org>2012-09-17 08:07:04 -0700
commit2426a6a7112ae62755408a371831eddbe2d89d99 (patch)
treeeb887b44553dde049e767aeff4db57fd37634a74 /man/drmAvailable.man
parent1b7ce582ceac74c7c5f1989c611b4f01a2a18434 (diff)
libdrm: man page infrastructure and a few sample man pages
Diffstat (limited to 'man/drmAvailable.man')
-rw-r--r--man/drmAvailable.man25
1 files changed, 25 insertions, 0 deletions
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 <xf86drm.h>"
+
+.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__)