# status_update_cache

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

```c
void status_update_cache(struct session *s)
```

## Parameters

- `s` (`struct session *`)

## Called by

- [`options_push_changes`](/en/tmux/latest/reference/c-function-options_push_changes/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/options.c#L1265)
- [`recalculate_sizes_now`](/en/tmux/latest/reference/c-function-recalculate_sizes_now/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/resize.c#L438)
- [`session_create`](/en/tmux/latest/reference/c-function-session_create/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/session.c#L127)

## Calls

- [`options_get_number`](/en/tmux/latest/reference/c-function-options_get_number/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/status.c#L231)

## Referenced by

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

## Referenced declarations

- [`session.options`](/en/tmux/latest/reference/c-struct-session-options/) (attribute)
- [`session`](/en/tmux/latest/reference/c-struct-session/) (struct)
- [`session.statusat`](/en/tmux/latest/reference/c-struct-session-statusat/) (attribute)
- [`session.statuslines`](/en/tmux/latest/reference/c-struct-session-statuslines/) (attribute)
