[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Behavior of getch() and EINTR
From: |
Thomas Dickey |
Subject: |
Re: Behavior of getch() and EINTR |
Date: |
Fri, 8 Nov 2019 18:18:25 -0500 |
User-agent: |
NeoMutt/20170113 (1.7.2) |
On Fri, Nov 08, 2019 at 02:50:55PM -0600, Bryan Christ wrote:
> 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?
It probably won't change :-)
--
Thomas E. Dickey <address@hidden>
https://invisible-island.net
ftp://ftp.invisible-island.net
signature.asc
Description: PGP signature