Guest User

Untitled

a guest
Nov 27th, 2025
24
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ; <errno.h> defines for assembly
  2.  
  3. _EPERM           :=  1 ; permission error
  4. _EINVAL          :=  2 ; invalid argument
  5. _EIO             :=  3 ; io error
  6. _EDOM            :=  4 ; math domain error
  7. _ERANGE          :=  5 ; math range error
  8. _EILSEQ          :=  6 ; Illegal byte sequence (C95)
  9. _E2BIG           :=  7 ; Argument list too long
  10. _EACCES          :=  8 ; Permission denied
  11. _EADDRINUSE      :=  9 ; Address in use
  12. _EADDRNOTAVAIL   := 10 ; Address not available
  13. _EAFNOSUPPORT    := 11 ; Address family not supported
  14. _EAGAIN          := 12 ; Resource unavailable, try again
  15. _EALREADY        := 13 ; Connection already in progress
  16. _EBADF           := 14 ; Bad file descriptor
  17. _EBADMSG         := 15 ; Bad message
  18. _EBUSY           := 16 ; Device or resource busy
  19. _ECANCELED       := 17 ; Operation canceled
  20. _ECHILD          := 18 ; No child processes
  21. _ECONNABORTED    := 19 ; Connection aborted
  22. _ECONNREFUSED    := 20 ; Connection refused
  23. _ECONNRESET      := 21 ; Connection reset
  24. _EDEADLK         := 22 ; Resource deadlock avoided
  25. _EDESTADDRREQ    := 23 ; Destination address required
  26. _EEXIST          := 24 ; File exists
  27. _EFAULT          := 25 ; Bad address
  28. _EFBIG           := 26 ; File too large
  29. _EHOSTUNREACH    := 27 ; Host is unreachable
  30. _EIDRM           := 28 ; Identifier removed
  31. _EINPROGRESS     := 29 ; Operation in progress
  32. _EINTR           := 30 ; Interrupted function
  33. _EISCONN         := 31 ; Socket is connected
  34. _EISDIR          := 32 ; Is a directory
  35. _ELOOP           := 33 ; Too many levels of symbolic links
  36. _EMFILE          := 34 ; Too many open files
  37. _EMLINK          := 35 ; Too many links
  38. _EMSGSIZE        := 36 ; Message too long
  39. _ENAMETOOLONG    := 37 ; Filename too long
  40. _ENETDOWN        := 38 ; Network is down
  41. _ENETRESET       := 39 ; Connection aborted by network
  42. _ENETUNREACH     := 40 ; Network is unreachable
  43. _ENFILE          := 41 ; Too many open files in system
  44. _ENOBUFS         := 42 ; No buffer space available
  45. _ENODATA         := 43 ; No message is available on the STREAM head read queue
  46. _ENODEV          := 44 ; No such device
  47. _ENOENT          := 45 ; No such file or directory
  48. _ENOEXEC         := 46 ; Executable file format error
  49. _ENOLCK          := 47 ; No locks available
  50. _ENOLINK         := 48 ; Link has been severed
  51. _ENOMEM          := 49 ; Not enough space
  52. _ENOMSG          := 50 ; No message of desired type
  53. _ENOPROTOOPT     := 51 ; Protocol not available
  54. _ENOSPC          := 52 ; No space left on device
  55. _ENOSR           := 53 ; No stream resources
  56. _ENOSTR          := 54 ; Not a stream
  57. _ENOSYS          := 55 ; Function not implemented
  58. _ENOTCONN        := 56 ; The socket is not connected
  59. _ENOTDIR         := 57 ; Not a directory
  60. _ENOTEMPTY       := 58 ; Directory not empty
  61. _ENOTRECOVERABLE := 59 ; State not recoverable
  62. _ENOTSOCK        := 60 ; Not a socket
  63. _ENOTSUP         := 61 ; Not supported
  64. _ENOTTY          := 62 ; Inappropriate I/O control operation
  65. _ENXIO           := 63 ; No such device or address
  66. _EOPNOTSUPP      := 64 ; Operation not supported on socket
  67. _EOVERFLOW       := 65 ; Value too large to be stored in data type
  68. _EOWNERDEAD      := 66 ; Previous owner died
  69. _EPIPE           := 67 ; Broken pipe
  70. _EPROTO          := 68 ; Protocol error
  71. _EPROTONOSUPPORT := 69 ; Protocol not supported
  72. _EPROTOTYPE      := 70 ; Protocol wrong type for socket
  73. _EROFS           := 71 ; Read-only file system
  74. _ESPIPE          := 72 ; Invalid seek
  75. _ESRCH           := 73 ; No such process
  76. _ETIME           := 74 ; Stream ioctl() timeout
  77. _ETIMEDOUT       := 75 ; Connection timed out
  78. _ETXTBSY         := 76 ; Text file busy
  79. _EWOULDBLOCK     := 77 ; Operation would block
  80. _EXDEV           := 78 ; Cross-device link
  81.  
Advertisement
Add Comment
Please, Sign In to add comment