# options_from_string_flag

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/options.c#L1036
- **Page:** https://libtmux.org/en/tmux/3.7c/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.7c/reference/c-function-options_from_string/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/options.c#L1161)

## Calls

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

## Other function references

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

## Referenced declarations

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