You are not logged in.
Hi,
I'm new to this forum and to working with FIFO's, but have a 'hard' question :confused:.
Sometimes when I want to write to a FIFO, I get the error: "Resource temporarily unavailable".
My code:
...
assert(state == st_open);
c = ::write(fd, buf, count);
if (c == -1) {
PM_DEBUG("Error writing to fifo, error: %s", strerror(errno));
}
...
- Most important: What's wrong here?
- Is a FIFO stored in RAM?
- Can a FIFO ever get full? And how can a see / adjust the size of a FIFO?
Hope you can help me with this.
Offline
Thanks RobSeace for your great answer!
This was very usefull to me.
Offline