1: /*	errno.h	4.1	82/12/28	*/
   2: 
   3: /*
   4:  * Error codes
   5:  */
   6: 
   7: #define EPERM       1       /* Not owner */
   8: #define ENOENT      2       /* No such file or directory */
   9: #define ESRCH       3       /* No such process */
  10: #define EINTR       4       /* Interrupted system call */
  11: #define EIO     5       /* I/O error */
  12: #define ENXIO       6       /* No such device or address */
  13: #define E2BIG       7       /* Arg list too long */
  14: #define ENOEXEC     8       /* Exec format error */
  15: #define EBADF       9       /* Bad file number */
  16: #define ECHILD      10      /* No children */
  17: #define EAGAIN      11      /* No more processes */
  18: #define ENOMEM      12      /* Not enough core */
  19: #define EACCES      13      /* Permission denied */
  20: #define EFAULT      14      /* Bad address */
  21: #define ENOTBLK     15      /* Block device required */
  22: #define EBUSY       16      /* Exclusive use facility busy */
  23: #define EEXIST      17      /* File exists */
  24: #define EXDEV       18      /* Cross-device link */
  25: #define ENODEV      19      /* No such device */
  26: #define ENOTDIR     20      /* Not a directory*/
  27: #define EISDIR      21      /* Is a directory */
  28: #define EINVAL      22      /* Invalid argument */
  29: #define ENFILE      23      /* File table overflow */
  30: #define EMFILE      24      /* Too many open files */
  31: #define ENOTTY      25      /* Inappropriate ioctl for device */
  32: #define ETXTBSY     26      /* Text file busy */
  33: #define EFBIG       27      /* File too large */
  34: #define ENOSPC      28      /* No space left on device */
  35: #define ESPIPE      29      /* Illegal seek */
  36: #define EROFS       30      /* Read-only file system */
  37: #define EMLINK      31      /* Too many links */
  38: #define EPIPE       32      /* Broken pipe */
  39: 
  40: /* math software */
  41: #define EDOM        33      /* Argument too large */
  42: #define ERANGE      34      /* Result too large */
  43: 
  44: /* disk quotas */
  45: #define EQUOT       35      /* Disk quota exceeded */
  46: 
  47: /* symbolic links */
  48: #define ELOOP       36      /* Too many levels of symbolic links */
  49: 
  50: /* non-blocking and interrupt i/o */
  51: #define EWOULDBLOCK 37      /* Operation would block */
  52: 
  53: /*
  54:  *	The following errors relate specifically to the
  55:  *	TCP/IP implementation (UCB_NET).
  56:  */
  57: 
  58: #define EINPROGRESS 38      /* Operation now in progress */
  59: #define EALREADY    39      /* Operation already in progress */
  60: /* ipc/network software */
  61: 
  62:     /* argument errors */
  63: #define ENOTSOCK    40      /* Socket operation on non-socket */
  64: #define EDESTADDRREQ    41      /* Destination address required */
  65: #define EMSGSIZE    42      /* Message too long */
  66: #define EPROTOTYPE  43      /* Protocol wrong type for socket */
  67: #define ENOPROTOOPT 44      /* Protocol not available */
  68: #define EPROTONOSUPPORT 45      /* Protocol not supported */
  69: #define ESOCKTNOSUPPORT 46      /* Socket type not supported */
  70: #define EOPNOTSUPP  47      /* Operation not supported on socket */
  71: #define EPFNOSUPPORT    48      /* Protocol family not supported */
  72: #define EAFNOSUPPORT    49      /* Address family not supported by protocol family */
  73: #define EADDRINUSE  50      /* Address already in use */
  74: #define EADDRNOTAVAIL   51      /* Can't assign requested address */
  75: 
  76:     /* operational errors */
  77: #define ENETDOWN    52      /* Network is down */
  78: #define ENETUNREACH 53      /* Network is unreachable */
  79: #define ENETRESET   54      /* Network dropped connection on reset */
  80: #define ECONNABORTED    55      /* Software caused connection abort */
  81: #define ECONNRESET  56      /* Connection reset by peer */
  82: #define ENOBUFS     57      /* No buffer space available */
  83: #define EISCONN     58      /* Socket is already connected */
  84: #define ENOTCONN    59      /* Socket is not connected */
  85: #define ESHUTDOWN   60      /* Can't send after socket shutdown */
  86: #define ETOOMANYREFS    61      /* Too many references: can't splice */
  87: #define ETIMEDOUT   62      /* Connection timed out */
  88: #define ECONNREFUSED    63      /* Connection refused */
  89: 
  90:     /* */
  91: #define ENAMETOOLONG    64      /* File name too long */
  92: 
  93: /* should be rearranged */
  94: #define EHOSTDOWN   65      /* Host is down */
  95: #define EHOSTUNREACH    66      /* No route to host */

Defined macros

E2BIG defined in line 13; used 2 times
EADDRINUSE defined in line 73; never used
EADDRNOTAVAIL defined in line 74; never used
EAFNOSUPPORT defined in line 72; never used
EAGAIN defined in line 17; used 1 times
EALREADY defined in line 59; never used
ECHILD defined in line 16; used 3 times
ECONNABORTED defined in line 80; never used
ECONNREFUSED defined in line 88; never used
ECONNRESET defined in line 81; never used
EDESTADDRREQ defined in line 64; never used
EFBIG defined in line 33; used 2 times
EHOSTDOWN defined in line 94; never used
EHOSTUNREACH defined in line 95; never used
EINPROGRESS defined in line 58; never used
EISCONN defined in line 83; never used
EISDIR defined in line 27; used 2 times
ELOOP defined in line 48; used 1 times
EMFILE defined in line 30; used 1 times
EMLINK defined in line 37; never used
EMSGSIZE defined in line 65; never used
ENAMETOOLONG defined in line 91; never used
ENETDOWN defined in line 77; never used
ENETRESET defined in line 79; never used
ENETUNREACH defined in line 78; never used
ENOBUFS defined in line 82; never used
ENODEV defined in line 25; used 1 times
ENOEXEC defined in line 14; used 5 times
ENOPROTOOPT defined in line 67; never used
ENOTBLK defined in line 21; used 1 times
ENOTCONN defined in line 84; never used
ENOTSOCK defined in line 63; never used
ENXIO defined in line 12; used 122 times
EOPNOTSUPP defined in line 70; never used
EPERM defined in line 7; used 3 times
EPFNOSUPPORT defined in line 71; never used
EPIPE defined in line 38; used 2 times
EPROTONOSUPPORT defined in line 68; never used
EPROTOTYPE defined in line 66; never used
EQUOT defined in line 45; used 1 times
ERANGE defined in line 42; used 2 times
EROFS defined in line 36; used 1 times
ESHUTDOWN defined in line 85; never used
ESOCKTNOSUPPORT defined in line 69; never used
ETIMEDOUT defined in line 87; used 1 times
ETOOMANYREFS defined in line 86; never used
EWOULDBLOCK defined in line 51; used 5 times
EXDEV defined in line 24; used 1 times

Usage of this include

errno.h used 58 times
Last modified: 1983-05-24
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 1357
Valid CSS Valid XHTML 1.0 Strict