summaryrefslogtreecommitdiff
path: root/src/user/lib/include/__errno.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/user/lib/include/__errno.h')
-rw-r--r--src/user/lib/include/__errno.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/user/lib/include/__errno.h b/src/user/lib/include/__errno.h
new file mode 100644
index 0000000..d6d5e6a
--- /dev/null
+++ b/src/user/lib/include/__errno.h
@@ -0,0 +1,16 @@
+/* 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(200, "EISDIR")
+#endif