[En-Nut-Discussion] Re: Bug: fopen( "uart0", "rw+b" ) crashing ethernut

Thiago A. Corrêa thiago.correa at gmail.com
Mon Aug 14 21:11:39 CEST 2006


Forget it. The behavior isn't documented as crashing but documentation
does states that r+ is doing what it's supposed to do.

Althought it's not exactly what the CRT on the PC platform does. A bit
counter-intuitive :(

Sorry for the false alarm.

On 8/14/06, Thiago A. Corrêa <thiago.correa at gmail.com> wrote:
> Hi,
>
>    When I do fopen( "uart0", "rw+b" ) or any other device, properly
> registered, of course, the board becomes unresponsive. But on the
> other hand if I do fopen( "uart0", "r+b" ) it works fine and I can
> read and write to the serial port.
>
> Cheers,
>    Thiago A. Corrêa
>



More information about the En-Nut-Discussion mailing list