---
title: pty_close
framework: endpointsecurity
role: symbol
role_heading: Instance Property
path: endpointsecurity/es_events_t/pty_close
---

# pty_close

Properties of the event that indicates the closing of a pseudoterminal device.

## Declaration

```swift
var pty_close: es_event_pty_close_t { get set }
```

## See Also

### Pseudoterminal Events

- [pty_grant](endpointsecurity/es_events_t/pty_grant.md)
