Enumeration Caseswift-nio 2.72.0NIOPosix
descriptorSetToNonBlocking
NonBlockingFileIO
is meant to be used with file descriptors that are set to the default (blocking) mode. It doesn’t make sense to use it with a file descriptor where O_NONBLOCK
is set therefore this error is raised when that was requested.
case descriptorSetToNonBlocking