# server_client_attached_lost

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/server-client.c#L368
- **Page:** https://libtmux.org/en/tmux/3.7c/reference/c-function-server-client-c-server_client_attached_lost/

```c
static void server_client_attached_lost(struct client *c)
```

## Parameters

- `c` (`struct client *`)

## Called by

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

## Calls

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

## Referenced declarations

- [`client.activity_time`](/en/tmux/3.7c/reference/c-struct-client-activity_time/) (attribute)
- [`client`](/en/tmux/3.7c/reference/c-struct-client/) (struct)
- [`session.curw`](/en/tmux/3.7c/reference/c-struct-session-curw/) (attribute)
- [`client.entry`](/en/tmux/3.7c/reference/c-struct-client-entry/) (attribute)
- [`window.latest`](/en/tmux/3.7c/reference/c-struct-window-latest/) (attribute)
- [`client.session`](/en/tmux/3.7c/reference/c-struct-client-session/) (attribute)
- [`timercmp`](/en/tmux/3.7c/reference/c-define-compat-h-timercmp/) (constant)
- [`winlink.window`](/en/tmux/3.7c/reference/c-struct-winlink-window/) (attribute)
