NNG_AIO_SET_MSG(3)
β¨ NAME β¨
okay bestie, welcome to nng_aio_set_msg β it's from the NNG Reference Manual, section 3 of the manual pages. It sets the message for an asynchronous send. that's the whole job. she's a one-trick pony and she EATS every time π
πΈ SYNOPSIS πΈ
like, here's the whole entire vibe:
#include <nng/nng.h>
void nng_aio_set_msg(nng_aio *aio, nng_msg *msg);
no return value, no drama, just vibes β¨
π DESCRIPTION π
sooo nng_aio_set_msg() sets the message that's gonna be used for an asynchronous send operation π if you wanna see the whole send situation she's feeding into, go peek at nng_send_aio().
π¨ Important, and I mean it, no cap: the nng_aio must not have an operation in progress. like, do NOT do this while she's busy. she is not multitasking and she does not want to be. wait your turn, bestie π
π RETURN VALUES π
None. literally nothing. she gives you silence and it's iconic for her π
π¦ ERRORS π¦
None. zero. no notes. flawless behaviour fr fr π
β SEE ALSO β
the girlies you should also be reading, in no particular order of slay:
that's the page, bestie π«Ά go forth and set your messages, and remember she is not to be touched mid-operation. this cutie was documented 2026-06-30, and she's part of the NNG Reference Manual β NNG_AIO_SET_MSG(3) forever and always ππ
π¦ 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