NNG_AIO_GET_OUTPUT(3)

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

✨ NNG_AIO_GET_OUTPUT(3) ✨

okay bestie so this is the NNG Reference Manual page for nng_aio_get_output πŸ’… welcome, sit down, hydrate, let's get into it 🫢


🌸 NAME 🌸

nng_aio_get_output β€” literally just hand you back an output result 😌


πŸŽ€ SYNOPSIS πŸŽ€

#include <nng/nng.h>

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

πŸ¦‹ DESCRIPTION πŸ¦‹

so nng_aio_get_output() returns the output result that lives at index, and that result came from the async operation that's hanging out with aio ✨

what the output params even are β€” like their type and what they mean β€” that's not this function's business, that's decided by whatever specific operation you ran. every operation does its own thing, iykyk πŸ’…

πŸ“ Note if index doesn't map to an output that's actually defined for the operation, or the operation didn't succeed, then the return value is NULL. no output, no problem, just NULL bestie πŸ’€
⚠️ Important it is an error to call this function while the aio is currently being used by an active asynchronous operation. also an error if no operation has been performed using the aio yet. like, there's nothing there, what are you even asking for 😭 periodt.

πŸ’– RETURN VALUES πŸ’–

the *index*th result of the operation, or NULL πŸ’«


πŸ“ ERRORS πŸ“

None. zero. nothing. she simply does not error πŸ‘‘


🌈 SEE ALSO 🌈


and that's the whole page, no cap 🧚 this one was dated 2026-06-30 and it lives under NNG_AIO_GET_OUTPUT(3) in the NNG Reference Manual β€” slay, stan, go read the SEE ALSOs πŸ’œπŸŒΈβœ¨

πŸ“¦ where this page comes from