Function

CFFileDescriptorGetContext(_:_:)

Gets the context for a given CFFileDescriptor.

Declaration

func CFFileDescriptorGetContext(_ f: CFFileDescriptor!, _ context: UnsafeMutablePointer<CFFileDescriptorContext>!)

Parameters

f

A CFFileDescriptor.

context

Upon return, contains the context passed to f in CFFileDescriptorCreate(_:_:_:_:_:).

See Also

Getting Information About a File Descriptor

func CFFileDescriptorGetNativeDescriptor(CFFileDescriptor!) -> CFFileDescriptorNativeDescriptor

Returns the native file descriptor for a given CFFileDescriptor.

func CFFileDescriptorIsValid(CFFileDescriptor!) -> Bool

Returns a Boolean value that indicates whether the native file descriptor for a given CFFileDescriptor is valid.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software