Specific.Poll
type t = private int
val is_set : t -> t -> bool
is_set flags flag
whether flag is set in flags
flag
flags
val is_inter : t -> t -> bool
is_inter flags1 flags2
whether flags1 and flags2 have non-empty intersection
flags1
flags2
val inter : t -> t -> t
intersection of two flags (AND)
val union : t -> t -> t
union of two flags (OR)
val join : t list -> t
union of several flags (OR)
val (+) : t -> t -> t
equivalent to union
union
val pollin : t
val pollpri : t
val pollout : t
val pollerr : t
val pollhup : t
val pollnval : t
val pollrdhup : t
may not be present on all platforms (=0)
val none : t
no poll flags (=0)