Function

CFFileDescriptorIsValid

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

Declaration

Boolean CFFileDescriptorIsValid(CFFileDescriptorRef f);

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

CFFileDescriptorGetNativeDescriptor

Returns the native file descriptor for a given CFFileDescriptor.

CFFileDescriptorGetContext

Gets the context for a given CFFileDescriptor.

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