summaryrefslogtreecommitdiff
path: root/libstd/syswrap-ss+linux.myr
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-08-26 12:20:58 -0700
committerOri Bernstein <ori@eigenstate.org>2015-08-26 12:20:58 -0700
commit2bc852bda98762d3bc01548bf972e3f1b137fbfb (patch)
tree74831deed3c9057c5fe0cbb8790d220e855bc792 /libstd/syswrap-ss+linux.myr
parent3de952510eb2a23350d24ed926f19c0cf72a12f2 (diff)
downloadmc-2bc852bda98762d3bc01548bf972e3f1b137fbfb.tar.gz
Move Myrddin libs to lib/ subdirectory.
Diffstat (limited to 'libstd/syswrap-ss+linux.myr')
-rw-r--r--libstd/syswrap-ss+linux.myr22
1 files changed, 0 insertions, 22 deletions
diff --git a/libstd/syswrap-ss+linux.myr b/libstd/syswrap-ss+linux.myr
deleted file mode 100644
index 1982e54..0000000
--- a/libstd/syswrap-ss+linux.myr
+++ /dev/null
@@ -1,22 +0,0 @@
-use sys
-use "errno.use"
-
-pkg std =
- const exit : (status:int -> void)
- pkglocal const bgetcwd : (buf : byte[:] -> errno)
-;;
-
-const exit = {status; sys.exit_group(status)}
-const bgetcwd = {buf;
- var err
- err = sys.getcwd(buf) castto(errno)
- /*
- if we got a length back, it includes
- the nul byte. chop that off.
- */
- if err > 0
- -> err - 1
- else
- -> err
- ;;
-}