---
title: "es_exec_fd_count(_:)"
framework: endpointsecurity
role: symbol
role_heading: Function
path: "endpointsecurity/es_exec_fd_count(_:)"
---

# es_exec_fd_count(_:)

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

## Declaration

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

## Parameters

- `event`: The process execution event.

## Return Value

Return Value The number of file descriptors.

## See Also

### Process Event Helper Functions

- [es_exec_arg(_:_:)](endpointsecurity/es_exec_arg(_:_:).md)
- [es_exec_arg_count(_:)](endpointsecurity/es_exec_arg_count(_:).md)
- [es_exec_env(_:_:)](endpointsecurity/es_exec_env(_:_:).md)
- [es_exec_env_count(_:)](endpointsecurity/es_exec_env_count(_:).md)
- [es_exec_fd(_:_:)](endpointsecurity/es_exec_fd(_:_:).md)
- [es_fd_t](endpointsecurity/es_fd_t.md)
