# cmd_capture_pane_append

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

```c
static char * cmd_capture_pane_append(char *, size_t *, char *, size_t)
```

## Parameters

- `buf` (`char *`)
- `len` (`size_t *`)
- `line` (`char *`)
- `linelen` (`size_t`)

## Called by

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

## Calls

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