NNG_AIO_GET_INPUT(3)

πŸ“¦
version 1.12.0 Β· 4 versions
, in ubuntu stonking

πŸ’– 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