summaryrefslogtreecommitdiff
path: root/src/libc/include/__errno.h
diff options
context:
space:
mode:
authordzwdz2023-08-14 18:51:07 +0200
committerdzwdz2023-08-14 18:51:07 +0200
commit642b5fb0007b64c77d186fcb018d571152ee1d47 (patch)
tree1c466461f3602d306be309a053edae558ef2568e /src/libc/include/__errno.h
parent8050069c57b729c18c19b1a03ab6e4bf63b4735e (diff)
reorganization: first steps
Diffstat (limited to 'src/libc/include/__errno.h')
-rw-r--r--src/libc/include/__errno.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/libc/include/__errno.h b/src/libc/include/__errno.h
new file mode 100644
index 0000000..7551ce0
--- /dev/null
+++ b/src/libc/include/__errno.h
@@ -0,0 +1,26 @@
+/* generated by awk */
+#ifdef E
+E( 1, "EGENERIC unknown error")
+E( 2, "EFAULT")
+E( 3, "EBADF bad file descriptor")
+E( 4, "EINVAL")
+E( 5, "ENOSYS unsupported")
+E( 6, "ERANGE")
+E( 7, "ENOMEM")
+E( 8, "ENOENT")
+E( 9, "ENOTEMPTY")
+E( 10, "EACCES")
+E( 11, "EMFILE all file descriptors taken")
+E( 12, "ECONNRESET")
+E( 13, "EPIPE")
+E( 14, "ECHILD")
+E(200, "EISDIR")
+E(201, "ENAMETOOLONG")
+E(202, "ENOTDIR")
+E(203, "ELOOP")
+E(204, "ENOEXEC")
+E(205, "EINTR")
+E(206, "EWOULDBLOCK")
+E(207, "EEXIST")
+E(208, "EAGAIN")
+#endif