# args_parse_flags

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

```c
static int args_parse_flags(const struct args_parse *parse, struct args_value *values, u_int count, char **cause, struct args *args, u_int *i)
```

## Parameters

- `parse` (`const struct args_parse *`)
- `values` (`struct args_value *`)
- `count` (`u_int`)
- `cause` (`char **`)
- `args` (`struct args *`)
- `i` (`u_int *`)

## Called by

- [`args_parse`](/en/tmux/latest/reference/c-function-args_parse/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/arguments.c#L259)

## Calls

- [`args_parse_flag_argument`](/en/tmux/latest/reference/c-function-arguments-c-args_parse_flag_argument/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/arguments.c#L237)
- [`args_set`](/en/tmux/latest/reference/c-function-args_set/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/arguments.c#L233)
- [`log_debug`](/en/tmux/latest/reference/c-function-log_debug/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/arguments.c#L208)
- [`xasprintf`](/en/tmux/latest/reference/c-function-xasprintf/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/arguments.c#L222)

## Referenced declarations

- [`args`](/en/tmux/latest/reference/c-struct-args/) (struct)
- [`args_parse`](/en/tmux/latest/reference/c-struct-args_parse/) (struct)
- [`ARGS_STRING`](/en/tmux/latest/reference/c-enum-args_type-args_string/) (constant)
- [`args_value`](/en/tmux/latest/reference/c-struct-args_value/) (struct)
- [`args_parse.template`](/en/tmux/latest/reference/c-struct-args_parse-template/) (attribute)
- [`args_value.type`](/en/tmux/latest/reference/c-struct-args_value-type/) (attribute)
