|
|
1.1 root 1:
2:
3: errno.h Header File errno.h
4:
5:
6:
7:
8: Error numbers used by errno()
9:
10: #include <errno.h>
11:
12: errno.h is a header that defines and describes the error numbers
13: returned in the external variable errno. The following lists the
14: the error numbers defined in errno.h:
15:
16: EEIIOO: I/O error
17: A physical I/O error occurred on a device driver. This
18: could be a tape error, a CRC error on a disk, or a framing
19: error on a synchronous HDLC link.
20:
21: EENNXXIIOO: no such device or address
22: A specified minor device is invalid or the unit is powered
23: off. This error might also indicate that a block number
24: given to a minor device is out of range. suload returns
25: this error code if the driver was not loaded.
26:
27: EE22BBIIGG: argument list too long
28: The number of bytes of arguments passed in an eexxeecc is too
29: large.
30:
31: EENNOOEEXXEECC: exec format error
32: The file given to exec or load is not a valid load module
33: (probably because it does not have the magic number at the
34: beginning), even though its mode indicates that it is ex-
35: ecutable.
36:
37: EEBBAADDFF: bad file descriptor
38: A file descriptor passed to a system call is not open or is
39: inappropriate to the call. For example, a file descriptor
40: opened only for reading may not be accessed for writing.
41:
42: EECCHHIILLDD: no children
43: A process issued a wait call when it had no outstanding
44: children.
45:
46: EEAAGGAAIINN: no more processes
47: The system cannot create any more processes, either because
48: it is out of table space or because the invoking process has
49: reached its process quota.
50:
51: EENNOOMMEEMM: not enough memory
52: The system cannot accomodate the memory size requested (by
53: exec or brk, for example).
54:
55: EEAACCCCEESS: permission denied
56: The user is denied access to a file.
57:
58: EEFFAAUULLTT: bad address
59: An address in a system call does not lie in the address
60: space. Normally, this generates a SIGSYS signal, which ter-
61: minates the process.
62:
63:
64: COHERENT Lexicon Page 1
65:
66:
67:
68:
69: errno.h Header File errno.h
70:
71:
72:
73:
74: EENNOOTTBBLLKK: block device required
75: The mount and umount calls require block devices as ar-
76: guments.
77:
78: EEBBUUSSYY: mount device busy
79: The special file passed to mount is already mounted, or the
80: file system given to umount has open files or active working
81: directories.
82:
83: EEEEXXIISSTT: file exists
84: An attempt was made to link to a file that already exists.
85:
86: EEXXDDEEVV: cross-device link
87: A link to a file must be on the same logical device as the
88: file.
89:
90: EENNOODDEEVV: no such device
91: An unsuitable I/O call was made to a device; for example, an
92: attempts to read a line printer.
93:
94: EENNOOTTDDIIRR: not a directory
95: A component in a path name exists but is not a directory, or
96: a chdir or chroot argument is not a directory.
97:
98: EEIISSDDIIRR: is a directory
99: Directories cannot be opened for writing.
100:
101: EEIINNVVAALL: invalid argument
102: An argument to a system call is out of range, e.g., a bad
103: signal number to kill or umount of a device that is not
104: mounted.
105:
106: EENNFFIILLEE: file table overflow
107: A table inside the COHERENT system has run out of space,
108: preventing further open calls and related requests.
109:
110: EEMMFFIILLEE: too many open files
111: A process is limited to 20 open files at any time.
112:
113: EENNOOTTTTYY: not a tty
114: An ioctl call was made to a file which is not a terminal
115: device.
116:
117: EETTXXTTBBSSYY: text file busy
118: The text segment of a shared load module is unwritable.
119: Therefore, an attempt to execute it while it is being writ-
120: ten or an attempt to open it for writing while it is being
121: executed will fail.
122:
123: EEFFBBIIGG: file too large
124: The block mapping algorithm for files fails above
125: 1,082,201,088 bytes.
126:
127:
128:
129:
130: COHERENT Lexicon Page 2
131:
132:
133:
134:
135: errno.h Header File errno.h
136:
137:
138:
139: EENNOOSSPPCC: no space left on device
140: Indicates an attempt to write on a file when no free blocks
141: remain on the associated device. This error may also in-
142: dicate that a device is out of i-nodes, so a file cannot be
143: created.
144:
145: EESSPPIIPPEE: illegal seek
146: It is illegal to lseek on a pipe.
147:
148: EERROOFFSS: read-only file system
149: Indicates an attempt to write on a file system mounted read-
150: only (e.g., with creat or unlink).
151:
152: EEMMLLIINNKK: too many links
153: A new link to a file cannot be created, because the link
154: count would exceed 32,767.
155:
156: EEPPIIPPEE: broken pipe
157: A write occurred on a pipe for which there are no readers.
158: This condition is accompanied by the signal SIGPIPE, so the
159: error will only be seen if the signal is ignored or caught.
160:
161: EEDDOOMM: mathematics library domain error
162: An argument to a mathematical routine falls outside the
163: domain of the function.
164:
165: EERRAANNGGEE: mathematics library result too large
166: The result of a mathematical function is too large to be
167: represented.
168:
169: EEKKSSPPAACCEE: out of kernel space
170: No more space is available for tables inside the COHERENT
171: system. Table space is dynamically allocated from a fixed
172: area of memory; it may be possible to increase the size of
173: the area by reconfiguring the system.
174:
175: EENNOOLLOOAADD: driver not loaded
176: Not used.
177:
178: EEBBAADDFFMMTT: bad exec format
179: An attempt was made to eexxeecc a file on the wrong type of
180: processor.
181:
182: EEDDAATTTTNN: device needs attention
183: The device being referenced needs operator attention. For
184: example, a line printer might need paper.
185:
186: EEDDBBUUSSYY: device busy
187: The indicated device is busy. For load, this implies that
188: the given major device number is already in use.
189:
190: ***** See Also *****
191:
192: errno, header files, perror(), signal()
193:
194:
195:
196: COHERENT Lexicon Page 3
197:
198:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.