Fennix  1.0.0
Full Documentation
Loading...
Searching...
No Matches
errno.h
Go to the documentation of this file.
1/*
2 This file is part of Fennix Kernel.
3
4 Fennix Kernel is free software: you can redistribute it and/or
5 modify it under the terms of the GNU General Public License as
6 published by the Free Software Foundation, either version 3 of
7 the License, or (at your option) any later version.
8
9 Fennix Kernel is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
13
14 You should have received a copy of the GNU General Public License
15 along with Fennix Kernel. If not, see <https://www.gnu.org/licenses/>.
16*/
17
18#ifndef __FENNIX_API_ERRNO_H__
19#define __FENNIX_API_ERRNO_H__
20
32#define EOK 0
33
43#define E2BIG 1
44
49#define EACCES 2
50
54#define EADDRINUSE 3
55
60#define EADDRNOTAVAIL 4
61
67#define EAFNOSUPPORT 5
68
73#define EAGAIN 6
74
79#define EALREADY 7
80
86#define EBADF 8
87
101#define EBADMSG 9
102
109#define EBUSY 10
110
115#define ECANCELED 11
116
122#define ECHILD 12
123
127#define ECONNABORTED 13
128
135#define ECONNREFUSED 14
136
140#define ECONNRESET 15
141
146#define EDEADLK 16
147
151#define EDESTADDRREQ 17
152
157#define EDOM 18
158
162#define EDQUOT 19
163
168#define EEXIST 20
169
177#define EFAULT 21
178
184#define EFBIG 22
185
191#define EHOSTUNREACH 23
192
197#define EIDRM 24
198
204#define EILSEQ 25
205
213#define EINPROGRESS 26
214
222#define EINTR 27
223
229#define EINVAL 28
230
237#define EIO 29
238
242#define EISCONN 30
243
248#define EISDIR 31
249
256#define ELOOP 32
257
264#define EMFILE 33
265
270#define EMLINK 34
271
278#define EMSGSIZE 35
279
283#define EMULTIHOP 36
284
293#define ENAMETOOLONG 37
294
299#define ENETDOWN 38
300
304#define ENETRESET 39
305
309#define ENETUNREACH 40
310
317#define ENFILE 41
318
323#define ENOBUFS 42
324
329#define ENODATA 43
330
336#define ENODEV 44
337
342#define ENOENT 45
343
349#define ENOEXEC 46
350
356#define ENOLCK 47
357
361#define ENOLINK 48
362
368#define ENOMEM 49
369
374#define ENOMSG 50
375
380#define ENOPROTOOPT 51
381
387#define ENOSPC 52
388
395#define ENOSR 53
396
401#define ENOSTR 54
402
407#define ENOSYS 55
408
412#define ENOTCONN 56
413
421#define ENOTDIR 57
422
427#define ENOTEMPTY 58
428
433#define ENOTRECOVERABLE 59
434
438#define ENOTSOCK 60
439
444#define ENOTSUP 61
445
451#define ENOTTY 62
452
459#define ENXIO 63
460
465#define EOPNOTSUPP 64
466
473#define EOVERFLOW 65
474
479#define EOWNERDEAD 66
480
486#define EPERM 67
487
492#define EPIPE 68
493
499#define EPROTO 69
500
506#define EPROTONOSUPPORT 70
507
512#define EPROTOTYPE 71
513
519#define ERANGE 72
520
525#define EROFS 73
526
531#define ESPIPE 74
532
537#define ESRCH 75
538
542#define ESTALE 76
543
551#define ETIME 77
552
565#define ETIMEDOUT 78
566
573#define ETXTBSY 79
574
580#define EWOULDBLOCK 80
581
585#define EXDEV 81
586
587#ifdef __kernel__
588#define __ERRNO_MAX 82
589#endif
590
591#endif // !__FENNIX_API_ERRNO_H__