module Raw_fd: sig
.. end
val debug : bool
module File_descr: Core.Unix.File_descr
module Kind: sig
.. end
module State: sig
.. end
type
ready_to_result = [ `Bad_fd | `Closed | `Interrupted | `Ready ]
val sexp_of_ready_to_result : [< `Bad_fd | `Closed | `Interrupted | `Ready ] -> Sexplib.Sexp.t
module Watching: sig
.. end
module T: sig
.. end
include T
val equal : t -> t -> bool
val invariant : t -> unit
val to_int : t -> int
val create : Kind.t -> Core.Unix.File_descr.t -> Core.Std.Info.t -> t
val inc_num_active_syscalls : t -> [> `Already_closed | `Ok ]
val set_state : t -> State.t -> unit
val is_open : t -> bool
val is_closed : t -> bool
val set_nonblock_if_necessary : t -> unit
val with_file_descr : ?nonblocking:bool ->
t ->
(File_descr.t -> 'a) ->
[> `Already_closed | `Error of exn | `Ok of 'a ]
val with_file_descr_exn : ?nonblocking:bool -> t -> (File_descr.t -> 'a) -> 'a
val syscall : ?nonblocking:bool ->
t ->
(File_descr.t -> 'a) ->
[> `Already_closed | `Error of exn | `Ok of 'a ]
val syscall_exn : ?nonblocking:bool -> t -> (File_descr.t -> 'a) -> 'a