summaryrefslogtreecommitdiff
path: root/lib/std/syswrap+plan9.myr
diff options
context:
space:
mode:
Diffstat (limited to 'lib/std/syswrap+plan9.myr')
-rw-r--r--lib/std/syswrap+plan9.myr8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/std/syswrap+plan9.myr b/lib/std/syswrap+plan9.myr
index cb7841c..bbabf22 100644
--- a/lib/std/syswrap+plan9.myr
+++ b/lib/std/syswrap+plan9.myr
@@ -66,7 +66,6 @@ pkg std =
const fork : (-> pid)
const execv : (cmd : byte[:], args : byte[:][:] -> errno)
const execve : (cmd : byte[:], args : byte[:][:], env : byte[:][:] -> errno)
- const nanosleep : (nsecs : uint64 -> errno)
pkglocal const Canunmap : bool = true
pkglocal const getmem : (sz : size -> byte#)
@@ -206,13 +205,6 @@ const execve = {cmd, args, env;
-> lasterr()
}
-const nanosleep = {nsecs
- if sys.sleep((nsecs/1_000_000 : uint32)) < 0
- -> lasterr()
- ;;
- -> 0
-}
-
/* memory stuff */
const getmem = {sz
var endp, oldp