# file_write_error_callback

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

```c
static void file_write_error_callback(struct bufferevent *bev, short what, void *arg)
```

## Parameters

- `bev` (`struct bufferevent *`)
- `what` (`short`)
- `arg` (`void *`)

## Calls

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

## Referenced by

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

## Referenced declarations

- [`__unused`](/en/tmux/3.2a/reference/c-define-compat-h-__unused/) (constant)
- [`client_file.cb`](/en/tmux/3.2a/reference/c-struct-client_file-cb/) (attribute)
- [`client_file.data`](/en/tmux/3.2a/reference/c-struct-client_file-data/) (attribute)
- [`client_file.event`](/en/tmux/3.2a/reference/c-struct-client_file-event/) (attribute)
- [`client_file.fd`](/en/tmux/3.2a/reference/c-struct-client_file-fd/) (attribute)
- [`client_file.stream`](/en/tmux/3.2a/reference/c-struct-client_file-stream/) (attribute)
