package libudev

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

OCaml bindings to libudev.

Part of the documentation has been derived from the pyudev documentation.

Error management

type error =
  1. | Null
  2. | Errno of int

Unexpected errors, that may be raised by the functions of the binding.

val string_of_error : error -> string
exception Error of error

Udev

module Context : sig ... end

UDev database context.

module Device : sig ... end

Accessing device information.

module Monitor : sig ... end

Device monitoring.

module Enumerate : sig ... end

Device enumeration and filtering.