NNG_TLS_REGISTER(3)
β¨ NNG_TLS_REGISTER β¨
okay bestie, so this is page three of the NNG Reference Manual, and it's literally just one tiny function that does one tiny iconic thing. no cap.
π NAME π
nng_tls_register β register the tls transport π
πΈ SYNOPSIS πΈ
#include <nng/transport/tls/tls.h>
int nng_tls_register(void);
like, that's it. one include, one function, zero args. serve.
π¦ DESCRIPTION π¦
So nng_tls_register() does exactly one thing and it does it flawlessly: it registers the tls transport for use. that's the whole job. it's giving "one task, main character energy" π«Ά
π RETURN VALUES π
- returns
0when everything slays β¨ - returns non-zero when it does not slay π
π ERRORS π
okay so if it's not giving 0, it's giving one of these:
NNG_ENOMEMβ insufficient memory is available. the vibes ran out of RAM, basically πNNG_ENOTSUPβ the transport is not supported. this platform said "not me" π
π SEE ALSO π
go read those too, they're lowkey required reading, iykyk π
and that's the whole page fr fr π that was NNG_TLS_REGISTER from the NNG Reference Manual, dated 2026-06-30. 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