# args_parse

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

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

## Parameters

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

## Calls

- [`args_copy_value`](/en/tmux/latest/reference/c-function-arguments-c-args_copy_value/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/arguments.c#L300)
- [`args_create`](/en/tmux/latest/reference/c-function-args_create/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/arguments.c#L255)
- [`args_free`](/en/tmux/latest/reference/c-function-args_free/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/arguments.c#L261)
- [`args_parse_flags`](/en/tmux/latest/reference/c-function-arguments-c-args_parse_flags/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/arguments.c#L259)
- [`args_value_as_string`](/en/tmux/latest/reference/c-function-arguments-c-args_value_as_string/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/arguments.c#L272)
- [`fatalx`](/en/tmux/latest/reference/c-function-fatalx/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/arguments.c#L291)
- [`log_debug`](/en/tmux/latest/reference/c-function-log_debug/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/arguments.c#L267)
- [`xasprintf`](/en/tmux/latest/reference/c-function-xasprintf/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/arguments.c#L294)
- [`xrecallocarray`](/en/tmux/latest/reference/c-function-xrecallocarray/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/arguments.c#L285)

## Other function references

- [`args_type_to_string`](/en/tmux/latest/reference/c-function-arguments-c-args_type_to_string/) (function)

## Referenced declarations

- [`args`](/en/tmux/latest/reference/c-struct-args/) (struct)
- [`ARGS_COMMANDS`](/en/tmux/latest/reference/c-enum-args_type-args_commands/) (constant)
- [`args_parse`](/en/tmux/latest/reference/c-struct-args_parse/) (struct)
- [`ARGS_PARSE_COMMANDS`](/en/tmux/latest/reference/c-enum-args_parse_type-args_parse_commands/) (constant)
- [`ARGS_PARSE_COMMANDS_OR_STRING`](/en/tmux/latest/reference/c-enum-args_parse_type-args_parse_commands_or_string/) (constant)
- [`ARGS_PARSE_INVALID`](/en/tmux/latest/reference/c-enum-args_parse_type-args_parse_invalid/) (constant)
- [`ARGS_PARSE_STRING`](/en/tmux/latest/reference/c-enum-args_parse_type-args_parse_string/) (constant)
- [`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.cb`](/en/tmux/latest/reference/c-struct-args_parse-cb/) (attribute)
- [`args.count`](/en/tmux/latest/reference/c-struct-args-count/) (attribute)
- [`args_parse.lower`](/en/tmux/latest/reference/c-struct-args_parse-lower/) (attribute)
- [`args_value.type`](/en/tmux/latest/reference/c-struct-args_value-type/) (attribute)
- [`args_parse.upper`](/en/tmux/latest/reference/c-struct-args_parse-upper/) (attribute)
- [`args.values`](/en/tmux/latest/reference/c-struct-args-values/) (attribute)
