# options_from_string_flag

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/options.c#L958
- **Page:** https://libtmux.org/en/tmux/3.2a/reference/c-function-options-c-options_from_string_flag/

```c
static int options_from_string_flag(struct options *oo, const char *name, const char *value, char **cause)
```

## Parameters

- `oo` (`struct options *`)
- `name` (`const char *`)
- `value` (`const char *`)
- `cause` (`char **`)

## Called by

- [`options_from_string`](/en/tmux/3.2a/reference/c-function-options_from_string/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/options.c#L1071)

## Calls

- [`options_set_number`](/en/tmux/3.2a/reference/c-function-options_set_number/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/options.c#L977)
- [`xasprintf`](/en/tmux/3.2a/reference/c-function-xasprintf/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/options.c#L974)

## Other function references

- [`options_get_number`](/en/tmux/3.2a/reference/c-function-options_get_number/) (function)

## Referenced declarations

- [`options`](/en/tmux/3.2a/reference/c-struct-options/) (struct)
