# cmd_parse_from_file

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

```c
struct cmd_parse_result * cmd_parse_from_file(FILE *, struct cmd_parse_input *)
```

## Parameters

- `` (`FILE *`)
- `` (`struct cmd_parse_input *`)

## Called by

- [`load_cfg`](/en/tmux/3.7c/reference/c-function-load_cfg/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cfg.c#L123)

## Referenced declarations

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