---
name: "nng_stat_desc"
section: "3"
platform: "linux"
package: "libnng-dev"
version: "1.10.1-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/nng_stat_desc"
---

# nng\_stat\_desc(3)

get statistic description

## NAME

nng\_stat\_desc - get statistic description

## SYNOPSIS

```
#include <nng/nng.h>
typedef struct nng_stat nng_stat;
const char *nng_stat_desc(nng_stat *stat);
```

## DESCRIPTION

The `nng_stat_desc()` function returns a brief, human-readable description for the statistic *stat*.

**Tip**\

This description can be used for a tool-tip in user interfaces displaying these statistic values.

**Note**\

At this time, only English descriptions are provided.

## RETURN VALUES

The description of statistic *stat*.

## ERRORS

None.

## SEE ALSO

[libnng(3)](/libnng/3.md), nng\_stats\_name(3), [nng\_stats\_get(3)](/nng_stats_get/3.md), [nng\_stat(5)](/nng_stat/5.md), [nng(7)](/nng/7.md)
