PageRenderTime 51ms CodeModel.GetById 24ms RepoModel.GetById 0ms app.codeStats 0ms

/pypy/translator/cli/src/errno.cs

https://bitbucket.org/dac_io/pypy
C# | 129 lines | 129 code | 0 blank | 0 comment | 0 complexity | fbe6448b210169015afe1d2ad0d98b90 MD5 | raw file
  1. namespace pypy.builtin
  2. {
  3. public class Errno {
  4. public const int EPERM = 1; // Operation not permitted
  5. public const int ENOENT = 2; // No such file or directory
  6. public const int ESRCH = 3; // No such process
  7. public const int EINTR = 4; // Interrupted system call
  8. public const int EIO = 5; // I/O error
  9. public const int ENXIO = 6; // No such device or address
  10. public const int E2BIG = 7; // Arg list too long
  11. public const int ENOEXEC = 8; // Exec format error
  12. public const int EBADF = 9; // Bad file number
  13. public const int ECHILD = 10; // No child processes
  14. public const int EAGAIN = 11; // Try again
  15. public const int ENOMEM = 12; // Out of memory
  16. public const int EACCES = 13; // Permission denied
  17. public const int EFAULT = 14; // Bad address
  18. public const int ENOTBLK = 15; // Block device required
  19. public const int EBUSY = 16; // Device or resource busy
  20. public const int EEXIST = 17; // File exists
  21. public const int EXDEV = 18; // Cross-device link
  22. public const int ENODEV = 19; // No such device
  23. public const int ENOTDIR = 20; // Not a directory
  24. public const int EISDIR = 21; // Is a directory
  25. public const int EINVAL = 22; // Invalid argument
  26. public const int ENFILE = 23; // File table overflow
  27. public const int EMFILE = 24; // Too many open files
  28. public const int ENOTTY = 25; // Not a typewriter
  29. public const int ETXTBSY = 26; // Text file busy
  30. public const int EFBIG = 27; // File too large
  31. public const int ENOSPC = 28; // No space left on device
  32. public const int ESPIPE = 29; // Illegal seek
  33. public const int EROFS = 30; // Read-only file system
  34. public const int EMLINK = 31; // Too many links
  35. public const int EPIPE = 32; // Broken pipe
  36. public const int EDOM = 33; // Math argument out of domain of func
  37. public const int ERANGE = 34; // Math result not representable
  38. public const int EDEADLK = 35; // Resource deadlock would occur
  39. public const int ENAMETOOLONG = 36; // File name too long
  40. public const int ENOLCK = 37; // No record locks available
  41. public const int ENOSYS = 38; // Function not implemented
  42. public const int ENOTEMPTY = 39; // Directory not empty
  43. public const int ELOOP = 40; // Too many symbolic links encountered
  44. public const int EWOULDBLOCK = EAGAIN; // Operation would block
  45. public const int ENOMSG = 42; // No message of desired type
  46. public const int EIDRM = 43; // Identifier removed
  47. public const int ECHRNG = 44; // Channel number out of range
  48. public const int EL2NSYNC = 45; // Level 2 not synchronized
  49. public const int EL3HLT = 46; // Level 3 halted
  50. public const int EL3RST = 47; // Level 3 reset
  51. public const int ELNRNG = 48; // Link number out of range
  52. public const int EUNATCH = 49; // Protocol driver not attached
  53. public const int ENOCSI = 50; // No CSI structure available
  54. public const int EL2HLT = 51; // Level 2 halted
  55. public const int EBADE = 52; // Invalid exchange
  56. public const int EBADR = 53; // Invalid request descriptor
  57. public const int EXFULL = 54; // Exchange full
  58. public const int ENOANO = 55; // No anode
  59. public const int EBADRQC = 56; // Invalid request code
  60. public const int EBADSLT = 57; // Invalid slot
  61. public const int EDEADLOCK = EDEADLK;
  62. public const int EBFONT = 59; // Bad font file format
  63. public const int ENOSTR = 60; // Device not a stream
  64. public const int ENODATA = 61; // No data available
  65. public const int ETIME = 62; // Timer expired
  66. public const int ENOSR = 63; // Out of streams resources
  67. public const int ENONET = 64; // Machine is not on the network
  68. public const int ENOPKG = 65; // Package not installed
  69. public const int EREMOTE = 66; // Object is remote
  70. public const int ENOLINK = 67; // Link has been severed
  71. public const int EADV = 68; // Advertise error
  72. public const int ESRMNT = 69; // Srmount error
  73. public const int ECOMM = 70; // Communication error on send
  74. public const int EPROTO = 71; // Protocol error
  75. public const int EMULTIHOP = 72; // Multihop attempted
  76. public const int EDOTDOT = 73; // RFS specific error
  77. public const int EBADMSG = 74; // Not a data message
  78. public const int EOVERFLOW = 75; // Value too large for defined data type
  79. public const int ENOTUNIQ = 76; // Name not unique on network
  80. public const int EBADFD = 77; // File descriptor in bad state
  81. public const int EREMCHG = 78; // Remote address changed
  82. public const int ELIBACC = 79; // Can not access a needed shared library
  83. public const int ELIBBAD = 80; // Accessing a corrupted shared library
  84. public const int ELIBSCN = 81; // .lib section in a.out corrupted
  85. public const int ELIBMAX = 82; // Attempting to link in too many shared libraries
  86. public const int ELIBEXEC = 83; // Cannot exec a shared library directly
  87. public const int EILSEQ = 84; // Illegal byte sequence
  88. public const int ERESTART = 85; // Interrupted system call should be restarted
  89. public const int ESTRPIPE = 86; // Streams pipe error
  90. public const int EUSERS = 87; // Too many users
  91. public const int ENOTSOCK = 88; // Socket operation on non-socket
  92. public const int EDESTADDRREQ = 89; // Destination address required
  93. public const int EMSGSIZE = 90; // Message too long
  94. public const int EPROTOTYPE = 91; // Protocol wrong type for socket
  95. public const int ENOPROTOOPT = 92; // Protocol not available
  96. public const int EPROTONOSUPPORT = 93; // Protocol not supported
  97. public const int ESOCKTNOSUPPORT = 94; // Socket type not supported
  98. public const int EOPNOTSUPP = 95; // Operation not supported on transport endpoint
  99. public const int EPFNOSUPPORT = 96; // Protocol family not supported
  100. public const int EAFNOSUPPORT = 97; // Address family not supported by protocol
  101. public const int EADDRINUSE = 98; // Address already in use
  102. public const int EADDRNOTAVAIL = 99; // Cannot assign requested address
  103. public const int ENETDOWN = 100; // Network is down
  104. public const int ENETUNREACH = 101; // Network is unreachable
  105. public const int ENETRESET = 102; // Network dropped connection because of reset
  106. public const int ECONNABORTED = 103; // Software caused connection abort
  107. public const int ECONNRESET = 104; // Connection reset by peer
  108. public const int ENOBUFS = 105; // No buffer space available
  109. public const int EISCONN = 106; // Transport endpoint is already connected
  110. public const int ENOTCONN = 107; // Transport endpoint is not connected
  111. public const int ESHUTDOWN = 108; // Cannot send after transport endpoint shutdown
  112. public const int ETOOMANYREFS = 109; // Too many references: cannot splice
  113. public const int ETIMEDOUT = 110; // Connection timed out
  114. public const int ECONNREFUSED = 111; // Connection refused
  115. public const int EHOSTDOWN = 112; // Host is down
  116. public const int EHOSTUNREACH = 113; // No route to host
  117. public const int EALREADY = 114; // Operation already in progress
  118. public const int EINPROGRESS = 115; // Operation now in progress
  119. public const int ESTALE = 116; // Stale NFS file handle
  120. public const int EUCLEAN = 117; // Structure needs cleaning
  121. public const int ENOTNAM = 118; // Not a XENIX named type file
  122. public const int ENAVAIL = 119; // No XENIX semaphores available
  123. public const int EISNAM = 120; // Is a named type file
  124. public const int EREMOTEIO = 121; // Remote I/O error
  125. public const int EDQUOT = 122; // Quota exceeded
  126. public const int ENOMEDIUM = 123; // No medium found
  127. public const int EMEDIUMTYPE = 124; // Wrong medium type
  128. }
  129. }