Karg  v0.2.0
The kernel of CargOS
errno.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <types.h>
4 
5 #define E2BIG 7
6 #define EACCES 13
7 #define EADDRINUSE 112
8 #define EADDRNOTAVAIL 125
9 #define EAFNOSUPPORT 106
10 #define EAGAIN 11
11 #define EALREADY 120
12 #define EBADF 9
13 #define EBADMSG 77
14 #define EBUSY 16
15 #define ECANCELED 140
16 #define ECHILD 10
17 #define ECONNABORTED 113
18 #define ECONNREFUSED 111
19 #define ECONNRESET 104
20 #define EDEADLK 45
21 #define EDESTADDRREQ 121
22 #define EDOM 33
23 #define EDQUOT 132
24 #define EEXIST 17
25 #define EFAULT 14
26 #define EFBIG 27
27 #define EHOSTUNREACH 118
28 #define EIDRM 36
29 #define EILSEQ 138
30 #define EINPROGRESS 119
31 #define EINTR 4
32 #define EINVAL 22
33 #define EIO 5
34 #define EISCONN 127
35 #define EISDIR 21
36 #define ELOOP 92
37 #define EMFILE 24
38 #define EMLINK 31
39 #define EMSGSIZE 122
40 #define EMULTIHOP 74
41 #define ENAMETOOLONG 91
42 #define ENETDOWN 115
43 #define ENETRESET 126
44 #define ENETUNREACH 114
45 #define ENFILE 23
46 #define ENOBUFS 105
47 #define ENODATA 61
48 #define ENODEV 19
49 #define ENOENT 2
50 #define ENOEXEC 8
51 #define ENOLCK 46
52 #define ENOLINK 67
53 #define ENOMEM 12
54 #define ENOMSG 35
55 #define ENOPROTOOPT 109
56 #define ENOSPC 28
57 #define ENOSR 63
58 #define ENOSTR 60
59 #define ENOSYS 88
60 #define ENOTCONN 128
61 #define ENOTDIR 20
62 #define ENOTEMPTY 90
63 #define ENOTRECOVERABLE 141
64 #define ENOTSOCK 108
65 #define ENOTSUP 134
66 #define ENOTTY 25
67 #define ENXIO 6
68 #define EOPNOTSUPP 95
69 #define EOVERFLOW 139
70 #define EOWNERDEAD 142
71 #define EPERM 1
72 #define EPIPE 32
73 #define EPROTO 71
74 #define EPROTONOSUPPORT 123
75 #define EPROTOTYPE 107
76 #define ERANGE 34
77 #define EROFS 30
78 #define ESPIPE 29
79 #define ESRCH 3
80 #define ESTALE 133
81 #define ETIME 62
82 #define ETIMEDOUT 116
83 #define ETXTBSY 26
84 #define EWOULDBLOCK EAGAIN
85 #define EXDEV 18
86 
87 const char *errno_name(i32 errno);
const char * errno_name(i32 errno)
Definition: errno.c:3
__INT32_TYPE__ i32
Definition: types.h:15