# args_from_vector

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

```c
struct args_value * args_from_vector(int argc, char **argv)
```

## Parameters

- `argc` (`int`)
- `argv` (`char **`)

## Called by

- [`client_main`](/en/tmux/latest/reference/c-function-client_main/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/client.c#L263)
- [`server_client_dispatch_command`](/en/tmux/latest/reference/c-function-server-client-c-server_client_dispatch_command/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/server-client.c#L2395)

## Calls

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

## Referenced declarations

- [`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_value.type`](/en/tmux/latest/reference/c-struct-args_value-type/) (attribute)
