# screen_write_start_callback

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

```c
void screen_write_start_callback(struct screen_write_ctx *ctx, struct screen *s, screen_write_init_ctx_cb cb, void *arg)
```

## Parameters

- `ctx` (`struct screen_write_ctx *`)
- `s` (`struct screen *`)
- `cb` (`screen_write_init_ctx_cb`)
- `arg` (`void *`)

## Called by

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

## Calls

- [`log_debug`](/en/tmux/3.2a/reference/c-function-log_debug/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/screen-write.c#L277)
- [`log_get_level`](/en/tmux/3.2a/reference/c-function-log_get_level/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/screen-write.c#L276)
- [`screen_write_init`](/en/tmux/3.2a/reference/c-function-screen-write-c-screen_write_init/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/screen-write.c#L271)

## Referenced by

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

## Referenced declarations

- [`screen_write_ctx.arg`](/en/tmux/3.2a/reference/c-struct-screen_write_ctx-arg/) (attribute)
- [`screen_write_ctx.init_ctx_cb`](/en/tmux/3.2a/reference/c-struct-screen_write_ctx-init_ctx_cb/) (attribute)
- [`screen_write_ctx.s`](/en/tmux/3.2a/reference/c-struct-screen_write_ctx-s/) (attribute)
- [`screen`](/en/tmux/3.2a/reference/c-struct-screen/) (struct)
- [`screen_size_x`](/en/tmux/3.2a/reference/c-define-tmux-h-screen_size_x/) (constant)
- [`screen_size_y`](/en/tmux/3.2a/reference/c-define-tmux-h-screen_size_y/) (constant)
- [`screen_write_ctx`](/en/tmux/3.2a/reference/c-struct-screen_write_ctx/) (struct)
- [`screen_write_init_ctx_cb`](/en/tmux/3.2a/reference/c-typedef-screen_write_init_ctx_cb/) (typealias)
