main kernel startup, libc, console tty, asmops, build flags fixes
[bootcensus] / src / libc / errno.h
diff --git a/src/libc/errno.h b/src/libc/errno.h
new file mode 100644 (file)
index 0000000..a63ec24
--- /dev/null
@@ -0,0 +1,19 @@
+#ifndef ERRNO_H_
+#define ERRNO_H_
+
+#define EFOO                   1
+#define EAGAIN                 2
+#define EINVAL                 3
+#define ECHILD                 4
+#define EBUSY                  5
+#define ENOMEM                 6
+#define EIO                            7
+#define ENOENT                 8
+#define ENAMETOOLONG   9
+#define ENOSPC                 10
+#define EPERM                  11
+#define ENOTDIR                        12
+
+#define EBUG                   127     /* for missing features and known bugs */
+
+#endif /* ERRNO_H_ */