# window_pane_get_new_data

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

```c
void * window_pane_get_new_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#L628)
- [`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#L490)
- [`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#L950)
- [`server_client_check_pane_buffer`](/en/tmux/3.2a/reference/c-function-server-client-c-server_client_check_pane_buffer/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/server-client.c#L1559)
- [`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#L945)

## 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)
