# format_printf

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

```c
static char * format_printf(const char *fmt,...)
```

## Parameters

- `fmt` (`const char *`)
- `` (`...`)

## Called by

- [`format_cb_active_window_index`](/en/tmux/3.7c/reference/c-function-format-c-format_cb_active_window_index/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L2718)
- [`format_cb_alternate_saved_x`](/en/tmux/3.7c/reference/c-function-format-c-format_cb_alternate_saved_x/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L1389)
- [`format_cb_alternate_saved_y`](/en/tmux/3.7c/reference/c-function-format-c-format_cb_alternate_saved_y/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L1398)
- [`format_cb_buffer_size`](/en/tmux/3.7c/reference/c-function-format-c-format_cb_buffer_size/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L1455)
- [`format_cb_client_cell_height`](/en/tmux/3.7c/reference/c-function-format-c-format_cb_client_cell_height/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L1465)
- [`format_cb_client_cell_width`](/en/tmux/3.7c/reference/c-function-format-c-format_cb_client_cell_width/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L1474)
- [`format_cb_client_discarded`](/en/tmux/3.7c/reference/c-function-format-c-format_cb_client_discarded/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L1495)
- [`format_cb_client_height`](/en/tmux/3.7c/reference/c-function-format-c-format_cb_client_height/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L1513)
- [`format_cb_client_pid`](/en/tmux/3.7c/reference/c-function-format-c-format_cb_client_pid/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L1551)
- [`format_cb_client_uid`](/en/tmux/3.7c/reference/c-function-format-c-format_cb_client_uid/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L1639)
- [`format_cb_client_width`](/en/tmux/3.7c/reference/c-function-format-c-format_cb_client_width/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L1680)
- [`format_cb_client_written`](/en/tmux/3.7c/reference/c-function-format-c-format_cb_client_written/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L1689)
- [`format_cb_cursor_x`](/en/tmux/3.7c/reference/c-function-format-c-format_cb_cursor_x/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L1778)
- [`format_cb_cursor_y`](/en/tmux/3.7c/reference/c-function-format-c-format_cb_cursor_y/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L1787)
- [`format_cb_history_limit`](/en/tmux/3.7c/reference/c-function-format-c-format_cb_history_limit/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L1808)
- [`format_cb_history_size`](/en/tmux/3.7c/reference/c-function-format-c-format_cb_history_size/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L1817)
- [`format_cb_last_window_index`](/en/tmux/3.7c/reference/c-function-format-c-format_cb_last_window_index/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L2730)
- [`format_cb_mouse_pane`](/en/tmux/3.7c/reference/c-function-format-c-format_cb_mouse_pane/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L1911)
- [`format_cb_mouse_x`](/en/tmux/3.7c/reference/c-function-format-c-format_cb_mouse_x/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L1964)
- [`format_cb_mouse_y`](/en/tmux/3.7c/reference/c-function-format-c-format_cb_mouse_y/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L1985)
- [`format_cb_next_session_id`](/en/tmux/3.7c/reference/c-function-format-c-format_cb_next_session_id/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L1999)
- [`format_cb_pane_bottom`](/en/tmux/3.7c/reference/c-function-format-c-format_cb_pane_bottom/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L2069)
- [`format_cb_pane_dead_signal`](/en/tmux/3.7c/reference/c-function-format-c-format_cb_pane_dead_signal/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L2097)
- [`format_cb_pane_dead_status`](/en/tmux/3.7c/reference/c-function-format-c-format_cb_pane_dead_status/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L2112)
- [`format_cb_pane_height`](/en/tmux/3.7c/reference/c-function-format-c-format_cb_pane_height/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L2146)
- [`format_cb_pane_id`](/en/tmux/3.7c/reference/c-function-format-c-format_cb_pane_id/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L2155)
- [`format_cb_pane_index`](/en/tmux/3.7c/reference/c-function-format-c-format_cb_pane_index/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L2166)
- [`format_cb_pane_left`](/en/tmux/3.7c/reference/c-function-format-c-format_cb_pane_left/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L2228)
- [`format_cb_pane_pid`](/en/tmux/3.7c/reference/c-function-format-c-format_cb_pane_pid/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L2288)
- [`format_cb_pane_right`](/en/tmux/3.7c/reference/c-function-format-c-format_cb_pane_right/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L2354)
- [`format_cb_pane_top`](/en/tmux/3.7c/reference/c-function-format-c-format_cb_pane_top/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L2396)
- [`format_cb_pane_width`](/en/tmux/3.7c/reference/c-function-format-c-format_cb_pane_width/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L2414)
- [`format_cb_pane_x`](/en/tmux/3.7c/reference/c-function-format-c-format_cb_pane_x/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L2423)
- [`format_cb_pane_y`](/en/tmux/3.7c/reference/c-function-format-c-format_cb_pane_y/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L2432)
- [`format_cb_pane_z`](/en/tmux/3.7c/reference/c-function-format-c-format_cb_pane_z/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L2443)
- [`format_cb_scroll_region_lower`](/en/tmux/3.7c/reference/c-function-format-c-format_cb_scroll_region_lower/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L2466)
- [`format_cb_scroll_region_upper`](/en/tmux/3.7c/reference/c-function-format-c-format_cb_scroll_region_upper/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L2475)
- [`format_cb_server_sessions`](/en/tmux/3.7c/reference/c-function-format-c-format_cb_server_sessions/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L2488)
- [`format_cb_session_attached`](/en/tmux/3.7c/reference/c-function-format-c-format_cb_session_attached/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L2556)
- [`format_cb_session_group_attached`](/en/tmux/3.7c/reference/c-function-format-c-format_cb_session_group_attached/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L2587)
- [`format_cb_session_group_size`](/en/tmux/3.7c/reference/c-function-format-c-format_cb_session_group_size/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L2612)
- [`format_cb_session_id`](/en/tmux/3.7c/reference/c-function-format-c-format_cb_session_id/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L2633)
- [`format_cb_session_windows`](/en/tmux/3.7c/reference/c-function-format-c-format_cb_session_windows/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L2684)
- [`format_cb_uid`](/en/tmux/3.7c/reference/c-function-format-c-format_cb_uid/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L3146)
- [`format_cb_window_cell_height`](/en/tmux/3.7c/reference/c-function-format-c-format_cb_window_cell_height/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L2790)
- [`format_cb_window_cell_width`](/en/tmux/3.7c/reference/c-function-format-c-format_cb_window_cell_width/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L2799)
- [`format_cb_window_height`](/en/tmux/3.7c/reference/c-function-format-c-format_cb_window_height/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L2838)
- [`format_cb_window_id`](/en/tmux/3.7c/reference/c-function-format-c-format_cb_window_id/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L2847)
- [`format_cb_window_index`](/en/tmux/3.7c/reference/c-function-format-c-format_cb_window_index/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L2856)
- [`format_cb_window_linked_sessions`](/en/tmux/3.7c/reference/c-function-format-c-format_cb_window_linked_sessions/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L2919)
- [`format_cb_window_name`](/en/tmux/3.7c/reference/c-function-format-c-format_cb_window_name/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L2939)
- [`format_cb_window_offset_x`](/en/tmux/3.7c/reference/c-function-format-c-format_cb_window_offset_x/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L2951)
- [`format_cb_window_offset_y`](/en/tmux/3.7c/reference/c-function-format-c-format_cb_window_offset_y/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L2965)
- [`format_cb_window_panes`](/en/tmux/3.7c/reference/c-function-format-c-format_cb_window_panes/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L2976)
- [`format_cb_window_width`](/en/tmux/3.7c/reference/c-function-format-c-format_cb_window_width/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L3018)

## Calls

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