summaryrefslogtreecommitdiff
path: root/docs/ref/stat/nng_stat_next.adoc
blob: 09cc24f5bd1e411ecd6d115470820f7eb7005b4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
## nng_stat_next

Get next statistic.

### Synopsis

```c
#include <nng/nng.h>

typedef struct nng_stat nng_stat;

nng_stat *nng_stat_next(nng_stat *stat);
```

### Description

The `nng_stat_next` function returns the next sibling statistic of the
statistic _stat_.
If no more siblings are present, then `NULL` is returned.

### Return Values

The next sibling statistic of _stat_, or NULL if _stat_ is the last sibling.

### See Also

xref:nng_stat_child.adoc[nng_stat_child],
xref:nng_stats_get.adoc[nng_stats_get]