Module Flags__Flags_intf
module Flags
implements Unix-style sets of flags that are represented as an int
with various bits set, one bit for each flag. E.g. Linux_ext.Epoll.Flag
.
Flags
defines a module type Flags.S
, the interface for a flags, and a functor Flags.Make
for creating a flags implementation.
module type S = sig ... end
module type S
is the interface for a set of flags. Values oftype t
are set of flags, and the various functions operate on sets of flags. There is a finite universe of flags (in particular 63 flags, one for each bit).
module type Make_arg = sig ... end
module type Flags = sig ... end