# control_check_subs_timer

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

```c
static void control_check_subs_timer(int fd, short events, void *data)
```

## Parameters

- `fd` (`int`)
- `events` (`short`)
- `data` (`void *`)

## Calls

- [`control_check_subs_all_panes_one`](/en/tmux/latest/reference/c-function-control-c-control_check_subs_all_panes_one/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/control.c#L1113)
- [`control_check_subs_all_windows_one`](/en/tmux/latest/reference/c-function-control-c-control_check_subs_all_windows_one/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/control.c#L1129)
- [`control_check_subs_pane`](/en/tmux/latest/reference/c-function-control-c-control_check_subs_pane/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/control.c#L1092)
- [`control_check_subs_session`](/en/tmux/latest/reference/c-function-control-c-control_check_subs_session/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/control.c#L1083)
- [`control_check_subs_window`](/en/tmux/latest/reference/c-function-control-c-control_check_subs_window/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/control.c#L1095)
- [`format_create_defaults`](/en/tmux/latest/reference/c-function-format_create_defaults/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/control.c#L1080)
- [`format_free`](/en/tmux/latest/reference/c-function-format_free/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/control.c#L1085)
- [`log_debug`](/en/tmux/latest/reference/c-function-log_debug/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/control.c#L1055)

## Referenced by

- [`control_add_sub`](/en/tmux/latest/reference/c-function-control_add_sub/) (function)

## Referenced declarations

- [`__unused`](/en/tmux/latest/reference/c-define-compat-h-__unused/) (constant)
- [`client.control_state`](/en/tmux/latest/reference/c-struct-client-control_state/) (attribute)
- [`CONTROL_SUB_ALL_PANES`](/en/tmux/latest/reference/c-enum-control_sub_type-control_sub_all_panes/) (constant)
- [`CONTROL_SUB_ALL_WINDOWS`](/en/tmux/latest/reference/c-enum-control_sub_type-control_sub_all_windows/) (constant)
- [`CONTROL_SUB_PANE`](/en/tmux/latest/reference/c-enum-control_sub_type-control_sub_pane/) (constant)
- [`CONTROL_SUB_SESSION`](/en/tmux/latest/reference/c-enum-control_sub_type-control_sub_session/) (constant)
- [`CONTROL_SUB_WINDOW`](/en/tmux/latest/reference/c-enum-control_sub_type-control_sub_window/) (constant)
- [`window.panes`](/en/tmux/latest/reference/c-struct-window-panes/) (attribute)
- [`client.session`](/en/tmux/latest/reference/c-struct-client-session/) (attribute)
- [`control_state.subs`](/en/tmux/latest/reference/c-struct-control_state-subs/) (attribute)
- [`control_state.subs_timer`](/en/tmux/latest/reference/c-struct-control_state-subs_timer/) (attribute)
- [`control_sub.type`](/en/tmux/latest/reference/c-struct-control_sub-type/) (attribute)
- [`winlink.window`](/en/tmux/latest/reference/c-struct-winlink-window/) (attribute)
- [`session.windows`](/en/tmux/latest/reference/c-struct-session-windows/) (attribute)
