# tty_keys_callback

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/tty-keys.c#L850
- **Page:** https://libtmux.org/en/tmux/3.2a/reference/c-function-tty-keys-c-tty_keys_callback/

```c
static void tty_keys_callback(int, short, void *)
```

## Parameters

- `fd` (`int`)
- `events` (`short`)
- `data` (`void *`)

## Calls

- [`tty_keys_next`](/en/tmux/3.2a/reference/c-function-tty_keys_next/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/tty-keys.c#L855)

## Referenced by

- [`tty_keys_next`](/en/tmux/3.2a/reference/c-function-tty_keys_next/) (function)

## Referenced declarations

- [`__unused`](/en/tmux/3.2a/reference/c-define-compat-h-__unused/) (constant)
- [`tty.flags`](/en/tmux/3.2a/reference/c-struct-tty-flags/) (attribute)
- [`TTY_TIMER`](/en/tmux/3.2a/reference/c-define-tmux-h-tty_timer/) (constant)
