badFileDescriptor
Bad file descriptor.
static var badFileDescriptor: Errno { get }
A file descriptor argument was out of range, referred to no open file, or a read (write) request was made to a file that was only open for writing (reading).
The corresponding C error is EBADF
.