# options_parse

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

```c
char * options_parse(const char *name, int *idx)
```

## Parameters

- `name` (`const char *`)
- `idx` (`int *`)

## Called by

- [`options_match`](/en/tmux/3.7c/reference/c-function-options_match/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/options.c#L673)
- [`options_parse_get`](/en/tmux/3.7c/reference/c-function-options_parse_get/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/options.c#L654)

## Calls

- [`xstrdup`](/en/tmux/3.7c/reference/c-function-xstrdup/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/options.c#L630)
