[RTEMS Project] #3800: termios - Add Capability to Generate SIGINTR and SIGQUIT
RTEMS trac
trac at rtems.org
Wed Oct 9 19:34:25 UTC 2019
#3800: termios - Add Capability to Generate SIGINTR and SIGQUIT
-----------------------------------+----------------------------
Reporter: Joel Sherrill | Owner: Joel Sherrill
Type: enhancement | Status: closed
Priority: normal | Milestone: 5.1
Component: posix | Version: 5
Severity: normal | Resolution: fixed
Keywords: termios, POSIX, EINTR | Blocked By:
Blocking: |
-----------------------------------+----------------------------
Changes (by Joel Sherrill <joel@…>):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"667501a314ba75f80f1c13c6b43dd35d0a00efd1/rtems"
667501a/rtems]:
{{{
#!CommitTicketReference repository="rtems"
revision="667501a314ba75f80f1c13c6b43dd35d0a00efd1"
termios: Add Capability to Generate SIGINTR and SIGQUIT
This patch adds the ability for termios to send SIGINTR on receipt
of VINTR and SIGQUIT for VKILL and return -1/EINTR from read() on
a termios channel. Importantly, this patch does not alter the default
behavior or force POSIX signal code in just because termios is used.
The application must explicitly enable the POSIX behavior of generating
a signal upon receipt of these characters. This is discussed in the
POSIX standard:
https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap11.html
Closes #3800.
}}}
--
Ticket URL: <http://devel.rtems.org/ticket/3800#comment:2>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list