scc

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

errno.h (5582B)


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