From 0ddaee41ec753805fa12eeabd679870802528dac Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Tue, 29 May 2018 17:03:51 -0700 Subject: fixes #495 SEE ALSO should use [align=left] fixes #494 ERRORS section should use [horizontal] These changes address some basic formatting consistency things, and ultimately (when combined with other tooling changes that are not part of this repo) lead to vastly improved layout in the printed documentation. While here we removed trailing whitespace, and did certain other minor markup tweaks. --- docs/man/nng_sendmsg.3.adoc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'docs/man/nng_sendmsg.3.adoc') diff --git a/docs/man/nng_sendmsg.3.adoc b/docs/man/nng_sendmsg.3.adoc index dffb042f..f3f2992c 100644 --- a/docs/man/nng_sendmsg.3.adoc +++ b/docs/man/nng_sendmsg.3.adoc @@ -24,7 +24,7 @@ int nng_sendmsg(nng_socket s, nng_msg *msg, int flags); == DESCRIPTION -The `nng_sendmsg()` sends message _msg_ using the socket _s_. +The `nng_sendmsg()` sends message _msg_ using the socket _s_. If the function returns zero, indicating it has accepted the message for delivery, then the _msg_ is "`owned`" by the socket _s_, and the caller @@ -72,6 +72,7 @@ This function returns 0 on success, and non-zero otherwise. == ERRORS +[horizontal] `NNG_EAGAIN`:: The socket _s_ cannot accept data for sending. `NNG_ECLOSED`:: The socket _s_ is not open. `NNG_EINVAL`:: An invalid set of _flags_ was specified. @@ -82,6 +83,7 @@ This function returns 0 on success, and non-zero otherwise. == SEE ALSO +[.text-left] <>, <>, <>, -- cgit v1.2.3-70-g09d2