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_recvmsg.3compat.adoc | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'docs/man/nn_recvmsg.3compat.adoc') diff --git a/docs/man/nn_recvmsg.3compat.adoc b/docs/man/nn_recvmsg.3compat.adoc index ae70585d..e0fcc758 100644 --- a/docs/man/nn_recvmsg.3compat.adoc +++ b/docs/man/nn_recvmsg.3compat.adoc @@ -28,8 +28,8 @@ The `nn_recvmsg()` function receives a message into the header described by _hdr_ using the socket _sock_. 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 _flags_ field may contain the special flag `NN_DONTWAIT`. In this case, if no message is ready for receiving on _sock_, @@ -62,16 +62,16 @@ The last member of this array may have the `iov_len` field set to `NN_MSG`, in which case the function shall allocate a message buffer, and store the pointer to it at the address indicated by `iov_base`. This can help save an extra copy operation. -The buffer should be deallocated by `<>` +The buffer should be deallocated by xref:nn_freemsg.3compat.adoc[`nn_freemsg()`] or similar when it is no longer needed. The values of `msg_control` and `msg_controllen` describe a buffer of ancillary data associated with the message. This is currently only useful to obtain the message headers -used with <> sockets. +used with xref:nng.7.adoc#raw_mode[raw mode] sockets. In all other circumstances these fields should be zero. Details about this structure are covered in -`<>`. +xref:nn_cmsg.3compat.adoc[`nn_cmsg(3compat)`]. == RETURN VALUES @@ -90,10 +90,10 @@ This function returns the number of bytes received on success, and -1 on error. == SEE ALSO [.text-left] -<>, -<>, -<>, -<>, -<>, -<>, -<> +xref:nn_cmsg.3compat.adoc[nn_cmsg(3compat)], +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