# tty_keys_extended_device_attributes

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty-keys.c#L1608
- **Page:** https://libtmux.org/en/tmux/latest/reference/c-function-tty-keys-c-tty_keys_extended_device_attributes/

```c
static int tty_keys_extended_device_attributes(struct tty *, const char *, size_t, size_t *)
```

## Parameters

- `tty` (`struct tty *`)
- `buf` (`const char *`)
- `len` (`size_t`)
- `size` (`size_t *`)

## Called by

- [`tty_keys_next`](/en/tmux/latest/reference/c-function-tty_keys_next/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty-keys.c#L800)

## Calls

- [`log_debug`](/en/tmux/latest/reference/c-function-log_debug/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty-keys.c#L1666)
- [`tty_default_features`](/en/tmux/latest/reference/c-function-tty_default_features/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty-keys.c#L1655)
- [`tty_update_features`](/en/tmux/latest/reference/c-function-tty_update_features/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty-keys.c#L1671)
- [`xstrdup`](/en/tmux/latest/reference/c-function-xstrdup/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty-keys.c#L1669)

## Referenced declarations

- [`tty.client`](/en/tmux/latest/reference/c-struct-tty-client/) (attribute)
- [`tty.flags`](/en/tmux/latest/reference/c-struct-tty-flags/) (attribute)
- [`client.name`](/en/tmux/latest/reference/c-struct-client-name/) (attribute)
- [`client.term_features`](/en/tmux/latest/reference/c-struct-client-term_features/) (attribute)
- [`client.term_type`](/en/tmux/latest/reference/c-struct-client-term_type/) (attribute)
- [`tty`](/en/tmux/latest/reference/c-struct-tty/) (struct)
- [`TTY_HAVEXDA`](/en/tmux/latest/reference/c-define-tmux-h-tty_havexda/) (constant)
