# screen_set_path

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

```c
void screen_set_path(struct screen *s, const char *path)
```

## Parameters

- `s` (`struct screen *`)
- `path` (`const char *`)

## Called by

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

## Calls

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

## Referenced by

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

## Referenced declarations

- [`screen.path`](/en/tmux/3.2a/reference/c-struct-screen-path/) (attribute)
- [`screen`](/en/tmux/3.2a/reference/c-struct-screen/) (struct)
