While using the FIFO to transmit information between different processes, I found out that the file that the mkfifo create cannot be accessed by the processes. I do not know how to change my program. Please help :(
if (mkfifo("signal", O_CREAT) < 0)
{
cerr << "Errors occur :(" << endl;
cerr << errno << endl;
exit(1);
}
And the authority of the file named signal is like the following:
p---rwx---