From dcb962389c5f71bc25cdb84f3363eed95bad9bdd Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sat, 6 Jul 2019 13:33:55 -0700 Subject: fixes #861 Man pages need to use .adoc suffix --- docs/man/nn_poll.3compat.adoc | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'docs/man/nn_poll.3compat.adoc') diff --git a/docs/man/nn_poll.3compat.adoc b/docs/man/nn_poll.3compat.adoc index 27c9cbcb..c115fe49 100644 --- a/docs/man/nn_poll.3compat.adoc +++ b/docs/man/nn_poll.3compat.adoc @@ -36,8 +36,8 @@ int nn_poll(struct nn_pollfd *pfds, int npfd, int timeout); The `nn_poll()` function polls a group of sockets for readiness to send or receive. NOTE: This function is provided for API -<> with legacy _libnanomsg_. -Consider using the relevant <> instead. +xref:nng_compat.3compat.adoc[compatibility] with legacy _libnanomsg_. +Consider using the relevant xref:libnng.3.adoc[modern API] instead. The array of _nfds_ sockets to poll for are passed into _pfds_. Each member of this array is initialized with the `fd` field set to @@ -67,10 +67,10 @@ If the _timeout_ is -1, then the function waits forever, or until one of the requested events occurs. IMPORTANT: This function is only suitable for use with sockets obtained with the -`<>` function, and is not compatible +xref:nn_socket.3compat.adoc[`nn_socket()`] function, and is not compatible with file descriptors obtained via any other means. This includes file descriptors obtained using the `NN_SNDFD` or `NN_RCVFD` -options with `<>` +options with xref:nn_getsockopt.3compat.adoc[`nn_getsockopt()`] NOTE: This function is significantly less efficient than other polling or asynchronous I/O mechanisms, and is provided for API compatibility only. @@ -94,9 +94,9 @@ This function returns the number of sockets with events on success, or -1 on err == SEE ALSO [.text-left] -<>, -<>, -<>, -<>, -<>, -<> +xref:nn_errno.3compat.adoc[nn_errno(3compat)], +xref:nn_recv.3compat.adoc[nn_recv(3compat)], +xref:nn_send.3compat.adoc[nn_send(3compat)], +xref:nn_socket.3compat.adoc[nn_socket(3compat)], +xref:nng_compat.3compat.adoc[nn_compat(3compat)], +xref:nng.7.adoc[nng(7)] -- cgit v1.2.3-70-g09d2