man fifo to see detail informations.
In linux, if an application opened a pipe while another side hasn't opened this pipe, the open will block.
You can use `mknod' with S_FIFO attribute to create a FIFO(named pipe), then use open/read/write just as usual.
In linux, if an application opened a pipe while another side hasn't opened this pipe, the open will block.
You can use `mknod' with S_FIFO attribute to create a FIFO(named pipe), then use open/read/write just as usual.