# server_client_how_many

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/server-client.c#L68
- **Page:** https://libtmux.org/en/tmux/3.2a/reference/c-function-server_client_how_many/

```c
u_int server_client_how_many(void)
```

## Called by

- [`cmd_choose_tree_exec`](/en/tmux/3.2a/reference/c-function-cmd-choose-tree-c-cmd_choose_tree_exec/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-choose-tree.c#L97)

## Referenced by

- [`window_client_key`](/en/tmux/3.2a/reference/c-function-window-client-c-window_client_key/) (function)

## Referenced declarations

- [`CLIENT_UNATTACHEDFLAGS`](/en/tmux/3.2a/reference/c-define-tmux-h-client_unattachedflags/) (constant)
- [`client.entry`](/en/tmux/3.2a/reference/c-struct-client-entry/) (attribute)
- [`client.flags`](/en/tmux/3.2a/reference/c-struct-client-flags/) (attribute)
- [`client.session`](/en/tmux/3.2a/reference/c-struct-client-session/) (attribute)
