scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | Submodules | README | LICENSE

errno.h (5554B)


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