# job_resize

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

```c
void job_resize(struct job *job, u_int sx, u_int sy)
```

## Parameters

- `job` (`struct job *`)
- `sx` (`u_int`)
- `sy` (`u_int`)

## Called by

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

## Calls

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

## Referenced declarations

- [`job.fd`](/en/tmux/3.2a/reference/c-struct-job-fd/) (attribute)
- [`job.flags`](/en/tmux/3.2a/reference/c-struct-job-flags/) (attribute)
- [`job`](/en/tmux/3.2a/reference/c-struct-job/) (struct)
- [`JOB_PTY`](/en/tmux/3.2a/reference/c-define-tmux-h-job_pty/) (constant)
