# cmd_list_append

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

```c
void cmd_list_append(struct cmd_list *cmdlist, struct cmd *cmd)
```

## Parameters

- `cmdlist` (`struct cmd_list *`)
- `cmd` (`struct cmd *`)

## Referenced by

- [`tty_cmd_erasecharacter`](/en/tmux/3.2a/reference/c-function-tty_cmd_erasecharacter/) (function)

## Referenced declarations

- [`cmd`](/en/tmux/3.2a/reference/c-struct-cmd/) (struct)
- [`cmd_list`](/en/tmux/3.2a/reference/c-struct-cmd_list/) (struct)
- [`cmd_list.group`](/en/tmux/3.2a/reference/c-struct-cmd_list-group/) (attribute)
- [`cmd.group`](/en/tmux/3.2a/reference/c-struct-cmd-group/) (attribute)
- [`cmd_list.list`](/en/tmux/3.2a/reference/c-struct-cmd_list-list/) (attribute)
