bug-ncurses
[Top][All Lists]
Advanced

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

Behavior of getch() and EINTR


From: Bryan Christ
Subject: Behavior of getch() and EINTR
Date: Fri, 8 Nov 2019 14:50:55 -0600

Thomas,

I'm introducing some asynchronous features to my terminal emulator.  In my sample program, I am using SIGIO and relying on the fact that getch() will return ERR with EINTR set.  I've read the portability notes at the end of the getch man pages and am not really concerned about how other implementations behave (although I would argue, ideally,  they _should_ behave the same as ncurses).  Can I reasonably assume the current behavior will not change?

--
Bryan
<><

reply via email to

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