The time library provides POSIX clock and time types and functions for OCaml. The bindings try to keep the semantics close to the POSIX API of time.h.