# control_check_subs_all_windows_one

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/control.c#L1008
- **Page:** https://libtmux.org/en/tmux/3.7c/reference/c-function-control-c-control_check_subs_all_windows_one/

```c
static void control_check_subs_all_windows_one(struct client *c, struct control_sub *csub, struct format_tree *ft, struct winlink *wl)
```

## Parameters

- `c` (`struct client *`)
- `csub` (`struct control_sub *`)
- `ft` (`struct format_tree *`)
- `wl` (`struct winlink *`)

## Called by

- [`control_check_subs_timer`](/en/tmux/3.7c/reference/c-function-control-c-control_check_subs_timer/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/control.c#L1129)

## Calls

- [`control_write`](/en/tmux/3.7c/reference/c-function-control_write/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/control.c#L1033)
- [`format_expand`](/en/tmux/3.7c/reference/c-function-format_expand/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/control.c#L1016)
- [`xcalloc`](/en/tmux/3.7c/reference/c-function-xcalloc/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/control.c#L1023)

## Referenced declarations

- [`client`](/en/tmux/3.7c/reference/c-struct-client/) (struct)
- [`control_sub`](/en/tmux/3.7c/reference/c-struct-control_sub/) (struct)
- [`control_sub.format`](/en/tmux/3.7c/reference/c-struct-control_sub-format/) (attribute)
- [`format_tree`](/en/tmux/3.7c/reference/c-struct-format_tree/) (struct)
- [`session.id`](/en/tmux/3.7c/reference/c-struct-session-id/) (attribute)
- [`window.id`](/en/tmux/3.7c/reference/c-struct-window-id/) (attribute)
- [`control_sub_window.idx`](/en/tmux/3.7c/reference/c-struct-control_sub_window-idx/) (attribute)
- [`winlink.idx`](/en/tmux/3.7c/reference/c-struct-winlink-idx/) (attribute)
- [`control_sub_window.last`](/en/tmux/3.7c/reference/c-struct-control_sub_window-last/) (attribute)
- [`control_sub.name`](/en/tmux/3.7c/reference/c-struct-control_sub-name/) (attribute)
- [`client.session`](/en/tmux/3.7c/reference/c-struct-client-session/) (attribute)
- [`control_sub_window.window`](/en/tmux/3.7c/reference/c-struct-control_sub_window-window/) (attribute)
- [`winlink.window`](/en/tmux/3.7c/reference/c-struct-winlink-window/) (attribute)
- [`control_sub.windows`](/en/tmux/3.7c/reference/c-struct-control_sub-windows/) (attribute)
- [`winlink`](/en/tmux/3.7c/reference/c-struct-winlink/) (struct)
