# job_write_callback

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

```c
static void job_write_callback(struct bufferevent *, void *)
```

## Parameters

- `bufev` (`struct bufferevent *`)
- `data` (`void *`)

## Calls

- [`log_debug`](/en/tmux/3.7c/reference/c-function-log_debug/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/job.c#L328)

## Referenced by

- [`job_run`](/en/tmux/3.7c/reference/c-function-job_run/) (function)

## Referenced declarations

- [`__unused`](/en/tmux/3.7c/reference/c-define-compat-h-__unused/) (constant)
- [`job.cmd`](/en/tmux/3.7c/reference/c-struct-job-cmd/) (attribute)
- [`job.data`](/en/tmux/3.7c/reference/c-struct-job-data/) (attribute)
- [`job.event`](/en/tmux/3.7c/reference/c-struct-job-event/) (attribute)
- [`job.fd`](/en/tmux/3.7c/reference/c-struct-job-fd/) (attribute)
- [`job.flags`](/en/tmux/3.7c/reference/c-struct-job-flags/) (attribute)
- [`JOB_KEEPWRITE`](/en/tmux/3.7c/reference/c-define-tmux-h-job_keepwrite/) (constant)
- [`job.pid`](/en/tmux/3.7c/reference/c-struct-job-pid/) (attribute)
