|
|
1.1 root 1: /*++
2:
3: Copyright (c) 1991 Microsoft Corporation
4:
5: Module Name:
6:
7: errno.h
8:
9: Abstract:
10:
11: This module contains the implementation defined values for the POSIX error
12: number as described in section 2.5 of IEEE P1003.1/Draft 13 as well as
13: additional error codes for streams and sockets.
14:
15: Author:
16:
17: Mark Lucovsky 21-Feb-1989 // errno.h
18: Sam Patton (sampa) July 26, 1991 // sys\errno.h
19:
20: Revision History:
21:
22: when who what
23: ---- --- ----
24: 7-26-91 sampa initial version
25: 8-01-91 mikemas added inclusion of user-level errno.h
26: 9-09-91 mikemas merged with ..\errno.h
27: 9-19-91 mikemas removed STREAMS error codes to ..\..\sockets\sock_err.h
28:
29: --*/
30:
31:
32: #ifndef _SYS_ERRNO_
33: #define _SYS_ERRNO_
34:
35: /*
36: * POSIX error codes
37: */
38:
39: #define EZERO 0
40: #define EPERM 1
41: #define ENOENT 2
42: #define ESRCH 3
43: #define EINTR 4
44: #define EIO 5
45: #define ENXIO 6
46: #define E2BIG 7
47: #define ENOEXEC 8
48: #define EBADF 9
49: #define ECHILD 10
50: #define EAGAIN 11
51: #define ENOMEM 12
52: #define EACCES 13
53: #define EFAULT 14
54: #define ENOTBLK 15 /* not a POSIX.1 error code */
55: #define EBUSY 16
56: #define EEXIST 17
57: #define EXDEV 18
58: #define ENODEV 19
59: #define ENOTDIR 20
60: #define EISDIR 21
61: #define EINVAL 22
62: #define ENFILE 23
63: #define EMFILE 24
64: #define ENOTTY 25
65: #define ETXTBUSY 26 /* not a POSIX.1 error code */
66: #define EFBIG 27
67: #define ENOSPC 28
68: #define ESPIPE 29
69: #define EROFS 30
70: #define EMLINK 31
71: #define EPIPE 32
72: #define EDOM 33
73: #define ERANGE 34
74: #define EUCLEAN 35 /* not a POSIX.1 error code */
75: #define EDEADLOCK 36
76: #define EDEADLK 36
77: #define UNKNOWN 37
78: #define ENAMETOOLONG 38 /* XXX.mjb: fix this. */
79: #define ENOLCK 39 /* XXX.mjb: fix this. */
80: #define ENOSYS 40 /* XXX.mjb: fix this. */
81: #define ENOTEMPTY 41 /* XXX.mjb: fix this. */
82:
83: #endif /* _SYS_ERRNO_ */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.