# tty_term_describe

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty-term.c#L907
- **Page:** https://libtmux.org/en/tmux/3.7c/reference/c-function-tty_term_describe/

```c
const char * tty_term_describe(struct tty_term *term, enum tty_code_code code)
```

## Parameters

- `term` (`struct tty_term *`)
- `code` (`enum tty_code_code`)

## Calls

- [`xsnprintf`](/en/tmux/3.7c/reference/c-function-xsnprintf/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty-term.c#L914)

## Referenced by

- [`cmd_show_messages_terminals`](/en/tmux/3.7c/reference/c-function-cmd-show-messages-c-cmd_show_messages_terminals/) (function)
- [`tty_term_create`](/en/tmux/3.7c/reference/c-function-tty_term_create/) (function)

## Referenced declarations

- [`tty_term.codes`](/en/tmux/3.7c/reference/c-struct-tty_term-codes/) (attribute)
- [`tty_term_code_entry.name`](/en/tmux/3.7c/reference/c-struct-tty_term_code_entry-name/) (attribute)
- [`tty_code_code`](/en/tmux/3.7c/reference/c-enum-tty_code_code/) (enum)
- [`tty_term`](/en/tmux/3.7c/reference/c-struct-tty_term/) (struct)
- [`tty_term_codes`](/en/tmux/3.7c/reference/c-variable-tty-term-c-tty_term_codes/) (attribute)
- [`TTYCODE_FLAG`](/en/tmux/3.7c/reference/c-enum-tty_code_type-ttycode_flag/) (constant)
- [`TTYCODE_NONE`](/en/tmux/3.7c/reference/c-enum-tty_code_type-ttycode_none/) (constant)
- [`TTYCODE_NUMBER`](/en/tmux/3.7c/reference/c-enum-tty_code_type-ttycode_number/) (constant)
- [`TTYCODE_STRING`](/en/tmux/3.7c/reference/c-enum-tty_code_type-ttycode_string/) (constant)
- [`tty_code.type`](/en/tmux/3.7c/reference/c-struct-tty_code-type/) (attribute)
- [`tty_code.value`](/en/tmux/3.7c/reference/c-struct-tty_code-value/) (attribute)
