# tty_term_ptr2

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

```c
const char * tty_term_ptr2(struct tty_term *term, enum tty_code_code code, const void *a, const void *b)
```

## Parameters

- `term` (`struct tty_term *`)
- `code` (`enum tty_code_code`)
- `a` (`const void *`)
- `b` (`const void *`)

## Other function references

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

## Referenced by

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

## Referenced declarations

- [`tty_code_code`](/en/tmux/3.2a/reference/c-enum-tty_code_code/) (enum)
- [`tty_term`](/en/tmux/3.2a/reference/c-struct-tty_term/) (struct)
