# popup_write

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

```c
void popup_write(struct client *c, const char *data, size_t size)
```

## Parameters

- `c` (`struct client *`)
- `data` (`const char *`)
- `size` (`size_t`)

## Called by

- [`mode_tree_display_help`](/en/tmux/3.7c/reference/c-function-mode-tree-c-mode_tree_display_help/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/mode-tree.c#L1198)

## Calls

- [`input_parse_screen`](/en/tmux/3.7c/reference/c-function-input_parse_screen/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/popup.c#L889)
- [`popup_present`](/en/tmux/3.7c/reference/c-function-popup_present/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/popup.c#L885)

## Other function references

- [`popup_check_cb`](/en/tmux/3.7c/reference/c-function-popup-c-popup_check_cb/) (function)
- [`popup_init_ctx_cb`](/en/tmux/3.7c/reference/c-function-popup-c-popup_init_ctx_cb/) (function)

## Referenced declarations

- [`popup_data.c`](/en/tmux/3.7c/reference/c-struct-popup_data-c/) (attribute)
- [`client`](/en/tmux/3.7c/reference/c-struct-client/) (struct)
- [`popup_data.ictx`](/en/tmux/3.7c/reference/c-struct-popup_data-ictx/) (attribute)
- [`client.overlay_check`](/en/tmux/3.7c/reference/c-struct-client-overlay_check/) (attribute)
- [`client.overlay_data`](/en/tmux/3.7c/reference/c-struct-client-overlay_data/) (attribute)
- [`popup_data.s`](/en/tmux/3.7c/reference/c-struct-popup_data-s/) (attribute)
