# cmd_parse_from_string

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

```c
struct cmd_parse_result * cmd_parse_from_string(const char *, struct cmd_parse_input *)
```

## Parameters

- `` (`const char *`)
- `` (`struct cmd_parse_input *`)

## Called by

- [`cmd_bind_key_exec`](/en/tmux/3.2a/reference/c-function-cmd-bind-key-c-cmd_bind_key_exec/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-bind-key.c#L70)
- [`cmd_if_shell_callback`](/en/tmux/3.2a/reference/c-function-cmd-if-shell-c-cmd_if_shell_callback/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-if-shell.c#L166)
- [`key_bindings_init`](/en/tmux/3.2a/reference/c-function-key_bindings_init/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/key-bindings.c#L633)
- [`options_array_set`](/en/tmux/3.2a/reference/c-function-options_array_set/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/options.c#L443)
- [`window_customize_set_command_callback`](/en/tmux/3.2a/reference/c-function-window-customize-c-window_customize_set_command_callback/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-customize.c#L1186)

## Referenced declarations

- [`cmd_parse_input`](/en/tmux/3.2a/reference/c-struct-cmd_parse_input/) (struct)
- [`cmd_parse_result`](/en/tmux/3.2a/reference/c-struct-cmd_parse_result/) (struct)
