NN_STRERROR(3compat)
β¨ NAME β¨
nn_strerror β return message for error (compatible API)
okay so this is the NN_STRERROR(3compat) page from the NNG Reference Manual, and it's lowkey a tiny little legend π
π SYNOPSIS π
#include <nanomsg/nn.h>
const char *nn_strerror(int err);
πΈ DESCRIPTION πΈ
The nn_strerror() function returns a human readable message corresponding to the given error number err. It's literally the translator that turns an error number into something your brain can actually read, bestie β¨
Note π«Ά This function is provided for API compatibility with legacy libnanomsg. Consider using the relevant modern API instead. No cap, it's giving "vintage but still here for you" energy.
π RETURN VALUES π
This function returns the message corresponding to err. That's it. That's the whole vibe π
π ERRORS π
None.
Like... zero errors. Not a single one. Iconic behavior, honestly π
π SEE ALSO π
mwah π this cutie page comes from the NNG Reference Manual and is dated 2026-01-13 β go off, bestie π«Άπ
π¦ where this page comes from
- alpine 3.24: nng-doc 1.11-r0 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms