# control_check_subs_pane

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

```c
static void control_check_subs_pane(struct client *c, struct control_sub *csub)
```

## Parameters

- `c` (`struct client *`)
- `csub` (`struct control_sub *`)

## Called by

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

## Calls

- [`control_write`](/en/tmux/latest/reference/c-function-control_write/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/control.c#L918)
- [`format_create_defaults`](/en/tmux/latest/reference/c-function-format_create_defaults/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/control.c#L899)
- [`format_expand`](/en/tmux/latest/reference/c-function-format_expand/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/control.c#L900)
- [`format_free`](/en/tmux/latest/reference/c-function-format_free/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/control.c#L901)
- [`window_pane_find_by_id`](/en/tmux/latest/reference/c-function-window_pane_find_by_id/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/control.c#L890)
- [`xcalloc`](/en/tmux/latest/reference/c-function-xcalloc/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/control.c#L908)

## Referenced declarations

- [`client`](/en/tmux/latest/reference/c-struct-client/) (struct)
- [`control_sub`](/en/tmux/latest/reference/c-struct-control_sub/) (struct)
- [`window_pane.fd`](/en/tmux/latest/reference/c-struct-window_pane-fd/) (attribute)
- [`control_sub.format`](/en/tmux/latest/reference/c-struct-control_sub-format/) (attribute)
- [`control_sub.id`](/en/tmux/latest/reference/c-struct-control_sub-id/) (attribute)
- [`session.id`](/en/tmux/latest/reference/c-struct-session-id/) (attribute)
- [`window_pane.id`](/en/tmux/latest/reference/c-struct-window_pane-id/) (attribute)
- [`window.id`](/en/tmux/latest/reference/c-struct-window-id/) (attribute)
- [`control_sub_pane.idx`](/en/tmux/latest/reference/c-struct-control_sub_pane-idx/) (attribute)
- [`winlink.idx`](/en/tmux/latest/reference/c-struct-winlink-idx/) (attribute)
- [`control_sub_pane.last`](/en/tmux/latest/reference/c-struct-control_sub_pane-last/) (attribute)
- [`control_sub.name`](/en/tmux/latest/reference/c-struct-control_sub-name/) (attribute)
- [`control_sub_pane.pane`](/en/tmux/latest/reference/c-struct-control_sub_pane-pane/) (attribute)
- [`control_sub.panes`](/en/tmux/latest/reference/c-struct-control_sub-panes/) (attribute)
- [`client.session`](/en/tmux/latest/reference/c-struct-client-session/) (attribute)
- [`winlink.session`](/en/tmux/latest/reference/c-struct-winlink-session/) (attribute)
- [`window_pane.window`](/en/tmux/latest/reference/c-struct-window_pane-window/) (attribute)
- [`window.winlinks`](/en/tmux/latest/reference/c-struct-window-winlinks/) (attribute)
