9os

Experimental kernel using plan9 ideas for embedded device
git clone git://git.simple-cc.org/9os
Log | Files | Refs | README | LICENSE

errno.h (2413B)


      1 extern int errno;
      2 extern char *const _sys_errlist[];
      3 extern const int _sys_nerr;
      4 
      5 #define EPERM 	 1
      6 #define ENOENT 	 2
      7 #define ESRCH 	 3
      8 #define EINTR 	 4
      9 #define EIO 	 5
     10 #define ENXIO 	 6
     11 #define E2BIG 	 7
     12 #define ENOEXEC 	 8
     13 #define EBADF 	 9
     14 #define ECHILD 	 10
     15 #define EDEADLK 	 11
     16 #define ENOMEM 	 12
     17 #define EACCES 	 13
     18 #define EFAULT 	 14
     19 #define ENOTBLK 	 15
     20 #define EBUSY 	 16
     21 #define EEXIST 	 17
     22 #define EXDEV 	 18
     23 #define ENODEV 	 19
     24 #define ENOTDIR 	 20
     25 #define EISDIR 	 21
     26 #define EINVAL 	 22
     27 #define ENFILE 	 23
     28 #define EMFILE 	 24
     29 #define ENOTTY 	 25
     30 #define ETXTBSY 	 26
     31 #define EFBIG 	 27
     32 #define ENOSPC 	 28
     33 #define ESPIPE 	 29
     34 #define EROFS 	 30
     35 #define EMLINK 	 31
     36 #define EPIPE 	 32
     37 #define EDOM 	 33
     38 #define ERANGE 	 34
     39 #define EAGAIN 	 35
     40 #define EINPROGRESS 	 36
     41 #define EALREADY 	 37
     42 #define ENOTSOCK 	 38
     43 #define EDESTADDRREQ 	 39
     44 #define EMSGSIZE 	 40
     45 #define EPROTOTYPE 	 41
     46 #define ENOPROTOOPT 	 42
     47 #define EPROTONOSUPPORT 	 43
     48 #define ESOCKTNOSUPPORT 	 44
     49 #define ENOTSUP 	 45
     50 #define EPFNOSUPPORT 	 46
     51 #define EAFNOSUPPORT 	 47
     52 #define EADDRINUSE 	 48
     53 #define EADDRNOTAVAIL 	 49
     54 #define ENETDOWN 	 50
     55 #define ENETUNREACH 	 51
     56 #define ENETRESET 	 52
     57 #define ECONNABORTED 	 53
     58 #define ECONNRESET 	 54
     59 #define ENOBUFS 	 55
     60 #define EISCONN 	 56
     61 #define ENOTCONN 	 57
     62 #define ESHUTDOWN 	 58
     63 #define ETOOMANYREFS 	 59
     64 #define ETIMEDOUT 	 60
     65 #define ECONNREFUSED 	 61
     66 #define ELOOP 	 62
     67 #define ENAMETOOLONG 	 63
     68 #define EHOSTDOWN 	 64
     69 #define EHOSTUNREACH 	 65
     70 #define ENOTEMPTY 	 66
     71 #define EPROCLIM 	 67
     72 #define EUSERS 	 68
     73 #define EDQUOT 	 69
     74 #define ESTALE 	 70
     75 #define EREMOTE 	 71
     76 #define EBADRPC 	 72
     77 #define ERPCMISMATCH 	 73
     78 #define EPROGUNAVAIL 	 74
     79 #define EPROGMISMATCH 	 75
     80 #define EPROCUNAVAIL 	 76
     81 #define ENOLCK 	 77
     82 #define ENOSYS 	 78
     83 #define EFTYPE 	 79
     84 #define EAUTH 	 80
     85 #define ENEEDAUTH 	 81
     86 #define EPWROFF 	 82
     87 #define EDEVERR 	 83
     88 #define EOVERFLOW 	 84
     89 #define EBADEXEC 	 85
     90 #define EBADARCH 	 86
     91 #define ESHLIBVERS 	 87
     92 #define EBADMACHO 	 88
     93 #define ECANCELED 	 89
     94 #define EIDRM 	 90
     95 #define ENOMSG 	 91
     96 #define EILSEQ 	 92
     97 #define ENOATTR 	 93
     98 #define EBADMSG 	 94
     99 #define EMULTIHOP 	 95
    100 #define ENODATA 	 96
    101 #define ENOLINK 	 97
    102 #define ENOSR 	 98
    103 #define ENOSTR 	 99
    104 #define EPROTO 	 100
    105 #define ETIME 	 101
    106 #define EOPNOTSUPP 	 102
    107 #define ENOPOLICY 	 103
    108 #define ENOTRECOVERABLE 	 104
    109 #define EOWNERDEAD 	 105
    110 #define EQFULL 	 106
    111 #define EUNKNOWN 	 107