source: contrib/API/tools/unierrno.h@ 578

Last change on this file since 578 was 578, checked in by David Azarewicz, 11 years ago

API updates

File size: 6.6 KB
Line 
1/* $Id: errno.h,v 1.1.1.1 2003/07/02 13:56:58 eleph Exp $ */
2
3#ifndef _I386_ERRNO_H
4#define _I386_ERRNO_H
5
6#define UNIEPERM 1 /* Operation not permitted */
7#define UNIENOENT 2 /* No such file or directory */
8#define UNIESRCH 3 /* No such process */
9#define UNIEINTR 4 /* Interrupted system call */
10#define UNIEIO 5 /* I/O error */
11#define UNIENXIO 6 /* No such device or address */
12#define UNIE2BIG 7 /* Arg list too long */
13#define UNIENOEXEC 8 /* Exec format error */
14#define UNIEBADF 9 /* Bad file number */
15#define UNIECHILD 10 /* No child processes */
16#define UNIEAGAIN 11 /* Try again */
17#define UNIENOMEM 12 /* Out of memory */
18#define UNIEACCES 13 /* Permission denied */
19#define UNIEFAULT 14 /* Bad address */
20#define UNIENOTBLK 15 /* Block device required */
21#define UNIEBUSY 16 /* Device or resource busy */
22#define UNIEEXIST 17 /* File exists */
23#define UNIEXDEV 18 /* Cross-device link */
24#define UNIENODEV 19 /* No such device */
25#define UNIENOTDIR 20 /* Not a directory */
26#define UNIEISDIR 21 /* Is a directory */
27#define UNIEINVAL 22 /* Invalid argument */
28#define UNIENFILE 23 /* File table overflow */
29#define UNIEMFILE 24 /* Too many open files */
30#define UNIENOTTY 25 /* Not a typewriter */
31#define UNIETXTBSY 26 /* Text file busy */
32#define UNIEFBIG 27 /* File too large */
33#define UNIENOSPC 28 /* No space left on device */
34#define UNIESPIPE 29 /* Illegal seek */
35#define UNIEROFS 30 /* Read-only file system */
36#define UNIEMLINK 31 /* Too many links */
37#define UNIEPIPE 32 /* Broken pipe */
38#define UNIEDOM 33 /* Math argument out of domain of func */
39#define UNIERANGE 34 /* Math result not representable */
40#define UNIEDEADLK 35 /* Resource deadlock would occur */
41#define UNIENAMETOOLONG 36 /* File name too long */
42#define UNIENOLCK 37 /* No record locks available */
43#define UNIENOSYS 38 /* Function not implemented */
44#define UNIENOTEMPTY 39 /* Directory not empty */
45#define UNIELOOP 40 /* Too many symbolic links encountered */
46#define UNIEWOULDBLOCK EAGAIN /* Operation would block */
47#define UNIENOMSG 42 /* No message of desired type */
48#define UNIEIDRM 43 /* Identifier removed */
49#define UNIECHRNG 44 /* Channel number out of range */
50#define UNIEL2NSYNC 45 /* Level 2 not synchronized */
51#define UNIEL3HLT 46 /* Level 3 halted */
52#define UNIEL3RST 47 /* Level 3 reset */
53#define UNIELNRNG 48 /* Link number out of range */
54#define UNIEUNATCH 49 /* Protocol driver not attached */
55#define UNIENOCSI 50 /* No CSI structure available */
56#define UNIEL2HLT 51 /* Level 2 halted */
57#define UNIEBADE 52 /* Invalid exchange */
58#define UNIEBADR 53 /* Invalid request descriptor */
59#define UNIEXFULL 54 /* Exchange full */
60#define UNIENOANO 55 /* No anode */
61#define UNIEBADRQC 56 /* Invalid request code */
62#define UNIEBADSLT 57 /* Invalid slot */
63
64#define UNIEDEADLOCK UNIEDEADLK
65
66#define UNIEBFONT 59 /* Bad font file format */
67#define UNIENOSTR 60 /* Device not a stream */
68#define UNIENODATA 61 /* No data available */
69#define UNIETIME 62 /* Timer expired */
70#define UNIENOSR 63 /* Out of streams resources */
71#define UNIENONET 64 /* Machine is not on the network */
72#define UNIENOPKG 65 /* Package not installed */
73#define UNIEREMOTE 66 /* Object is remote */
74#define UNIENOLINK 67 /* Link has been severed */
75#define UNIEADV 68 /* Advertise error */
76#define UNIESRMNT 69 /* Srmount error */
77#define UNIECOMM 70 /* Communication error on send */
78#define UNIEPROTO 71 /* Protocol error */
79#define UNIEMULTIHOP 72 /* Multihop attempted */
80#define UNIEDOTDOT 73 /* RFS specific error */
81#define UNIEBADMSG 74 /* Not a data message */
82#define UNIEOVERFLOW 75 /* Value too large for defined data type */
83#define UNIENOTUNIQ 76 /* Name not unique on network */
84#define UNIEBADFD 77 /* File descriptor in bad state */
85#define UNIEREMCHG 78 /* Remote address changed */
86#define UNIELIBACC 79 /* Can not access a needed shared library */
87#define UNIELIBBAD 80 /* Accessing a corrupted shared library */
88#define UNIELIBSCN 81 /* .lib section in a.out corrupted */
89#define UNIELIBMAX 82 /* Attempting to link in too many shared libraries */
90#define UNIELIBEXEC 83 /* Cannot exec a shared library directly */
91#define UNIEILSEQ 84 /* Illegal byte sequence */
92#define UNIERESTART 85 /* Interrupted system call should be restarted */
93#define UNIESTRPIPE 86 /* Streams pipe error */
94#define UNIEUSERS 87 /* Too many users */
95#define UNIENOTSOCK 88 /* Socket operation on non-socket */
96#define UNIEDESTADDRREQ 89 /* Destination address required */
97#define UNIEMSGSIZE 90 /* Message too long */
98#define UNIEPROTOTYPE 91 /* Protocol wrong type for socket */
99#define UNIENOPROTOOPT 92 /* Protocol not available */
100#define UNIEPROTONOSUPPORT 93 /* Protocol not supported */
101#define UNIESOCKTNOSUPPORT 94 /* Socket type not supported */
102#define UNIEOPNOTSUPP 95 /* Operation not supported on transport endpoint */
103#define UNIEPFNOSUPPORT 96 /* Protocol family not supported */
104#define UNIEAFNOSUPPORT 97 /* Address family not supported by protocol */
105#define UNIEADDRINUSE 98 /* Address already in use */
106#define UNIEADDRNOTAVAIL 99 /* Cannot assign requested address */
107#define UNIENETDOWN 100 /* Network is down */
108#define UNIENETUNREACH 101 /* Network is unreachable */
109#define UNIENETRESET 102 /* Network dropped connection because of reset */
110#define UNIECONNABORTED 103 /* Software caused connection abort */
111#define UNIECONNRESET 104 /* Connection reset by peer */
112#define UNIENOBUFS 105 /* No buffer space available */
113#define UNIEISCONN 106 /* Transport endpoint is already connected */
114#define UNIENOTCONN 107 /* Transport endpoint is not connected */
115#define UNIESHUTDOWN 108 /* Cannot send after transport endpoint shutdown */
116#define UNIETOOMANYREFS 109 /* Too many references: cannot splice */
117#define UNIETIMEDOUT 110 /* Connection timed out */
118#define UNIECONNREFUSED 111 /* Connection refused */
119#define UNIEHOSTDOWN 112 /* Host is down */
120#define UNIEHOSTUNREACH 113 /* No route to host */
121#define UNIEALREADY 114 /* Operation already in progress */
122#define UNIEINPROGRESS 115 /* Operation now in progress */
123#define UNIESTALE 116 /* Stale NFS file handle */
124#define UNIEUCLEAN 117 /* Structure needs cleaning */
125#define UNIENOTNAM 118 /* Not a XENIX named type file */
126#define UNIENAVAIL 119 /* No XENIX semaphores available */
127#define UNIEISNAM 120 /* Is a named type file */
128#define UNIEREMOTEIO 121 /* Remote I/O error */
129#define UNIEDQUOT 122 /* Quota exceeded */
130
131#define UNIENOMEDIUM 123 /* No medium found */
132#define UNIEMEDIUMTYPE 124 /* Wrong medium type */
133
134#endif
Note: See TracBrowser for help on using the repository browser.