blob: b268d96e054dc62d78bf6055df67e5a867d69544 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
|
#ifndef __ERRNO
#define __ERRNO
#pragma lib "/$M/lib/ape/libap.a"
extern int errno;
#define EDOM 1000
#define ERANGE 1001
#define EPLAN9 1002
#ifdef _POSIX_SOURCE
#define E2BIG 1
#define EACCES 2
#define EAGAIN 3
#define EBADF 4
#define EBUSY 5
#define ECHILD 6
#define EDEADLK 7
#define EEXIST 8
#define EFAULT 9
#define EFBIG 10
#define EINTR 11
#define EINVAL 12
#define EIO 13
#define EISDIR 14
#define EMFILE 15
#define EMLINK 16
#define ENAMETOOLONG 17
#define ENFILE 18
#define ENODEV 19
#define ENOENT 20
#define ENOEXEC 21
#define ENOLCK 22
#define ENOMEM 23
#define ENOSPC 24
#define ENOSYS 25
#define ENOTDIR 26
#define ENOTEMPTY 27
#define ENOTTY 28
#define ENXIO 29
#define EPERM 30
#define EPIPE 31
#define EROFS 32
#define ESPIPE 33
#define ESRCH 34
#define EXDEV 35
/* bsd networking software */
#define ENOTSOCK 36
#define EPROTONOSUPPORT 37
#define EPROTOTYPE 37 /* two names for 37 */
#define ECONNREFUSED 38
#define EAFNOSUPPORT 39
#define ENOBUFS 40
#define EOPNOTSUPP 41
#define EADDRINUSE 42
#define EDESTADDRREQ 43
#define EMSGSIZE 44
#define ENOPROTOOPT 45
#define ESOCKTNOSUPPORT 46
#define EPFNOSUPPORT 47
#define EADDRNOTAVAIL 48
#define ENETDOWN 49
#define ENETUNREACH 50
#define ENETRESET 51
#define ECONNABORTED 52
#define EISCON 53
#define ENOTCONN 54
#define ESHUTDOWN 55
#define ETOOMANYREFS 56
#define ETIMEDOUT 57
#define EHOSTDOWN 58
#define EHOSTUNREACH 59
#define EGREG 60
/* These added in 1003.1b-1993 */
#define ECANCELED 61
#define EINPROGRESS 62
#endif /* _POSIX_SOURCE */
#endif /* __ERRNO */
|