---
title: tty
framework: endpointsecurity
role: symbol
role_heading: Instance Property
path: endpointsecurity/es_process_t/tty
---

# tty

The TTY associated with the process sending the message.

## Declaration

```swift
var tty: UnsafeMutablePointer<es_file_t>?
```

## Discussion

Discussion This field is available if the message version is greater than 2.

## See Also

### Inspecting Process IDs

- [ppid](endpointsecurity/es_process_t/ppid.md)
- [original_ppid](endpointsecurity/es_process_t/original_ppid.md)
- [group_id](endpointsecurity/es_process_t/group_id.md)
- [session_id](endpointsecurity/es_process_t/session_id.md)
