aboutsummaryrefslogtreecommitdiff
path: root/backendC/CleanCompilerSources/docommand.icl
diff options
context:
space:
mode:
Diffstat (limited to 'backendC/CleanCompilerSources/docommand.icl')
-rw-r--r--backendC/CleanCompilerSources/docommand.icl11
1 files changed, 11 insertions, 0 deletions
diff --git a/backendC/CleanCompilerSources/docommand.icl b/backendC/CleanCompilerSources/docommand.icl
new file mode 100644
index 0000000..d5a1901
--- /dev/null
+++ b/backendC/CleanCompilerSources/docommand.icl
@@ -0,0 +1,11 @@
+implementation module docommand;
+
+from StdString import String;
+
+:: *DoCommandEnvironment :== Int;
+
+DoCommandNullTerminated :: !String !DoCommandEnvironment -> (!Int,!DoCommandEnvironment);
+DoCommandNullTerminated a0 a1 = code {
+ ccall DoCommandNullTerminated "S:I:I"
+}
+// int DoCommandNullTerminated(CleanString);