# server_client_attached_lost

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/server-client.c#L277
- **Page:** https://libtmux.org/en/tmux/3.2a/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.2a/reference/c-function-server_client_lost/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/server-client.c#L335)

## Calls

- [`log_debug`](/en/tmux/3.2a/reference/c-function-log_debug/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/server-client.c#L284)
- [`server_client_update_latest`](/en/tmux/3.2a/reference/c-function-server-client-c-server_client_update_latest/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/server-client.c#L305)

## Referenced declarations

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