# screen_print

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

```c
const char * screen_print(struct screen *s, int line)
```

## Parameters

- `s` (`struct screen *`)
- `line` (`int`)

## Calls

- [`tty_acs_get`](/en/tmux/3.7c/reference/c-function-tty_acs_get/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen.c#L871)
- [`utf8_to_data`](/en/tmux/3.7c/reference/c-function-utf8_to_data/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen.c#L883)
- [`xmalloc`](/en/tmux/3.7c/reference/c-function-xmalloc/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen.c#L846)

## Referenced declarations

- [`grid_line.celldata`](/en/tmux/3.7c/reference/c-struct-grid_line-celldata/) (attribute)
- [`grid_line.cellused`](/en/tmux/3.7c/reference/c-struct-grid_line-cellused/) (attribute)
- [`grid_extd_entry.data`](/en/tmux/3.7c/reference/c-struct-grid_extd_entry-data/) (attribute)
- [`utf8_data.data`](/en/tmux/3.7c/reference/c-struct-utf8_data-data/) (attribute)
- [`grid_line.extddata`](/en/tmux/3.7c/reference/c-struct-grid_line-extddata/) (attribute)
- [`grid_cell_entry.flags`](/en/tmux/3.7c/reference/c-struct-grid_cell_entry-flags/) (attribute)
- [`screen.grid`](/en/tmux/3.7c/reference/c-struct-screen-grid/) (attribute)
- [`GRID_ATTR_CHARSET`](/en/tmux/3.7c/reference/c-define-tmux-h-grid_attr_charset/) (constant)
- [`GRID_FLAG_EXTENDED`](/en/tmux/3.7c/reference/c-define-tmux-h-grid_flag_extended/) (constant)
- [`GRID_FLAG_PADDING`](/en/tmux/3.7c/reference/c-define-tmux-h-grid_flag_padding/) (constant)
- [`GRID_FLAG_TAB`](/en/tmux/3.7c/reference/c-define-tmux-h-grid_flag_tab/) (constant)
- [`grid.linedata`](/en/tmux/3.7c/reference/c-struct-grid-linedata/) (attribute)
- [`screen`](/en/tmux/3.7c/reference/c-struct-screen/) (struct)
- [`screen_hsize`](/en/tmux/3.7c/reference/c-define-tmux-h-screen_hsize/) (constant)
- [`utf8_data.size`](/en/tmux/3.7c/reference/c-struct-utf8_data-size/) (attribute)
- [`grid.sy`](/en/tmux/3.7c/reference/c-struct-grid-sy/) (attribute)
