# server_send_exit

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

```c
static void server_send_exit(void)
```

## Called by

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

## Calls

- [`cmd_wait_for_flush`](/en/tmux/3.7c/reference/c-function-cmd_wait_for_flush/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/server.c#L315)
- [`server_client_lost`](/en/tmux/3.7c/reference/c-function-server_client_lost/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/server.c#L319)
- [`session_destroy`](/en/tmux/3.7c/reference/c-function-session_destroy/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/server.c#L328)

## Referenced declarations

- [`CLIENT_EXIT`](/en/tmux/3.7c/reference/c-define-tmux-h-client_exit/) (constant)
- [`CLIENT_SUSPENDED`](/en/tmux/3.7c/reference/c-define-tmux-h-client_suspended/) (constant)
- [`session.entry`](/en/tmux/3.7c/reference/c-struct-session-entry/) (attribute)
- [`client.exit_type`](/en/tmux/3.7c/reference/c-struct-client-exit_type/) (attribute)
- [`client.flags`](/en/tmux/3.7c/reference/c-struct-client-flags/) (attribute)
- [`client.session`](/en/tmux/3.7c/reference/c-struct-client-session/) (attribute)
