# tty_putn

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

```c
void tty_putn(struct tty *tty, const void *buf, size_t len, u_int width)
```

## Parameters

- `tty` (`struct tty *`)
- `buf` (`const void *`)
- `len` (`size_t`)
- `width` (`u_int`)

## Called by

- [`cmd_display_panes_draw_pane`](/en/tmux/3.2a/reference/c-function-cmd-display-panes-c-cmd_display_panes_draw_pane/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-display-panes.c#L142)
- [`tty_cell`](/en/tmux/3.2a/reference/c-function-tty_cell/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/tty.c#L1959)
- [`tty_cmd_cells`](/en/tmux/3.2a/reference/c-function-tty_cmd_cells/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/tty.c#L1887)
- [`tty_draw_line`](/en/tmux/3.2a/reference/c-function-tty_draw_line/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/tty.c#L1375)
- [`tty_repeat_space`](/en/tmux/3.2a/reference/c-function-tty-c-tty_repeat_space/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/tty.c#L761)

## Calls

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

## Referenced declarations

- [`tty.cx`](/en/tmux/3.2a/reference/c-struct-tty-cx/) (attribute)
- [`tty.cy`](/en/tmux/3.2a/reference/c-struct-tty-cy/) (attribute)
- [`tty_term.flags`](/en/tmux/3.2a/reference/c-struct-tty_term-flags/) (attribute)
- [`tty.sx`](/en/tmux/3.2a/reference/c-struct-tty-sx/) (attribute)
- [`tty.sy`](/en/tmux/3.2a/reference/c-struct-tty-sy/) (attribute)
- [`tty.term`](/en/tmux/3.2a/reference/c-struct-tty-term/) (attribute)
- [`TERM_NOAM`](/en/tmux/3.2a/reference/c-define-tmux-h-term_noam/) (constant)
- [`tty`](/en/tmux/3.2a/reference/c-struct-tty/) (struct)
