Posix_time2
High-level API to <time.h> and <sys/time.h>. See: time.h and systime.h for an explanation about the data structures and functions.
module Timespec : sig ... end
module Itimerspec : sig ... end
module Timeval : sig ... end
module Tm : sig ... end
module Itimerval : sig ... end
val asctime : Tm.t -> string
val clock_getres : clock -> Timespec.t
val clock_gettime : clock -> Timespec.t
val clock_settime : clock -> Timespec.t -> unit
val gmtime : int64 -> Tm.t
val localtime : int64 -> Tm.t
val mktime : Tm.t -> int64
val nanosleep : Timespec.t -> unit
val clock_nanosleep : absolute:bool -> clock:clock -> Timespec.t -> unit
val getitimer : itimer -> Itimerval.t
val setitimer : itimer -> Itimerval.t -> Itimerval.t
val gettimeofday : unit -> Timeval.t
val select :
Unix.file_descr list ->
Unix.file_descr list ->
Unix.file_descr list ->
Timeval.t option ->
Unix.file_descr list * Unix.file_descr list * Unix.file_descr list
val utimes : string -> Timeval.t -> unit