Fix for non-blocking serial write result code

Andrew Lunn andrew@lunn.ch
Tue Jan 20 08:55:00 GMT 2004


On Mon, Jan 19, 2004 at 10:42:19AM -0800, Dan Jakubiec wrote:
> Hi Andrew,
> 
> I don't think that's right.  The -1 value that POSIX is talking about
> is the value returned from the "write()" call, not the *len parameter. 
> The eCos system call semantics are set up a little differently, which I
> think is the source of the confusion.

I must admit i did not look at the layers above. Now i have i see i
was wrong and your patch is correct. Its been committed.

      Thanks
        Andrew



More information about the Ecos-patches mailing list