# cmd_list_new

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

```c
struct cmd_list * cmd_list_new(void)
```

## Calls

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

## Referenced by

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

## Referenced declarations

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