EMFILEEMFILE — Too Many Open Files
The per-process limit on the number of open file descriptors has been reached.
EINPROGRESSA non-blocking connection attempt has been initiated and is still in progress.
A connect() call on a non-blocking socket could not complete immediately. The TCP handshake is in progress.
Use select(), poll(), or epoll() to wait for the socket to become writable. Then call getsockopt() with SO_ERROR to check the result.
EMFILEThe per-process limit on the number of open file descriptors has been reached.
ENOMEDIUMNo removable medium is present in the drive or device.
ESOCKTNOSUPPORTThe specified socket type is not supported within the given protocol family.
ENOEXECAn attempt was made to execute a file that is not in a recognized executable format.
EOVERFLOWA value is too large to be stored in the target data type.
EROFSAn attempt was made to modify a file or directory on a filesystem that is mounted read-only.