This documentation is for version v1.3.2 of NNG, but the latest released version is v1.8.0. see the documentation for v1.8.0 for the most up-to-date information.

nn_strerror(3compat)

NAME

nn_strerror - return message for error (compatible API)

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.

This function is provided for API compatibility with legacy libnanomsg. Consider using the relevant modern API instead.

RETURN VALUES

This function returns the message corresponding to err.

ERRORS

None.

SEE ALSO