<!--
{
  "availability" : [
    "macOS: 11.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "EndpointSecurity",
  "identifier" : "/documentation/EndpointSecurity/es_exec_fd_count(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Endpoint Security"
    ],
    "preciseIdentifier" : "c:@F@es_exec_fd_count"
  },
  "title" : "es_exec_fd_count(_:)"
}
-->

# es_exec_fd_count(_:)

Gets the number of file descriptors from a process execution event.

```
func es_exec_fd_count(_ event: UnsafePointer<es_event_exec_t>) -> UInt32
```

## Parameters

`event`

The process execution event.

## Return Value

The number of file descriptors.

## Discussion

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)