# cmd_capture_pane_pending

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-capture-pane.c#L75
- **Page:** https://libtmux.org/en/tmux/3.2a/reference/c-function-cmd-capture-pane-c-cmd_capture_pane_pending/

```c
static char * cmd_capture_pane_pending(struct args *, struct window_pane *, size_t *)
```

## Parameters

- `args` (`struct args *`)
- `wp` (`struct window_pane *`)
- `len` (`size_t *`)

## Called by

- [`cmd_capture_pane_exec`](/en/tmux/3.2a/reference/c-function-cmd-capture-pane-c-cmd_capture_pane_exec/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-capture-pane.c#L210)

## Calls

- [`args_has`](/en/tmux/3.2a/reference/c-function-args_has/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-capture-pane.c#L91)
- [`cmd_capture_pane_append`](/en/tmux/3.2a/reference/c-function-cmd-capture-pane-c-cmd_capture_pane_append/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-capture-pane.c#L98)
- [`input_pending`](/en/tmux/3.2a/reference/c-function-input_pending/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-capture-pane.c#L83)
- [`xsnprintf`](/en/tmux/3.2a/reference/c-function-xsnprintf/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-capture-pane.c#L97)
- [`xstrdup`](/en/tmux/3.2a/reference/c-function-xstrdup/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-capture-pane.c#L85)

## Referenced declarations

- [`args`](/en/tmux/3.2a/reference/c-struct-args/) (struct)
- [`window_pane.ictx`](/en/tmux/3.2a/reference/c-struct-window_pane-ictx/) (attribute)
- [`window_pane`](/en/tmux/3.2a/reference/c-struct-window_pane/) (struct)
