# make_label

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tmux.c#L187
- **Page:** https://libtmux.org/en/tmux/3.7c/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.7c/reference/c-function-xasprintf/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tmux.c#L201)

## Other function references

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

## Referenced by

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

## Referenced declarations

- [`TMUX_SOCK`](/en/tmux/3.7c/reference/c-define-tmux-h-tmux_sock/) (constant)
- [`TMUX_SOCK_PERM`](/en/tmux/3.7c/reference/c-define-tmux-h-tmux_sock_perm/) (constant)
