# format_build_modifiers

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

```c
static struct format_modifier * format_build_modifiers(struct format_expand_state *es, const char **s, u_int *count)
```

## Parameters

- `es` (`struct format_expand_state *`)
- `s` (`const char **`)
- `count` (`u_int *`)

## Called by

- [`format_replace`](/en/tmux/latest/reference/c-function-format-c-format_replace/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L5083)

## Calls

- [`format_add_modifier`](/en/tmux/latest/reference/c-function-format-c-format_add_modifier/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L4413)
- [`format_expand1`](/en/tmux/latest/reference/c-function-format-c-format_expand1/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L4454)
- [`format_free_modifiers`](/en/tmux/latest/reference/c-function-format-c-format_free_modifiers/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L4486)
- [`format_is_end`](/en/tmux/latest/reference/c-function-format-c-format_is_end/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L4438)
- [`format_skip1`](/en/tmux/latest/reference/c-function-format-c-format_skip1/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L4448)
- [`xcalloc`](/en/tmux/latest/reference/c-function-xcalloc/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L4452)
- [`xreallocarray`](/en/tmux/latest/reference/c-function-xreallocarray/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L4476)
- [`xstrndup`](/en/tmux/latest/reference/c-function-xstrndup/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L4453)

## Referenced declarations

- [`format_modifier.argc`](/en/tmux/latest/reference/c-struct-format_modifier-argc/) (attribute)
- [`format_modifier.argv`](/en/tmux/latest/reference/c-struct-format_modifier-argv/) (attribute)
- [`format_expand_state`](/en/tmux/latest/reference/c-struct-format_expand_state/) (struct)
- [`format_modifier`](/en/tmux/latest/reference/c-struct-format_modifier/) (struct)
