# tty_putcode_s

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

```c
void tty_putcode_s(struct tty *tty, enum tty_code_code code, const char *a)
```

## Parameters

- `tty` (`struct tty *`)
- `code` (`enum tty_code_code`)
- `a` (`const char *`)

## Called by

- [`tty_force_cursor_colour`](/en/tmux/3.7c/reference/c-function-tty-c-tty_force_cursor_colour/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty.c#L760)

## Calls

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

## Other function references

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

## Referenced declarations

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