# style_ranges_init

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

```c
void style_ranges_init(struct style_ranges *srs)
```

## Parameters

- `srs` (`struct style_ranges *`)

## Called by

- [`status_init`](/en/tmux/latest/reference/c-function-status_init/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/status.c#L327)
- [`window_pane_create`](/en/tmux/latest/reference/c-function-window-c-window_pane_create/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window.c#L1081)

## Referenced declarations

- [`style_ranges`](/en/tmux/latest/reference/c-struct-style_ranges/) (struct)
