Function

CFFileDescriptorIsValid(_:)

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

Declaration

func CFFileDescriptorIsValid(_ f: CFFileDescriptor!) -> Bool

Parameters

f

A CFFileDescriptor.

Return Value

true if the native file descriptor for f is valid, otherwise false.

See Also

Getting Information About a File Descriptor

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