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.8.0. See the documentation for v1.8.0 for the most up-to-date information.

nn_get_statistic(3compat)

NAME

nn_get_statistic - get statistic (stub)

SYNOPSIS

#include <nanomsg/nn.h>

uint64_t nn_get_statistic(int sock, int stat);

DESCRIPTION

The nn_get_statistic() function exists only as a stub, and always returns zero.

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

RETURN VALUES

Zero.

ERRORS

None.

SEE ALSO