# cmd_parse_from_buffer

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/tmux.h#L2338
- **Page:** https://libtmux.org/en/tmux/3.2a/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/3.2a/reference/c-function-load_cfg_from_buffer/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cfg.c#L180)

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