home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 4 / DATAFILE_PDCD4.iso / languages / netlib / !NetLib / sys / h / errno < prev    next >
Encoding:
Text File  |  1995-05-23  |  2.1 KB  |  43 lines

  1. #ifndef __sys_errno_h
  2. #define __sys_errno_h
  3.  
  4. /* Freenet programmers interface - sys/errno.h - 23/5/95 */
  5.  
  6. #include <errno.h>
  7.  
  8. #define EBADF           9       /* Bad descriptor */
  9. #define EAGAIN          11      /* No more ports */
  10. #define EFAULT          14      /* Bad address */
  11. #define EINVAL          22      /* Invalid argument */
  12. #define EWOULDBLOCK     35      /* Operation would block */
  13. #define EINPROGRESS     36      /* Operation now in progress */
  14. #define EALREADY        37      /* Operation already in progress */
  15. #define ENOTSOCK        38      /* Socket peration on non-socket */
  16. #define EDESTADDRREQ    39      /* Destination address required */
  17. #define EMSGSIZE        40      /* Message too long */
  18. #define EPROTOTYPE      41      /* Protocol wrong type for socket */
  19. #define ENOPROTOOPT     42      /* Protocol not available */
  20. #define EPROTONOSUPPORT 43      /* Protocol not supported */
  21. #define ESOCKTNOSUPPORT 44      /* Socket type not supported */
  22. #define EOPNOTSUPP      45      /* Operation not supported on socket */
  23. #define EPFNOSUPPORT    46      /* Protocol family not supported */
  24. #define EAFNOSUPPORT    47      /* Address family not supported */
  25. #define EADDRINUSE      48      /* Address already in use */
  26. #define EADDRNOTAVAIL   49      /* Can't assign requested address */
  27. #define ENETDOWN        50      /* Network is down */
  28. #define ENETUNREACH     51      /* Network is unreachable */
  29. #define ENETRESET       52      /* Network dropped connection on reset */
  30. #define ECONNABORTED    53      /* Software caused connection abort */
  31. #define ECONNRESET      54      /* Connection reset by peer */
  32. #define ENOBUFS         55      /* No buffer space available */
  33. #define EISCONN         56      /* Socket is already connected */
  34. #define ENOTCONN        57      /* Socket is not connected */
  35. #define ESHUTDOWN       58      /* Can't send after socket shutdown */
  36. #define ETOOMANYREFS    59      /* Too many references: can't splice */
  37. #define ETIMEDOUT       60      /* Connection timed out */
  38. #define ECONNREFUSED    61      /* Connection refused */
  39. #define EHOSTDOWN       64      /* Host is down */
  40. #define EHOSTUNREACH    65      /* No route to host */
  41.  
  42. #endif
  43.