sig
  type t = Core.Core_unix.Open_flags.t
  val of_int : int -> t
  val to_int_exn : t -> int
  val equal : t -> t -> bool
  val empty : t
  val ( + ) : t -> t -> t
  val ( - ) : t -> t -> t
  val intersect : t -> t -> t
  val complement : t -> t
  val is_empty : t -> bool
  val do_intersect : t -> t -> bool
  val are_disjoint : t -> t -> bool
  val rdonly : t
  val wronly : t
  val rdwr : t
  val creat : t
  val excl : t
  val noctty : t
  val trunc : t
  val append : t
  val nonblock : t
  val dsync : t
  val sync : t
  val rsync : t
  val can_read : t -> bool
  val can_write : t -> bool
  val sexp_of_t : t -> Sexplib.Sexp.t
end