# utf8_stravis

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

```c
int utf8_stravis(char **dst, const char *src, int flag)
```

## Parameters

- `dst` (`char **`)
- `src` (`const char *`)
- `flag` (`int`)

## Called by

- [`args_escape`](/en/tmux/3.2a/reference/c-function-args_escape/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/arguments.c#L238)
- [`cmd_source_file_exec`](/en/tmux/3.2a/reference/c-function-cmd-source-file-c-cmd_source_file_exec/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-source-file.c#L147)
- [`screen_set_path`](/en/tmux/3.2a/reference/c-function-screen_set_path/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/screen.c#L188)
- [`session_check_name`](/en/tmux/3.2a/reference/c-function-session_check_name/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/session.c#L243)
- [`window_set_name`](/en/tmux/3.2a/reference/c-function-window_set_name/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window.c#L404)

## Calls

- [`utf8_strvis`](/en/tmux/3.2a/reference/c-function-utf8_strvis/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/utf8.c#L358)
- [`xrealloc`](/en/tmux/3.2a/reference/c-function-xrealloc/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/utf8.c#L360)
- [`xreallocarray`](/en/tmux/3.2a/reference/c-function-xreallocarray/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/utf8.c#L357)

## Referenced by

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