# cmd_paste_buffer_paste

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-paste-buffer.c#L47
- **Page:** https://libtmux.org/en/tmux/latest/reference/c-function-cmd-paste-buffer-c-cmd_paste_buffer_paste/

```c
static void cmd_paste_buffer_paste(struct window_pane *wp, const char *buf, size_t len)
```

## Parameters

- `wp` (`struct window_pane *`)
- `buf` (`const char *`)
- `len` (`size_t`)

## Called by

- [`cmd_paste_buffer_exec`](/en/tmux/latest/reference/c-function-cmd-paste-buffer-c-cmd_paste_buffer_exec/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-paste-buffer.c#L111)

## Calls

- [`utf8_stravisx`](/en/tmux/latest/reference/c-function-utf8_stravisx/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-paste-buffer.c#L52)

## Referenced declarations

- [`window_pane.event`](/en/tmux/latest/reference/c-struct-window_pane-event/) (attribute)
- [`window_pane`](/en/tmux/latest/reference/c-struct-window_pane/) (struct)
