# status_line_size

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

```c
u_int status_line_size(struct client *c)
```

## Parameters

- `c` (`struct client *`)

## Called by

- [`cmd_display_menu_get_pos`](/en/tmux/latest/reference/c-function-cmd-display-menu-c-cmd_display_menu_get_pos/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-display-menu.c#L135)
- [`screen_redraw_set_context`](/en/tmux/latest/reference/c-function-screen-redraw-c-screen_redraw_set_context/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen-redraw.c#L784)
- [`screen_write_set_client_cb`](/en/tmux/latest/reference/c-function-screen-write-c-screen_write_set_client_cb/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen-write.c#L172)
- [`server_client_check_mouse`](/en/tmux/latest/reference/c-function-server-client-c-server_client_check_mouse/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/server-client.c#L821)
- [`server_client_reset_state`](/en/tmux/latest/reference/c-function-server-client-c-server_client_reset_state/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/server-client.c#L1802)
- [`status_message_redraw`](/en/tmux/latest/reference/c-function-status_message_redraw/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/status.c#L621)
- [`status_prompt_complete_list_menu`](/en/tmux/latest/reference/c-function-status-c-status_prompt_complete_list_menu/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/status.c#L1968)
- [`status_prompt_complete_window_menu`](/en/tmux/latest/reference/c-function-status-c-status_prompt_complete_window_menu/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/status.c#L2029)
- [`status_prompt_line_at`](/en/tmux/latest/reference/c-function-status_prompt_line_at/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/status.c#L273)
- [`status_prompt_redraw`](/en/tmux/latest/reference/c-function-status_prompt_redraw/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/status.c#L870)
- [`status_redraw`](/en/tmux/latest/reference/c-function-status_redraw/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/status.c#L378)
- [`tty_window_offset1`](/en/tmux/latest/reference/c-function-tty-c-tty_window_offset1/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty.c#L959)
- [`window_client_draw`](/en/tmux/latest/reference/c-function-window-client-c-window_client_draw/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-client.c#L178)

## 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#L262)

## Referenced by

- [`clients_calculate_size`](/en/tmux/latest/reference/c-function-resize-c-clients_calculate_size/) (function)
- [`default_window_size`](/en/tmux/latest/reference/c-function-default_window_size/) (function)
- [`server_client_detach`](/en/tmux/latest/reference/c-function-server_client_detach/) (function)
- [`status_at_line`](/en/tmux/latest/reference/c-function-status_at_line/) (function)
- [`status_push_screen`](/en/tmux/latest/reference/c-function-status-c-status_push_screen/) (function)
- [`tty_window_bigger`](/en/tmux/latest/reference/c-function-tty_window_bigger/) (function)

## Referenced declarations

- [`client`](/en/tmux/latest/reference/c-struct-client/) (struct)
- [`CLIENT_CONTROL`](/en/tmux/latest/reference/c-define-tmux-h-client_control/) (constant)
- [`CLIENT_STATUSOFF`](/en/tmux/latest/reference/c-define-tmux-h-client_statusoff/) (constant)
- [`client.flags`](/en/tmux/latest/reference/c-struct-client-flags/) (attribute)
- [`global_s_options`](/en/tmux/latest/reference/c-variable-global_s_options/) (attribute)
- [`client.session`](/en/tmux/latest/reference/c-struct-client-session/) (attribute)
- [`session.statuslines`](/en/tmux/latest/reference/c-struct-session-statuslines/) (attribute)
