# status_init

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

```c
void status_init(struct client *c)
```

## Parameters

- `c` (`struct client *`)

## Called by

- [`server_client_create`](/en/tmux/3.7c/reference/c-function-server_client_create/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/server-client.c#L314)

## Calls

- [`screen_init`](/en/tmux/3.7c/reference/c-function-screen_init/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/status.c#L329)
- [`style_ranges_init`](/en/tmux/3.7c/reference/c-function-style_ranges_init/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/status.c#L327)

## Referenced by

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

## Referenced declarations

- [`status_line.active`](/en/tmux/3.7c/reference/c-struct-status_line-active/) (attribute)
- [`client`](/en/tmux/3.7c/reference/c-struct-client/) (struct)
- [`status_line.entries`](/en/tmux/3.7c/reference/c-struct-status_line-entries/) (attribute)
- [`nitems`](/en/tmux/3.7c/reference/c-define-tmux-h-nitems/) (constant)
- [`style_line_entry.ranges`](/en/tmux/3.7c/reference/c-struct-style_line_entry-ranges/) (attribute)
- [`status_line.screen`](/en/tmux/3.7c/reference/c-struct-status_line-screen/) (attribute)
- [`client.status`](/en/tmux/3.7c/reference/c-struct-client-status/) (attribute)
- [`tty.sx`](/en/tmux/3.7c/reference/c-struct-tty-sx/) (attribute)
- [`client.tty`](/en/tmux/3.7c/reference/c-struct-client-tty/) (attribute)
