From 6b7e45c7516b7fdfe85e7792f82624458dcb2ac6 Mon Sep 17 00:00:00 2001 From: David Herrmann Date: Fri, 28 Sep 2012 23:44:19 +0200 Subject: man: convert manpages to XML instead of plain troff If we want to use the manpages in external documentation other than normal manpages, we should rather use XML. Furthermore, almost no-one knows troff today, anyway, and XML allows others to easily add more pages without having to learn troff. Signed-off-by: David Herrmann --- man/drmAvailable.xml | 75 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 75 insertions(+) create mode 100644 man/drmAvailable.xml (limited to 'man/drmAvailable.xml') diff --git a/man/drmAvailable.xml b/man/drmAvailable.xml new file mode 100644 index 00000000..55bef94a --- /dev/null +++ b/man/drmAvailable.xml @@ -0,0 +1,75 @@ + + + + + + + + Direct Rendering Manager + libdrm + September 2012 + + + Developer + David + Herrmann + dh.herrmann@googlemail.com + + + + + + drmAvailable + 3 + + + + drmAvailable + determine whether a DRM kernel driver has been + loaded + + + + + + #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 + http://bugs.freedesktop.org under the "Mesa" product, with "Other" or + "libdrm" as the component. + + + + See Also + + drm7, + drmOpen3 + + + -- cgit v1.2.3