summaryrefslogtreecommitdiff
path: root/src/libc/include/__errno.h
diff options
context:
space:
mode:
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