# tty_client_ready

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

```c
static int tty_client_ready(const struct tty_ctx *ctx, struct client *c)
```

## Parameters

- `ctx` (`const struct tty_ctx *`)
- `c` (`struct client *`)

## Called by

- [`tty_write`](/en/tmux/latest/reference/c-function-tty_write/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty.c#L1635)

## Referenced declarations

- [`client`](/en/tmux/latest/reference/c-struct-client/) (struct)
- [`CLIENT_REDRAWWINDOW`](/en/tmux/latest/reference/c-define-tmux-h-client_redrawwindow/) (constant)
- [`CLIENT_SUSPENDED`](/en/tmux/latest/reference/c-define-tmux-h-client_suspended/) (constant)
- [`client.flags`](/en/tmux/latest/reference/c-struct-client-flags/) (attribute)
- [`tty_ctx.flags`](/en/tmux/latest/reference/c-struct-tty_ctx-flags/) (attribute)
- [`tty.flags`](/en/tmux/latest/reference/c-struct-tty-flags/) (attribute)
- [`client.session`](/en/tmux/latest/reference/c-struct-client-session/) (attribute)
- [`tty.term`](/en/tmux/latest/reference/c-struct-tty-term/) (attribute)
- [`client.tty`](/en/tmux/latest/reference/c-struct-client-tty/) (attribute)
- [`tty_ctx`](/en/tmux/latest/reference/c-struct-tty_ctx/) (struct)
- [`TTY_CTX_INVISIBLE_PANES`](/en/tmux/latest/reference/c-define-tmux-h-tty_ctx_invisible_panes/) (constant)
- [`TTY_FREEZE`](/en/tmux/latest/reference/c-define-tmux-h-tty_freeze/) (constant)
