# options_array_first

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

```c
struct options_array_item * options_array_first(struct options_entry *o)
```

## Parameters

- `o` (`struct options_entry *`)

## Called by

- [`cmd_get_alias`](/en/tmux/3.7c/reference/c-function-cmd_get_alias/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd.c#L442)
- [`cmd_show_options_print`](/en/tmux/3.7c/reference/c-function-cmd-show-options-c-cmd_show_options_print/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-show-options.c#L161)
- [`cmdq_insert_hook`](/en/tmux/3.7c/reference/c-function-cmdq_insert_hook/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-queue.c#L428)
- [`environ_update`](/en/tmux/3.7c/reference/c-function-environ_update/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/environ.c#L197)
- [`notify_insert_hook`](/en/tmux/3.7c/reference/c-function-notify-c-notify_insert_hook/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/notify.c#L111)
- [`status_prompt_complete_list`](/en/tmux/3.7c/reference/c-function-status-c-status_prompt_complete_list/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/status.c#L1876)
- [`tty_keys_build`](/en/tmux/3.7c/reference/c-function-tty_keys_build/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty-keys.c#L535)
- [`tty_term_apply_overrides`](/en/tmux/3.7c/reference/c-function-tty_term_apply_overrides/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty-term.c#L450)
- [`tty_term_create`](/en/tmux/3.7c/reference/c-function-tty_term_create/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty-term.c#L591)
- [`utf8_update_width_cache`](/en/tmux/3.7c/reference/c-function-utf8_update_width_cache/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/utf8.c#L426)
- [`window_customize_build_array`](/en/tmux/3.7c/reference/c-function-window-customize-c-window_customize_build_array/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-customize.c#L243)

## Referenced by

- [`cmd_show_options_all`](/en/tmux/3.7c/reference/c-function-cmd-show-options-c-cmd_show_options_all/) (function)
- [`colour_palette_from_option`](/en/tmux/3.7c/reference/c-function-colour_palette_from_option/) (function)

## Referenced declarations

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