I have this code:
mkfifo ("bPipe", 0660); /* Create named pipe */ int fd1 = open ("bPipe", O_WRONLY|O_NONBLOCK); /* Open named pipe for writing */ perror("FD1"); int fd = open ("bPipe", O_RDONLY|O_NONBLOCK); /* Open it for reading */ perror("FD"); char*mex="Hello world\n\0"; write (fd1,mex , getStringLenght(mex)+1); char* result = readline(fd1); printf("Rc %s : \n",result); I'm studying the FIFO in C and I tried to create two FIFO but after opening them I get this two errors:
FD1:Device not configured FD:Device not configured and I dont understand why.
P.S "readLine" and "getStringLenght" are my functions