---
title: es_event_pty_grant_t
framework: endpointsecurity
role: symbol
role_heading: Structure
path: endpointsecurity/es_event_pty_grant_t
---

# es_event_pty_grant_t

A type for an event that indicates the granting of a pseudoterminal device to a user.

## Declaration

```swift
struct es_event_pty_grant_t
```

## Topics

### Inspecting Event Properties

- [dev](endpointsecurity/es_event_pty_grant_t/dev.md)
- [reserved](endpointsecurity/es_event_pty_grant_t/reserved.md)

### Initializers

- [init()](endpointsecurity/es_event_pty_grant_t/init().md)
- [init(dev:reserved:)](endpointsecurity/es_event_pty_grant_t/init(dev:reserved:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Sendable](swift/sendable.md)

## See Also

### Pseudoterminal Event Types

- [es_event_pty_close_t](endpointsecurity/es_event_pty_close_t.md)
