aboutsummaryrefslogtreecommitdiff
path: root/src/interp/sys-os.boot
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2013-05-27 01:36:14 +0000
committerdos-reis <gdr@axiomatics.org>2013-05-27 01:36:14 +0000
commit5b90309d09bb9f9d17ff86f644994953ce94c0b3 (patch)
treea806f6c06d604eabbbc909f54b4d863140341ba0 /src/interp/sys-os.boot
parentb99d2252a04fa96e0f6da50c735d8ba0de4765d8 (diff)
downloadopen-axiom-5b90309d09bb9f9d17ff86f644994953ce94c0b3.tar.gz
Define getWorkingDirectory via FFI.
Diffstat (limited to 'src/interp/sys-os.boot')
-rw-r--r--src/interp/sys-os.boot5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/interp/sys-os.boot b/src/interp/sys-os.boot
index 4a5ed497..a9a54d17 100644
--- a/src/interp/sys-os.boot
+++ b/src/interp/sys-os.boot
@@ -1,4 +1,4 @@
--- Copyright (C) 2007-2012 Gabriel Dos Reis.
+-- Copyright (C) 2007-2013 Gabriel Dos Reis.
-- All rights reserved.
--
-- Redistribution and use in source and binary forms, with or without
@@ -49,6 +49,9 @@ loadSystemRuntimeCore()
--% File System Support
+++ Current working directory
+import oa__getcwd: () -> string for getWorkingDirectory
+
++ change current working directory.
import oa__chdir: string -> int for changeDirectory
-- 0: success, -1: failure