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

Defined macros

E2BIG defined in line 19; never used
EACCES defined in line 25; never used
EADDRINUSE defined in line 69; never used
EADDRNOTAVAIL defined in line 70; never used
EAFNOSUPPORT defined in line 68; never used
EAGAIN defined in line 23; never used
EALREADY defined in line 54; never used
EBADF defined in line 21; never used
EBUSY defined in line 28; never used
ECHILD defined in line 22; never used
ECONNABORTED defined in line 76; never used
ECONNREFUSED defined in line 84; never used
ECONNRESET defined in line 77; never used
EDEADLK defined in line 52; never used
EDESTADDRREQ defined in line 60; never used
EDOM defined in line 47; never used
EDQUOT defined in line 98; never used
EEXIST defined in line 29; never used
EFAULT defined in line 26; never used
EFBIG defined in line 39; never used
EHOSTDOWN defined in line 91; never used
EHOSTUNREACH defined in line 92; never used
EINPROGRESS defined in line 53; never used
EINTR defined in line 16; never used
EINVAL defined in line 34; never used
EIO defined in line 17; never used
EISCONN defined in line 79; never used
EISDIR defined in line 33; never used
ELOOP defined in line 87; never used
EMFILE defined in line 36; never used
EMLINK defined in line 43; never used
EMSGSIZE defined in line 61; never used
ENAMETOOLONG defined in line 88; never used
ENETDOWN defined in line 73; never used
ENETRESET defined in line 75; never used
ENETUNREACH defined in line 74; never used
ENFILE defined in line 35; never used
ENOBUFS defined in line 78; never used
ENODEV defined in line 31; never used
ENOENT defined in line 14; never used
ENOEXEC defined in line 20; never used
ENOMEM defined in line 24; never used
ENOPROTOOPT defined in line 63; never used
ENOSPC defined in line 40; never used
ENOTBLK defined in line 27; never used
ENOTCONN defined in line 80; never used
ENOTDIR defined in line 32; never used
ENOTEMPTY defined in line 93; never used
ENOTSOCK defined in line 59; never used
ENOTTY defined in line 37; never used
ENXIO defined in line 18; never used
EOPNOTSUPP defined in line 66; never used
EPERM defined in line 13; never used
EPFNOSUPPORT defined in line 67; never used
EPIPE defined in line 44; never used
EPROCLIM defined in line 96; never used
EPROTONOSUPPORT defined in line 64; never used
EPROTOTYPE defined in line 62; never used
ERANGE defined in line 48; never used
EROFS defined in line 42; never used
ESHUTDOWN defined in line 81; never used
ESOCKTNOSUPPORT defined in line 65; never used
ESPIPE defined in line 41; never used
ESRCH defined in line 15; never used
ETIMEDOUT defined in line 83; never used
ETOOMANYREFS defined in line 82; never used
ETXTBSY defined in line 38; never used
EUSERS defined in line 97; never used
EWOULDBLOCK defined in line 51; used 1 times
  • in line 52
EXDEV defined in line 30; never used
Last modified: 1987-05-16
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 2644
Valid CSS Valid XHTML 1.0 Strict