---
title: "CFFileDescriptorDisableCallBacks(_:_:)"
framework: corefoundation
role: symbol
role_heading: Function
path: "corefoundation/cffiledescriptordisablecallbacks(_:_:)"
---

# CFFileDescriptorDisableCallBacks(_:_:)

Disables callbacks for a given CFFileDescriptor.

## Declaration

```swift
func CFFileDescriptorDisableCallBacks(_ f: CFFileDescriptor!, _ callBackTypes: CFOptionFlags)
```

## Parameters

- `f`: A CFFileDescriptor.
- `callBackTypes`: A bitmask that specifies which callbacks to disable (see doc://com.apple.corefoundation/documentation/CoreFoundation/1477595-callback-identifiers for possible components).

## See Also

### Managing Callbacks

- [CFFileDescriptorEnableCallBacks(_:_:)](corefoundation/cffiledescriptorenablecallbacks(_:_:).md)
