# strtonum

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/compat.h#L322
- **Page:** https://libtmux.org/en/tmux/3.7c/reference/c-function-strtonum/

```c
long long strtonum(const char *, long long, long long, const char **)
```

## Parameters

- `` (`const char *`)
- `` (`long long`)
- `` (`const char **`)

## Called by

- [`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#L1001)
- [`args_string_percentage_and_expand`](/en/tmux/3.7c/reference/c-function-args_string_percentage_and_expand/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/arguments.c#L1069)
- [`args_strtonum`](/en/tmux/3.7c/reference/c-function-args_strtonum/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/arguments.c#L918)
- [`args_strtonum_and_expand`](/en/tmux/3.7c/reference/c-function-args_strtonum_and_expand/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/arguments.c#L952)
- [`cmd_find_get_pane_with_window`](/en/tmux/3.7c/reference/c-function-cmd-find-c-cmd_find_get_pane_with_window/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-find.c#L614)
- [`cmd_find_get_window_with_session`](/en/tmux/3.7c/reference/c-function-cmd-find-c-cmd_find_get_window_with_session/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-find.c#L376)
- [`cmd_new_session_exec`](/en/tmux/3.7c/reference/c-function-cmd-new-session-c-cmd_new_session_exec/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-new-session.c#L224)
- [`cmd_refresh_client_exec`](/en/tmux/3.7c/reference/c-function-cmd-refresh-client-c-cmd_refresh_client_exec/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-refresh-client.c#L214)
- [`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#L95)
- [`cmd_resize_window_exec`](/en/tmux/3.7c/reference/c-function-cmd-resize-window-c-cmd_resize_window_exec/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-resize-window.c#L61)
- [`colour_byname`](/en/tmux/3.7c/reference/c-function-colour_byname/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/colour.c#L993)
- [`colour_fromstring`](/en/tmux/3.7c/reference/c-function-colour_fromstring/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/colour.c#L246)
- [`format_find`](/en/tmux/3.7c/reference/c-function-format-c-format_find/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L4143)
- [`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#L5290)
- [`input_csi_dispatch_sgr_colon`](/en/tmux/3.7c/reference/c-function-input-c-input_csi_dispatch_sgr_colon/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L2285)
- [`input_split`](/en/tmux/3.7c/reference/c-function-input-c-input_split/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L1098)
- [`options_from_string`](/en/tmux/3.7c/reference/c-function-options_from_string/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/options.c#L1138)
- [`session_find_by_id_str`](/en/tmux/3.7c/reference/c-function-session_find_by_id_str/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/session.c#L90)
- [`style_parse`](/en/tmux/3.7c/reference/c-function-style_parse/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/style.c#L143)
- [`tty_term_apply`](/en/tmux/3.7c/reference/c-function-tty_term_apply/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty-term.c#L421)
- [`tty_term_create`](/en/tmux/3.7c/reference/c-function-tty_term_create/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty-term.c#L573)
- [`utf8_add_to_width_cache`](/en/tmux/3.7c/reference/c-function-utf8-c-utf8_add_to_width_cache/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/utf8.c#L335)
- [`window_copy_goto_line`](/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_goto_line/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L4587)
- [`window_find_by_id_str`](/en/tmux/3.7c/reference/c-function-window_find_by_id_str/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window.c#L272)
- [`window_pane_find_by_id_str`](/en/tmux/3.7c/reference/c-function-window_pane_find_by_id_str/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window.c#L1027)

## Referenced by

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