# key_tables_RB_MINMAX

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/key-bindings.c#L78
- **Page:** https://libtmux.org/en/tmux/3.7c/reference/c-function-key-bindings-c-key_tables_rb_minmax/

```c
static struct key_table * key_tables_RB_MINMAX(struct key_tables *head, int val)
```

## Parameters

- `head` (`struct key_tables *`)
- `val` (`int`)

## Referenced declarations

- [`key_table`](/en/tmux/3.7c/reference/c-struct-key_table/) (struct)
- [`key_tables`](/en/tmux/3.7c/reference/c-struct-key_tables/) (struct)
