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_socket.3compat.adoc | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'docs/man/nn_socket.3compat.adoc') diff --git a/docs/man/nn_socket.3compat.adoc b/docs/man/nn_socket.3compat.adoc index 1cc03914..bee2ffc0 100644 --- a/docs/man/nn_socket.3compat.adoc +++ b/docs/man/nn_socket.3compat.adoc @@ -28,8 +28,8 @@ The `nn_socket()` function creates socket using the address family _af_ and protocol _proto_ and returns it. 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. IMPORTANT: Mixing the compatibility API and the modern API is not supported on a given socket. @@ -40,22 +40,22 @@ The address family _af_ can be one of two values: [horizontal] `AF_SP`:: Normal socket. -`AF_SP_RAW`:: <> socket. +`AF_SP_RAW`:: xref:nng.7.adoc#raw_mode["`Raw mode`"] socket. The protocol indicates the protocol to be used when creating the socket. The following protocols are defined: [horizontal] -`NN_PAIR`:: <> protocol. -`NN_PUB`:: <> protocol. -`NN_SUB`:: <> protocol. -`NN_REQ`:: <> protocol. -`NN_REP`:: <> protocol. -`NN_PUSH`:: <> protocol. -`NN_PULL`:: <> protocol. -`NN_SURVEYOR`:: <> protocol. -`NN_RESPONDENT`:: <> protocol. -`NN_BUS`:: <> protocol. +`NN_PAIR`:: xref:nng_pair.7.adoc[Pair] protocol. +`NN_PUB`:: xref:nng_pub.7.adoc[Publisher] protocol. +`NN_SUB`:: xref:nng_sub.7.adoc[Subscriber] protocol. +`NN_REQ`:: xref:nng_req.7.adoc[Requestor] protocol. +`NN_REP`:: xref:nng_rep.7.adoc[Replier] protocol. +`NN_PUSH`:: xref:nng_push.7.adoc[Push] protocol. +`NN_PULL`:: xref:nng_pull.7.adoc[Pull] protocol. +`NN_SURVEYOR`:: xref:nng_surveyor.7.adoc[Surveyor] protocol. +`NN_RESPONDENT`:: xref:nng_respondent.7.adoc[Respondent] protocol. +`NN_BUS`:: xref:nng_bus.7.adoc[Bus] protocol. == RETURN VALUES @@ -71,8 +71,8 @@ This function returns a valid socket number on success, and -1 on failure. == SEE ALSO [.text-left] -<>, -<>, -<>, -<>, -<> +xref:nng_socket.5.adoc[nng_socket(5)], +xref:nn_close.3compat.adoc[nn_close(3compat)], +xref:nn_errno.3compat.adoc[nn_errno(3compat)], +xref:nng_compat.3compat.adoc[nng_compat(3compat)], +xref:nng.7.adoc[nng(7)] -- cgit v1.2.3-70-g09d2