blob: 83d1d86d8eb91a0c289a2682ff491af846f018f7 (
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
|
## nng_aio_get_input
Return input parameter.
### Synopsis
```c
#include <nng/nng.h>
void *nng_aio_get_input(nng_aio *aio, unsigned int index);
```
### Description
The `nng_aio_get_input` function returns the value of the input parameter previously set at _index_ on _aio_ with the xref:../aio/nng_aio_set_input.adoc[`nng_aio_set_input`] function.
The valid values of _index_ range from zero (0) to three (3), as no operation currently defined can accept more than four parameters.
If the index supplied is outside of this range, or of the input parameter was not previously set, then `NULL` is returned.
### Return Values
Value previously set, or `NULL`.
### See Also
xref:../aio/nng_aio_set_input.adoc[nng_aio_set_input],
xref:nng_aio_set_output.adoc[nng_aio_set_output]
|