# format_cb_window_linked_sessions

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

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

## Parameters

- `ft` (`struct format_tree *`)

## Calls

- [`format_printf`](/en/tmux/latest/reference/c-function-format-c-format_printf/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L2919)
- [`session_group_contains`](/en/tmux/latest/reference/c-function-session_group_contains/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L2914)
- [`winlink_find_by_window`](/en/tmux/latest/reference/c-function-winlink_find_by_window/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L2910)

## Referenced declarations

- [`format_tree`](/en/tmux/latest/reference/c-struct-format_tree/) (struct)
- [`session_group.sessions`](/en/tmux/latest/reference/c-struct-session_group-sessions/) (attribute)
- [`winlink.window`](/en/tmux/latest/reference/c-struct-winlink-window/) (attribute)
- [`session.windows`](/en/tmux/latest/reference/c-struct-session-windows/) (attribute)
- [`format_tree.wl`](/en/tmux/latest/reference/c-struct-format_tree-wl/) (attribute)
