diff options
author | dos-reis <gdr@axiomatics.org> | 2013-05-27 01:36:14 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2013-05-27 01:36:14 +0000 |
commit | 5b90309d09bb9f9d17ff86f644994953ce94c0b3 (patch) | |
tree | a806f6c06d604eabbbc909f54b4d863140341ba0 /src/interp/sys-os.boot | |
parent | b99d2252a04fa96e0f6da50c735d8ba0de4765d8 (diff) | |
download | open-axiom-5b90309d09bb9f9d17ff86f644994953ce94c0b3.tar.gz |
Define getWorkingDirectory via FFI.
Diffstat (limited to 'src/interp/sys-os.boot')
-rw-r--r-- | src/interp/sys-os.boot | 5 |
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 |