root/include/asm-sparc/errno.h

/* [previous][next][first][last][top][bottom][index][help] */

INCLUDED FROM


   1 /* $Id: errno.h,v 1.4 1995/11/25 02:31:41 davem Exp $ */
   2 #ifndef _SPARC_ERRNO_H
   3 #define _SPARC_ERRNO_H
   4 
   5 /* These match the SunOS error numbering scheme. */
   6 #define EPERM            1      /* Operation not permitted */
   7 #define ENOENT           2      /* No such file or directory */
   8 #define ESRCH            3      /* No such process */
   9 #define EINTR            4      /* Interrupted system call */
  10 #define EIO              5      /* I/O error */
  11 #define ENXIO            6      /* No such device or address */
  12 #define E2BIG            7      /* Arg list too long */
  13 #define ENOEXEC          8      /* Exec format error */
  14 #define EBADF            9      /* Bad file number */
  15 #define ECHILD          10      /* No child processes */
  16 #define EAGAIN          11      /* Try again */
  17 #define ENOMEM          12      /* Out of memory */
  18 #define EACCES          13      /* Permission denied */
  19 #define EFAULT          14      /* Bad address */
  20 #define ENOTBLK         15      /* Block device required */
  21 #define EBUSY           16      /* Device or resource busy */
  22 #define EEXIST          17      /* File exists */
  23 #define EXDEV           18      /* Cross-device link */
  24 #define ENODEV          19      /* No such device */
  25 #define ENOTDIR         20      /* Not a directory */
  26 #define EISDIR          21      /* Is a directory */
  27 #define EINVAL          22      /* Invalid argument */
  28 #define ENFILE          23      /* File table overflow */
  29 #define EMFILE          24      /* Too many open files */
  30 #define ENOTTY          25      /* Not a typewriter */
  31 #define ETXTBSY         26      /* Text file busy */
  32 #define EFBIG           27      /* File too large */
  33 #define ENOSPC          28      /* No space left on device */
  34 #define ESPIPE          29      /* Illegal seek */
  35 #define EROFS           30      /* Read-only file system */
  36 #define EMLINK          31      /* Too many links */
  37 #define EPIPE           32      /* Broken pipe */
  38 #define EDOM            33      /* Math argument out of domain of func */
  39 #define ERANGE          34      /* Math result not representable */
  40 #define EWOULDBLOCK     35      /* Operation would block */
  41 #define EINPROGRESS     36      /* Operation now in progress */
  42 #define EALREADY        37      /* Operation already in progress */
  43 #define ENOTSOCK        38      /* Socket operation on non-socket */
  44 #define EDESTADDRREQ    39      /* Destination address required */
  45 #define EMSGSIZE        40      /* Message too long */
  46 #define EPROTOTYPE      41      /* Protocol wrong type for socket */
  47 #define ENOPROTOOPT     42      /* Protocol not available */
  48 #define EPROTONOSUPPORT 43      /* Protocol not supported */
  49 #define ESOCKTNOSUPPORT 44      /* Socket type not supported */
  50 #define EOPNOTSUPP      45      /* Op not supported on transport endpoint */
  51 #define EPFNOSUPPORT    46      /* Protocol family not supported */
  52 #define EAFNOSUPPORT    47      /* Address family not supported by protocol */
  53 #define EADDRINUSE      48      /* Address already in use */
  54 #define EADDRNOTAVAIL   49      /* Cannot assign requested address */
  55 #define ENETDOWN        50      /* Network is down */
  56 #define ENETUNREACH     51      /* Network is unreachable */
  57 #define ENETRESET       52      /* Net dropped connection because of reset */
  58 #define ECONNABORTED    53      /* Software caused connection abort */
  59 #define ECONNRESET      54      /* Connection reset by peer */
  60 #define ENOBUFS         55      /* No buffer space available */
  61 #define EISCONN         56      /* Transport endpoint is already connected */
  62 #define ENOTCONN        57      /* Transport endpoint is not connected */
  63 #define ESHUTDOWN       58      /* No send after transport endpoint shutdown */
  64 #define ETOOMANYREFS    59      /* Too many references: cannot splice */
  65 #define ETIMEDOUT       60      /* Connection timed out */
  66 #define ECONNREFUSED    61      /* Connection refused */
  67 #define ELOOP           62      /* Too many symbolic links encountered */
  68 #define ENAMETOOLONG    63      /* File name too long */
  69 #define EHOSTDOWN       64      /* Host is down */
  70 #define EHOSTUNREACH    65      /* No route to host */
  71 #define ENOTEMPTY       66      /* Directory not empty */
  72 #define EPROCLIM        67      /* SUNOS: Too many processes */
  73 #define EUSERS          68      /* Too many users */
  74 #define EDQUOT          69      /* Quota exceeded */
  75 #define ESTALE          70      /* Stale NFS file handle */
  76 #define EREMOTE         71      /* Object is remote */
  77 #define ENOSTR          72      /* Device not a stream */
  78 #define ETIME           73      /* Timer expired */
  79 #define ENOSR           74      /* Out of streams resources */
  80 #define ENOMSG          75      /* No message of desired type */
  81 #define EBADMSG         76      /* Not a data message */
  82 #define EIDRM           77      /* Identifier removed */
  83 #define EDEADLK         78      /* Resource deadlock would occur */
  84 #define ENOLCK          79      /* No record locks available */
  85 #define ENONET          80      /* Machine is not on the network */
  86 #define ERREMOTE        81      /* SunOS: Too many lvls of remote in path */
  87 #define ENOLINK         82      /* Link has been severed */
  88 #define EADV            83      /* Advertise error */
  89 #define ESRMNT          84      /* Srmount error */
  90 #define ECOMM           85      /* Communication error on send */
  91 #define EPROTO          86      /* Protocol error */
  92 #define EMULTIHOP       87      /* Multihop attempted */
  93 #define EDOTDOT         88      /* RFS specific error */
  94 #define EREMCHG         89      /* Remote address changed */
  95 #define ENOSYS          90      /* Function not implemented */
  96 
  97 /* The rest have no SunOS equivalent. */
  98 #define ESTRPIPE        91      /* Streams pipe error */
  99 #define EOVERFLOW       92      /* Value too large for defined data type */
 100 #define EBADFD          93      /* File descriptor in bad state */
 101 #define ECHRNG          94      /* Channel number out of range */
 102 #define EL2NSYNC        95      /* Level 2 not synchronized */
 103 #define EL3HLT          96      /* Level 3 halted */
 104 #define EL3RST          97      /* Level 3 reset */
 105 #define ELNRNG          98      /* Link number out of range */
 106 #define EUNATCH         99      /* Protocol driver not attached */
 107 #define ENOCSI          100     /* No CSI structure available */
 108 #define EL2HLT          101     /* Level 2 halted */
 109 #define EBADE           102     /* Invalid exchange */
 110 #define EBADR           103     /* Invalid request descriptor */
 111 #define EXFULL          104     /* Exchange full */
 112 #define ENOANO          105     /* No anode */
 113 #define EBADRQC         106     /* Invalid request code */
 114 #define EBADSLT         107     /* Invalid slot */
 115 #define EDEADLOCK       108     /* File locking deadlock error */
 116 #define EBFONT          109     /* Bad font file format */
 117 #define ELIBEXEC        110     /* Cannot exec a shared library directly */
 118 #define ENODATA         111     /* No data available */
 119 #define ELIBBAD         112     /* Accessing a corrupted shared library */
 120 #define ENOPKG          113     /* Package not installed */
 121 #define ELIBACC         114     /* Can not access a needed shared library */
 122 #define ENOTUNIQ        115     /* Name not unique on network */
 123 #define ERESTART        116     /* Interrupted syscall should be restarted */
 124 #define EUCLEAN         117     /* Structure needs cleaning */
 125 #define ENOTNAM         118     /* Not a XENIX named type file */
 126 #define ENAVAIL         119     /* No XENIX semaphores available */
 127 #define EISNAM          120     /* Is a named type file */
 128 #define EREMOTEIO       121     /* Remote I/O error */
 129 #define EILSEQ          122     /* Illegal byte sequence */
 130 #define ELIBMAX         123     /* Atmpt to link in too many shared libs */
 131 #define ELIBSCN         124     /* .lib section in a.out corrupted */
 132 
 133 #endif

/* [previous][next][first][last][top][bottom][index][help] */