# format_cb_client_tty

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L1623
- **Page:** https://libtmux.org/en/tmux/3.7c/reference/c-function-format-c-format_cb_client_tty/

```c
static void * format_cb_client_tty(struct format_tree *ft)
```

## Parameters

- `ft` (`struct format_tree *`)

## Calls

- [`xstrdup`](/en/tmux/3.7c/reference/c-function-xstrdup/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L1626)

## Referenced declarations

- [`format_tree.c`](/en/tmux/3.7c/reference/c-struct-format_tree-c/) (attribute)
- [`format_tree`](/en/tmux/3.7c/reference/c-struct-format_tree/) (struct)
- [`client.ttyname`](/en/tmux/3.7c/reference/c-struct-client-ttyname/) (attribute)
