# options_set_number

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

```c
struct options_entry * options_set_number(struct options *oo, const char *name, long long value)
```

## Parameters

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

## Called by

- [`cmd_break_pane_exec`](/en/tmux/3.2a/reference/c-function-cmd-break-pane-c-cmd_break_pane_exec/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-break-pane.c#L85)
- [`cmd_rename_window_exec`](/en/tmux/3.2a/reference/c-function-cmd-rename-window-c-cmd_rename_window_exec/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-rename-window.c#L55)
- [`input_exit_rename`](/en/tmux/3.2a/reference/c-function-input-c-input_exit_rename/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/input.c#L2397)
- [`main`](/en/tmux/3.2a/reference/c-function-main/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/tmux.c#L483)
- [`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#L1053)
- [`options_from_string_choice`](/en/tmux/3.2a/reference/c-function-options-c-options_from_string_choice/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/options.c#L1004)
- [`options_from_string_flag`](/en/tmux/3.2a/reference/c-function-options-c-options_from_string_flag/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/options.c#L977)
- [`server_start`](/en/tmux/3.2a/reference/c-function-server_start/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/server.c#L223)
- [`spawn_window`](/en/tmux/3.2a/reference/c-function-spawn_window/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/spawn.c#L183)
- [`window_customize_set_option`](/en/tmux/3.2a/reference/c-function-window-customize-c-window_customize_set_option/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-customize.c#L1087)

## Calls

- [`fatalx`](/en/tmux/3.2a/reference/c-function-fatalx/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/options.c#L757)
- [`options_default`](/en/tmux/3.2a/reference/c-function-options_default/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/options.c#L761)
- [`options_get_only`](/en/tmux/3.2a/reference/c-function-options_get_only/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/options.c#L759)

## Other function references

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

## Referenced by

- [`cmd_resize_window_exec`](/en/tmux/3.2a/reference/c-function-cmd-resize-window-c-cmd_resize_window_exec/) (function)

## Referenced declarations

- [`options_entry.name`](/en/tmux/3.2a/reference/c-struct-options_entry-name/) (attribute)
- [`options_value.number`](/en/tmux/3.2a/reference/c-union-options_value-number/) (attribute)
- [`options`](/en/tmux/3.2a/reference/c-struct-options/) (struct)
- [`options_entry`](/en/tmux/3.2a/reference/c-struct-options_entry/) (struct)
- [`OPTIONS_IS_NUMBER`](/en/tmux/3.2a/reference/c-define-options-c-options_is_number/) (constant)
- [`options_entry.value`](/en/tmux/3.2a/reference/c-struct-options_entry-value/) (attribute)
