diff options
| author | Garrett D'Amore <garrett@damore.org> | 2018-05-29 17:03:51 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2018-05-29 18:14:55 -0700 |
| commit | 0ddaee41ec753805fa12eeabd679870802528dac (patch) | |
| tree | 3418859f4f22e9857b5ae979b3bc4eb53fd70035 /docs/man/nng_device.3.adoc | |
| parent | 33dc5d611f578ace9833a80dc006a34b09da18af (diff) | |
| download | nng-0ddaee41ec753805fa12eeabd679870802528dac.tar.gz nng-0ddaee41ec753805fa12eeabd679870802528dac.tar.bz2 nng-0ddaee41ec753805fa12eeabd679870802528dac.zip | |
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.
Diffstat (limited to 'docs/man/nng_device.3.adoc')
| -rw-r--r-- | docs/man/nng_device.3.adoc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/man/nng_device.3.adoc b/docs/man/nng_device.3.adoc index 4f036d03..807d8e54 100644 --- a/docs/man/nng_device.3.adoc +++ b/docs/man/nng_device.3.adoc @@ -58,7 +58,7 @@ In this case sockets _s1_ and _s2_ must be "`compatible`" with each other, which is to say that they should represent the opposite halves of a two protocol pattern, or both be the same protocol for a single protocol pattern. -For example, if _s1_ is a <<nng_pub.7#,_pub_>> socket, then _s2_ must +For example, if _s1_ is a <<nng_pub.7#,_pub_>> socket, then _s2_ must be a <<nng_sub.7#,_sub_>> socket. Or, if _s1_ is a <<nng_bus.7#,_bus_>> socket, then _s2_ must also be a _bus_ socket. @@ -102,12 +102,14 @@ one occurs, or if one of the sockets is closed. == ERRORS +[horizontal] `NNG_ECLOSED`:: At least one of the sockets is not open. `NNG_ENOMEM`:: Insufficient memory is available. `NNG_EINVAL`:: The sockets are not compatible, or are both invalid. == SEE ALSO +[.text-left] <<nng_options.5#,nng_options(5)>>, <<nng_socket.5#,nng_socket(5)>>, <<nng.7#,nng(7)>> |
