# control_check_subs_timer

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/control.c#L1035
- **Page:** https://libtmux.org/en/tmux/3.2a/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`](/en/tmux/3.2a/reference/c-function-control-c-control_check_subs_all_panes/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/control.c#L1054)
- [`control_check_subs_all_windows`](/en/tmux/3.2a/reference/c-function-control-c-control_check_subs_all_windows/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/control.c#L1060)
- [`control_check_subs_pane`](/en/tmux/3.2a/reference/c-function-control-c-control_check_subs_pane/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/control.c#L1051)
- [`control_check_subs_session`](/en/tmux/3.2a/reference/c-function-control-c-control_check_subs_session/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/control.c#L1048)
- [`control_check_subs_window`](/en/tmux/3.2a/reference/c-function-control-c-control_check_subs_window/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/control.c#L1057)
- [`log_debug`](/en/tmux/3.2a/reference/c-function-log_debug/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/control.c#L1042)

## Referenced by

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

## Referenced declarations

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