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?