# tty_putcode3

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/tty.c#L513
- **Page:** https://libtmux.org/en/tmux/3.2a/reference/c-function-tty_putcode3/

```c
void tty_putcode3(struct tty *tty, enum tty_code_code code, int a, int b, int c)
```

## Parameters

- `tty` (`struct tty *`)
- `code` (`enum tty_code_code`)
- `a` (`int`)
- `b` (`int`)
- `c` (`int`)

## Called by

- [`tty_try_colour`](/en/tmux/3.2a/reference/c-function-tty-c-tty_try_colour/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/tty.c#L2650)

## Calls

- [`tty_puts`](/en/tmux/3.2a/reference/c-function-tty_puts/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/tty.c#L517)

## Other function references

- [`tty_term_string3`](/en/tmux/3.2a/reference/c-function-tty_term_string3/) (function)

## Referenced declarations

- [`tty.term`](/en/tmux/3.2a/reference/c-struct-tty-term/) (attribute)
- [`tty`](/en/tmux/3.2a/reference/c-struct-tty/) (struct)
- [`tty_code_code`](/en/tmux/3.2a/reference/c-enum-tty_code_code/) (enum)
