# cmd_list_any_have

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

```c
int cmd_list_any_have(struct cmd_list *cmdlist, int flag)
```

## Parameters

- `cmdlist` (`struct cmd_list *`)
- `flag` (`int`)

## Referenced by

- [`client_main`](/en/tmux/latest/reference/c-function-client_main/) (function)

## Referenced declarations

- [`cmd_list`](/en/tmux/latest/reference/c-struct-cmd_list/) (struct)
- [`cmd.entry`](/en/tmux/latest/reference/c-struct-cmd-entry/) (attribute)
- [`cmd_entry.flags`](/en/tmux/latest/reference/c-struct-cmd_entry-flags/) (attribute)
- [`cmd_list.list`](/en/tmux/latest/reference/c-struct-cmd_list-list/) (attribute)
- [`cmd.qentry`](/en/tmux/latest/reference/c-struct-cmd-qentry/) (attribute)
