# format_bool_op_n

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

```c
static char * format_bool_op_n(struct format_expand_state *es, const char *fmt, int and)
```

## Parameters

- `es` (`struct format_expand_state *`)
- `fmt` (`const char *`)
- `and` (`int`)

## Called by

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

## Calls

- [`format_expand1`](/en/tmux/3.7c/reference/c-function-format-c-format_expand1/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L4591)
- [`format_skip1`](/en/tmux/3.7c/reference/c-function-format-c-format_skip1/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L4585)
- [`xstrdup`](/en/tmux/3.7c/reference/c-function-xstrdup/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L4588)
- [`xstrndup`](/en/tmux/3.7c/reference/c-function-xstrndup/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L4590)

## Other function references

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

## Referenced declarations

- [`format_expand_state`](/en/tmux/3.7c/reference/c-struct-format_expand_state/) (struct)
- [`format_log`](/en/tmux/3.7c/reference/c-define-format-c-format_log/) (constant)
