# args_percentage

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

```c
long long args_percentage(struct args *args, u_char flag, long long minval, long long maxval, long long curval, char **cause)
```

## Parameters

- `args` (`struct args *`)
- `flag` (`u_char`)
- `minval` (`long long`)
- `maxval` (`long long`)
- `curval` (`long long`)
- `cause` (`char **`)

## Called by

- [`cmd_display_popup_exec`](/en/tmux/3.7c/reference/c-function-cmd-display-menu-c-cmd_display_popup_exec/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-display-menu.c#L418)
- [`cmd_resize_pane_exec`](/en/tmux/3.7c/reference/c-function-cmd-resize-pane-c-cmd_resize_pane_exec/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-resize-pane.c#L103)

## Calls

- [`args_string_percentage`](/en/tmux/3.7c/reference/c-function-args_string_percentage/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/arguments.c#L980)
- [`xstrdup`](/en/tmux/3.7c/reference/c-function-xstrdup/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/arguments.c#L972)

## Other function references

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

## Referenced declarations

- [`args`](/en/tmux/3.7c/reference/c-struct-args/) (struct)
- [`args_entry.entry`](/en/tmux/3.7c/reference/c-struct-args_entry-entry/) (attribute)
- [`args_entry.flag`](/en/tmux/3.7c/reference/c-struct-args_entry-flag/) (attribute)
