# window_pane_update_used_data

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window.c#L1851
- **Page:** https://libtmux.org/en/tmux/latest/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/latest/reference/c-function-control-c-control_append_data/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/control.c#L649)
- [`control_write_output`](/en/tmux/latest/reference/c-function-control_write_output/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/control.c#L499)
- [`input_parse_pane`](/en/tmux/latest/reference/c-function-input_parse_pane/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L1021)
- [`window_pane_read_callback`](/en/tmux/latest/reference/c-function-window-c-window_pane_read_callback/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window.c#L1153)

## Referenced declarations

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