package posix-time2

  1. Overview
  2. Docs
Bindings for posix time functions

Install

Dune Dependency

Authors

Maintainers

Sources

v2.2.0.tar.gz
md5=e7bfad548f0f7998c74ad5963fdd67fd
sha512=a0fae5a98b9ab63d5273d357292a74ac69c694bdd672b0cbd62b5beb5847e63c17fb0de0a1fb9f36b7bc9f10f7b990298ee63853d8399b9b8a9005c1c7b37ba3

doc/src/posix-time2.constants/posix_time2_constants.ml.html

Source file posix_time2_constants.ml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
module Def (S : Cstubs.Types.TYPE) = struct
  let clockid_t = S.lift_typ Posix_types.clockid_t
  let clock_process_cputime_id = S.constant "CLOCK_PROCESS_CPUTIME_ID" clockid_t
  let clock_thread_cputime_id = S.constant "CLOCK_THREAD_CPUTIME_ID" clockid_t
  let clock_monotonic = S.constant "CLOCK_MONOTONIC" clockid_t
  let clock_realtime = S.constant "CLOCK_REALTIME" clockid_t
  let itimer_real = S.constant "ITIMER_REAL" S.int
  let itimer_virtual = S.constant "ITIMER_VIRTUAL" S.int
  let itimer_prof = S.constant "ITIMER_PROF" S.int
  let fd_setsize = S.constant "FD_SETSIZE" S.int
  let fd_set_size = S.constant "FD_SET_SIZE" S.int
  let fd_set_alignment = S.constant "FD_SET_ALIGNMENT" S.int
  let timer_abstime = S.constant "TIMER_ABSTIME" S.int
end
OCaml

Innovation. Community. Security.