module Fd_by_descr:sig..end
Fd_by_descr is a table of the open Fd.ts, indexed by file descriptor number.
In this interface, we use Raw_fd.t rather than Fd.t to avoid a dependency cycle,
because the Fd module can't be defined yet.
type t
include Invariant.S
val create : num_file_descrs:int -> tval add_exn : t -> Raw_fd.t -> unitadd_exn t fd fails if the file descriptor for fd is already in t.val find : t -> Import.File_descr.t -> Raw_fd.t optionval remove : t -> Raw_fd.t -> unitval fold : t -> init:'a -> f:('a -> Raw_fd.t -> 'a) -> 'aval iter : t -> f:(Raw_fd.t -> unit) -> unitval sexp_of_t : t -> Sexplib.Sexp.tadd_exn t fd fails if the file descriptor for fd is already in t.