Skip to content

Commit

Permalink
Docs: fix broken references
Browse files Browse the repository at this point in the history
  • Loading branch information
aantron committed Apr 13, 2023
1 parent 1ee9a0c commit 0b8496b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions src/DLL.mli
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ val open_ : string -> t option
Binds {{:http://docs.libuv.org/en/v1.x/dll.html#c.uv_dlopen} [uv_dlopen]}.
See {{:http://man7.org/linux/man-pages/man3/dlopen.3p.html} [dlopen(3p)]}.
Evaluates to [None] on failure. In that case, call {!Luv.DLL.last_error} to
get the error message. *)
Evaluates to [None] on failure. In that case, call {!Luv.DLL.error} to get
the error message. *)

val close : t -> unit
(** Closes a shared library.
Expand All @@ -33,8 +33,8 @@ val sym : t -> string -> nativeint option
Binds {{:http://docs.libuv.org/en/v1.x/dll.html#c.uv_dlsym} [uv_dlsym]}. See
{{:http://man7.org/linux/man-pages/man3/dlsym.3p.html} [dlsym(3p)]}.
Evaluates to [None] on failure. In that case, call {!Luv.DLL.last_error} to
get the error message. *)
Evaluates to [None] on failure. In that case, call {!Luv.DLL.error} to get
the error message. *)

val error : t -> string
(** Retrieves the last error message from {!Luv.DLL.open_} or {!Luv.DLL.sym}.
Expand Down
2 changes: 1 addition & 1 deletion src/TCP.mli
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ val init :
[uv_tcp_init_ex]}.
The stream is not yet connected or listening. See {!Luv.TCP.bind},
{!Luv.Stream.listen}, and {!Luv.Stream.connect}.
{!Luv.Stream.listen}, and {!Luv.TCP.connect}.
On libuv prior to 1.7.0, using [?domain] causes this function to return
[Error `ENOSYS] ("Function not implemented").
Expand Down
2 changes: 1 addition & 1 deletion src/file.mli
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
the main thread by manually running them in a worker. This can be done in
several ways:
- Directly using the {{!Luv.Thread.Pool} libuv thread pool}.
- Directly using the {{!Luv.Thread_pool} libuv thread pool}.
- By creating a thread manually with {!Luv.Thread.create}.
- By creating a thread manually with OCaml's standard
{{:https://caml.inria.fr/pub/docs/manual-ocaml/libref/Thread.html}
Expand Down
2 changes: 1 addition & 1 deletion src/pipe.mli
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ val receive_handle :
calls its callback, there may be file descriptors in the pipe, in addition
to the ordinary data provided to the callback.
To check, call this function {!Luv.Pipe.recieve_handle} in a loop until it
To check, call this function {!Luv.Pipe.receive_handle} in a loop until it
returns [`None]. Each time it returns [`TCP receive] or [`Pipe receive],
create an appropriate [handle] using either {!Luv.TCP.init} or
{!Luv.Pipe.init}, and call [receive handle] to receive the file descriptor
Expand Down

0 comments on commit 0b8496b

Please sign in to comment.