PDA

View Full Version : data transfer



Blaster
03-11-2003, 09:30 PM
Does anybody know how transfer data between two different "user created" programs without using a data file? If so could you give some code?

fopen

Prelude
03-11-2003, 10:33 PM
>Does anybody know how transfer data between two different "user created" programs without using a data file?
Hmm, try searching for previous questions concerning pipes: popen, pipe, and other such functions.

-Prelude

Blaster
03-12-2003, 07:55 AM
I am using UNIX. I just want to transfer data between two user created programs using C. I can do this using a file. But, I don't get the performance I need.

Thanks

Govtcheez
03-12-2003, 07:58 AM
In that case, do what vVv and Prelude suggested - look up pipes and semaphores.

Hammer
03-12-2003, 08:10 AM
Thread moved to Linux forum