# options_array_get

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

```c
union options_value * options_array_get(struct options_entry *o, u_int idx)
```

## Parameters

- `o` (`struct options_entry *`)
- `idx` (`u_int`)

## Called by

- [`status_redraw`](/en/tmux/3.2a/reference/c-function-status_redraw/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/status.c#L388)
- [`window_customize_set_option_callback`](/en/tmux/3.2a/reference/c-function-window-customize-c-window_customize_set_option_callback/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-customize.c#L982)

## Referenced by

- [`cmd_set_option_exec`](/en/tmux/3.2a/reference/c-function-cmd-set-option-c-cmd_set_option_exec/) (function)

## Referenced declarations

- [`options_entry`](/en/tmux/3.2a/reference/c-struct-options_entry/) (struct)
- [`OPTIONS_IS_ARRAY`](/en/tmux/3.2a/reference/c-define-options-c-options_is_array/) (constant)
- [`options_value`](/en/tmux/3.2a/reference/c-union-options_value/) (union)
- [`options_array_item.value`](/en/tmux/3.2a/reference/c-struct-options_array_item-value/) (attribute)
