# cmdq_get_name

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-queue.c#L145
- **Page:** https://libtmux.org/en/tmux/3.7c/reference/c-function-cmdq_get_name/

```c
const char * cmdq_get_name(struct cmdq_item *item)
```

## Parameters

- `item` (`struct cmdq_item *`)

## Called by

- [`spawn_log`](/en/tmux/3.7c/reference/c-function-spawn-c-spawn_log/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/spawn.c#L57)

## Referenced by

- [`cmd_parse_from_arguments`](/en/tmux/3.7c/reference/c-function-cmd_parse_from_arguments/) (function)

## Referenced declarations

- [`cmdq_item`](/en/tmux/3.7c/reference/c-struct-cmdq_item/) (struct)
- [`cmdq_list.item`](/en/tmux/3.7c/reference/c-struct-cmdq_list-item/) (attribute)
- [`cmdq_item.name`](/en/tmux/3.7c/reference/c-struct-cmdq_item-name/) (attribute)
