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.