# cmd_parse_from_string

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tmux.h#L2925
- **Page:** https://libtmux.org/en/tmux/latest/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

- [`args_make_commands`](/en/tmux/latest/reference/c-function-args_make_commands/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/arguments.c#L834)
- [`cmd_bind_key_exec`](/en/tmux/latest/reference/c-function-cmd-bind-key-c-cmd_bind_key_exec/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-bind-key.c#L92)
- [`key_bindings_init`](/en/tmux/latest/reference/c-function-key_bindings_init/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/key-bindings.c#L672)
- [`notify_insert_hook`](/en/tmux/latest/reference/c-function-notify-c-notify_insert_hook/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/notify.c#L99)
- [`options_array_set`](/en/tmux/latest/reference/c-function-options_array_set/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/options.c#L456)
- [`options_default`](/en/tmux/latest/reference/c-function-options_default/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/options.c#L283)
- [`options_from_string`](/en/tmux/latest/reference/c-function-options_from_string/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/options.c#L1165)
- [`window_customize_set_command_callback`](/en/tmux/latest/reference/c-function-window-customize-c-window_customize_set_command_callback/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-customize.c#L1208)

## Referenced declarations

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