diff options
Diffstat (limited to 'docs/ref/api')
| -rw-r--r-- | docs/ref/api/aio.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/api/aio.md b/docs/ref/api/aio.md index dcf9aa85..2f7b9a73 100644 --- a/docs/ref/api/aio.md +++ b/docs/ref/api/aio.md @@ -43,7 +43,7 @@ complete, creating a synchronous flow from an asynchronous one. ## Create Handle ```c -int nng_aio_alloc(nng_aio **aiop, void (*callb)(void *), void *arg); +nng_err nng_aio_alloc(nng_aio **aiop, void (*callb)(void *), void *arg); ``` The {{i:`nng_aio_alloc`}} function creates an [`nng_aio`] object, with the |
