diff options
Diffstat (limited to 'main/Unix/CoclSystemDependent.icl')
-rw-r--r-- | main/Unix/CoclSystemDependent.icl | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/main/Unix/CoclSystemDependent.icl b/main/Unix/CoclSystemDependent.icl new file mode 100644 index 0000000..4c411e8 --- /dev/null +++ b/main/Unix/CoclSystemDependent.icl @@ -0,0 +1,30 @@ +// this is for Unix +implementation module CoclSystemDependent + +import StdEnv + +// import for filesystem +import code from "cDirectory.o" // Unix +import code from "ipc.o" +from filesystem import ensureDirectoryExists + +PathSeparator + :== ':' +DirectorySeparator + :== '/' + +SystemDependentDevices :: [a] +SystemDependentDevices + = [] + +SystemDependentInitialIO :: [a] +SystemDependentInitialIO + = [] + +ensureCleanSystemFilesExists :: !String !*Files -> (!Bool, !*Files) +// returned bool: now there is such a subfolder +ensureCleanSystemFilesExists path env + = ensureDirectoryExists path env + +set_compiler_id :: Int -> Int +set_compiler_id compiler_id = compiler_id |