Reputation: 157
I write the program and create FIFO. It was created, but I can not open it for any operations. I saw similar questions here can not open FIFO , but actually I didn't understand its answer, but I think I've got something with permissions too. Can somebody please explain what is going on?
if (mkfifo("myFifo", 777) == -1) {
fprintf(stderr, "Impossible");
_exit(0);
}
int fifo;
fifo = open("myFifo", 777);
Upvotes: 0
Views: 85