package core
Industrial strength alternative to OCaml's standard library
Install
Dune Dependency
Authors
Maintainers
Sources
core-v0.14.0.tar.gz
sha256=08447e7d539b69d13b2633c61bab5fdb81624b1391540be097a6a91023f9ce33
md5=571dc65fff922c86951068d66e4a05ca
doc/core.linux_ext/Linux_ext/Epoll/Flags/index.html
Module Epoll.Flags
An Epoll.Flags.t
is an immutable set of flags for which one can register interest in a file descriptor. It is implemented as a bitmask, and so all operations (+, -, etc.) are constant time with no allocation.
sexp_of_t
produces a human-readable list of bits, e.g., "(in out)".
include Flags.S with type t := t
val t_of_sexp : Sexplib0__.Sexp.t -> t
val sexp_of_t : t -> Sexplib0__.Sexp.t
val typerep_of_t : t Typerep_lib.Std_internal.Typerep.t
val typename_of_t : t Typerep_lib.Typename.t
val clamp : t -> min:t -> max:t -> t Base.Or_error.t
val comparator : (t, comparator_witness) Base.Comparator.comparator
val validate_lbound : min:t Base.Maybe_bound.t -> t Base.Validate.check
val validate_ubound : max:t Base.Maybe_bound.t -> t Base.Validate.check
val validate_bound :
min:t Base.Maybe_bound.t ->
max:t Base.Maybe_bound.t ->
t Base.Validate.check
module Replace_polymorphic_compare : sig ... end
module Map : sig ... end
module Set : sig ... end
val of_int : int -> t
val to_int_exn : t -> int
val empty : t
val is_empty : t -> bool
module Unstable : sig ... end
The names of the flags match the man pages. E.g. in_
= "EPOLLIN", out
= "EPOLLOUT", etc.
val none : t
Associated fd is readable
val in_ : t
Associated fd is readable
val out : t
Associated fd is writable
val pri : t
Urgent data available
val err : t
Error condition (always on, no need to set it)
val hup : t
Hang up happened (always on)
val et : t
Edge-Triggered behavior (see man page)
val oneshot : t
One-shot behavior for the associated fd
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>