Embedded Artistry libc
C Standard Library Support for Bare-metal Systems
errno.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define EPERM   1 /* Operation not permitted */
 
#define ENOENT   2 /* No such file or directory */
 
#define ESRCH   3 /* No such process */
 
#define EINTR   4 /* Interrupted system call */
 
#define EIO   5 /* Input/output error */
 
#define ENXIO   6 /* Device not configured */
 
#define E2BIG   7 /* Argument list too long */
 
#define ENOEXEC   8 /* Exec format error */
 
#define EBADF   9 /* Bad file descriptor */
 
#define ECHILD   10 /* No child processes */
 
#define EDEADLK   11 /* Resource deadlock avoided */
 
#define ENOMEM   12 /* Cannot allocate memory */
 
#define EACCES   13 /* Permission denied */
 
#define EFAULT   14 /* Bad address */
 
#define ENOTBLK   15 /* Block device required */
 
#define EBUSY   16 /* Device / Resource busy */
 
#define EEXIST   17 /* File exists */
 
#define EXDEV   18 /* Cross-device link */
 
#define ENODEV   19 /* Operation not supported by device */
 
#define ENOTDIR   20 /* Not a directory */
 
#define EISDIR   21 /* Is a directory */
 
#define EINVAL   22 /* Invalid argument */
 
#define ENFILE   23 /* Too many open files in system */
 
#define EMFILE   24 /* Too many open files */
 
#define ENOTTY   25 /* Inappropriate ioctl for device */
 
#define ETXTBSY   26 /* Text file busy */
 
#define EFBIG   27 /* File too large */
 
#define ENOSPC   28 /* No space left on device */
 
#define ESPIPE   29 /* Illegal seek */
 
#define EROFS   30 /* Read-only file system */
 
#define EMLINK   31 /* Too many links */
 
#define EPIPE   32 /* Broken pipe */
 
#define EDOM   33 /* Numerical argument out of domain */
 
#define ERANGE   34 /* Result too large */
 
#define EAGAIN   35 /* Resource temporarily unavailable */
 
#define EWOULDBLOCK   EAGAIN /* Operation would block */
 
#define EINPROGRESS   36 /* Operation now in progress */
 
#define EALREADY   37 /* Operation already in progress */
 
#define ENOTSOCK   38 /* Socket operation on non-socket */
 
#define EDESTADDRREQ   39 /* Destination address required */
 
#define EMSGSIZE   40 /* Message too long */
 
#define EPROTOTYPE   41 /* Protocol wrong type for socket */
 
#define ENOPROTOOPT   42 /* Protocol not available */
 
#define EPROTONOSUPPORT   43 /* Protocol not supported */
 
#define ESOCKTNOSUPPORT   44 /* Socket type not supported */
 
#define ENOTSUP   45 /* Operation not supported */
 
#define EOPNOTSUPP   ENOTSUP /* Operation not supported on socket */
 
#define EPFNOSUPPORT   46 /* Protocol family not supported */
 
#define EAFNOSUPPORT   47 /* Address family not supported by protocol family */
 
#define EADDRINUSE   48 /* Address already in use */
 
#define EADDRNOTAVAIL   49 /* Can't assign requested address */
 
#define ENETDOWN   50 /* Network is down */
 
#define ENETUNREACH   51 /* Network is unreachable */
 
#define ENETRESET   52 /* Network dropped connection on reset */
 
#define ECONNABORTED   53 /* Software caused connection abort */
 
#define ECONNRESET   54 /* Connection reset by peer */
 
#define ENOBUFS   55 /* No buffer space available */
 
#define EISCONN   56 /* Socket is already connected */
 
#define ENOTCONN   57 /* Socket is not connected */
 
#define ESHUTDOWN   58 /* Can't send after socket shutdown */
 
#define ETOOMANYREFS   59 /* Too many references: can't splice */
 
#define ETIMEDOUT   60 /* Operation timed out */
 
#define ECONNREFUSED   61 /* Connection refused */
 
#define ELOOP   62 /* Too many levels of symbolic links */
 
#define ENAMETOOLONG   63 /* File name too long */
 
#define EHOSTDOWN   64 /* Host is down */
 
#define EHOSTUNREACH   65 /* No route to host */
 
#define ENOTEMPTY   66 /* Directory not empty */
 
#define EPROCLIM   67 /* Too many processes */
 
#define EUSERS   68 /* Too many users */
 
#define EDQUOT   69 /* Disc quota exceeded */
 
#define ESTALE   70 /* Stale NFS file handle */
 
#define EREMOTE   71 /* Too many levels of remote in path */
 
#define EBADRPC   72 /* RPC struct is bad */
 
#define ERPCMISMATCH   73 /* RPC version wrong */
 
#define EPROGUNAVAIL   74 /* RPC prog. not avail */
 
#define EPROGMISMATCH   75 /* Program version wrong */
 
#define EPROCUNAVAIL   76 /* Bad procedure for program */
 
#define ENOLCK   77 /* No locks available */
 
#define ENOSYS   78 /* Function not implemented */
 
#define EFTYPE   79 /* Inappropriate file type or format */
 
#define EAUTH   80 /* Authentication error */
 
#define ENEEDAUTH   81 /* Need authenticator */
 
#define EPWROFF   82 /* Device power is off */
 
#define EDEVERR   83 /* Device error, e.g. paper out */
 
#define EOVERFLOW   84 /* Value too large to be stored in data type */
 
#define EBADEXEC   85 /* Bad executable */
 
#define EBADARCH   86 /* Bad CPU type in executable */
 
#define ESHLIBVERS   87 /* Shared library version mismatch */
 
#define EBADMACHO   88 /* Malformed Macho file */
 
#define ECANCELED   89 /* Operation canceled */
 
#define EIDRM   90 /* Identifier removed */
 
#define ENOMSG   91 /* No message of desired type */
 
#define EILSEQ   92 /* Illegal byte sequence */
 
#define ENOATTR   93 /* Attribute not found */
 
#define EBADMSG   94 /* Bad message */
 
#define EMULTIHOP   95 /* Reserved */
 
#define ENODATA   96 /* No message available on STREAM */
 
#define ENOLINK   97 /* Reserved */
 
#define ENOSR   98 /* No STREAM resources */
 
#define ENOSTR   99 /* Not a STREAM */
 
#define EPROTO   100 /* Protocol error */
 
#define ETIME   101 /* STREAM ioctl timeout */
 
#define ENOPOLICY   103 /* No such policy registered */
 
#define ENOTRECOVERABLE   104 /* State not recoverable */
 
#define EOWNERDEAD   105 /* Previous owner died */
 
#define EQFULL   106 /* Interface output queue is full */
 
#define ELAST   106 /* Must be equal largest errno */
 

Variables

int errno
 

Macro Definition Documentation

◆ E2BIG

#define E2BIG   7 /* Argument list too long */

Definition at line 20 of file errno.h.

◆ EACCES

#define EACCES   13 /* Permission denied */

Definition at line 27 of file errno.h.

◆ EADDRINUSE

#define EADDRINUSE   48 /* Address already in use */

Definition at line 70 of file errno.h.

◆ EADDRNOTAVAIL

#define EADDRNOTAVAIL   49 /* Can't assign requested address */

Definition at line 71 of file errno.h.

◆ EAFNOSUPPORT

#define EAFNOSUPPORT   47 /* Address family not supported by protocol family */

Definition at line 69 of file errno.h.

◆ EAGAIN

#define EAGAIN   35 /* Resource temporarily unavailable */

Definition at line 53 of file errno.h.

◆ EALREADY

#define EALREADY   37 /* Operation already in progress */

Definition at line 56 of file errno.h.

◆ EAUTH

#define EAUTH   80 /* Authentication error */

Definition at line 110 of file errno.h.

◆ EBADARCH

#define EBADARCH   86 /* Bad CPU type in executable */

Definition at line 120 of file errno.h.

◆ EBADEXEC

#define EBADEXEC   85 /* Bad executable */

Definition at line 119 of file errno.h.

◆ EBADF

#define EBADF   9 /* Bad file descriptor */

Definition at line 22 of file errno.h.

◆ EBADMACHO

#define EBADMACHO   88 /* Malformed Macho file */

Definition at line 122 of file errno.h.

◆ EBADMSG

#define EBADMSG   94 /* Bad message */

Definition at line 128 of file errno.h.

◆ EBADRPC

#define EBADRPC   72 /* RPC struct is bad */

Definition at line 102 of file errno.h.

◆ EBUSY

#define EBUSY   16 /* Device / Resource busy */

Definition at line 30 of file errno.h.

◆ ECANCELED

#define ECANCELED   89 /* Operation canceled */

Definition at line 123 of file errno.h.

◆ ECHILD

#define ECHILD   10 /* No child processes */

Definition at line 23 of file errno.h.

◆ ECONNABORTED

#define ECONNABORTED   53 /* Software caused connection abort */

Definition at line 77 of file errno.h.

◆ ECONNREFUSED

#define ECONNREFUSED   61 /* Connection refused */

Definition at line 85 of file errno.h.

◆ ECONNRESET

#define ECONNRESET   54 /* Connection reset by peer */

Definition at line 78 of file errno.h.

◆ EDEADLK

#define EDEADLK   11 /* Resource deadlock avoided */

Definition at line 24 of file errno.h.

◆ EDESTADDRREQ

#define EDESTADDRREQ   39 /* Destination address required */

Definition at line 60 of file errno.h.

◆ EDEVERR

#define EDEVERR   83 /* Device error, e.g. paper out */

Definition at line 115 of file errno.h.

◆ EDOM

#define EDOM   33 /* Numerical argument out of domain */

Definition at line 49 of file errno.h.

◆ EDQUOT

#define EDQUOT   69 /* Disc quota exceeded */

Definition at line 97 of file errno.h.

◆ EEXIST

#define EEXIST   17 /* File exists */

Definition at line 31 of file errno.h.

◆ EFAULT

#define EFAULT   14 /* Bad address */

Definition at line 28 of file errno.h.

◆ EFBIG

#define EFBIG   27 /* File too large */

Definition at line 41 of file errno.h.

◆ EFTYPE

#define EFTYPE   79 /* Inappropriate file type or format */

Definition at line 109 of file errno.h.

◆ EHOSTDOWN

#define EHOSTDOWN   64 /* Host is down */

Definition at line 90 of file errno.h.

◆ EHOSTUNREACH

#define EHOSTUNREACH   65 /* No route to host */

Definition at line 91 of file errno.h.

◆ EIDRM

#define EIDRM   90 /* Identifier removed */

Definition at line 124 of file errno.h.

◆ EILSEQ

#define EILSEQ   92 /* Illegal byte sequence */

Definition at line 126 of file errno.h.

◆ EINPROGRESS

#define EINPROGRESS   36 /* Operation now in progress */

Definition at line 55 of file errno.h.

◆ EINTR

#define EINTR   4 /* Interrupted system call */

Definition at line 17 of file errno.h.

◆ EINVAL

#define EINVAL   22 /* Invalid argument */

Definition at line 36 of file errno.h.

◆ EIO

#define EIO   5 /* Input/output error */

Definition at line 18 of file errno.h.

◆ EISCONN

#define EISCONN   56 /* Socket is already connected */

Definition at line 80 of file errno.h.

◆ EISDIR

#define EISDIR   21 /* Is a directory */

Definition at line 35 of file errno.h.

◆ ELAST

#define ELAST   106 /* Must be equal largest errno */

Definition at line 140 of file errno.h.

◆ ELOOP

#define ELOOP   62 /* Too many levels of symbolic links */

Definition at line 86 of file errno.h.

◆ EMFILE

#define EMFILE   24 /* Too many open files */

Definition at line 38 of file errno.h.

◆ EMLINK

#define EMLINK   31 /* Too many links */

Definition at line 45 of file errno.h.

◆ EMSGSIZE

#define EMSGSIZE   40 /* Message too long */

Definition at line 61 of file errno.h.

◆ EMULTIHOP

#define EMULTIHOP   95 /* Reserved */

Definition at line 129 of file errno.h.

◆ ENAMETOOLONG

#define ENAMETOOLONG   63 /* File name too long */

Definition at line 87 of file errno.h.

◆ ENEEDAUTH

#define ENEEDAUTH   81 /* Need authenticator */

Definition at line 111 of file errno.h.

◆ ENETDOWN

#define ENETDOWN   50 /* Network is down */

Definition at line 74 of file errno.h.

◆ ENETRESET

#define ENETRESET   52 /* Network dropped connection on reset */

Definition at line 76 of file errno.h.

◆ ENETUNREACH

#define ENETUNREACH   51 /* Network is unreachable */

Definition at line 75 of file errno.h.

◆ ENFILE

#define ENFILE   23 /* Too many open files in system */

Definition at line 37 of file errno.h.

◆ ENOATTR

#define ENOATTR   93 /* Attribute not found */

Definition at line 127 of file errno.h.

◆ ENOBUFS

#define ENOBUFS   55 /* No buffer space available */

Definition at line 79 of file errno.h.

◆ ENODATA

#define ENODATA   96 /* No message available on STREAM */

Definition at line 130 of file errno.h.

◆ ENODEV

#define ENODEV   19 /* Operation not supported by device */

Definition at line 33 of file errno.h.

◆ ENOENT

#define ENOENT   2 /* No such file or directory */

Definition at line 15 of file errno.h.

◆ ENOEXEC

#define ENOEXEC   8 /* Exec format error */

Definition at line 21 of file errno.h.

◆ ENOLCK

#define ENOLCK   77 /* No locks available */

Definition at line 107 of file errno.h.

◆ ENOLINK

#define ENOLINK   97 /* Reserved */

Definition at line 131 of file errno.h.

◆ ENOMEM

#define ENOMEM   12 /* Cannot allocate memory */

Definition at line 26 of file errno.h.

◆ ENOMSG

#define ENOMSG   91 /* No message of desired type */

Definition at line 125 of file errno.h.

◆ ENOPOLICY

#define ENOPOLICY   103 /* No such policy registered */

Definition at line 136 of file errno.h.

◆ ENOPROTOOPT

#define ENOPROTOOPT   42 /* Protocol not available */

Definition at line 63 of file errno.h.

◆ ENOSPC

#define ENOSPC   28 /* No space left on device */

Definition at line 42 of file errno.h.

◆ ENOSR

#define ENOSR   98 /* No STREAM resources */

Definition at line 132 of file errno.h.

◆ ENOSTR

#define ENOSTR   99 /* Not a STREAM */

Definition at line 133 of file errno.h.

◆ ENOSYS

#define ENOSYS   78 /* Function not implemented */

Definition at line 108 of file errno.h.

◆ ENOTBLK

#define ENOTBLK   15 /* Block device required */

Definition at line 29 of file errno.h.

◆ ENOTCONN

#define ENOTCONN   57 /* Socket is not connected */

Definition at line 81 of file errno.h.

◆ ENOTDIR

#define ENOTDIR   20 /* Not a directory */

Definition at line 34 of file errno.h.

◆ ENOTEMPTY

#define ENOTEMPTY   66 /* Directory not empty */

Definition at line 92 of file errno.h.

◆ ENOTRECOVERABLE

#define ENOTRECOVERABLE   104 /* State not recoverable */

Definition at line 137 of file errno.h.

◆ ENOTSOCK

#define ENOTSOCK   38 /* Socket operation on non-socket */

Definition at line 59 of file errno.h.

◆ ENOTSUP

#define ENOTSUP   45 /* Operation not supported */

Definition at line 66 of file errno.h.

◆ ENOTTY

#define ENOTTY   25 /* Inappropriate ioctl for device */

Definition at line 39 of file errno.h.

◆ ENXIO

#define ENXIO   6 /* Device not configured */

Definition at line 19 of file errno.h.

◆ EOPNOTSUPP

#define EOPNOTSUPP   ENOTSUP /* Operation not supported on socket */

Definition at line 67 of file errno.h.

◆ EOVERFLOW

#define EOVERFLOW   84 /* Value too large to be stored in data type */

Definition at line 116 of file errno.h.

◆ EOWNERDEAD

#define EOWNERDEAD   105 /* Previous owner died */

Definition at line 138 of file errno.h.

◆ EPERM

#define EPERM   1 /* Operation not permitted */

Definition at line 14 of file errno.h.

◆ EPFNOSUPPORT

#define EPFNOSUPPORT   46 /* Protocol family not supported */

Definition at line 68 of file errno.h.

◆ EPIPE

#define EPIPE   32 /* Broken pipe */

Definition at line 46 of file errno.h.

◆ EPROCLIM

#define EPROCLIM   67 /* Too many processes */

Definition at line 95 of file errno.h.

◆ EPROCUNAVAIL

#define EPROCUNAVAIL   76 /* Bad procedure for program */

Definition at line 106 of file errno.h.

◆ EPROGMISMATCH

#define EPROGMISMATCH   75 /* Program version wrong */

Definition at line 105 of file errno.h.

◆ EPROGUNAVAIL

#define EPROGUNAVAIL   74 /* RPC prog. not avail */

Definition at line 104 of file errno.h.

◆ EPROTO

#define EPROTO   100 /* Protocol error */

Definition at line 134 of file errno.h.

◆ EPROTONOSUPPORT

#define EPROTONOSUPPORT   43 /* Protocol not supported */

Definition at line 64 of file errno.h.

◆ EPROTOTYPE

#define EPROTOTYPE   41 /* Protocol wrong type for socket */

Definition at line 62 of file errno.h.

◆ EPWROFF

#define EPWROFF   82 /* Device power is off */

Definition at line 114 of file errno.h.

◆ EQFULL

#define EQFULL   106 /* Interface output queue is full */

Definition at line 139 of file errno.h.

◆ ERANGE

#define ERANGE   34 /* Result too large */

Definition at line 50 of file errno.h.

◆ EREMOTE

#define EREMOTE   71 /* Too many levels of remote in path */

Definition at line 101 of file errno.h.

◆ EROFS

#define EROFS   30 /* Read-only file system */

Definition at line 44 of file errno.h.

◆ ERPCMISMATCH

#define ERPCMISMATCH   73 /* RPC version wrong */

Definition at line 103 of file errno.h.

◆ ESHLIBVERS

#define ESHLIBVERS   87 /* Shared library version mismatch */

Definition at line 121 of file errno.h.

◆ ESHUTDOWN

#define ESHUTDOWN   58 /* Can't send after socket shutdown */

Definition at line 82 of file errno.h.

◆ ESOCKTNOSUPPORT

#define ESOCKTNOSUPPORT   44 /* Socket type not supported */

Definition at line 65 of file errno.h.

◆ ESPIPE

#define ESPIPE   29 /* Illegal seek */

Definition at line 43 of file errno.h.

◆ ESRCH

#define ESRCH   3 /* No such process */

Definition at line 16 of file errno.h.

◆ ESTALE

#define ESTALE   70 /* Stale NFS file handle */

Definition at line 100 of file errno.h.

◆ ETIME

#define ETIME   101 /* STREAM ioctl timeout */

Definition at line 135 of file errno.h.

◆ ETIMEDOUT

#define ETIMEDOUT   60 /* Operation timed out */

Definition at line 84 of file errno.h.

◆ ETOOMANYREFS

#define ETOOMANYREFS   59 /* Too many references: can't splice */

Definition at line 83 of file errno.h.

◆ ETXTBSY

#define ETXTBSY   26 /* Text file busy */

Definition at line 40 of file errno.h.

◆ EUSERS

#define EUSERS   68 /* Too many users */

Definition at line 96 of file errno.h.

◆ EWOULDBLOCK

#define EWOULDBLOCK   EAGAIN /* Operation would block */

Definition at line 54 of file errno.h.

◆ EXDEV

#define EXDEV   18 /* Cross-device link */

Definition at line 32 of file errno.h.

Variable Documentation

◆ errno

int errno

Referenced by rvOK(), strtod(), and strtodg().