package uring

  1. Overview
  2. Docs

Flags that can be passed to openat2.

include FLAGS
type t = private int

A set of flags.

val of_int : int -> t
val (+) : t -> t -> t

a + b is the union of the sets.

val mem : t -> t -> bool

mem x flags is true iff x is a subset of flags.

val empty : t
val append : t
val cloexec : t
val creat : t
val direct : t
val directory : t
val dsync : t
val excl : t
val largefile : t
val noatime : t
val noctty : t
val nofollow : t
val nonblock : t
val path : t
val sync : t
val tmpfile : t
val trunc : t