Skip to content

Commit 5138b38

Browse files
committed
Docs: link to man pages for pipe and socketpair
[skip ci]
1 parent 9a9c106 commit 5138b38

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/TCP.mli

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,9 @@ val socketpair :
6060
(** Creates a pair of connected sockets.
6161
6262
Binds {{:http://docs.libuv.org/en/v1.x/tcp.html#c.uv_socketpair}
63-
[uv_socketpair]}.
63+
[uv_socketpair]}. See
64+
{{:https://www.man7.org/linux/man-pages/man3/socketpair.3p.html}
65+
[socketpair(3p)]}.
6466
6567
See {!Luv.Pipe.pipe} for an explanation of the optional arguments.
6668

src/pipe.mli

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ val pipe :
4242
(File.t * File.t, Error.t) result
4343
(** Creates a pair of connected pipes.
4444
45-
Binds {{:http://docs.libuv.org/en/v1.x/pipe.html#c.uv_pipe} [uv_pipe]}.
45+
Binds {{:http://docs.libuv.org/en/v1.x/pipe.html#c.uv_pipe} [uv_pipe]}. See
46+
{{:https://www.man7.org/linux/man-pages/man3/pipe.3p.html} [pipe(3p)]}.
4647
4748
In case of success, in the value [(read_pipe, write_pipe)], data written
4849
to [write_pipe] can be read from [read_pipe].

0 commit comments

Comments
 (0)