-EAGAIN |
Non-blocking I/O has been selected using O_NONBLOCK and no data was immediately available for reading. |
-EBADF |
ebx is not a valid file descriptor or is not open for reading. |
-EFAULT |
ecx is outside your accessible address space. |
-EINTR |
The call was interrupted by a signal before any data was read. |
-EINVAL |
ebx is attached to an object which is unsuitable for reading; or the file was opened with the O_DIRECT flag, and either the address specified in ecx, the value specified in edx, or the current file offset is not suitably aligned.
-or-
The sum of the iov_len values overflows 0x7FFFFFFF. Or, the vector count edx is less than zero or greater than the permitted maximum. |
-EIO |
I/O error. This will happen for example when the process is in a background process group, tries to read from its controlling tty, and either it is ignoring or blocking SIGTTIN or its process group is orphaned. It may also occur when there is a low-level I/O error while reading from a disk or tape. |
-EISDIR |
ebx refers to a directory. |