From 86b4524b10b6e9eace01374ce138f8db81c6f3b9 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Wed, 8 Oct 2025 18:26:51 -0700 Subject: Minor doc fixups. --- docs/ref/api/args.md | 6 +++--- docs/ref/api/errors.md | 2 +- docs/ref/api/stream.md | 2 +- docs/ref/xref.md | 1 + 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/docs/ref/api/args.md b/docs/ref/api/args.md index a40cef94..9b12de9d 100644 --- a/docs/ref/api/args.md +++ b/docs/ref/api/args.md @@ -60,9 +60,9 @@ returned. This function may return the following errors: -- [`NNG_ARG_AMBIGU`]: Parsed option matches more than one specification. -- [`NNG_ARG_MISSING`]: Option requires an argument, but one is not present. -- [`NNG_ARG_INVAL`]: An invalid (unknown) argument is present in _argv_. +- `NNG_ARG_AMBIG`: Parsed option matches more than one specification. +- `NNG_ARG_MISSING`: Option requires an argument, but one is not present. +- `NNG_ARG_INVAL`: An invalid (unknown) argument is present in _argv_. ### Option Specification diff --git a/docs/ref/api/errors.md b/docs/ref/api/errors.md index 5d59d121..b134a645 100644 --- a/docs/ref/api/errors.md +++ b/docs/ref/api/errors.md @@ -75,7 +75,7 @@ future locale-specific strings may be presented instead. | `NNG_EPEERAUTH` | 27 | Peer could not be authenticated. | | `NNG_EBADTYPE` | 30 | Incorrect type. A type-specific function was used for an object of the wrong type. | | `NNG_ECONNSHUT` | 31 | Connection shutdown. The connection was shut down and cannot be used. | -| `NNG_ESTOPPED` | 1000 | Operation stopped. The operation was stopped with [`nng_aio_stop`] or [`nng_aio_close`]. | +| `NNG_ESTOPPED` | 1000 | Operation stopped. The operation was stopped with [`nng_aio_stop`]. | | `NNG_EINTERNAL` | 1000 | An unidentifier internal error occurred. | | `NNG_ESYSERR` | 0x10000000 - 0x1FFFFFFF | An unidentified system error occurred. These are errors reported by the operating system. | | `NNG_ETRANERR` | 0x20000000 - 0x2FFFFFFF | An unidentified transport error occurred. | diff --git a/docs/ref/api/stream.md b/docs/ref/api/stream.md index a2427a70..38c6adb8 100644 --- a/docs/ref/api/stream.md +++ b/docs/ref/api/stream.md @@ -36,7 +36,7 @@ The {{i:`nng_stream_send`}} function starts sending data asynchronously over the The data is sent from the scatter/gather vector located in the [`nng_aio`] _aio_, which must have been previously set using [`nng_aio_set_iov`]. -The {{i:`nng_stream_recv`}} function starts receiving data [asynchronously over the stream _s_ +The {{i:`nng_stream_recv`}} function starts receiving data asynchronously over the stream _s_ into the scatter/gather vector located in the [`nng_aio`] _aio_, which must have been previously set using [`nng_aio_set_iov`]. diff --git a/docs/ref/xref.md b/docs/ref/xref.md index f45cb7d1..8fbea3ce 100644 --- a/docs/ref/xref.md +++ b/docs/ref/xref.md @@ -498,3 +498,4 @@ [error]: ../api/errors.md [duration]: ../api/time.md#duration-type [polyamorous]: ../proto/pair.md#polyamorous-mode +[libnanomsg]: https://github.com/nanomsg/nanomsg -- cgit v1.2.3-70-g09d2