data transfer

This is a discussion on data transfer within the Linux Programming forums, part of the Platform Specific Boards category; Does anybody know how transfer data between two different "user created" programs without using a data file? If so could ...

  1. #1
    Blaster
    Guest

    Lightbulb data transfer

    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

  2. #2
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,796
    >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
    My best code is written with the delete key.

  3. #3
    Blaster
    Guest

    Smile data transfer

    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

  4. #4
    Mayor of Awesometown Govtcheez's Avatar
    Join Date
    Aug 2001
    Location
    MI
    Posts
    8,825
    In that case, do what vVv and Prelude suggested - look up pipes and semaphores.

  5. #5
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231
    Thread moved to Linux forum
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. data structure design for data aggregation
    By George2 in forum C# Programming
    Replies: 0
    Last Post: 05-20-2008, 07:43 AM
  2. Replies: 3
    Last Post: 04-18-2008, 11:06 AM
  3. Where's the EPIPE signal?
    By marc.andrysco in forum Networking/Device Communication
    Replies: 0
    Last Post: 12-23-2006, 08:04 PM
  4. C diamonds and perls :)
    By Carlos in forum A Brief History of Cprogramming.com
    Replies: 7
    Last Post: 05-16-2003, 11:19 PM
  5. speakers
    By Unregistered in forum C Programming
    Replies: 12
    Last Post: 03-31-2002, 08:57 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21