# window_pane_update_used_data

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window.c#L1581
- **Page:** https://libtmux.org/en/tmux/3.2a/reference/c-function-window_pane_update_used_data/

```c
void window_pane_update_used_data(struct window_pane *wp, struct window_pane_offset *wpo, size_t size)
```

## Parameters

- `wp` (`struct window_pane *`)
- `wpo` (`struct window_pane_offset *`)
- `size` (`size_t`)

## Called by

- [`control_append_data`](/en/tmux/3.2a/reference/c-function-control-c-control_append_data/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/control.c#L637)
- [`control_write_output`](/en/tmux/3.2a/reference/c-function-control_write_output/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/control.c#L493)
- [`input_parse_pane`](/en/tmux/3.2a/reference/c-function-input_parse_pane/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/input.c#L952)
- [`window_pane_read_callback`](/en/tmux/3.2a/reference/c-function-window-c-window_pane_read_callback/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window.c#L948)

## Referenced by

- [`server_client_push_stderr`](/en/tmux/3.2a/reference/c-function-server_client_push_stderr/) (function)

## Referenced declarations

- [`window_pane_offset.used`](/en/tmux/3.2a/reference/c-struct-window_pane_offset-used/) (attribute)
- [`window_pane`](/en/tmux/3.2a/reference/c-struct-window_pane/) (struct)
- [`window_pane_offset`](/en/tmux/3.2a/reference/c-struct-window_pane_offset/) (struct)
- [`window_pane_input_data.wp`](/en/tmux/3.2a/reference/c-struct-window_pane_input_data-wp/) (attribute)
