Sender - Receiver with fifo

I have to write a program that consists of two parts. First part from argv[1] receives name of file, then writes it in fifo. Second part have to read from fifo and write in terminal. So I run this program in several terminals. And one receiver must write information from one file i.e. link = one receiver - one sender
semaphores and other "lock" functions are prohibited. Only fifo
Can someone help with this?
Last edited on
Start by finding out what a fifo is and checkout examples of how to use it. You should then have enough information to start your programs.
Topic archived. No new replies allowed.