I have a shell script which does some basic functions and calls the c program with specific command line arguments for each operation.
The C program returns integer value indicating success or failure.
Now I have a situation, where the c program needs to couple of values and that needs to be accessed by the parent script. Is there any way this can be achieved? [Apart from storing the value in a temporary file and the script accessing the file to get the value]