blob: 8b8f33c6b46ec2d82d6963e0c92f23c2590445f2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
## 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]
|