---
title: fdtype
framework: endpointsecurity
role: symbol
role_heading: Instance Property
path: endpointsecurity/es_fd_t/fdtype
---

# fdtype

The file descriptor type, as a libproc type.

## Declaration

```swift
var fdtype: UInt32
```

## Discussion

Discussion If this value is PROX_FDTYPE_PIPE, the es_fd_t structure also contains a pipe.pipe_id field. This field represents the unique ID of the pipe for correlation with other file descriptors pointing to the same or other end of the same pipe.

## See Also

### Inspecting File Descriptor Properties

- [fd](endpointsecurity/es_fd_t/fd.md)
