# job_get_status

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

```c
int job_get_status(struct job *job)
```

## Parameters

- `job` (`struct job *`)

## Called by

- [`cmd_if_shell_callback`](/en/tmux/latest/reference/c-function-cmd-if-shell-c-cmd_if_shell_callback/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-if-shell.c#L148)
- [`cmd_run_shell_callback`](/en/tmux/latest/reference/c-function-cmd-run-shell-c-cmd_run_shell_callback/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-run-shell.c#L274)
- [`popup_job_complete_cb`](/en/tmux/latest/reference/c-function-popup-c-popup_job_complete_cb/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/popup.c#L703)

## Referenced declarations

- [`job`](/en/tmux/latest/reference/c-struct-job/) (struct)
- [`job.status`](/en/tmux/latest/reference/c-struct-job-status/) (attribute)
