summaryrefslogtreecommitdiff
path: root/lib/std/errno+plan9.myr
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-09-24 05:02:54 -0700
committerOri Bernstein <ori@eigenstate.org>2015-09-24 05:02:54 -0700
commit1bb9fd59499eb6fb7e8b56e4cee72365074d172e (patch)
tree9145e7a73d388dd3bced445abb3b9b294fe0a6a6 /lib/std/errno+plan9.myr
parent5db2c35218596d6aac8410b3fc608471836607c3 (diff)
downloadmc-1bb9fd59499eb6fb7e8b56e4cee72365074d172e.tar.gz
Update syswrap for plan9.
Woo error handling.
Diffstat (limited to 'lib/std/errno+plan9.myr')
-rw-r--r--lib/std/errno+plan9.myr7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/std/errno+plan9.myr b/lib/std/errno+plan9.myr
index c911349..3eb7695 100644
--- a/lib/std/errno+plan9.myr
+++ b/lib/std/errno+plan9.myr
@@ -1,6 +1,11 @@
pkg std =
type errno = int
+ const Enone : errno = 0
const Erange : errno = 1
- const Emisc : errno = 2
+ const Ebadf : errno = 2
const Eexist : errno = 3
+ const Einval : errno = 4
+ const Efault : errno = 5
+ const Eio : errno = 6
+ const Emisc : errno = 40
;;