home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 3 / TheARMClub_PDCD3.iso / hensa / unix / unixlib_1 / !UnixLib37_netlib_clib_sys_h_errno < prev    next >
Encoding:
Text File  |  1996-08-25  |  1.8 KB  |  38 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. #if 0
  9. #define ENOTSOCK        38      /* Socket operation on non-socket */
  10. #define EDESTADDRREQ    39      /* Destination address required */
  11. #define EMSGSIZE        40      /* Message too long */
  12. #define EPROTOTYPE      41      /* Protocol wrong type for socket */
  13. #define ENOPROTOOPT     42      /* Protocol not available */
  14. #define EPROTONOSUPPORT 43      /* Protocol not supported */
  15. #define ESOCKTNOSUPPORT 44      /* Socket type not supported */
  16. #define EOPNOTSUPP      45      /* Operation not supported on socket */
  17. #define EPFNOSUPPORT    46      /* Protocol family not supported */
  18. #define EAFNOSUPPORT    47      /* Address family not supported */
  19. #define EADDRINUSE      48      /* Address already in use */
  20. #define EADDRNOTAVAIL   49      /* Can't assign requested address */
  21. #define ENETDOWN        50      /* Network is down */
  22. #define ENETUNREACH     51      /* Network is unreachable */
  23. #define ENETRESET       52      /* Network dropped connection on reset */
  24. #define ECONNABORTED    53      /* Software caused connection abort */
  25. #define ECONNRESET      54      /* Connection reset by peer */
  26. #define ENOBUFS         55      /* No buffer space available */
  27. #define EISCONN         56      /* Socket is already connected */
  28. #define ENOTCONN        57      /* Socket is not connected */
  29. #define ESHUTDOWN       58      /* Can't send after socket shutdown */
  30. #define ETOOMANYREFS    59      /* Too many references: can't splice */
  31. #define ETIMEDOUT       60      /* Connection timed out */
  32. #define ECONNREFUSED    61      /* Connection refused */
  33. #define EHOSTDOWN       64      /* Host is down */
  34. #define EHOSTUNREACH    65      /* No route to host */
  35. #endif
  36.  
  37. #endif
  38.