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
EADDRINUSE defined in line 69; never used
EAGAIN defined in line 23; never used
EALREADY defined in line 54; never used
EBADF defined in line 21; used 1 times
ECHILD defined in line 22; never used
ECONNRESET defined in line 77; used 2 times
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; used 1 times
EFAULT defined in line 26; used 6 times
EFBIG defined in line 39; never used
EINPROGRESS defined in line 53; never used
EINTR defined in line 16; never used
EIO defined in line 17; used 4 times
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
ENAMETOOLONG defined in line 88; never used
ENETRESET defined in line 75; never used
ENFILE defined in line 35; never used
ENODEV defined in line 31; used 2 times
ENOENT defined in line 14; used 3 times
ENOEXEC defined in line 20; never used
ENOMEM defined in line 24; never used
ENOPROTOOPT defined in line 63; used 1 times
ENOSPC defined in line 40; never used
ENOTBLK defined in line 27; 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
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; used 1 times
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 3 times
EXDEV defined in line 30; never used

Usage of this include

errno.h used 42 times
Last modified: 1986-06-05
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 1490
Valid CSS Valid XHTML 1.0 Strict