Implementation-defined Error Conditions

The following are error condition macros in addition to those specified by the C language specification that might be assigned to errno by the Microchip Unified Standard Library. They expand to positive integer constant expressions with type int, suitable for use in #if preprocessing directives

Table 1. Implementation-defined error condition macros
Macro Error condition
E2BIG Argument list too long
EACCES Permission denied
EADDRINUSE Address already in use
EADDRNOTAVAIL Address not available
EADV Advertise error
EAFNOSUPPORT Address family not supported by protocol family
EAGAIN No more processes
EALREADY Socket already connected
EBADE Invalid exchange
EBADF Bad file number
EBADFD File descriptor invalid for this operation
EBADMSG Bad message
EBADR Invalid request descriptor
EBADRQC Invalid request code
EBADSLT Invalid slot
EBFONT Bad font file fmt
EBUSY Device or resource busy
ECANCELED Operation canceled
ECHILD No children
ECHRNG Channel number out of range
ECOMM Communication error on send
ECONNABORTED Software caused connection abort
ECONNREFUSED Connection refused
ECONNRESET Connection reset by peer
EDEADLK Deadlock
EDEADLOCK File locking deadlock error
EDESTADDRREQ Destination address required
EDOTDOT Cross mount point (not really error)
EDQUOT Disc quota exceeded
EEXIST File exists
EFAULT Bad address
EFBIG File too large
EHOSTDOWN Host is down
EHOSTUNREACH Host is unreachable
EHWPOISON Memory page has hardware error
EIDRM Identifier removed
EINPROGRESS Connection already in progress
EINTR Interrupted system call
EINVAL Invalid argument
EIO I/O error
EISCONN Socket is already connected
EISDIR Is a directory
EISNAM Is a named type file
EKEYEXPIRED Key has expired
EKEYREJECTED Key was rejected by service
EKEYREVOKED Key has been revoked
EL2HLT Level 2 halted
EL2NSYNC Level 2 not synchronized
EL3HLT Level 3 halted
EL3RST Level 3 reset
ELIBACC Can't access a needed shared lib
ELIBBAD Accessing a corrupted shared lib
ELIBEXEC Attempting to exec a shared library
ELIBMAX Attempting to link in too many libs
ELIBSCN .lib section in a.out corrupted
ELNRNG Link number out of range
ELOOP Too many symbolic links
EL3RST Level 3 reset
EMEDIUMTYPE Wrong medium type
EMFILE File descriptor value too large
EMLINK Too many links
EMSGSIZE Message too long
EMULTIHOP Multihop attempted
ENAMETOOLONG File or path name too long
ENAVAIL No XENIX semaphores available
ENETDOWN Network interface is not configured
ENETRESET Connection aborted by network
ENETUNREACH Network is unreachable
ENFILE Too many open files in system
ENOANO No anode
ENOBUFS No buffer space available
ENOCSI No CSI structure available
ENODATA No data (for no delay io)
ENODEV No such device
ENOENT No such file or directory
ENOEXEC Exec format error
ENOKEY Required key not available
ENOLCK No lock
ENOLINK Virtual circuit is gone
ENOMEDIUM No medium found
ENOMEM Not enough space
ENOMSG No message of desired type
ENONET Machine is not on the network
ENOPKG Package not installed
ENOPROTOOPT Protocol not available
ENOSPC No space left on device
ENOSR No stream resources
ENOSTR Not a stream
ENOSYS Function not implemented
ENOTBLK Block device required
ENOTCONN Socket is not connected
ENOTDIR Not a directory
ENOTEMPTY Directory not empty
ENOTNAM Not a XENIX named type file
ENOTRECOVERABLE State not recoverable
ENOTSOCK Socket operation on non-socket
ENOTSUP Not supported
ENOTTY Not a character device
ENOTUNIQ Given log. name not unique
ENXIO No such device or address
EOPNOTSUPP Operation not supported on socket
EOVERFLOW Value too large for defined data type
EOWNERDEAD Previous owner died
EPERM Not owner
EPFNOSUPPORT Protocol family not supported
EPIPE Broken pipe
EPROTO Protocol error
EPROTONOSUPPORT Unknown protocol
EPROTOTYPE Protocol wrong type for socket
EREMCHG Remote address changed
EREMOTE The object is remote
EREMOTEIO Remote I/O error
ERESTART Interrupted system call should be restarted
ERFKILL Operation not possible due to RF-kill
EROFS Read-only file system
ESHUTDOWN Can't send after socket shutdown
ESOCKTNOSUPPORT Socket type not supported
ESPIPE Illegal seek
ESRCH No such process
ESRMNT Srmount error
ESTALE Stale file handle
ESTRPIPE Streams pipe error
ETIME Stream ioctl timeout
ETIMEDOUT Connection timed out
ETOOMANYREFS Too many references: cannot splice
ETXTBSY Text file busy
EUCLEAN Structure needs cleaning
EUNATCH Protocol driver not attached
EUSERS Too many users
EWOULDBLOCK Operation would block
EXDEV Cross-device link
EXFULL Exchange full