NNG_AIO_GET_INPUT(3)
π NNG_AIO_GET_INPUT(3) π
okay bestie, welcome to the NNG Reference Manual β¨ this is the nng_aio_get_input page and honestly? she's a short one but she's iconic. no cap.
πΈ NAME πΈ
nng_aio_get_input β return input parameter
β¨ SYNOPSIS β¨
#include <nng/nng.h>
void *nng_aio_get_input(nng_aio *aio, unsigned int index);
π¦ DESCRIPTION π¦
So the whole vibe of nng_aio_get_input() is: it hands you back the value of the input parameter that you already set at index on aio, using the nng_aio_set_input() function. like, you put it there earlier, now you're asking for it back. retrieval era π
now the tea on index β the valid values range from zero (0) to three (3). why? because no operation currently defined can accept more than four parameters, and she's not gonna pretend otherwise. (this limit could increase in the future, so don't get too comfy, it's giving for now.)
and if the index you supply is outside of that range, or if the input parameter was not previously set? then NULL is returned. that's it, that's the whole story. π
π RETURN VALUES π
- the value previously set, or
NULL
π ERRORS π
- None. literally none. flawless, no notes, zero drama β¨
π₯ SEE ALSO π₯
and that's the whole page, bestie π«Ά go set some inputs and get them back, you're gonna slay. this cutie was brought to you by the NNG Reference Manual, dated 2026-06-30, filed under NNG_AIO_GET_INPUT(3). periodt π
π
π¦ where this page comes from
- ubuntu stonking: libnng-dev 1.12.0-1 Β· MIT OR Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms