This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Nonblocking UART driver using _write_r - error if no data was written?


W dniu 2014-02-26 15:33, MikuslawProxy pisze:
So, is it a bug that we don't check the write for EAGAIN errno, so we
can loop on that in fflush?

Take a wider look - you expect your non-blocking driver to block (; Just convert your code to be blocking and the problem would be solved.

Regards,
FCh


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]