summaryrefslogtreecommitdiff
path: root/lib/std/syswrap+posixy.myr
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2016-05-05 21:41:38 -0700
committerOri Bernstein <ori@eigenstate.org>2016-05-05 21:41:38 -0700
commit36b4210be2a5d51607ba614d08e8369b19ca1e65 (patch)
tree60d6b2eb822d3a232678530dc9bc43bcbcb81e9e /lib/std/syswrap+posixy.myr
parentabadb828b42e44dd0e50be143745a0c15d8c6c83 (diff)
downloadmc-36b4210be2a5d51607ba614d08e8369b19ca1e65.tar.gz
Pull sleep into system specific code.
Diffstat (limited to 'lib/std/syswrap+posixy.myr')
-rw-r--r--lib/std/syswrap+posixy.myr1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/std/syswrap+posixy.myr b/lib/std/syswrap+posixy.myr
index a865100..668ebc7 100644
--- a/lib/std/syswrap+posixy.myr
+++ b/lib/std/syswrap+posixy.myr
@@ -103,7 +103,6 @@ const suicide = {; sys.kill(sys.getpid(), 6)} /* kill self with sigabort */
const fork = {; -> sys.fork() castto(pid)}
const execv = {cmd, args; -> sys.execv(cmd, args) castto(errno)}
const execve = {cmd, args, env; -> sys.execve(cmd, args, env) castto(errno)}
-const sleep = {time; sys.sleep(time)}
/* memory stuff */
const getmem = {sz; -> sys.mmap(0 castto(byte#), sz castto(sys.size), sys.Mprotrw, sys.Mpriv | sys.Manon, -1, 0)}