## nng_aio_get_output

return output result

### Synopsis

```c
#include <nng/nng.h>

void *nng_aio_get_output(nng_aio *aio, unsigned int index);
```

### Description

The `nng_aio_get_output` function returns the output result at _index_ resulting from the asynchronous operation associated with _aio_.

The type and semantics of output parameters are determined by specific operations.

If the _index_ does not correspond to a defined output for the operation, or the operation did not succeed, then the return value will be `NULL`.

### Return Values

The __index__th result of the operation, or `NULL`.

### See Also

xref:../iop/nng_aio_set_input.adoc[nng_aio_set_input],
xref:nng_aio_result.adoc[nng_aio_result]
