# window_copy_copy_pipe

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

```c
static void window_copy_copy_pipe(struct window_mode_entry *, struct session *, const char *, const char *)
```

## Parameters

- `wme` (`struct window_mode_entry *`)
- `s` (`struct session *`)
- `prefix` (`const char *`)
- `cmd` (`const char *`)

## Called by

- [`window_copy_cmd_copy_pipe_no_clear`](/en/tmux/3.2a/reference/c-function-window-copy-c-window_copy_cmd_copy_pipe_no_clear/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L1878)

## Calls

- [`window_copy_copy_buffer`](/en/tmux/3.2a/reference/c-function-window-copy-c-window_copy_copy_buffer/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L4128)
- [`window_copy_pipe_run`](/en/tmux/3.2a/reference/c-function-window-copy-c-window_copy_pipe_run/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L4126)

## Referenced declarations

- [`session`](/en/tmux/3.2a/reference/c-struct-session/) (struct)
- [`window_mode_entry`](/en/tmux/3.2a/reference/c-struct-window_mode_entry/) (struct)
