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/nng_socket_id.3.adoc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'docs/man/nng_socket_id.3.adoc') diff --git a/docs/man/nng_socket_id.3.adoc b/docs/man/nng_socket_id.3.adoc index 30a59bec..3501f6b2 100644 --- a/docs/man/nng_socket_id.3.adoc +++ b/docs/man/nng_socket_id.3.adoc @@ -29,11 +29,11 @@ if it is valid. Otherwise it returns `-1`. NOTE: A socket is considered valid if it was ever opened with a protocol -constructor, such as the `<>` function. +constructor, such as the xref:nng_req_open.3.adoc[`nng_req0_open()`] function. Sockets that are allocated on the stack or statically should be initialized with the macro -`<>` to ensure that -they cannot be confused with a valid socket before they are opened. +xref:nng_socket.5.adoc#NNG_SOCKET_INITIALIZER[`NNG_SOCKET_INITIALIZER`] +to ensure that they cannot be confused with a valid socket before they are opened. == RETURN VALUES @@ -47,5 +47,5 @@ None. == SEE ALSO [.text-left] -<>, -<> +xref:nng_socket.5.adoc[nng_socket(5)], +xref:nng.7.adoc[nng(7)] -- cgit v1.2.3-70-g09d2