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.