# make_label

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

```c
static char * make_label(const char *, char **)
```

## Parameters

- `label` (`const char *`)
- `cause` (`char **`)

## Calls

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

## Other function references

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

## Referenced by

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

## Referenced declarations

- [`TMUX_SOCK`](/en/tmux/3.2a/reference/c-define-tmux-h-tmux_sock/) (constant)
