This documentation is for the TIP (development tree) of NNG and may represent unreleased changes or functionality that is experimental, and is subject to change before release. The latest released version is v1.3.2. See the documentation for v1.3.2 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