# cmdq_get_flags

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

```c
int cmdq_get_flags(struct cmdq_item *item)
```

## Parameters

- `item` (`struct cmdq_item *`)

## Referenced by

- [`cmd_attach_session`](/en/tmux/latest/reference/c-function-cmd_attach_session/) (function)
- [`cmd_new_session_exec`](/en/tmux/latest/reference/c-function-cmd-new-session-c-cmd_new_session_exec/) (function)
- [`cmd_parse_from_arguments`](/en/tmux/latest/reference/c-function-cmd_parse_from_arguments/) (function)
- [`cmd_switch_client_exec`](/en/tmux/latest/reference/c-function-cmd-switch-client-c-cmd_switch_client_exec/) (function)
- [`notify_add`](/en/tmux/latest/reference/c-function-notify-c-notify_add/) (function)

## Referenced declarations

- [`cmdq_item`](/en/tmux/latest/reference/c-struct-cmdq_item/) (struct)
- [`cmdq_state.flags`](/en/tmux/latest/reference/c-struct-cmdq_state-flags/) (attribute)
- [`cmdq_item.state`](/en/tmux/latest/reference/c-struct-cmdq_item-state/) (attribute)
