# screen_write_putc

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/screen-write.c#L321
- **Page:** https://libtmux.org/en/tmux/3.2a/reference/c-function-screen_write_putc/

```c
void screen_write_putc(struct screen_write_ctx *ctx, const struct grid_cell *gcp, u_char ch)
```

## Parameters

- `ctx` (`struct screen_write_ctx *`)
- `gcp` (`const struct grid_cell *`)
- `ch` (`u_char`)

## Called by

- [`format_draw`](/en/tmux/3.2a/reference/c-function-format_draw/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/format-draw.c#L933)
- [`screen_write_box`](/en/tmux/3.2a/reference/c-function-screen_write_box/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/screen-write.c#L684)
- [`screen_write_hline`](/en/tmux/3.2a/reference/c-function-screen_write_hline/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/screen-write.c#L591)
- [`screen_write_menu`](/en/tmux/3.2a/reference/c-function-screen_write_menu/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/screen-write.c#L654)
- [`screen_write_vline`](/en/tmux/3.2a/reference/c-function-screen_write_vline/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/screen-write.c#L613)
- [`screen_write_vnputs`](/en/tmux/3.2a/reference/c-function-screen_write_vnputs/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/screen-write.c#L516)
- [`status_message_redraw`](/en/tmux/3.2a/reference/c-function-status_message_redraw/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/status.c#L528)
- [`status_prompt_redraw`](/en/tmux/3.2a/reference/c-function-status_prompt_redraw/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/status.c#L695)
- [`status_redraw`](/en/tmux/3.2a/reference/c-function-status_redraw/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/status.c#L383)
- [`window_clock_draw_screen`](/en/tmux/3.2a/reference/c-function-window-clock-c-window_clock_draw_screen/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-clock.c#L279)
- [`window_copy_write_line`](/en/tmux/3.2a/reference/c-function-window-copy-c-window_copy_write_line/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-copy.c#L3655)

## Calls

- [`screen_write_cell`](/en/tmux/3.2a/reference/c-function-screen_write_cell/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/screen-write.c#L329)
- [`utf8_set`](/en/tmux/3.2a/reference/c-function-utf8_set/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/screen-write.c#L328)

## Referenced by

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

## Referenced declarations

- [`grid_cell.data`](/en/tmux/3.2a/reference/c-struct-grid_cell-data/) (attribute)
- [`grid_cell`](/en/tmux/3.2a/reference/c-struct-grid_cell/) (struct)
- [`screen_write_ctx`](/en/tmux/3.2a/reference/c-struct-screen_write_ctx/) (struct)
