# cmd_parse_from_buffer

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

```c
struct cmd_parse_result * cmd_parse_from_buffer(const void *, size_t, struct cmd_parse_input *)
```

## Parameters

- `` (`const void *`)
- `` (`size_t`)
- `` (`struct cmd_parse_input *`)

## Called by

- [`load_cfg_from_buffer`](/en/tmux/latest/reference/c-function-load_cfg_from_buffer/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cfg.c#L176)

## 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)
