fileDescriptor
Returns the file descriptor associated with the specified channel.
Declaration
var fileDescriptor: Int32 { get }Discussion
If the path name associated with the channel has not yet been opened, calling this function does not normally open the corresponding file, with one exception. If you call the function from a barrier block scheduled on the channel, the function does open the file and return the resulting file descriptor.