Skip to content

Commit a6c2c73

Browse files
author
lexouduck
committed
doc(log/env): added c++ compiler files for reference
1 parent 7fc4694 commit a6c2c73

File tree

6 files changed

+1125
-93
lines changed

6 files changed

+1125
-93
lines changed

log/env/linux/errno_clang++.c

Lines changed: 140 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,140 @@
1+
/*
2+
** macro test: errno
3+
** OS: Linux-Pop_OS
4+
** SH: Linux
5+
** CC: /usr/bin/clang++
6+
*/
7+
#define EDEADLOCK EDEADLK
8+
#define ENOTSUP EOPNOTSUPP
9+
#define EWOULDBLOCK EAGAIN
10+
#define EPERM 1
11+
#define ENOENT 2
12+
#define ESRCH 3
13+
#define EINTR 4
14+
#define EIO 5
15+
#define ENXIO 6
16+
#define E2BIG 7
17+
#define ENOEXEC 8
18+
#define EBADF 9
19+
#define ECHILD 10
20+
#define EAGAIN 11
21+
#define ENOMEM 12
22+
#define EACCES 13
23+
#define EFAULT 14
24+
#define ENOTBLK 15
25+
#define EBUSY 16
26+
#define EEXIST 17
27+
#define EXDEV 18
28+
#define ENODEV 19
29+
#define ENOTDIR 20
30+
#define EISDIR 21
31+
#define EINVAL 22
32+
#define ENFILE 23
33+
#define EMFILE 24
34+
#define ENOTTY 25
35+
#define ETXTBSY 26
36+
#define EFBIG 27
37+
#define ENOSPC 28
38+
#define ESPIPE 29
39+
#define EROFS 30
40+
#define EMLINK 31
41+
#define EPIPE 32
42+
#define EDOM 33
43+
#define ERANGE 34
44+
#define EDEADLK 35
45+
#define ENAMETOOLONG 36
46+
#define ENOLCK 37
47+
#define ENOSYS 38
48+
#define ENOTEMPTY 39
49+
#define ELOOP 40
50+
#define ENOMSG 42
51+
#define EIDRM 43
52+
#define ECHRNG 44
53+
#define EL2NSYNC 45
54+
#define EL3HLT 46
55+
#define EL3RST 47
56+
#define ELNRNG 48
57+
#define EUNATCH 49
58+
#define ENOCSI 50
59+
#define EL2HLT 51
60+
#define EBADE 52
61+
#define EBADR 53
62+
#define EXFULL 54
63+
#define ENOANO 55
64+
#define EBADRQC 56
65+
#define EBADSLT 57
66+
#define EBFONT 59
67+
#define ENOSTR 60
68+
#define ENODATA 61
69+
#define ETIME 62
70+
#define ENOSR 63
71+
#define ENONET 64
72+
#define ENOPKG 65
73+
#define EREMOTE 66
74+
#define ENOLINK 67
75+
#define EADV 68
76+
#define ESRMNT 69
77+
#define ECOMM 70
78+
#define EPROTO 71
79+
#define EMULTIHOP 72
80+
#define EDOTDOT 73
81+
#define EBADMSG 74
82+
#define EOVERFLOW 75
83+
#define ENOTUNIQ 76
84+
#define EBADFD 77
85+
#define EREMCHG 78
86+
#define ELIBACC 79
87+
#define ELIBBAD 80
88+
#define ELIBSCN 81
89+
#define ELIBMAX 82
90+
#define ELIBEXEC 83
91+
#define EILSEQ 84
92+
#define ERESTART 85
93+
#define ESTRPIPE 86
94+
#define EUSERS 87
95+
#define ENOTSOCK 88
96+
#define EDESTADDRREQ 89
97+
#define EMSGSIZE 90
98+
#define EPROTOTYPE 91
99+
#define ENOPROTOOPT 92
100+
#define EPROTONOSUPPORT 93
101+
#define ESOCKTNOSUPPORT 94
102+
#define EOPNOTSUPP 95
103+
#define EPFNOSUPPORT 96
104+
#define EAFNOSUPPORT 97
105+
#define EADDRINUSE 98
106+
#define EADDRNOTAVAIL 99
107+
#define ENETDOWN 100
108+
#define ENETUNREACH 101
109+
#define ENETRESET 102
110+
#define ECONNABORTED 103
111+
#define ECONNRESET 104
112+
#define ENOBUFS 105
113+
#define EISCONN 106
114+
#define ENOTCONN 107
115+
#define ESHUTDOWN 108
116+
#define ETOOMANYREFS 109
117+
#define ETIMEDOUT 110
118+
#define ECONNREFUSED 111
119+
#define EHOSTDOWN 112
120+
#define EHOSTUNREACH 113
121+
#define EALREADY 114
122+
#define EINPROGRESS 115
123+
#define ESTALE 116
124+
#define EUCLEAN 117
125+
#define ENOTNAM 118
126+
#define ENAVAIL 119
127+
#define EISNAM 120
128+
#define EREMOTEIO 121
129+
#define EDQUOT 122
130+
#define ENOMEDIUM 123
131+
#define EMEDIUMTYPE 124
132+
#define ECANCELED 125
133+
#define ENOKEY 126
134+
#define EKEYEXPIRED 127
135+
#define EKEYREVOKED 128
136+
#define EKEYREJECTED 129
137+
#define EOWNERDEAD 130
138+
#define ENOTRECOVERABLE 131
139+
#define ERFKILL 132
140+
#define EHWPOISON 133

log/env/linux/errno_g++.c

Lines changed: 140 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,140 @@
1+
/*
2+
** macro test: errno
3+
** OS: Linux-Pop_OS
4+
** SH: Linux
5+
** CC: /usr/bin/g++
6+
*/
7+
#define EDEADLOCK EDEADLK
8+
#define ENOTSUP EOPNOTSUPP
9+
#define EWOULDBLOCK EAGAIN
10+
#define EPERM 1
11+
#define ENOENT 2
12+
#define ESRCH 3
13+
#define EINTR 4
14+
#define EIO 5
15+
#define ENXIO 6
16+
#define E2BIG 7
17+
#define ENOEXEC 8
18+
#define EBADF 9
19+
#define ECHILD 10
20+
#define EAGAIN 11
21+
#define ENOMEM 12
22+
#define EACCES 13
23+
#define EFAULT 14
24+
#define ENOTBLK 15
25+
#define EBUSY 16
26+
#define EEXIST 17
27+
#define EXDEV 18
28+
#define ENODEV 19
29+
#define ENOTDIR 20
30+
#define EISDIR 21
31+
#define EINVAL 22
32+
#define ENFILE 23
33+
#define EMFILE 24
34+
#define ENOTTY 25
35+
#define ETXTBSY 26
36+
#define EFBIG 27
37+
#define ENOSPC 28
38+
#define ESPIPE 29
39+
#define EROFS 30
40+
#define EMLINK 31
41+
#define EPIPE 32
42+
#define EDOM 33
43+
#define ERANGE 34
44+
#define EDEADLK 35
45+
#define ENAMETOOLONG 36
46+
#define ENOLCK 37
47+
#define ENOSYS 38
48+
#define ENOTEMPTY 39
49+
#define ELOOP 40
50+
#define ENOMSG 42
51+
#define EIDRM 43
52+
#define ECHRNG 44
53+
#define EL2NSYNC 45
54+
#define EL3HLT 46
55+
#define EL3RST 47
56+
#define ELNRNG 48
57+
#define EUNATCH 49
58+
#define ENOCSI 50
59+
#define EL2HLT 51
60+
#define EBADE 52
61+
#define EBADR 53
62+
#define EXFULL 54
63+
#define ENOANO 55
64+
#define EBADRQC 56
65+
#define EBADSLT 57
66+
#define EBFONT 59
67+
#define ENOSTR 60
68+
#define ENODATA 61
69+
#define ETIME 62
70+
#define ENOSR 63
71+
#define ENONET 64
72+
#define ENOPKG 65
73+
#define EREMOTE 66
74+
#define ENOLINK 67
75+
#define EADV 68
76+
#define ESRMNT 69
77+
#define ECOMM 70
78+
#define EPROTO 71
79+
#define EMULTIHOP 72
80+
#define EDOTDOT 73
81+
#define EBADMSG 74
82+
#define EOVERFLOW 75
83+
#define ENOTUNIQ 76
84+
#define EBADFD 77
85+
#define EREMCHG 78
86+
#define ELIBACC 79
87+
#define ELIBBAD 80
88+
#define ELIBSCN 81
89+
#define ELIBMAX 82
90+
#define ELIBEXEC 83
91+
#define EILSEQ 84
92+
#define ERESTART 85
93+
#define ESTRPIPE 86
94+
#define EUSERS 87
95+
#define ENOTSOCK 88
96+
#define EDESTADDRREQ 89
97+
#define EMSGSIZE 90
98+
#define EPROTOTYPE 91
99+
#define ENOPROTOOPT 92
100+
#define EPROTONOSUPPORT 93
101+
#define ESOCKTNOSUPPORT 94
102+
#define EOPNOTSUPP 95
103+
#define EPFNOSUPPORT 96
104+
#define EAFNOSUPPORT 97
105+
#define EADDRINUSE 98
106+
#define EADDRNOTAVAIL 99
107+
#define ENETDOWN 100
108+
#define ENETUNREACH 101
109+
#define ENETRESET 102
110+
#define ECONNABORTED 103
111+
#define ECONNRESET 104
112+
#define ENOBUFS 105
113+
#define EISCONN 106
114+
#define ENOTCONN 107
115+
#define ESHUTDOWN 108
116+
#define ETOOMANYREFS 109
117+
#define ETIMEDOUT 110
118+
#define ECONNREFUSED 111
119+
#define EHOSTDOWN 112
120+
#define EHOSTUNREACH 113
121+
#define EALREADY 114
122+
#define EINPROGRESS 115
123+
#define ESTALE 116
124+
#define EUCLEAN 117
125+
#define ENOTNAM 118
126+
#define ENAVAIL 119
127+
#define EISNAM 120
128+
#define EREMOTEIO 121
129+
#define EDQUOT 122
130+
#define ENOMEDIUM 123
131+
#define EMEDIUMTYPE 124
132+
#define ECANCELED 125
133+
#define ENOKEY 126
134+
#define EKEYEXPIRED 127
135+
#define EKEYREVOKED 128
136+
#define EKEYREJECTED 129
137+
#define EOWNERDEAD 130
138+
#define ENOTRECOVERABLE 131
139+
#define ERFKILL 132
140+
#define EHWPOISON 133

log/env/linux/errno_gcc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
** macro test: errno
3-
** OS:
3+
** OS: Linux-Pop_OS
44
** SH: Linux
55
** CC: /usr/bin/gcc
66
*/

0 commit comments

Comments
 (0)