M
Madhusudan Singh
Hi
Just a basic question from someone who is new to pipes.
The statement of the problem is simple :
Instead of using popen(progname,"w"), I wish to use the elementary
functions pipe, fork, dup2, etc. to get the same effect.
You may well wonder why I am trying to do this - I am programming in
another language (Fortran 95) where a library provides equivalents for
pipe(), fork(), dup2() etc., but for popen().
I do NOT wish to depend upon underscores in the object code and want to
make my code pure Fortran 95.
I would appreciate it if someone could give me a flowchart (with proper
calls like pipe() with the arguments).
Thanks,
MS
Just a basic question from someone who is new to pipes.
The statement of the problem is simple :
Instead of using popen(progname,"w"), I wish to use the elementary
functions pipe, fork, dup2, etc. to get the same effect.
You may well wonder why I am trying to do this - I am programming in
another language (Fortran 95) where a library provides equivalents for
pipe(), fork(), dup2() etc., but for popen().
I do NOT wish to depend upon underscores in the object code and want to
make my code pure Fortran 95.
I would appreciate it if someone could give me a flowchart (with proper
calls like pipe() with the arguments).
Thanks,
MS