On Friday 28 March 2008 14:06, Paul Fox wrote:
>  > Indeed, I see the same. The difference is...
>  > 
>  >                 fp = xopen(fifo_filename, O_RDWR);
>  > 
>  > You open fifo with O_RDWR, I open it with O_RDONLY.
>  > Wow, I didn't know about this detail.
>  > After some googling I found this info:
> 
> is the proper solution simply to open it twice, once for reading,
> and once for writing?  this guarantees a writer (which will never
> write anything).

Yes, this will most likely work too.
--
vda
_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox

Reply via email to