# control_error_callback

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

```c
static void control_error_callback(struct bufferevent *bufev, short what, void *data)
```

## Parameters

- `bufev` (`struct bufferevent *`)
- `what` (`short`)
- `data` (`void *`)

## Referenced by

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

## Referenced declarations

- [`__unused`](/en/tmux/latest/reference/c-define-compat-h-__unused/) (constant)
- [`CLIENT_EXIT`](/en/tmux/latest/reference/c-define-tmux-h-client_exit/) (constant)
- [`client.flags`](/en/tmux/latest/reference/c-struct-client-flags/) (attribute)
