# tty_send_requests

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

```c
void tty_send_requests(struct tty *tty)
```

## Parameters

- `tty` (`struct tty *`)

## Called by

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

## Calls

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

## Referenced declarations

- [`tty_term.flags`](/en/tmux/latest/reference/c-struct-tty_term-flags/) (attribute)
- [`tty.flags`](/en/tmux/latest/reference/c-struct-tty-flags/) (attribute)
- [`tty.last_requests`](/en/tmux/latest/reference/c-struct-tty-last_requests/) (attribute)
- [`tty.term`](/en/tmux/latest/reference/c-struct-tty-term/) (attribute)
- [`TERM_VT100LIKE`](/en/tmux/latest/reference/c-define-tmux-h-term_vt100like/) (constant)
- [`tty`](/en/tmux/latest/reference/c-struct-tty/) (struct)
- [`TTY_ALL_REQUEST_FLAGS`](/en/tmux/latest/reference/c-define-tmux-h-tty_all_request_flags/) (constant)
- [`TTY_HAVEDA`](/en/tmux/latest/reference/c-define-tmux-h-tty_haveda/) (constant)
- [`TTY_HAVEDA2`](/en/tmux/latest/reference/c-define-tmux-h-tty_haveda2/) (constant)
- [`TTY_HAVEXDA`](/en/tmux/latest/reference/c-define-tmux-h-tty_havexda/) (constant)
- [`TTY_STARTED`](/en/tmux/latest/reference/c-define-tmux-h-tty_started/) (constant)
- [`TTY_WAITBG`](/en/tmux/latest/reference/c-define-tmux-h-tty_waitbg/) (constant)
- [`TTY_WAITFG`](/en/tmux/latest/reference/c-define-tmux-h-tty_waitfg/) (constant)
