Drm.Dev_t
The dev_t type, identifying a Unix device.
dev_t
type t = PosixTypes.Dev.t
val v : (int * int) -> t
v (major, minor) is a dev_t for the given major:minor device.
v (major, minor)
val of_raw : string -> t
of_raw octets gets a t from a string of bytes (e.g. from Wayland).
of_raw octets
t
val of_int64 : int64 -> t
of_int64 x gets a t from e.g. Unix.stats.st_rdev.
of_int64 x
Unix.stats.st_rdev
val pp : t Fmt.t