diff options
| author | Garrett D'Amore <garrett@damore.org> | 2019-07-06 13:33:55 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2019-07-06 13:33:55 -0700 |
| commit | dcb962389c5f71bc25cdb84f3363eed95bad9bdd (patch) | |
| tree | 2a94b72596df4ff76081eb74632af0ce273517b1 /docs/man/nn_send.3compat.adoc | |
| parent | 7b6e73f23104a50b898da1065cf9d3bf8b6a3bca (diff) | |
| download | nng-dcb962389c5f71bc25cdb84f3363eed95bad9bdd.tar.gz nng-dcb962389c5f71bc25cdb84f3363eed95bad9bdd.tar.bz2 nng-dcb962389c5f71bc25cdb84f3363eed95bad9bdd.zip | |
fixes #861 Man pages need to use .adoc suffix
Diffstat (limited to 'docs/man/nn_send.3compat.adoc')
| -rw-r--r-- | docs/man/nn_send.3compat.adoc | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/docs/man/nn_send.3compat.adoc b/docs/man/nn_send.3compat.adoc index cb1146a5..1a3efb0c 100644 --- a/docs/man/nn_send.3compat.adoc +++ b/docs/man/nn_send.3compat.adoc @@ -28,16 +28,16 @@ The `nn_send()` function creates a message containing _data_ (of size _size_), and sends using the socket _sock_. NOTE: This function is provided for API -<<nng_compat.3compat#,compatibility>> with legacy _libnanomsg_. -Consider using the relevant <<libnng.3#,modern API>> instead. +xref:nng_compat.3compat.adoc[compatibility] with legacy _libnanomsg_. +Consider using the relevant xref:libnng.3.adoc[modern API] instead. If _size_ has the special value `NN_MSG`, then a zero-copy operation is performed. In this case, _data_ points not to the message content itself, but instead is a pointer to the pointer, an extra level of pointer indirection. The message must have been previously allocated by -`<<nn_allocmsg.3compat#,nn_allocmsg()>>` or -`<<nn_recvmsg.3compat#,nn_recvmsg()>>`, using the same `NN_MSG` size. +xref:nn_allocmsg.3compat.adoc[`nn_allocmsg()`] or +xref:nn_recvmsg.3compat.adoc[`nn_recvmsg()`]`, using the same `NN_MSG` size. In this case, the "`ownership`" of the message shall remain with the caller, unless the function returns 0, indicating that the function has taken responsibility for delivering or disposing of the @@ -66,9 +66,9 @@ This function returns the number of bytes sent on success, and -1 on error. == SEE ALSO [.text-left] -<<nn_errno.3compat#,nn_errno(3compat)>>, -<<nn_recv.3compat#,nn_recv(3compat)>>, -<<nn_sendmsg.3compat#,nn_sendmsg(3compat)>>, -<<nn_socket.3compat#,nn_socket(3compat)>>, -<<nng_compat.3compat#,nn_compat(3compat)>>, -<<nng.7#,nng(7)>> +xref:nn_errno.3compat.adoc[nn_errno(3compat)], +xref:nn_recv.3compat.adoc[nn_recv(3compat)], +xref:nn_sendmsg.3compat.adoc[nn_sendmsg(3compat)], +xref:nn_socket.3compat.adoc[nn_socket(3compat)], +xref:nng_compat.3compat.adoc[nn_compat(3compat)], +xref:nng.7.adoc[nng(7)] |
