# options_from_string_check

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

```c
static int options_from_string_check(const struct options_table_entry *oe, const char *value, char **cause)
```

## Parameters

- `oe` (`const struct options_table_entry *`)
- `value` (`const char *`)
- `cause` (`char **`)

## Called by

- [`options_from_string`](/en/tmux/latest/reference/c-function-options_from_string/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/options.c#L1130)

## Calls

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

## Other function references

- [`checkshell`](/en/tmux/latest/reference/c-function-checkshell/) (function)
- [`style_parse`](/en/tmux/latest/reference/c-function-style_parse/) (function)

## Referenced declarations

- [`options_table_entry.flags`](/en/tmux/latest/reference/c-struct-options_table_entry-flags/) (attribute)
- [`grid_default_cell`](/en/tmux/latest/reference/c-variable-grid_default_cell/) (attribute)
- [`options_table_entry.name`](/en/tmux/latest/reference/c-struct-options_table_entry-name/) (attribute)
- [`options_table_entry`](/en/tmux/latest/reference/c-struct-options_table_entry/) (struct)
- [`OPTIONS_TABLE_IS_STYLE`](/en/tmux/latest/reference/c-define-tmux-h-options_table_is_style/) (constant)
- [`options_table_entry.pattern`](/en/tmux/latest/reference/c-struct-options_table_entry-pattern/) (attribute)
