bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Return value of write() is not properly evaluated


From: Egmont Koblinger
Subject: Re: Return value of write() is not properly evaluated
Date: Wed, 31 Dec 2014 13:27:32 +0100

Off:

I find it bizarre that pretty much every piece of software has to
reimplement this "restart on short read/write or interrupt" pattern,
yet there's no convenience wrapper for this in any library I'm aware
of.

On Wed, Dec 31, 2014 at 11:37 AM, Stian Skjelstad
<address@hidden> wrote:
> Rebuilding the debian package without optimization made debug easier :-)
>
> With the following patch applied, output is perfect, and no visual noise is
> present (my software refreshes the screen at a typical rate of 20 fps,
> typical with changes on every refresh). Checking with strace, it now pushes
> out the write buffers completely, also when receiving signals like SIGALRM
>
>
> --
> Stian Skjelstad
>
> _______________________________________________
> Bug-ncurses mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/bug-ncurses
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]