diff options
Diffstat (limited to 'main/Unix/ipc.icl')
-rw-r--r-- | main/Unix/ipc.icl | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/main/Unix/ipc.icl b/main/Unix/ipc.icl new file mode 100644 index 0000000..2f30ecb --- /dev/null +++ b/main/Unix/ipc.icl @@ -0,0 +1,28 @@ +implementation module ipc; + +from StdString import String; + + +open_pipes :: !String !String -> Int; +open_pipes a0 a1 = code { + ccall open_pipes "SS:I" +} +// int open_pipes (CleanString commands_name,CleanString results_name); + +get_command_length :: Int; +get_command_length = code { + ccall get_command_length ":I" +} +// int get_command_length (); + +get_command :: !String -> Int; +get_command a0 = code { + ccall get_command "S:I" +} +// int get_command (CleanString cleanString); + +send_result :: !Int -> Int; +send_result a0 = code { + ccall send_result "I:I" +} +// int send_result (int result); |