···9797 Therefore, care is needed here. This is typically used to send a wake-up event to some non-Eio library. *)
98989999val cancel : request -> bool
100100-(** [cancel request] tries to cancel a request created with {!register_unsafe}.
100100+(** [cancel request] tries to cancel a request created with {!register_immediate}.
101101102102 It returns [true] if the request was cancelled (the callback will never be called),
103103 or [false] if the request was already complete (the callback has already been called). *)
+1-1
lib_eio/core/eio__core.mli
···382382383383 val get : 'a key -> 'a option
384384 (** [get key] reads [key] from the map of fiber local variables, returning its
385385- value or {!None} if it has not been bound. *)
385385+ value or [None] if it has not been bound. *)
386386387387 val with_binding : 'a key -> 'a -> (unit -> 'b) -> 'b
388388 (** [with_binding key value fn] runs [fn] with [key] bound to the provided
+1-1
lib_eio/file.mli
···2929 (** Kind of file from st_mode. **)
30303131 val pp_kind : kind Fmt.t
3232- (** Pretty printer for {! kind}. *)
3232+ (** Pretty printer for {!type-kind}. *)
33333434 type t = {
3535 dev : Int64.t; (** Device containing the filesystem where the file resides. *)
+1-1
lib_eio/flow.mli
···127127 val copy : t -> src:_ source -> unit
128128 (** [copy t ~src] allows for optimising copy operations.
129129130130- If you have no optimisations, you can use {!simple_copy} to implement this using {!single_write}. *)
130130+ If you have no optimisations, you can use {!Eio.Flow.Pi.simple_copy} to implement this using {!single_write}. *)
131131 end
132132133133 module type SHUTDOWN = sig
+1-1
lib_eio/net.mli
···71717272 (** {2 Interoperability}
73737474- To convert to or from OCaml Unix addresses, use {!Eio_unix.Ipaddr}.
7474+ To convert to or from OCaml Unix addresses, use {!Eio_unix.Net.Ipaddr}.
75757676 To interoperate with the {{:https://opam.ocaml.org/packages/ipaddr/} ipaddr} library:
7777 - [Ipaddr.to_octets ipaddr_ip |> Eio.Net.Ipaddr.of_raw]
···6161(** [spawn_unix ~sw mgr ~fds args] spawns a child process running the command [args].
62626363 The arguments are as for {!Eio.Process.spawn},
6464- except that it takes a list of FD mappings for {!Fork_action.inherit_fds}
6464+ except that it takes a list of FD mappings for {!Private.Fork_action.inherit_fds}
6565 directly, rather than just flows for the standard streams. *)
66666767val sigchld : Eio.Condition.t
+1-1
lib_eio_linux/low_level.mli
···109109110110 @return The number of bytes copied.
111111 @raise End_of_file [src] is at the end of the file.
112112- @raise Unix.Unix_error(EINVAL, "splice", _) if splice is not supported for these FDs. *)
112112+ @raise Unix.Unix_error with args [(EINVAL, "splice", _)] if splice is not supported for these FDs. *)
113113114114val connect : fd -> Unix.sockaddr -> unit
115115(** [connect fd addr] attempts to connect socket [fd] to [addr]. *)