# client_signal

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

```c
static void client_signal(int)
```

## Parameters

- `sig` (`int`)

## Calls

- [`fatal`](/en/tmux/3.7c/reference/c-function-fatal/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/client.c#L564)
- [`log_debug`](/en/tmux/3.7c/reference/c-function-log_debug/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/client.c#L526)
- [`proc_exit`](/en/tmux/3.7c/reference/c-function-proc_exit/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/client.c#L541)
- [`proc_send`](/en/tmux/3.7c/reference/c-function-proc_send/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/client.c#L547)

## Referenced by

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

## Referenced declarations

- [`client_attached`](/en/tmux/3.7c/reference/c-variable-client-c-client_attached/) (attribute)
- [`CLIENT_EXIT_LOST_TTY`](/en/tmux/3.7c/reference/c-enum-client-c-312251056026170022174140061020115020145225126374-client_exit_lost_tty/) (constant)
- [`CLIENT_EXIT_TERMINATED`](/en/tmux/3.7c/reference/c-enum-client-c-312251056026170022174140061020115020145225126374-client_exit_terminated/) (constant)
- [`client_exitreason`](/en/tmux/3.7c/reference/c-variable-client-c-client_exitreason/) (attribute)
- [`client_exitval`](/en/tmux/3.7c/reference/c-variable-client-c-client_exitval/) (attribute)
- [`client_peer`](/en/tmux/3.7c/reference/c-variable-client-c-client_peer/) (attribute)
- [`client_proc`](/en/tmux/3.7c/reference/c-variable-client-c-client_proc/) (attribute)
- [`client_suspended`](/en/tmux/3.7c/reference/c-variable-client-c-client_suspended/) (attribute)
- [`MSG_EXITING`](/en/tmux/3.7c/reference/c-enum-msgtype-msg_exiting/) (constant)
- [`MSG_RESIZE`](/en/tmux/3.7c/reference/c-enum-msgtype-msg_resize/) (constant)
- [`MSG_WAKEUP`](/en/tmux/3.7c/reference/c-enum-msgtype-msg_wakeup/) (constant)
- [`WAIT_ANY`](/en/tmux/3.7c/reference/c-define-compat-h-wait_any/) (constant)
