Il giorno ven, 28/03/2008 alle 12.56 +0100, Denys Vlasenko ha scritto:

> ===============================================================
>  SYNOPSIS
>     int open(const char *path, int oflag, ... );
>  DESCRIPTION
> ...
>     O_RDONLY
>         Open for reading only. 
>     O_WRONLY
>         Open for writing only. 
>     O_RDWR
>         Open for reading and writing. The result is undefined if this flag is 
> applied to a FIFO.
> ====================================================================

Oh, friendly behavior!! :-(


> I learned something new today:
> 1. open(fifo, O_RDWR) on linux works, and changes read() behaviour.
> 2. unfortunately, it is not portable.

Me too. :-)


> Applied apart from the part which you can see in attachment.

Ok, thank you for having applied a part of the patch.

Regards.
Michele
_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox

Reply via email to