# cmd_capture_pane_append

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-capture-pane.c#L69
- **Page:** https://libtmux.org/en/tmux/latest/reference/c-function-cmd-capture-pane-c-cmd_capture_pane_append/

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

## Parameters

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

## Called by

- [`cmd_capture_pane_history`](/en/tmux/latest/reference/c-function-cmd-capture-pane-c-cmd_capture_pane_history/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-capture-pane.c#L267)
- [`cmd_capture_pane_hyperlinks`](/en/tmux/latest/reference/c-function-cmd-capture-pane-c-cmd_capture_pane_hyperlinks/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-capture-pane.c#L144)
- [`cmd_capture_pane_pending`](/en/tmux/latest/reference/c-function-cmd-capture-pane-c-cmd_capture_pane_pending/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-capture-pane.c#L102)

## Calls

- [`xrealloc`](/en/tmux/latest/reference/c-function-xrealloc/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-capture-pane.c#L72)
