package libdrm

  1. Overview
  2. Docs

Module Drm.Dev_tSource

The dev_t type, identifying a Unix device.

Sourceval v : (int * int) -> t

v (major, minor) is a dev_t for the given major:minor device.

Sourceval of_raw : string -> t

of_raw octets gets a t from a string of bytes (e.g. from Wayland).

Sourceval of_int64 : int64 -> t

of_int64 x gets a t from e.g. Unix.stats.st_rdev.

Sourceval pp : t Fmt.t