NNG_INPROC_REGISTER(3)

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

πŸ’– nng_inproc_register(3) β€” NNG Reference Manual πŸ’–

okay bestie, welcome to the glow-up of nng_inproc_register(3), straight out of the NNG Reference Manual. yes we're doing a manpage in group-chat voice. no cap. 🌸


✨ NAME ✨

nng_inproc_register β€” register the inproc transport, the lil function that says "hey, inproc exists, pls acknowledge" πŸŽ€


✨ SYNOPSIS ✨

#include <nng/transport/inproc/inproc.h>

int nng_inproc_register(void);

✨ DESCRIPTION ✨

so nng_inproc_register() does exactly one thing and it does it slayfully: it registers the inproc transport for use. that's it. that's the whole vibe. πŸ‘‘

⚠️ Note ⚠️ this function is deprecated, and it may be removed from a future release. you literally don't need to explicitly register transports anymore. it's giving "we kept the function around out of nostalgia". πŸ’€ please stop calling it, bestie, i'm begging. πŸ™ˆ

✨ RETURN VALUES ✨

  • it hands you back 0 when it succeeds β€” icon behaviour, no notes πŸ’…
  • anything non-zero means it did not succeed. we do not stan. 😭

✨ ERRORS ✨

here's the receipts on what can go wrong:

  • NNG_ENOMEM β€” there isn't enough memory available. your system is broke, not you. 🫢
  • NNG_ENOTSUP β€” the transport is not supported. it's not you, it's the build. πŸ’€

✨ SEE ALSO ✨

go read these when you're done here, they're all main characters:


and that's the whole page, fr fr β€” written up in the NNG Reference Manual, dated 2026-06-30, mwah. 🩷 go register nothing (it's deprecated, remember?) and have the best day ever. periodt. πŸ’–βœ¨πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from