# control_vwrite

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

```c
static void control_vwrite(struct client *c, const char *fmt, va_list ap)
```

## Parameters

- `c` (`struct client *`)
- `fmt` (`const char *`)
- `ap` (`va_list`)

## Called by

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

## Calls

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

## Referenced declarations

- [`client`](/en/tmux/latest/reference/c-struct-client/) (struct)
- [`control_state.write_event`](/en/tmux/latest/reference/c-struct-control_state-write_event/) (attribute)
