package mirage-clock-unix

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

POSIX clock

Clock counting time since the Unix epoch. Subject to adjustment by e.g. NTP.

include Mirage_clock_lwt.PCLOCK
type 'a io = 'a Lwt.t
type t
val disconnect : t -> unit io
val now_d_ps : t -> int * int64
val current_tz_offset_s : t -> int option
val period_d_ps : t -> (int * int64) option
val connect : unit -> t io
OCaml

Innovation. Community. Security.