OpenBSD manual page server

Manual Page Search Parameters

DRMAVAILABLE(3) Library Functions Manual DRMAVAILABLE(3)

drmAvailable
determine whether a DRM kernel driver has been loaded

#include <xf86drm.h>

int
drmAvailable(void);

TABLE OF CONTENTS

drmAvailable() allows the caller to determine whether a kernel DRM driver is loaded.

drmAvailable() returns 1 if a DRM driver is currently loaded. Otherwise 0 is returned.

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"

drm(7), drmOpen(3)

Direct Rendering Manager

libdrm Developer:
David Herrmann <dh.herrmann@googlemail.com>

September 2012 OpenBSD-current